From owner-freebsd-questions@FreeBSD.ORG Tue Nov 30 23:41:13 2004 Return-Path: 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 08C3016A4CE for ; Tue, 30 Nov 2004 23:41:13 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id B48DB43D1F for ; Tue, 30 Nov 2004 23:41:12 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 30 Nov 2004 17:38:07 -0600 Message-ID: <41AD0528.6030607@daleco.biz> Date: Tue, 30 Nov 2004 17:41:28 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041023 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vance Shipley References: <20041130131228.GA19023@frogman.motivity.ca> <20041130154715.3465d998.torfinn.ingolfsen@broadpark.no> <41ACFA75.3040307@daleco.biz> <20041130230907.GA21202@frogman.motivity.ca> In-Reply-To: <20041130230907.GA21202@frogman.motivity.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Nov 2004 23:38:07.0606 (UTC) FILETIME=[A514D160:01C4D735] cc: Torfinn Ingolfsen cc: questions@freebsd.org Subject: Re: erase2 ( xterm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2004 23:41:13 -0000 Vance Shipley wrote: >On Tue, Nov 30, 2004 at 04:55:49PM -0600, Kevin D. Kinsey, DaleCo, S.P. wrote: >} >} However, his statement "functioning as a backspace" doesn't >} ring true, because, no such functionality is present (for me) in >} any terminal with that key, regardless of the $TERM variable. >} >} Terminal emulation is a little bit mysterious to me; maybe someone >} with more expertise can answer the larger question. I'm just curious >} whether pushing the {right parenthesis} character on Vance's >} keyboard actually does backspace, and whether he's on the console, >} on X, using PuTTY from a Winboxen, etc., and/or what terminal emulator >} he's actually using, what version he's running, whether his termcap >} symlink or file is corrupt/missing, etc., etc., blah, blah.... >} >} Vance? > > >No, from the console everything is fine. It is when I use sh within an >xterm or wterm that I have a problem. Using csh there is no problem. >Pressing the ( key erases the character before the cursor when using sh >within an xterm. > >This is 5.3-STABLE. I found a few references by googling from others >who have had the same problem and have also had to put a 'stty erase2 ^H' >in .shrc (or whatever). > > -Vance > > OK, check your ~ directory for TERM settings in either .shrc or .profile, might be setting something a little different. If you're using sh as your login shell, one or the other of those files is getting read, (I'm a tad lazy to RTFM ATM to figure which one is *first*), and its possible that it is being set there (the default .profile, for example, sets $TERM to "cons25". Surely you could fix the problem there, if that is what is actually happening. Whatever it is, hope it's easy :-D Good luck, KDK