Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: Can a script check if my line is dialup? Message-ID: <3586@auspex.auspex.com> Date: 30 Jun 90 18:31:54 GMT References: <1990Jun29.050949.8906@midway.uchicago.edu> <2776@wyse.wyse.com> Organization: Auspex Systems, Santa Clara Lines: 12 >tset uses the /etc/ttytype file as a database mapping terminal types to >tty lines. "tset" on *some* systems *might* use "/etc/ttytype" as a database mapping terminal types to tty lines; I've never seen any such system, but perhaps Wyse's flavor of UNIX is one such system? Some systems - e.g., 4.3BSD, and probably therefore nExt's OS, use "/etc/ttys" (or "/etc/ttytab", if they had to keep "/etc/ttys" in the old format for backwards compatibility), as that table, and in the cases I've seen it's "login", not "tset", that uses it, and sets the TERM environment varible; "tset" just looks at that environment variable.