[MacPorts] #56381: It would be nice if shell mode saved command history immediately

MacPorts noreply at macports.org
Fri Jun 1 13:45:38 UTC 2018


#56381: It would be nice if shell mode saved command history immediately
----------------------------+--------------------
  Reporter:  ylluminarious  |      Owner:  (none)
      Type:  enhancement    |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  base           |    Version:  2.4.3
Resolution:                 |   Keywords:
      Port:                 |
----------------------------+--------------------

Comment (by raimue):

 Indeed, if libedit does not implement `append_history` that is really
 unfortunate. Looks like it was only [https://gnats.netbsd.org/cgi-bin
 /query-pr-single.pl?number=51518 recently added] to NetBSD, which would be
 where Apple borrowed their implementation, but it has also been patched
 since the initial import. It is unlikely that this will find its way into
 macOS, definitely not into older releases. Filing a
 [http://bugreport.apple.com/ rdar] might help.

 Not sure how we want to continue with this, then. Do we want to roll our
 own code to manage the history file? I have doubts that this is worth
 importing the whole libedit source to our vendor libraries...

-- 
Ticket URL: <https://trac.macports.org/ticket/56381#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list