Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!cottrell@nbs-vms.ARPA From: cottrell@nbs-vms.ARPA Newsgroups: net.unix-wizards Subject: setting TERM on SYS Vr2 Message-ID: <8637@brl-tgr.ARPA> Date: Mon, 25-Feb-85 17:32:38 EST Article-I.D.: brl-tgr.8637 Posted: Mon Feb 25 17:32:38 1985 Date-Received: Fri, 1-Mar-85 07:18:29 EST Sender: news@brl-tgr.ARPA Lines: 31 /* > > 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 Oh JHFC Guy, RTFM :-). Those users could have their .profile do all that stuff, then `exec' their program as the last statement. If your users are on the novice side, I'm sure some Guy at your site could set it up for them :-). jim */