BladeSystem Forums have moved here
To make BladeSystem information easier to find, we have moved the BladeSystem forums here, to Servers and Operating Systems.
Showing results for 
Search instead for 
Do you mean 

'@' problem with HP-UX

Highlighted
Occasional Contributor

'@' problem with HP-UX

Hi All,

I'm facing a strange problem on HP-UX 11.31 Itanium machine;

When logging in as 'root' ; I can type the letter '@' at the prompt normally.

But when logging in as any other user (i.e oracle) I find that when typing '@' at the prompt it skips to a new line, and the '@' character is discarded from the command.

I'm using Reflection 14 (trial) and Absolute Telnet 7.x and Putty and this happens in all of them.

I appreciate your help as I'm an Oracle DBA and new in HP-UX administration.

Thanks
6 REPLIES
Acclaimed Contributor

Re: '@' problem with HP-UX

This indicates that "@" is the default stty kill char.

You need to use stty(1) to change the char to what you like:
stty kill ^u
Honored Contributor

Re: '@' problem with HP-UX

Look at oracle .profile stty is set for kill, then you can change it any value you want.
Occasional Contributor

Re: '@' problem with HP-UX

Thanks Dennis, Turgay,

stty kill ^z worked for me, but it is not saved in oracle .profile as I couldn't find such file or either .login file (in /home/oracle).

If I re-login, It comes back again.

I used "useradd" command according to Oracle Installation documentation and looks like no .profile nor .login was created.

This also can explain that I need to go to ORACLE_HOME/bin directory to run Oracle tools as no paths are defined at login time.

Any directions/advice regarding those missing files?

Honored Contributor

Re: '@' problem with HP-UX

After logging with oracle type "stty -a", then probably you will see kill = @. To change this value type oracle's profile "stty kill ^U" or something else.
Acclaimed Contributor

Re: '@' problem with HP-UX

>stty kill ^z worked for me

Ack! ^Z is for susp, not kill.

>but it is not saved in oracle .profile as I couldn't find such file or either .login file (in /home/oracle).
>Any directions/advice regarding those missing files?

You can just copy the real shell then scummy C shell skeleton files there.
/usr/newconfig/etc/skel/.profile
/usr/newconfig/etc/skel/.login
Occasional Contributor

Re: '@' problem with HP-UX

Thanks Turgay,

and special THANKS to you Dennis,

I really appreciate your fast and professional help.

It is working now fine and used ^U for Kill instead of ^Z :)

Thanks again