Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!bellcore!tness7!texbell!petro!iquery!matt From: matt@iquery.UUCP (Matt Reedy) Newsgroups: comp.unix.questions Subject: Re: using set term in the .login file Summary: Here's how we do it Keywords: vt52 Message-ID: <140@iquery.UUCP> Date: 12 Oct 88 20:18:42 GMT References: <1139@fredonia.UUCP> Organization: Programmed Intelligence, San Antonio Lines: 25 In article <1139@fredonia.UUCP>, sale5312@fredonia.UUCP (Marty Saletta) writes: > > if (using ttyd1 or using ttyd2) then set term=vt52 > Here's what we have in our /etc/profile for logging in either through a hard- wired terminal, or over our Starlan network: T=`tty` # check for login over network (tty is slannn) if echo `basename $T` | grep slan >/dev/null then TERM=pc else TERM=wyse50 fi export TERM matt -- Matthew Reedy UUCP: {harvard!adelie,gatech!petro}!iquery!matt Programmed Intelligence Corp. "Lots of people without brains do alot of talking" 400 N Loop 1604 E, Suite 330 Scarecrow - "Wizard of Oz" San Antonio, TX 78232 (512) 490 6684