less 3.81 (current) - line editing, malfunction
Hannu E K Nevalainen
garbage_collector@telia.com
Thu Oct 23 13:24:00 GMT 2003
I've deactivated these, by renaming them as shown:
$ ls -Al ~/.*-x
-rw-r--r-- 1 Hannu 678 Oct 23 12:41 ~/.Xdefaults-x
-rw-r--r-- 1 Hannu 987 Oct 19 19:05 ~/.inputrc-x
-rw-r--r-- 1 Hannu 2878 Oct 23 13:36 ~/.less-x
$ set | grep -i less
$ cat ~/.profile | grep -i less
# less --version older than 237 needs this
# export LESSCHARSET=latin1
$ set | grep -i term
COLORTERM=rxvt-xpm
TERM=xterm
$
NOTES:
- Setting LESS and/or LESSCHARSET doesn't change the behaviour
described below.
- using lesskey on the above .less-x file
(contents copied from "man lesskey") makes no difference.
At this state, launching a new rxvt+bash and then typing
$ man less
/LINE EDIT
displays what _should_ happen when you're editing a line in less. e.g. when
you enter "/" and are about to edit what you type afterwards.
But the keypresses listed below doesn't.
Is this a bug, or something else, for the current less or maybe rxvt?
I know that at least BACKSPACE has worked before, dunno how much I've edited
settings files after that.
keypress displays, bash CTRL-V
does +keypress
nothing else
^LEFTARROW ESCOd ^[Od
^RIGHTARROW ESCOc ^[Oc
HOME ESC[7~ ^[[7~
END ESC[8~ ^[[8~
BACKSPACE ^H ^H
^BACKSPACE ^H ^H
^DELETE ESC[3^ ^[[3^
TAB ^I
ESC-TAB ^I
^L ^L
(cut and paste used for the right column)
cygwin - all the latest (give or take on or two packages)
'cygcheck -svr' attached
/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- printf("Timezone: %s\n", (DST)?"UTC+02":"UTC+01"); --
--END OF MESSAGE--
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: c_svr.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20031023/ac0bac1e/attachment.txt>
-------------- next part --------------
--
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