perlperl
asked on
strange charactes on unix box
On some of the Unix host, when i try to delete the character using delete key or backspace,
i can't do that and i see strange characters like "^[[3~" or "^?" etc....
i know there should be some settings which can prevent this
i can't do that and i see strange characters like "^[[3~" or "^?" etc....
i know there should be some settings which can prevent this
ASKER
this happens only when i am running some interactive code from unix prompt
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
i found this link helful...
http://www.columbia.edu/kermit/backspace.html
can someone pls close the question...
Thanks
http://www.columbia.edu/kermit/backspace.html
can someone pls close the question...
Thanks
ASKER
hi sunnycode,
actually both of our comments were in parallel...anyway you deserve the points for trying
actually both of our comments were in parallel...anyway you deserve the points for trying
Thanks :)
ASKER
just 1 question
when i type stty , i get
speed 9600 baud; evenp hupcl -cread
time = 255; intr = ^C; erase = DEL; kill = ^U;
eol <undef>;
susp = ^Z; dsusp = ^Y;
werase = ^W; lnext = ^V;
brkint -inpck icrnl -ixany ixoff onlcr tab3
iexten echo echoe echok
-echoke
who controls this file, is it some kind of unix languauge
when i type stty , i get
speed 9600 baud; evenp hupcl -cread
time = 255; intr = ^C; erase = DEL; kill = ^U;
eol <undef>;
susp = ^Z; dsusp = ^Y;
werase = ^W; lnext = ^V;
brkint -inpck icrnl -ixany ixoff onlcr tab3
iexten echo echoe echok
-echoke
who controls this file, is it some kind of unix languauge
ASKER
hey summycode,
Backspace works fine, but when i use up and down arrow keys, to see previous commands, it gives strabge characters
^[[A and ^[[B respectively
Backspace works fine, but when i use up and down arrow keys, to see previous commands, it gives strabge characters
^[[A and ^[[B respectively
>who controls this file, is it some kind of unix languauge
Not sure what you are mean by controlling the file?
Arrow keys
http://www.columbia.edu/kermit/faq-c-arr.html#faq-c-arr
Not sure what you are mean by controlling the file?
Arrow keys
http://www.columbia.edu/kermit/faq-c-arr.html#faq-c-arr
ASKER
confused...regarding arrow key
can u please tell me the exact command for all type of unix host HP,solaris,OSF1,Linux
can u please tell me the exact command for all type of unix host HP,solaris,OSF1,Linux
what is your terminal type ?
ASKER
tcsh shell
ASKER
i guess i'll have to open new question..will do it
echo $term ... what does this command give? .. If it is not vt100 try
set term=vt100
This is the most common type and probably this should set things right.
set term=vt100
This is the most common type and probably this should set things right.
ASKER
delete is displayed as ^[[3~