Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: TERM problems

by trantor (Chaplain)
on Sep 06, 2004 at 10:17 UTC ( [id://388770]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://388770]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-25 20:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found