From owner-freebsd-questions@FreeBSD.ORG Wed Feb 28 22:14:18 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 8672A16A400 for ; Wed, 28 Feb 2007 22:14:18 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 074AD13C441 for ; Wed, 28 Feb 2007 22:14:17 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l1SMEGZu043664; Wed, 28 Feb 2007 14:14:16 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l1SMEGk6043663; Wed, 28 Feb 2007 14:14:16 -0800 (PST) (envelope-from kline) Date: Wed, 28 Feb 2007 14:14:15 -0800 From: Gary Kline To: Thomas Dickey Message-ID: <20070228221415.GA38946@thought.org> References: <20070228035543.GA77041@thought.org> <45E52EFE.9000301@dir.bg> <45E592D2.6010003@u.washington.edu> <20070228203749.GA25931@saltmine.radix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070228203749.GA25931@saltmine.radix.net> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Garrett Cooper , freebsd-questions@freebsd.org Subject: Re: Backspace key "<-" not mapping to ^H 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, 28 Feb 2007 22:14:18 -0000 On Wed, Feb 28, 2007 at 03:37:49PM -0500, Thomas Dickey wrote: > On Wed, Feb 28, 2007 at 06:33:54AM -0800, Garrett Cooper wrote: > > Jordan Gordeev wrote: > > >Gary Kline wrote: > > >> I'm not sure whether this just in Ubuntu or in the Gnome desktop > ... > > >> servers. I thought I'd ask here before I dig into this. I think > > >> a new xterm was recently updated in ports; not sure if tat is a > > >> factor or not. > > no (I don't recall making changes in that area). > > > >See stty(1) and termios(4). You should modify the erase or erase2 values. > > reasonable (Ubuntu uses Debian packages iirc, which makes it use DEL, > FreeBSD uses BS for erase, etc). > > > The terminal settings available from gnome (if you open up an xterm / > > Gnome terminal shell using the Terminal command under the menu) has > > gnome-terminal isn't xterm (OP isn't making that distinction either). > > xterm has menu settings which can change the assignment of BS/DEL to the > "backspace" key (unlike gnome-terminal, it has a manpage describing these > details ;-). > Yeah... reading (and messing with) this new stuff is an education. Actually, I was using KDE's "Konsole" term, not Gnome. With the Gnome version of xterm, vi behaves as-usual; with Konsole, nope. Unless I'm missing some fine print, I didn't see a way of fixing. stty in Konsole says that things are correct--that backspace = ^H and so on. It may be that the child proc doesn't inherit the stty setting with thr KDE term whereas it does with Gnome's. Solution:: go back to Gnome. If anybody has other ideas, please lemmee know! gary > -- > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net -- Gary Kline kline@thought.org www.thought.org Public Service Unix