Operating System - HP-UX
1851273 Members
3664 Online
104057 Solutions
New Discussion

Re: control characters on command line stty

 
Eric Buckner
Regular Advisor

control characters on command line stty

I seem to be having a problem where while typing on the command line it appears to be ignoring my control sequences. Neither interrupt or suspend work now. But if I look at the stty -a they still show as defined as ctrl-c and ctrl-z respectively. It is behaving like I didn't type anything at all. All I have done to the /etc/profile was put in some logic to determine if I am on a tty or not, mostly to deal w/ su and remsh to a diff user.

Any help would be greatly appreciated.

Attached is the /etc/profile in question.

Time is not a test of the truth.
1 REPLY 1
Eric Buckner
Regular Advisor

Re: control characters on command line stty

Well I figured out my own problem. I had removed the trap 1 2 3 entry from the bottom of the /etc/profile w/o noticing it.
Time is not a test of the truth.