Programming and Scripting :: Can't go interactive after telnet logon script! ??



This script is differently lacking. I'll give you that.

When this script ends the shell does not close but no keystroke does anything and I cannot quit or break out of it short of manually closing the window. Not even killing the process works.

how did you run the script?  Did you use the

( script.sh ; cat - ) | telnet > /dev/tty

command or did you just type script.sh?  When I used the above command from an xerminal using the script.sh from my previous post it worked.


original here.