From owner-freebsd-questions Sat Jan 25 12:19:10 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C83237B401 for ; Sat, 25 Jan 2003 12:19:09 -0800 (PST) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id C434B43F1E for ; Sat, 25 Jan 2003 12:19:08 -0800 (PST) (envelope-from fearow@attbi.com) Received: from god.woofcat.com (12-251-110-17.client.attbi.com[12.251.110.17]) by sccrmhc02.attbi.com (sccrmhc02) with SMTP id <2003012520190300200bi8vae>; Sat, 25 Jan 2003 20:19:03 +0000 Date: Sat, 25 Jan 2003 14:19:00 -0600 From: Anti To: freebsd-questions@FreeBSD.ORG Subject: Re: delete key in ssh console Message-Id: <20030125141900.0521e17d.fearow@attbi.com> In-Reply-To: <200301251047.03951.casey@nixfusion.com> References: <200301251047.03951.casey@nixfusion.com> Organization: Woofcat X-Mailer: Sylpheed version 0.8.8 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 25 Jan 2003 10:47:03 -0800 Casey Scott 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 "\e[H":beginning-of-line "\e[F":end-of-line "\e[7~":beginning-of-line "\e[8~":end-of-line "\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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message