Operating System - HP-UX
1838005 Members
5613 Online
110124 Solutions
New Discussion

Re: @ does a return while in xterm

 
SOLVED
Go to solution
Josh Dalziel
Occasional Advisor

@ does a return while in xterm

This is a new one for me. When i type the @ key it starts a new line. Trouble shooting has been fun cause I can not search my profile for @. Anyone seen this before or know how to solve it.

Thanks

Joshua
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor
Solution

Re: @ does a return while in xterm

Hi Joshua,

Your stty setting of 'kill' has been set to @ (stty -a). So, whenever you type @, it is killing the current line.

To change it for the current terminal, do

stty kill ^U (ctrl-v ctrl-U)

To make it a permanent setting, do

stty kill ^U < /dev/ttyconf

Login again your @ should work fine.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
A. Clay Stephenson
Acclaimed Contributor

Re: @ does a return while in xterm

I suspect that the eol (end of line) character has been changed from a cntl-@ to an '@'. Do a stty -a and that should show you your problem.
If it ain't broke, I can fix that.
Josh Dalziel
Occasional Advisor

Re: @ does a return while in xterm

You both were correct! I am not even going to ask how you knew that off the top of your head so fast. Thanks so very much though!