home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / att / 2093 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.4 KB

  1. Xref: sparky comp.sys.att:2093 comp.unix.solaris:184 comp.unix.sysv386:13647
  2. Newsgroups: comp.sys.att,comp.unix.solaris,comp.unix.sysv386
  3. Path: sparky!uunet!van-bc!ilinx!brian
  4. From: brian@ilinx.wimsey.bc.ca (Brian J. Murrell")
  5. Subject: Re: SVR4 - initializing TERM
  6. Message-ID: <1992Aug26.183822.14823@ilinx.wimsey.bc.ca>
  7. Organization: InterLinx Support Services Inc.
  8. References: <36133@arctic.nprdc.navy.mil>
  9. Date: Wed, 26 Aug 92 18:38:22 GMT
  10. Lines: 27
  11.  
  12. stanonik@nprdc.navy.mil (Ron Stanonik) writes:
  13.  
  14. >We'd like to initialize the TERM environment variable based on
  15. >the tty port.  In bsd and sunos this can be set in /etc/ttys
  16. >and /etc/ttytab, respectively.  In SVR4, however, ttymon
  17. >doesn't seem to provide a way to do this.  The per-service
  18. >config file didn't work; ie, pmadm -g -p porttag -s svctag -z conffile,
  19. >where confile contains "assign TERM=vt100".  Any suggestions?
  20.  
  21. there is a "ttymon script" file which gets executed upon startup of the 
  22. service for a port.  There is a separtate file for each tty in the ttymon.
  23.  
  24. on our DG system the file is /etc/saf/<your ttymon>/<tty>.
  25.  
  26. ie /etc/saf/terminals/tty02
  27.  
  28. and contains the following line
  29.  
  30. assign TERM=wy60
  31.  
  32.  
  33. brian
  34. -- 
  35. Brian J. Murrell                                        brian@ilinx.wimsey.bc.ca
  36. InterLinx Support Services, Inc.                        uunet!van-bc!ilinx!brian
  37. North Vancouver, B.C.
  38.         Platform and Brand Independent UNIX Support - R3.2 - R4 - BSD
  39.