Xref: utzoo comp.windows.x:38002 comp.windows.open-look:1793 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.windows.x,comp.windows.open-look Subject: Re: Is there an X-enhanced `vi' ?? Message-ID: <8572@auspex.auspex.com> Date: 26 Jun 91 17:53:07 GMT Article-I.D.: auspex.8572 References: <1991Jun25.135342.11766@aifh.ed.ac.uk> <1991Jun26.024601.5106@starnet.com> Followup-To: comp.windows.x Organization: Auspex Systems, Santa Clara Lines: 14 >It will work correctly on BSD 4.3. The ioctl #define is different between >BSD 4.3 and SunOS. One calls it TTYSIZE and one call it WINSIZE. The "ioctl" #define is different betwen BSD4.3 and SunOS prior to SunOS 3.2; SunOS 3.2 introduced the 4.3BSD TIOC[GS]WINSZ "ioctl"s, although they weren't documented until 4.0. (The older SunOS "ioctl"s were TIOC[GS]SIZE.) >I believe SunOS doesn't do number 2. You must still be running SunOS 3.0 or something; the old TIOCSSIZE "ioctl" didn't cause the signal to be sent, but the new TIOCSWINSZ "ioctl" does so in SunOS just as it does in BSD (and, I think, in System V Release 4).