TERMCAPs extensions...

Jonathan C. Broome broome at ucbvax.ARPA
Thu Apr 18 00:05:55 AEST 1985


[ 42 ]
>> In article <179 at ucbcad.UUCP> faustus at ucbcad.UUCP writes:
>> > In fact there is a signal, SIGWINCH, in 4.3 which gets sent whenever a
>> > window size changes. It gets propagated over rlogin, so your remote vi's
>> > can know when you change your window size on a local sun, for instance...
>> >
>> >	Wayne
>> 
>> But how does the remote editor access the new window size values
>> from the local workstation?  Can rlogin help with this?
>> 
>> Leif Samuelsson

Another addition to <sys/ioctl.h> is a structure called `winsize', which holds
information on the number of rows/columns and pixels in the current window,
and a new set of ioctls (TIOCGWINSZ and TIOCSWINSZ) to manipulate this
information so you can use it....

-------------------------------------------------------------------------------
  Jonathan C. Broome   ...!ucbvax!broome, broome at Berkeley



More information about the Comp.unix.wizards mailing list