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