Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 (Fortune 01.1b1); site graffiti.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!ut-sally!ut-ngp!shell!graffiti!peter From: peter@graffiti.UUCP (Peter da Silva) Newsgroups: net.unix-wizards Subject: Re: Mysterious transformation of tset(1) output on Suns Message-ID: <308@graffiti.UUCP> Date: Tue, 15-Oct-85 13:29:15 EDT Article-I.D.: graffiti.308 Posted: Tue Oct 15 13:29:15 1985 Date-Received: Fri, 18-Oct-85 00:39:50 EDT References: <483@smeagol.UUCP> Distribution: net Organization: The Power Elite, Houston, TX Lines: 10 > I have a question for the Sun gurus. When inside the window system, > executing "tset -QS" directly from the shell gives output that > 'knows' about the size (lines, columns) of the current window: > But lo and behold; if you should try to do anything with this output, like > put it between `` for use with eval, or even through a pipe or a redirected > output, the output suddenly mysteriously changes back to a 'normal' sun > termcap entry: Sounds like tset is using stdout for the ioctl that reads the real screen size. OOPS (as tgoto(3) said after I did something similar).