1833777 Members
2304 Online
110063 Solutions
New Discussion

@ in hpux 11i

 
SOLVED
Go to solution
Mario Caisapanta
Occasional Advisor

@ in hpux 11i

Hi...I work on hpux11i but I have problems with the @, I mean when a put the @, the rest of the line is deleted.
Plz, Anybody knows how can I fix this problem?
regards...
Mario
8 REPLIES 8
Michael Tully
Honored Contributor

Re: @ in hpux 11i

You may wish to check the terminal emulation is correct.

To put up with it place a \ before using the @ character.
Anyone for a Mutiny ?
Vijaya Kumar_3
Respected Contributor

Re: @ in hpux 11i

I assume you are in command line, are you? vi editor manual says this:

@buffer Execute the commands stored in the named buffer. Be careful not to include a character at the end of the buffer contents unless the is part of the command stream. Commands to be executed in ex mode should be preceded by a colon (:).

which editor mode are you in? do a

echo $EDITOR

Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Michael Tully
Honored Contributor

Re: @ in hpux 11i

Typically this can happen when sending an email.

$ cat /etc/hosts | elm -s "" myname@domain.com

When the '@' sign is used the line will get deleted.
Anyone for a Mutiny ?
curt larson_1
Honored Contributor
Solution

Re: @ in hpux 11i

what are your stty settings?
The KILL character deletes all data in the current line. By default this is @.
Mario Caisapanta
Occasional Advisor

Re: @ in hpux 11i

Yes...when an aplication try to send an e.mail, hpux doesnt recognize the @.
I got an error message instead of the @
Michael Tully
Honored Contributor

Re: @ in hpux 11i

Either fix the script so that it ignires tty settings or for a test simply add the \ (backslash character) in the line immediately prior to the @ sign.
Anyone for a Mutiny ?
Shaikh Imran
Honored Contributor

Re: @ in hpux 11i

Hi,
Try Givin this
#stty erase (press backspace key)
then try to type the email message.
If succesfull you can add this in .profile file

Regards,
I'll sleep when i am dead.
Victor Fridyev
Honored Contributor

Re: @ in hpux 11i

Hi,

You can see all tty parameters as shownbelow:

argus:/# stty -a
speed 9600 baud; line = 0;
rows = 25; columns = 80
min = 4; time = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U
eof = ^D; eol = ^@; eol2 ; swtch
stop = ^S; start = ^Q; susp = ^Z; dsusp
werase ; lnext

As you can see , @ is understood as End_of_Line. You can try to change this parameter by
stty eol smth
BTW, because of this reason the @ symbol can't be used as a part of password in UNIX.

Regards
Entities are not to be multiplied beyond necessity - RTFM