From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 15:12:53 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 0D35816A41F for ; Wed, 7 Dec 2005 15:12:53 +0000 (GMT) (envelope-from jimmy@jamesbailie.com) Received: from smtp104.rog.mail.re2.yahoo.com (smtp104.rog.mail.re2.yahoo.com [206.190.36.82]) by mx1.FreeBSD.org (Postfix) with SMTP id 078A143D58 for ; Wed, 7 Dec 2005 15:12:38 +0000 (GMT) (envelope-from jimmy@jamesbailie.com) Received: (qmail 29945 invoked from network); 7 Dec 2005 15:12:37 -0000 Received: from unknown (HELO ?70.29.126.205?) (jazzturk@rogers.com@70.29.126.205 with plain) by smtp104.rog.mail.re2.yahoo.com with SMTP; 7 Dec 2005 15:12:37 -0000 Message-ID: <4396FBE4.5060907@jamesbailie.com> Date: Wed, 07 Dec 2005 10:12:36 -0500 From: James Bailie User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051112) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <447jah3rtn.fsf@be-well.ilk.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ee(1): why Backspace doesn't work as expected if $TERM=xterm? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2005 15:12:53 -0000 Constantine A. Murenin wrote: > They map it perfectly fine as 127, it's only FreeBSD's ee(1) that has > this problem, tcsh and others work fine. ee does not do this on the console on my 5.4 machine, nor does it do this in an XTerm over an ssh connection to my 4.11 machine, therefore I would suspect the problem must be with the terminal emulator key mappings or pseudo-terminal settings. In fact, since changing the value of TERM fixed things, it PROVES the problem is with one of these. If you go to the PuTTY website you will find a simple answer to your question in the online documentation. In the data panel of the configuration settings, you may change the terminal-type-string to vt200, to cause PuTTY to set TERM correctly for you. -- James Bailie http://www.jamesbailie.com