Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!brl-adm!brl-smoke!smoke!gwyn@BRL.ARPA From: gwyn@BRL.ARPA (VLD/VMB) Newsgroups: net.unix-wizards Subject: Re: job control Message-ID: <2642@brl-smoke.ARPA> Date: Mon, 14-Apr-86 18:56:47 EST Article-I.D.: brl-smok.2642 Posted: Mon Apr 14 18:56:47 1986 Date-Received: Fri, 18-Apr-86 03:51:30 EST Sender: news@brl-smoke.ARPA Lines: 27 echo $TERM to print the current value of the environment variable TERM. (This is explained in almost any UNIX tutorial.) env prints the entire current environment (UNIX System V; use "printenv" in Cshells). Terminal descriptions are contained in /etc/termcap or the terminfo equivalent (SVR2 only). This database is indexed by the value of TERM; if you claim to be using a "vt100", then the description for a DEC VT-100 is used. By gum, a DEC VT-100 does NOT have 62x116 character positions. To get the 62x116 terminal described, have an entry with a new name added to /etc/termcap, e.g. xx|crispin|Crispin's magic terminal:\ :co#116:li#62:tc=vt100: Another approach, if your system supports it, is to set the window size information into the kernel data structure associated with the terminal, via TIOCSWINSZ or equivalent. This overrides the screen size info from /etc/termcap and is (0,0) until specifically set. Windowing systems should update this information for each pseudo-terminal automatically. Your system administrator really should know all this and be able to set up your login state appropriately.