home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / openloo / 3455 < prev    next >
Encoding:
Text File  |  1992-08-13  |  1.6 KB  |  37 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!psinntp!hyphenw!dwight
  3. From: dwight@hyphen.com (Dwight Ernest)
  4. Subject: Can't accurately resize tty subwindow in shelltool
  5. Message-ID: <1992Aug13.174444.6218@hyphen.com>
  6. Keywords: escape resize shelltool
  7. Organization: Hyphen, Inc., Wilmington, MA 01887 USA / +1 508 988-0880
  8. Date: Thu, 13 Aug 1992 17:44:44 GMT
  9. Lines: 26
  10.  
  11. We have a need to resize the tty subwindow in shelltools with more
  12. accuracy than can be afforded by the escape sequence that's documented
  13. in the shelltool man page.
  14.  
  15. The problem with the escape sequence is that when we resize to, say, 24
  16. rows by 80 columns, the tty subwindow comes out as 23 rows and 87
  17. columns, according to 'stty everything'.  One would expect both
  18. dimensions to be something less than that specified, since, after all,
  19. the man page reminds us that the specified size refers to the outer
  20. window frame rather than the inside tty subwindow, but we never
  21. expected the result of 87 characters on the subwindow width when we
  22. asked for 80 on its parent frame!
  23.  
  24. A service call to Sun yielded the interesting knowledge that several
  25. bugs have been filed related to this problem or similar problems, but
  26. no suggested workarounds.
  27.  
  28. We can accept that there's going to be some difference between what
  29. gets specified for the outer frame and the resulting width of the inner
  30. tty subwindow, but we are seeking some formulated workaround or
  31. deterministic behavior.  Is this expecting too much?
  32.  
  33. -- 
  34. --Dwight A. Ernest   Special Projects Engineer   I speak only for myself.
  35.   Hyphen, Inc. / 187 Ballardvale St. / Wilmington, MA 01887 / +1 508 988 0880
  36.   dae@world.std.com        dwight@hyphen.com
  37.