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

MacPorts noreply at macports.org
Wed May 23 20:41:07 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 ylluminarious):

 Replying to [comment:6 raimue]:
 > You need to use `./configure --enable-readline` as it is disabled by
 default. `HAVE_LIBREADLINE` would not be defined on your installation.

 Thanks again for the advice! You are right, I thought that option was on
 by default but didn't double-check.

 However, I am now running into a different issue with this error when I
 try to recompile my changes:

 {{{

 Undefined symbols for architecture x86_64:
   "_append_history", referenced from:
       _RLHistoryCmd in readline.o
 ld: symbol(s) not found for architecture x86_64
 }}}

 After grepping through
 [https://opensource.apple.com/tarballs/libedit/libedit-50.tar.gz Apple's
 libedit,] it seems that actually there is no {{{append_history}}} function
 defined anywhere. It seems to only be in GNU readline... so this does put
 a bit of a wrench in things.

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


More information about the macports-tickets mailing list