From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 15:28:08 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 E942616A41F for ; Tue, 6 Dec 2005 15:28:08 +0000 (GMT) (envelope-from mureninc@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B93043D78 for ; Tue, 6 Dec 2005 15:27:59 +0000 (GMT) (envelope-from mureninc@gmail.com) Received: by wproxy.gmail.com with SMTP id i24so60404wra for ; Tue, 06 Dec 2005 07:27:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Nz4fFzDfBsBRARmW2AWncsc6oPh9f/7mm4Qxhi1x7poEwylvVMRBQYwCVxZ4SDUsUpFuqZ4dcXMJP1nqiSGb7x5TddXdShqGoxmJJVSFag6PiXUoREHVaCfo7pV3zDtmzOmJIpK0HIQkL1SM1PC05NFjyr04nIwAnZh5uD4XaVA= Received: by 10.64.249.4 with SMTP id w4mr584951qbh; Tue, 06 Dec 2005 07:27:56 -0800 (PST) Received: by 10.65.73.19 with HTTP; Tue, 6 Dec 2005 07:27:56 -0800 (PST) Message-ID: Date: Tue, 6 Dec 2005 15:27:56 +0000 From: "Constantine A. Murenin" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: 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: Tue, 06 Dec 2005 15:28:09 -0000 Hello, When I ssh my FreeBSD 4.8 machine and try to use ee(1), I always notice that Backspace erases the following character, not the previous one. On the contrary, I've noticed that it does not do that when I login via console. So I decided to play with the value of $TERM. By default, when I ssh FreeBSD via PuTTY or Apple Terminal, I have the TERM variable set to "xterm" or "xterm-color". When I tried to manually change $TERM on FreeBSD and run ee, using "setenv TERM vt102 && ee test.txt", then Backspace key in ee(1) did behave as expected. Please, notice that Backspace does behave as expected in tcsh, it's only ee(1) that shows this problem. How do I fix it without changing $TERM? Thanks, Constantine.