home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / coherent / 7000 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.5 KB

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