sqlplus @ not working sqlplus \@ working..

Hi All,
I am facing a strange problem on one of my unix servers.
When i try to login using the standard method:
it fails with below message

>sqlplus REF1SSTDBO1/REF1SSTDBO1@TKS3N10G

> TKS3N10G
ksh: TKS3N10G:  not found

But it works perfectly when i escape with ;\

>sqlplus REF1SSTDBO1/REF1SSTDBO1\@TKS3N10G

SQL*Plus: Release 10.2.0.3.0 - Production on Thu Mar 24 11:47:44 2011

Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> exit

Can someone help me with how to solve this strange problem!! :slight_smile:

Please find below the OS details:

> uname -a
HP-UX indhp046 B.11.31 U ia64 4153157837 unlimited-user license

Regds,
Kunwar

What Shell are you using?

How is your keyboard mapped? We're looking for "@" remapped.

stty -a

In this line, what do each of the field names mean? Is the Oracle listener on this computer or another computer?
What do you expect this sqlplus line to do?

Has someone intercepted sqlplus?

type `whence sqlplus`

I tried something to solve this issue I manually type the below. This thing has solved the login problem but gives rise to anothe problem :(.

  1. When i press backspace it hits ENTER.
  2. When i press the SHIFT+BACKSPACE it presses ^H character.

stty kill ^K (character above 6 in keypad and K)

Now Backspace is not working..which was working with Shift+Backspace earlier!!

Hi Please find below the details which you asked(After the changes which i tried :))

> echo $SHELL
/bin/ksh
> stty -a
speed 38400 baud; line = 0;
rows = 37; columns = 154
min = 4; time = 0;
intr = DEL; quit = ^\; erase = #; kill = ^K
eof = ^D; eol = ^@; eol2 <undef>; swtch = ^@
stop = ^S; start = ^Q; susp <undef>; dsusp <undef>
werase <undef>; lnext <undef>
-parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon ixany -ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo -echoe echok -echonl -noflsh
-echoctl -echoprt -echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop
		 				sqlplus REF1SSTDBO1/REF1SSTDBO1@TKS3N10G 			 		

By the above command i am trying to a login to a db named TKS3N10G ,REF1SSTDBO1 is the username ,REF1SSTDBO1 is the password.

Without seeing the "stty -a" before you made changes this is too difficult.

Assuming you are on a telnet session with some sort of vt220 emulator, the stty settings posted are a bit weird.

The erase key depends on what your keyboard backspace key actually generates. Your main problems are the intr and erase keys.
I would expect the important keys to be set to something like this (but do check the erase key):

Note that when a value is unset it shows as ^@ (i.e. null - not to be confused with just @).

Having the erase key set to hash is definitely not a good idea when using Shell !

Also, the value of $TERM is important. It should be correct for your type of terminal.
What sort of terminal do you have?
What is the value of $TERM?

echo $TERM