1835552 Members
3291 Online
110078 Solutions
New Discussion

shell problems

 
SOLVED
Go to solution
mogiro
Regular Advisor

shell problems

Hi,
I have a just installed system with HPUX 11.11 and some common keys are not working, I suppose is a shell related issue, but I'm not able to find what to do. For instance: the esc+K is not working for navigate throw the history, the ctrl+C doesn´t breaks the line, etc etc. I have compared /etc/profile and ~/.profile from another machines that are working and I find no difference.
Also I've checked the shell using in /etc/passwd and in all the cases it is /bin/sh.
Any idea, please?
4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: shell problems

esc K doesn't work unless you have "set -o vi".
Also it won't work by default if you are root.

Control C may not work if stty isn't set. What does "stty -a" show for intr?
Torsten.
Acclaimed Contributor
Solution

Re: shell problems

Really no differences in all the related files?

Do "env" and compare. Do you have variables like EDITOR set?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
mogiro
Regular Advisor

Re: shell problems

Hi all,
There were differences between the sh and .profile files... I'm sorry.
I've copied it from one server to the other and now it works fine!!
Thanks!!
mogiro
Regular Advisor

Re: shell problems

copy .sh and .profile files