[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: the {home} and {end} keys in woody via ssh



On Wed, 24 Oct 2001, Brooks R. Robinson wrote:

> Greetings,
> 	I use PuTTY to ssh into my boxen.  I recently upgraded a couple of them to
> woody, and the {home} and {end} keys don't seem to work properly anymore,
> instead of going to the beginning or end of the line, they produce a tilde
> and a beep.  They function properly at the console, but not when I ssh into
> the boxes.  How do I adjust them back to their original functionality.

	xterms also behave slightly funny.  Here's my /etc/inputrc which
you can adapt to your needs.  (Perhaps you want to set xterm like
behaviour by default, and then use normal console behaviour for hard
logins.)

# /etc/inputrc - global inputrc for libreadline
# See readline(3readline) and `info rluserman' for more information.

# Be 8 bit clean.
set input-meta on
set output-meta on

# To allow the use of 8bit-characters like the german umlauts, comment
# out
# the line below. However this makes the meta key not work as a meta
# key,
# which is annoying to those which don't need to type in 8-bit
# characters.

# set convert-meta off

# Make keyboard work right with xterms
$if term=xterm
"\e[1~": beginning-of-line
"\e[3~": delete-char
"\e[4~": end-of-line
"\e[d": backward-word
"\e[c": forward-word
$endif



Reply to: