Operating System - HP-UX
1833083 Members
3736 Online
110050 Solutions
New Discussion

stty kill ^U doesn't work

 
Carol Livingston
Occasional Contributor

stty kill ^U doesn't work

I have a user that has his stty kill set to ^U, but it doesn't work. He also has set -o vi set on. I use set -o emacs and also have stty kill set to ^U and mine works fine. When I set -o vi, then ^U ceases to work. Is there any why to get this to work?

thanks
Carol
3 REPLIES 3
PIYUSH D. PATEL
Honored Contributor

Re: stty kill ^U doesn't work

Hi,

Are you trying a telnet from PC ??

Anyway, for setting it to ^U

#stty kill '^U'

( use the key besides enter- ', then Shift-6 and then Shift-u to get '^U' )

Then type
#stty -a
to find out that the settings have been activated. Check whether ^U is not used by anything. If it works then you can put this in the users .profile.

Piyush

Sanjay_6
Honored Contributor

Re: stty kill ^U doesn't work

Hi,

Are the shell differnet between the two user id's. The one for which it works and the other for which it doesn't.

Hope this helps.

Regds
PIYUSH D. PATEL
Honored Contributor

Re: stty kill ^U doesn't work

Hi,

Are you using a dumb terminal with a serial cable, or are you using a terminal emulator on a PC ?

Are you using telnet to connect or are you using Xwindows?

If you are using Xwindows the it bypasses /etc/profile, /etc/csh.login, .profile, .kshrc, etc...

So what is the difference between the settings from your terminal and the other users terminal. May be different shells also.

Piyush