Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 exptools; site ihuxo.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!whuxl!houxm!ihnp4!ihuxo!schnable From: schnable@ihuxo.UUCP (Andrew T. Schnable) Newsgroups: net.unix-wizards Subject: Re: setting TERM on System Vr2 Message-ID: <437@ihuxo.UUCP> Date: Sat, 16-Feb-85 11:51:29 EST Article-I.D.: ihuxo.437 Posted: Sat Feb 16 11:51:29 1985 Date-Received: Mon, 18-Feb-85 04:49:08 EST References: <1145@aecom.UUCP> <472@rlgvax.UUCP> Distribution: net Organization: AT&T Bell Laboratories Lines: 21 > > Anyone know of a good method to keep TERM information for System V? > > I know that you can type TERM=xxx when typing your login > > name, but we have a lot of hardwired terminals, and it would be > > more convenient to have that terminal types kept in a file and > > have it be set automatically. > > Step 1 - rip "login" so that it doesn't destroy the environment it's > given, but adds to it. > > Step 2 - make your "inittab" lines look like: > > hb::respawn:env TERM=vt100 /etc/getty ttyhb 9600 # Console VT100 > ... Or put a test in the .profile if [ `tty` = "/dev/tty??" ] then TERM=5620 # or whatever fi andy ihuxo!schnable