in reply to TERM problems

It looks like this error is output by the tput program,

try:

unset TERM ; tput

Perhaps tput is used somewhere in your initialisation scripts, or executed from your Perl script?

It is quite likely that the $TERM environment variable is not propagated, con can verify with:

rsh mycomp env

As a side note, since rsh is known to be highly insecure, you should consider using ssh instead, i.e.:

ssh -t mycomp env

-t allocates a pseudo-tty (i.e. a terminal) even when it wouldn't normally be allocated by ssh.

Replies are listed 'Best First'.
Re^2: TERM problems
by Anonymous Monk on Sep 23, 2004 at 15:00 UTC
    Hotshot, I had the same problem and discovered it was due to using colors in my bash prompt. I fixed it with a simple if check:
    if [ $TERM != "dumb" ];then export PS1=pretty_color_prompt fi
    Worked like a champ. Keep in mind the "clear" call is just a wrapper to tput. So check those dotfiles for any clear commands as well.