Operating System - HP-UX
1834218 Members
3317 Online
110066 Solutions
New Discussion

Re: Problem with KSH shell on HP-UX 11

 
Verhaeghe Rene_1
Occasional Advisor

Problem with KSH shell on HP-UX 11

When I uses ksh as script, I have a problem when I enter a line as aaa@aa. When I type the "@", the line is cleaned up.

I don't have this problem with another shell.
With KSH, I don't have it with an X-windows inetrafce, but only with a terminal interafce.
5 REPLIES 5
Steve Steel
Honored Contributor

Re: Problem with KSH shell on HP-UX 11

Hi


Look at the output of stty -a for @

also alias

Possibly .kshrc file is setting it

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
T G Manikandan
Honored Contributor

Re: Problem with KSH shell on HP-UX 11

check for stty -a

and check what the kill is set to

If that is set to @

then do a

stty kill ^u
Elmar P. Kolkman
Honored Contributor

Re: Problem with KSH shell on HP-UX 11

Look at your stty settings. Probably @ is defined as kill or intr.
To fix this, do:
stty kill ^U
stty intr ^C

Every problem has at least one solution. Only some solutions are harder to find.
Verhaeghe Rene_1
Occasional Advisor

Re: Problem with KSH shell on HP-UX 11

That was it.
On VY, kill is "@"
On X-windows, it is anotheer character.

thank you
Verhaeghe Rene_1
Occasional Advisor

Re: Problem with KSH shell on HP-UX 11

Different setting assigned to charcacter depending on the driver used.