9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: G. David Butler gdb@dbSystems.com
Subject: 8 1/2 windows can't be created
Date: Wed, 10 Jan 1996 10:33:03 -0500	[thread overview]
Message-ID: <19960110153303.NUhm7pgZNTLqLNP9Tzez-NMiKs0MGdBQ5Pg5nNz_zxE@z> (raw)

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@dbSystems.com






             reply	other threads:[~1996-01-10 15:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-01-10 15:33 G.David [this message]
1996-01-10 21:24 Luther
1996-01-13  7:36 G.David
1996-01-13  8:09 John
1996-01-14  0:37 Rob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19960110153303.NUhm7pgZNTLqLNP9Tzez-NMiKs0MGdBQ5Pg5nNz_zxE@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).