Mysterious transformation of tset(1) output on Suns
Peter da Silva
peter at graffiti.UUCP
Wed Oct 16 03:29:15 AEST 1985
> 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).
More information about the Comp.unix.wizards
mailing list