Operating System - Linux
1752328 Members
5699 Online
108786 Solutions
New Discussion юеВ

gnome-terminal backspace ^?^?^?^?

 
SOLVED
Go to solution
Christian Deutsch_1
Esteemed Contributor

gnome-terminal backspace ^?^?^?^?

Hi folks,

I have:

+RHAS4 (Gnome 2.8/Metacity window manager)
+A gnome-terminal
+My X server is: Xvnc running on RHAS4
+My client is: RealVNC vncviewer on Windows XP
+Regular HP PC keyboard

In this terminal running on localhost, backspace works fine.

But when I rlogin or ssh to an HP-UX system, backspace gives me: ^?^?^?^?

TERM is "xterm" on both localhost and when logged into the HP-UX system.

Output of stty is:

speed 38400 baud; -parity hupcl
min = 1; intr = ^C; erase = ^H; kill = ^G;
swtch ;
susp = ^Z; dsusp = ^Y;
brkint -inpck -istrip icrnl ixoff onlcr
-iexten echo echoe echok
-echoctl -echoke

Output of xmodmap is:

xmodmap: up to 2 keys per modifier, (keycodes in parentheses):

shift Shift_L (0x32), Shift_R (0x3e)
lock
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40), Alt_R (0x71)
mod2
mod3
mod4
mod5

How do I get good behaviour of my backspace key when logged onto HP-UX while in my gnome-terminal??

As always, helpful answers will be rewarded with points!

Thanks, Christian
Yeshua loves you!
3 REPLIES 3
Christian Deutsch_1
Esteemed Contributor

Re: gnome-terminal backspace ^?^?^?^?

ok found it:

in the HP-UX session enter:

stty erase ^? # After erase press Backspace

That was pretty easy really
Yeshua loves you!
Steven E. Protter
Exalted Contributor
Solution

Re: gnome-terminal backspace ^?^?^?^?

Shalom

After login from linux to hpux

stty erase ^?

type
stty erase backspace key.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Christian Deutsch_1
Esteemed Contributor

Re: gnome-terminal backspace ^?^?^?^?

Shalom SEP, thanks that's what I did
Yeshua loves you!