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