Backspace key "<-" not mapping to ^H

Gary Kline kline at tao.thought.org
Wed Feb 28 22:14:18 UTC 2007


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 at thought.org   www.thought.org  Public Service Unix



More information about the freebsd-questions mailing list