9fans archive / 1996 / 01 / 18 /    prev next

From: Luther Huffman, Jr. lutherh@mai...
Subject: 8 1/2 windows can't be created
Date: Wed, 10 Jan 1996 16:24:54 -0500

I've had a similar problem with 1280x1024x8, except that I can't 
resize or move any very large window. The window doesn't go away--it 
just won't resize or move.

On 10 Jan 96 at 10:33, G. David Butler wisely noted:

> Has anybody else noticed that when using a 1280x1024x8 (i.e. large)
> vga screen, that you can't create two (or more) large overlapping
> windows?  The new one you try to create disappears after sweeping
> with either New or Resize.
> 
> To try to find the culprit I did a direct mount to /srv/8.. and the
> mount fails with "no resources".  After increasing kernelpercent to
> 50 I got it to open bigger windows, but increasing kernelpercent
> after that doesn't seem to help (I have 8meg in my PC terminal.)
> 
> After looking in the source it seems that the problem may be with a
> fixed size array.  In /sys/src/libg/binit.c there is an array static
> uchar bbuf[8000] (and _btmp[8000]).  In other places it seems a
> malloc would have to fail, and I think there is enough memory.
> 
> Before I start changing and rebuilding I thought I would ask if
> anyone has run into this and if this was the solution.
> 
> David Butler
> gdb@dbS...
> 
>