Recently I upgraded to unstable (Thanks to all who are working for this
project.) and all seams to work quite well so far. However concerning
the new bash- package I have a question. Before upgrading I had the
following lines in my ~/.inputrc file

"\e[1~": beginning-of-line
"\e[3~": delete-char
"\e[4~": end-of-line

and in ~/.Xresources

   *VT100.Translations: #override \
        Alt<KeyPress>:  string(0x1b) insert() \n\
              <Key>BackSpace: string(0x7F)\n\
              <Key>Delete:        string(0x1b) string("[3~")\n\
              <Key>Home:          string(0x1b) string("[1~")\n\
              <Key>End:           string(0x1b) string("[4~")


Now the new version comes with a global configuration file /etc/inputrc
containing

$if term=linux
"\e[1~": beginning-of-line
"\e[3~": delete-char
"\e[4~": end-of-line
$endif
$if term=xterm
"\e[H": beginning-of-line
"\e[F": end-of-line
"\C-?": delete-char
$endif

Therefor I had to remove the above lines from my ~/.Xresources file.
However as far as I know less hasn't the ability to distinguish between
term=linux and term=xterm with the consequence that now "Home" and "End"
work only at a virtual console and not within a xterm. What can I do to
have "Home" moving to the beginning and the "End" Key moving to the end
of a document read with less in both xterm and a virtual console with
these settings?
By the way: In the "Consistent Keyboard Configuration" article of June
1997 they likewise dont make a distinction between xterm and term=linux
in inputrc.


Many thanks in advance,

        Markus.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to