From owner-freebsd-questions Tue Dec 10 5:45:55 2002 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 1832437B406 for ; Tue, 10 Dec 2002 05:45:43 -0800 (PST) Received: from mail.bellavista.cz (mail.bellavista.cz [62.168.44.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4981C43ED1 for ; Tue, 10 Dec 2002 05:45:40 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by lilith.bellavista.cz (Postfix) with ESMTP id 3C9E82B0; Tue, 10 Dec 2002 13:53:19 +0100 (CET) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 230D02FDAB2; Tue, 10 Dec 2002 12:57:04 +0100 (CET) Date: Tue, 10 Dec 2002 12:57:03 +0100 From: Roman Neuhauser To: Adrian Penisoara Cc: freebsd-questions@freebsd.org Subject: Re: Backspace and Delete keys under PuTTY Message-ID: <20021210115703.GE56031@freepuppy.bellavista.cz> Mail-Followup-To: Adrian Penisoara , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i 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 # ady@freebsd.ady.ro / 2002-12-10 11:59:53 +0200: > I'm getting pissed (me and some other professors) by the Backspace and > Delete keystrokes that are incorrectly handled by either PuTTY or > FreeBSD when connecting to a FreeBSD system from a Windows workstation > with PuTTY. No need to mention that when it comes to Linux everything > looks fine. different terminals use different values for backspace/delete. linux console uses ^? for backspace, ^[[~3 for delete, while freebsd uses ^H for backspace, and ^? for delete. putty assumes linux, so it defaults to the codes linux terminal expects. if you check the xterm definition in /etc/termcap, you'll see that it defines kb=^H and kD=^?. putty claims to be xterm (Connection -> Terminal type string), so it is the liar here. > What is the proper solution? IMO: fixing the terminal, in this case: putty. > I'd rather prefer to modify the termcaps than making adjustments in > PuTTY, as some persons get cranky when it comes about changing PuTTY > settings while Linux works well with the defaults. IIRC this setting is session-wide, so you can have ^? / ^[[~3 for linux, and ^H / ^? for freebsd. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message