Article View: comp.sys.mac
Article #15648Re: uw window resizing for BSD 4.2 kludge
From: John Bruner
Date: Mon, 20 Apr 1987 16:34
Date: Mon, 20 Apr 1987 16:34
27 lines
1920 bytes
1920 bytes
Keywords:
>This is those uw users who have to work with 4.2 BSD or programs on
>4.3 BSD that don't know about window resizing... It won't work for those
>who have an enlarged screen with more than 100 rows or columns, but I
>haven't heard of such a beast yet.
If you're using the UW server on a machine that doesn't handle window
resizing (i.e. 4.2BSD without something like Sun's TIOCSSIZE ioctl),
then you won't be able to change the actual size of the window on
the Mac (even if you select "actual size"). The reason is that the
Mac will only allow the actual window size to change if the server
has requested window size change notification (by sending a WOC_DO
command for option WOTTY_SIZE). If you want to override this
behavior you can unconditionally define RPTWINSZ in "uw_tty.c"
(approximately at line 68) as "(1<<WOTTY_SIZE)".
The maximum height and width for a UW window is 94 rows and 94 columns.
The limit is imposed by the encoding function used for mouse event
reporting ("send to host"). Due to a bug in v3.4, UW won't allow you
to grow a window larger than 93 rows or columns. (You can grow the
window more on a Radius if you hold down the Option key, but UW still
won't use more than 94 rows or columns.)
--
John Bruner (S-1 Project, Lawrence Livermore National Laboratory)
jdb@mordor.s1.gov ...!seismo!mordor!jdb (415) 423-4848
Technical Details
Message-ID:
<7280@mordor.s1.gov>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ucla-cs!ames!styx!mordor!jdbReferences:
<6028@dartvax.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ucla-cs!ames!styx!mordor!jdb From: jdb@mordor.s1.gov (John Bruner) Newsgroups: comp.sys.mac Subject: Re: uw window resizing for BSD 4.2 kludge Message-ID: <7280@mordor.s1.gov> Date: Mon, 20-Apr-87 11:34:05 EST Article-I.D.: mordor.7280 Posted: Mon Apr 20 11:34:05 1987 Date-Received: Tue, 21-Apr-87 00:49:33 EST References: <6028@dartvax.UUCP> Reply-To: jdb@mordor.UUCP (John Bruner) Organization: S-1 Project, LLNL Lines: 24