Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!linus!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.micro.att Subject: Re: 3B2 and 'tset' Message-ID: <2780@sun.uucp> Date: Tue, 10-Sep-85 21:36:47 EDT Article-I.D.: sun.2780 Posted: Tue Sep 10 21:36:47 1985 Date-Received: Thu, 12-Sep-85 23:16:14 EDT References: <167@darth.UUCP> Distribution: net Organization: Sun Microsystems, Inc. Lines: 21 > Back in the good(?) old days of System III and Version 7 there was a > terminal initialization program called 'tset'. Even though this is > still referenced in the 3B2 documentation in TERMINFO(4) I can find neither > hide nor hair of it. Well, "tset" was a program written at Berkeley (I presume) by Eric Allman. It didn't come with V7 or S3. However, it has a number of #ifdef flags which should make it possible to compile one that runs under V7 or S3, assuming you have "termcap". (You may have to do a little work to get it to work.) It uses the "tget..." calls in the "termcap" library which are simulated by calls in the "terminfo" library, so it shouldn't be too much work to get it running under S5R2 with "terminfo". I don't know what the distribution restrictions on the source to "tset" are, but if you're allowed to have the source you might try bringing it up. I suspect the reason it's documented in TERMINFO(4) is that the curses/terminfo library was intended to run under a lot of UNIX variants (the version that comes with S5R2 has code for 4.1BSD, including catching SIGTSTP; this code assumes that signal handlers are reset to SIG_DFL when the handler is entered, so it has to be changed to work under 4.2BSD), one such variant being 4.xBSD. Guy Harris