[comp.sys.att] NWINDOWS in /etc/master, can I increase it?

lenny@icus.UUCP (Lenny Tropiano) (05/31/88)

I was peeking around in my /etc/master file the other day, and I noticed
these parameters...

*
* Window parameters follow
* nwindows	number of windows
* nol		number of obscurred pieces per system (oldefs)
* pxmapsize	number of pixel map slots (see lwind/wd.c now)
* pxmemsize	number of bytes of pixel memory (in virtual space)
* ndl		number of display list items (used in wrastop())
*
nwindows NWINDOWS 12
nol NOL	(NWINDOWS*40)
pxmemsize PXMEMSIZE (256*1024)
ndl NDL 400

Is it possible to increase NWINDOWS to something greater than 12, say
15 or 20.  I changed this, removed /etc/lddrv/wind and rebooted my machine
in hopes that the number of windows would be dynamically increased
when the driver was rebound.   I also did this:

for wind in 13 14 15
do
	/etc/mknod /dev/w${wind} 7 ${wind}
done

When I rebooted and created 12 windows with "windy -b ksh", on the 13th
one it said:

open(): No such device or address

I pressed "SUSPD" and it said 
"Out of windows... please close some windows; please wait..."

Why doesn't the window driver look at /etc/master?  What good is /etc/master
if it doesn't?

-Lenny
-- 
US MAIL  : Lenny Tropiano, ICUS Computer Group        IIIII  CCC U   U  SSS
           PO Box 1                                     I   C    U   U S
           Islip Terrace, New York  11752               I   C    U   U  SS 
PHONE    : (516) 968-8576 [H] (516) 582-5525 [W]        I   C    U   U    S
TELEX    : 154232428 [ICUS]                           IIIII  CCC  UUU  SSS 
AT&T MAIL: ...attmail!icus!lenny  
UUCP     : ...{mtune, ihnp4, boulder, talcott, sbcs, bc-cis}!icus!lenny 

lenny@icus.UUCP (Lenny Tropiano) (05/31/88)

In article <374@icus.UUCP> lenny@icus.UUCP (Lenny Tropiano) writes:
...
|>
|>for wind in 13 14 15
|>do
|>	/etc/mknod /dev/w${wind} 7 ${wind}
|>done
|>
...
Oops a typo:
  	/etc/mknod /dev/w${wind} c 7 ${wind}

To create character devices..

-Lenny
-- 
US MAIL  : Lenny Tropiano, ICUS Computer Group        IIIII  CCC U   U  SSS
           PO Box 1                                     I   C    U   U S
           Islip Terrace, New York  11752               I   C    U   U  SS 
PHONE    : (516) 968-8576 [H] (516) 582-5525 [W]        I   C    U   U    S
TELEX    : 154232428 [ICUS]                           IIIII  CCC  UUU  SSS 
AT&T MAIL: ...attmail!icus!lenny  
UUCP     : ...{mtune, ihnp4, boulder, talcott, sbcs, bc-cis}!icus!lenny 

roger@marque.mu.edu (Roger Abrahams) (06/01/88)

In article <374@icus.UUCP> lenny@icus.UUCP (Lenny Tropiano) writes:
<
<I pressed "SUSPD" and it said 
<"Out of windows... please close some windows; please wait..."
<
<Why doesn't the window driver look at /etc/master?  What good is /etc/master
<if it doesn't?
<
<-Lenny
<-- 
<US MAIL  : Lenny Tropiano, ICUS Computer Group        IIIII  CCC U   U  SSS
<           PO Box 1                                     I   C    U   U S
<           Islip Terrace, New York  11752               I   C    U   U  SS 
<PHONE    : (516) 968-8576 [H] (516) 582-5525 [W]        I   C    U   U    S
<TELEX    : 154232428 [ICUS]                           IIIII  CCC  UUU  SSS 
<AT&T MAIL: ...attmail!icus!lenny  
<UUCP     : ...{mtune, ihnp4, boulder, talcott, sbcs, bc-cis}!icus!lenny 

Well, I thought it might be important to know who sends the error message, and
I "strings"ed the /etc/lddrv/wind, and associated files in the lddrv dir.
Then I checked /unix and /lib/shlib.  Then I checked /etc/wmgr.  The error
shows up in /etc/wmgr.  So probably, you did create the extra windows/devices,
but you would have to get around the wmgr.  I suspect you might be able to use
them in some program, much as the "pty"s can be used by GNUEmacs, but you'll
probably be stuck until you find a way to modify wmgr.
						- Roger