[oclug] How do I change terminal settings?
jeb at burkby.com
Sat Aug 31 08:14:14 EDT 2002
On Fri, 30 Aug 2002 at 10:00:39 -0400, Jon Earle wrote:
> On my Redhat box, I can use Home, End, PgUp, PgDn, right and left arrows,
> etc, within terminals, and they all work as expected, out of the box. On
> my Debian boxen, they all do not work, or do not work as expected. For
> example, I cannot hit Home on a command line and have the dursor go to the
> beginning of the line.
FWIW I have no such problems with Debian. And on my RH box I have a few
escape-sequence bindings in /etc/inputrc, but I'm not even sure much of
that is necessary. I assume you're using bash, and readline is
installed (man readline).
What do you get with `echo $TERM'? Are you talking about xterms or
virtual consoles or both? If you type Ctrl-V then press the Home key,
you should see the esc-sequence corresponding to the Home key for your
> In vi, I cannot use left arrow without vi
> automatically leaving insert mode.
If you're using vim, look at `:help esckeys' and do `:set esckeys'.
But, although this does not depend directly on solving your shell
problem, the issues are probably related (e.g. terminfo) so this
suggestion may not help much by itself.
More information about the OCLUG