From owner-freebsd-questions@FreeBSD.ORG Sat Feb 3 01:50:52 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F10216A40B for ; Sat, 3 Feb 2007 01:50:52 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 5CDE213C49D for ; Sat, 3 Feb 2007 01:50:52 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from hymn07.u.washington.edu (hymn07.u.washington.edu [140.142.8.53]) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l131opYb028453 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 2 Feb 2007 17:50:52 -0800 Received: from localhost (localhost [127.0.0.1]) by hymn07.u.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l131opaJ022553 for ; Fri, 2 Feb 2007 17:50:51 -0800 X-Auth-Received: from [192.55.52.1] by hymn07.u.washington.edu via HTTP; Fri, 02 Feb 2007 17:50:51 PST Date: Fri, 2 Feb 2007 17:50:51 -0800 (PST) From: youshi10@u.washington.edu To: freebsd-questions@freebsd.org In-Reply-To: <20070203001953.GA13965@ayn.mi.celestial.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.2.2.173434 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='NO_REAL_NAME 0, __C230066_P5 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Subject: Re: Backspaces converted to ^? -- want to get rid of ^? -_-... 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: Sat, 03 Feb 2007 01:50:52 -0000 On Fri, 2 Feb 2007, Bill Campbell wrote: > On Fri, Feb 02, 2007, youshi10@u.washington.edu wrote: >> Ok, this happens regularly on my FreeBSD box at home when I'm not >> su'ed in as root using vim, or the SuSe box at work when I VNC into >> it (using vim once again), and I'm frankly quite tired of lame >> control characters screwing up my day. Is there any way to fix this >> behavior so pressing backspace erases a character, not prints out a >> ^? character? > > This is generally a function of your terminal emulator or xterm and is a > carryover from old DEC terminal's stupid keyboard mappings. > > The attached XTerm file put in $HOME/XTerm will get xterms to send ctrl-h > from the backspace key. Other programs like putty typically have a > keyboard configuration that permits setting the backspace key to send > either ctrl-H or a DEL character. > > I leave it as an exercise for the student to figure out my other tweaks in > this file :-). > > Bill > -- > INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software, LLC > URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way > FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 > > ``Microsoft IIS has more holes than a wheel of Swiss Cheese after a shotgun > blast'' -- John Dvorak Hmmm... you have a lot of different tweaks in there. I'll definitely implement the delete thing as soon as possible. Thanks! -Garrett