Currently, my term environment variable is set to "xterm-color", which seems to work well for me. However, when I telnet to a remote server, it doesn't like that terminal type. Setting term to "unknown" solves the problem with the remote server, but it still won't let me open pine. But, if I set term to "vt100", then everything is fine and dandy, and pine opens and everything.
So, the question is: is there anyway to use my .cshrc files to set the terminal type to vt100 when I give a telnet command, and then switch back afterwards? That would be the ideal situation, having this process automated.


