Backspace in editing "less" command line...

Hannu E K Nevalainen (garbage mail) garbage_collector@telia.com
Wed Sep 17 20:57:00 GMT 2003


$ less anything
/test^H^H^H^H

$ LESSCHARSET=ascii
or latin1 doesn't matter.

$ man less
/BACKSPACE
...
BACKSPACE
       Delete the character to the left of the cursor,  or  cancel  the
       command if the command line is empty.
...

BS is obviously considered a NON-editing key...(!?)
sam goes for:
 ^LEFTARROW, ^RIGHTARROW, HOME, END, ^BS, ^DEL, TAB, BACKTAB, ^L

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+1, GMT+1, CET --

$ cygcheck -svr >c_svr-snap.txt
$ grep -i less c_svr-snap.txt
LESSCHARSET = `latin1'
less                    381-1
lesstif                 0.93.41-1
Administrator@P450 ~ bash (P)PID=(2140)768, s=0
$ uname -a
CYGWIN_NT-5.0 P450 1.5.5s(0.94/3/2) 20030916 22:11:16 i686 unknown unknown
Cygwin


--END OF MESSAGE--


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list