Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Net::Telnet "unknown terminal type"

by blm (Hermit)
on Sep 19, 2002 at 01:56 UTC ( [id://199056]=note: print w/replies, xml ) Need Help??


in reply to Net::Telnet "unknown terminal type"

tset is being run. Something is not ok with tset. You need to fix that From man 1 tset
Tset initializes terminals. Tset first determines the type of terminal that you are using. This determination is done as follows, using the first terminal type found. 1. The terminal argument specified on the command line.
And further down
Once the terminal type has been determined, the terminfo entry for the terminal is retrieved. If no terminfo entry is found for the type, the user is prompted for another terminal type.
This stuff is gold I tell you GOLD
TERMINAL TYPE MAPPING When the terminal is not hardwired into the system (or the current system information is incorrect) the terminal type derived from the /etc/ttys file or the TERM environmental variable is often something generic like network, dialup, or unknown. When tset is used in a startup script it is often desirable to provide information about the type of terminal used on such ports.
And further down still
/usr/share/terminfo terminal capability database

Replies are listed 'Best First'.
Re^2: Net::Telnet "unknown terminal type"
by Anonymous Monk on Jan 29, 2010 at 01:48 UTC
    Bit late I know, but I've had this problem also. Easiest fix is to put a 'TERM=vt100' in front of the command. So the command string that's executed should be ... TERM=vt100 ; pstree -A

Log In?
Username:
Password:

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

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

    No recent polls found