Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rlgvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!panda!talcott!harvard!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.unix-wizards Subject: Re: setting TERM on System Vr2 Message-ID: <511@rlgvax.UUCP> Date: Mon, 25-Feb-85 01:17:48 EST Article-I.D.: rlgvax.511 Posted: Mon Feb 25 01:17:48 1985 Date-Received: Thu, 28-Feb-85 01:16:37 EST References: <1145@aecom.UUCP> <472@rlgvax.UUCP> <437@ihuxo.UUCP> Distribution: net Organization: CCI Office Systems Group, Reston, VA Lines: 22 > Or put a test in the .profile > > if [ `tty` = "/dev/tty??" ] > then > TERM=5620 # or whatever > fi Doesn't do a damn thing if your password file entry reads: jblow:ABCDEFGHIJKL.:69:1:Joe Blow:/usr/jblow:/foo/bar/application and "/foo/bar/application" happens to be some screen-oriented application that doesn't want to know how to parse a shell script. Oh yes, you can't set TZ for the benefit of the application, either, for the same reason... (Most users at our customer sites have exactly such an application as their login shell.) Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy