Ticket #27500 (new defect)
rlwrap does not support vi delete operator properly.
|Reported by:||veritas.divina@…||Owned by:||lomion@…|
I have the latest version of ports and rlwrap installed. I also use vi editing mode, and if I do something like this:
$ rlwrap cat This is a sentence
and then I hit
to move the cursor to the beginning of the line. The type
(i.e. execute delete operator over motion command ta (till a). This is supposed to delete "This is " part of the above line, but it doesn't work. I just get a beep.
Note that simpler delete commands like delete word (dw) etc work.
$ otool -L rlwrap rlwrap: /usr/lib/libutil.dylib (compatibility version 1.0.0, current version 1.0.0) /opt/local/lib/libreadline.6.1.dylib (compatibility version 6.0.0, current version 6.1.0) /usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0) $
I expected this to use libncurses in /opt/local/lib, but apparently it links against the one in /usr/lib?
- Cc veritas.divina@… removed
- Owner changed from macports-tickets@… to lomion@…