home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / mod.std.unix.v7 / text0064.txt < prev    next >
Encoding:
Internet Message Format  |  1987-06-30  |  1.1 KB

  1. From: bobr@zeus.UUCP (Robert Reed)
  2. Organization: CAE Systems Division, Tektronix Inc., Beaverton OR
  3.  
  4. In article <6004@ut-sally.UUCP> Larry Campbell
  5. <campbell%maynard.UUCP@harvisr.harvard.edu> writes:
  6. > Of course programs should (and most do) query termcap/terminfo.  However,
  7. > they can safely assume that the window size isn't going to change while
  8. > they're running, and this assumption reduces complexity.
  9.  
  10. Programs cannot safely assume that window size is not going to change,
  11. because on most overlapped window management systems it will.  It is just
  12. too easy to set inappropriate window sizes and then need to adjust them.
  13. Consider creating a new which is almost the right size (say 75 characters
  14. wide) and then invoking an editor on a file of 80 character data.  The
  15. editor will either wrap or truncate the data, and changing the window size
  16. to compensate will do nothing but frustate the user.  What is needed is
  17. something like 4.3 BSD's WINCH signal, to advise those applications which
  18. care about such changes.
  19. -- 
  20. Robert Reed, Tektronix CAE Systems Division, bobr@zeus.TEK
  21.  
  22. Volume-Number: Volume 7, Number 65
  23.  
  24.