Operating System - HP-UX
1839178 Members
4750 Online
110136 Solutions
New Discussion

Re: Something wrong with the keyboard??

 
Henry Chua
Super Advisor

Something wrong with the keyboard??

Hi Guys,

I seem to be gettin alot of problems from an old batch of HPUX system i.e. 10.20b. Some of them doesnt allow me to erase, i have try to edit the profile file, but doesnt seem to work. The ESC key doesnt seem to work either with X window system, I have similar problem with the CAP lock i.e. you can't release when invoked. Is there a problem with the system or did I set something wrong? =)

Best regards
Henry

5 REPLIES 5
Devender Khatana
Honored Contributor

Re: Something wrong with the keyboard??

Hi,

This does not seems to be the problem with the system. Moreover it only seems to be an issue caused by improper setting of TERM variable.

What type of session are you using on what type of terminal?

#echo $TERM

To see current value. And

#export TERM=xxxx

Where xxxx the new supported value and is generally dtterm in X-sessions.

HTH,
Devender
Impossible itself mentions "I m possible"
Hein van den Heuvel
Honored Contributor

Re: Something wrong with the keyboard??

Sound like bad .proflie logic around the TERM and stty params.

Did you try a a 'resize' command?

When you try to explicitly define erase with 'stty erase '? Does that work?

How about: ttytype -s

Google for: +site:itrc.hp.com +stty +erase
and you'll find lots of itrc entries in this space. For example the following mentioning X servers as well:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=554074
and
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=102804

hth,
Hein.
AwadheshPandey
Honored Contributor

Re: Something wrong with the keyboard??

if .profile is set in proper manner and problem not solved to set proper TERM variable and stty and you are getting these problem on dumb terminals only. then go to ur terminal function keys settings this will solve ur problem. check ur keyboard type in /etc/KBD.conf file for keyboard settings

Awadhesh
It's kind of fun to do the impossible
Sebastian Cesario_1
Occasional Advisor

Re: Something wrong with the keyboard??

try setting .profile with TERM= ansi or vt100, vt220, vt400 someone of this surely works.
Alex Glennie
Honored Contributor

Re: Something wrong with the keyboard??

Henry,

Under X your profile only gets read once upon login.

so when you open up a terminal session under your window manager your profile is not read by
default.

to achive this create an .Xdefaults file is your users home directory and add the following line ...

*loginShell:True

save the file and exit the window manager.

Login again, if the problem persists I'd then post stty -a and your term setting as defined under a hpterm or xterm or ddterm whichever you are using, incidentally do all of the above terminals show the same behaviour ...