<<< Date Index >>>     <<< Thread Index >>>

Re: home/end not working



Hello Jason,

 On Tuesday, August 29, 2006 at 9:17:51 -0700, Jason Helfman wrote:

> any X terminal. Console [...] terminals are both set to 'linux'.

    For a Linux Virtual Console, TERM=linux is fine. It describes
correctly the capabilities, commands, and special keys of a Linux
Virtual Console. Therefore application's display is fine, and the <Home>
and <End> keys are properly bindable.

    Having TERM=linux in any other terminal is a mistake.

    For another terminal, pick an appropriate terminfo entry in the toe
list, and export it in TERM. Example if your X terminal is Rxvt:

| $ toe -a | grep ^rxvt
| rxvt-basic    rxvt terminal base (X Window System)
| rxvt+pcfkeys  fragment for PC-style fkeys
| rxvt          rxvt terminal emulator (X Window System)
| rxvt-color    rxvt terminal emulator (X Window System)
| rxvt-256color rxvt 2.7.9 with xterm 256-colors
| rxvt-xpm      rxvt terminal emulator (X Window System)
| rxvt-cygwin   rxvt terminal emulator (X Window System) on cygwin
| rxvt-cygwin-native    rxvt terminal emulator (native MS Window System port) 
on cygwin
| rxvt-16color  xterm with 16 colors like aixterm
|
| $ export TERM=rxvt-256color

    And your keys will be bindable, and garbage display in compose will
cease. Perhaps. Hopefully.


    Note: It is much better to configure everything so that terminals do
automatically identify themselves correctly at startup. This will
auto-export the good TERM.


Bye!    Alain.
-- 
How To Ask Questions The Smart Way
<URL:http://www.catb.org/~esr/faqs/smart-questions.html>