davidson1 said:
[blockquote]It is shell script and if I type echo $TERM[/blockquote]
It looks like you don't plan to complete that sentence without prompting, so I'll ask. Do you mean that you are trying to create/edit a shell script? If so, what editor are you using? Or do you mean that you are trying to respond to a prompt from a shell script? If so, what are the relevant lines from the script? What method of reading input does it use? Which shell does it use? That is, what is the first line of the shell script?
What happens if you type "echo $TERM" at the shell prompt? And what are you actually using as your terminal? Are you using a terminal emulator in a graphical user environment? Or are you using an actual terminal connected to the machine through a serial port? And what variety of unix are you using? What is the output of "uname -a"?
Paul