APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

tset


© November 2003 Tony Lawrence

Set and initialize terminal type. Not entirely useless nowadays, though when dumb terminals were more common, so was this. You'd have a tset line in your .profile:

eval `tset -m vt100:vt100 -m
ansi:${TERM:-ansi} -m :\?${TERM:-ansi}
-e -r -s -Q`
 

If your terminal was not known (either from /etc/ttytype or from the TERM environment variable), that line would cause you to be prompted with

TERM = (ansi)
 

What's happening there is that the "tset" program in your .profile is telling you that it will assume you are an "ansi" terminal unless you tell it differently. Ordinarily you would just hit ENTER to accept "ansi", but you could type "wyse60" or "vt100" or any other valid terminal name if you were not, in fact, using an ansi terminal.

Tset would then output the proper initialization strings for your terminal.

See Termcap and Terminfo for more. -


Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> tml tset


Inexpensive and informative Apple related e-books:

Are Your Bits Flipped?

Photos: A Take Control Crash Course

Photos for Mac: A Take Control Crash Course

Take Control of iCloud, Fifth Edition

Take Control of Parallels Desktop 12




More Articles by © Tony Lawrence




Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





Unlike info, pinfo does not display anything if it has nothing. I've been forever irritated by info coming up with its default page when it has nothing to tell me. (Tony Lawrence)




Linux posts

Troubleshooting posts


This post tagged:

Scripting

UnixWords



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode





SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com