Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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!