On Sat, 25 Jan 2003 10:47:03 -0800
Casey Scott <[EMAIL PROTECTED]> wrote:

>       Does anyone know how to get the delete to work properly in a ssh console? I 
> realize that the fact I am using ssh doesn't matter, but since that is how I 
> am connected, that's how I will refer to it. ;-) I am using Konsole (KDE 
> xterm) to ssh to my fbsd server. I have been through all the docs I can find, 
> but none related to remote connections (i.e. pseudo ttys). Where do I define 
> the type of keyboard mapping to using for remote connections? Currenty, I 
> have konsole set to use vt420 which causes the delete key to behave like the 
> backspace key. Most of the others produce a "~" (tilde) when delete is 
> pressed. I would really like to be able to use the delete via remote 
> connections!

set konsole to use "xterm" and create an .inputrc file in your home directory on
the remote machine containing:

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

if the remote machine is running freebsd 4.x, you should overwrite its
/usr/share/misc/termcap file with one from a freebsd 5 installation and run
"cap_mkdb /usr/share/misc/termcap"

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to