home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!usenet.ins.cwru.edu!agate!ames!biosci!DALEK.MWC.COM!bob
- From: bob@DALEK.MWC.COM (Bob Hemedinger)
- Newsgroups: comp.os.coherent
- Subject: Re: Terminal question
- Message-ID: <9301280825.AA04961@dalek.mwc.com>
- Date: 28 Jan 93 14:25:10 GMT
- References: <9301280023.AA24280@relay1.UU.NET>
- Sender: daemon@net.bio.net
- Reply-To: "Coherent operating system" <COHERENT@INDYCMS.bitnet>
- Lines: 27
-
- >
- > Mike Tarrant writes :
- > > My question is, at a system level, how does Coherent "know" that the
- > >terminal at the end of /dev/com4pl is a vt100, or a wyse50, or tvi925?
- > >I know there is the TERM environmental variable in my .profile file,
- > >but if I make that the terminal type, it'll be wrong when I log-on at
- > >the console (ansipc).
-
- If you know that whenever you log in on a specific that a specific terminal
- will always be on that port, then you edit your .profile to include a
- small script like this:
-
- ########################
- case `tty` in
- /dev/com1l) export TERM=wyse50;;
- /dev/com2l) export TERM=vt100;;
- esac
- echo "TERM set to $TERM";
- ########################
-
- --
- MWC Technical Suppt. ____________ You may leave your weapons
- (============================) or leave the station. It's
- bob@mwc.com ------------ your choice, please make it
- support@mwc.com (===) \\ || // (===) now.
- | \\||// | Who are you?
- NCC-1701-D |____(((( ))))____| I'm the one giving you the choice.
-