List Info

Thread: Backspace key "<-" not mapping to ^H




Backspace key "<-" not mapping to ^H
user name
2007-02-27 21:55:43
	I'm not sure whether this just in Ubuntu or in the Gnome
desktop
	or what, but for days, when I type mail in vi in mutt,
sometimes
	I get a "^?" when I hit the backspace.  ^H still
works to back up
	and correct my typos, but that's lots more work that what
my
	fingers are accustomed to.  It may be when I'm ssh'd
across
	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.

	xev understands that the b'space key is a backspace and
tells me
	the keycode.  Should I just us xmodmaprc to fix this? 
thanks
	for any clues!!

	gary



-- 
  Gary Kline  klinethought.org   www.thought.org  Public
Service Unix

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Backspace key "<-" not mapping to ^H
country flaguser name
Bulgaria
2007-02-28 01:27:58
Gary Kline wrote:
> 	I'm not sure whether this just in Ubuntu or in the
Gnome desktop
> 	or what, but for days, when I type mail in vi in mutt,
sometimes
> 	I get a "^?" when I hit the backspace.  ^H
still works to back up
> 	and correct my typos, but that's lots more work that
what my
> 	fingers are accustomed to.  It may be when I'm ssh'd
across
> 	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.
> 
> 	xev understands that the b'space key is a backspace
and tells me
> 	the keycode.  Should I just us xmodmaprc to fix this? 
thanks
> 	for any clues!!
> 
> 	gary
> 
> 
> 
See stty(1) and termios(4). You should modify the erase or
erase2 values.
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Backspace key "<-" not mapping to ^H
country flaguser name
United States
2007-02-28 08:33:54
Jordan Gordeev wrote:
> Gary Kline wrote:
>>     I'm not sure whether this just in Ubuntu or in
the Gnome desktop
>>     or what, but for days, when I type mail in vi
in mutt, sometimes
>>     I get a "^?" when I hit the
backspace.  ^H still works to back up
>>     and correct my typos, but that's lots more work
that what my
>>     fingers are accustomed to.  It may be when I'm
ssh'd across
>>     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.
>>
>>     xev understands that the b'space key is a
backspace and tells me
>>     the keycode.  Should I just us xmodmaprc to fix
this?  thanks
>>     for any clues!!
>>
>>     gary
>>
>>
>>
> See stty(1) and termios(4). You should modify the erase
or erase2 values.

The terminal settings available from gnome (if you open up
an xterm / 
Gnome terminal shell using the Terminal command under the
menu) has 
various options which do the same thing, without touching
the stty and 
termios values, while accomplishing properly deletion in
your terminal 
window.

-Garrett
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Backspace key "<-" not mapping to ^H
country flaguser name
United States
2007-02-28 14:37:49
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 .

-- 
Thomas E. Dickey
http://invisible-island.n
et
ftp://invisible-island.net
Re: Backspace key "<-" not mapping to ^H
user name
2007-02-28 16:14:15
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.n
et
> ftp://invisible-island.net



-- 
  Gary Kline  klinethought.org   www.thought.org  Public
Service Unix

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )