Operating System - HP-UX
1836382 Members
2759 Online
110100 Solutions
New Discussion

Re: Backspace key simulated enter

 
Vibhor Kumar Agarwal
Esteemed Contributor

Backspace key simulated enter

Hi,

Whenever i press the backspace key it works like enter.
How do i get around this.

Thanks
Vibhor Kumar Agarwal
6 REPLIES 6
Hein van den Heuvel
Honored Contributor

Re: Backspace key simulated enter

Depending on (soft) keyboard mapping the backspace key is likely to send a 'del' character.

Either change the keyboard defintion (in a terminal emulator, or rom-setup for a real dumb terminal).

Or... tell HPUX to treat it as an erase.
You probably want to add a lien to .profile or .rcsh reading:

stty kill ^U erase ^? intr ^C

Display current settings with: stty -a

Be sure to check the man page for stty

Hope this helps some,
Hein van den Heuvel (at gmail dot com)
HvdH Performance Consulting



Vibhor Kumar Agarwal
Esteemed Contributor

Re: Backspace key simulated enter

Doesn't work.
Vibhor Kumar Agarwal
Piergiacomo Perini
Trusted Contributor

Re: Backspace key simulated enter

Hi,

if you use "putty" as telebt emulator,
see Keybord setting and choose Control-h.

regards
pg
Hein van den Heuvel
Honored Contributor

Re: Backspace key simulated enter

>>> Doesn't work.

My friend,

You've been around the forum's.
You've seen good questions and bad questions.
You know we are not mind readers.

Look back at your question and my reply.

Is yours a good question with pertinent infomation to work with?

I mention several variables, do you offer any data?

WHAT does not work?

HOW are you connecting?

WHAT are the current stty settings?

WHAT is the keyboard mapping

If you answer all the questions implied in my first reply then I knwo 100% that you yourself can solve the problem and report back here to indicate the resolution for future readers.

Kindests regards,
Hein.
Hein van den Heuvel
Honored Contributor

Re: Backspace key simulated enter

A few questions I failed to ask...

- Is the keyboard busy in a telnet/ssh/serial line session to an hpux box?

- Are you are the shell command line or within an application (sam, top, accounts-receiveable, ...) ?

We can NOT look over your shoulder.
You are our eyes in this.

For a minute, just pretent that you read the question, not wrote it. What details would you need to try to help.

Cheers,
Hein.
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Backspace key simulated enter

Here i go:

A novice in hardware related things.

How do i figure out the keyboard layout.

Working directly via putty.
Vibhor Kumar Agarwal