[MacPorts] #27500: rlwrap does not support vi delete operator properly.

MacPorts noreply at macports.org
Mon Nov 29 12:21:41 PST 2010


#27500: rlwrap does not support vi delete operator properly.
--------------------------------------+-------------------------------------
 Reporter:  veritas.divina@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  1.9.2                                
 Keywords:                            |        Port:  rlwrap                               
--------------------------------------+-------------------------------------
 I have the latest version of ports and rlwrap installed. I also use vi
 editing mode, and if I do something like this:[[BR]]

 {{{
 $ rlwrap cat
 This is a sentence
 }}}

 and then I hit
 {{{
  <ESC> ^
 }}}

 to move the cursor to the beginning of the line. The type

 {{{
 dta
 }}}

 (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.

 Also,


 {{{
 $ 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?

-- 
Ticket URL: <https://trac.macports.org/ticket/27500>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list