SUMMARY: Sunview windows under Open Windows 3.0

From: Frode Stromsvag (frode@read-well.no)
Date: Wed Mar 15 1995 - 03:33:50 CST


Thanks for the replies!

The reason for the config not working properly was due to a wrap around
effect. Specifying win255 instead of win256 gave the correct
configuration of the kernel.

But it seems that it is not possible to create so many windows
devices with the MAKEDEV command.

        # win* (up to) 128 windows
        .......
        win*)
        class=$unit
        case $class in
        0) offset=0 ;;
        1) offset=32 ;;
        2) offset=64 ;;
        3) offset=96 ;;
        *) echo "bad unit for win in: $i; use win0 thru win3" ; continue ;;
        esac
        eval `echo $offset | awk ' { b=$1 } END {
                for (i = b; i < (b + 32); i++)
                        printf("mk win%d c 15 %d;", i, i); \
        }'`
        ;;

Specifying MAKEDEV win3 gives 128 as a limit for number of windows.
We hav not found if it's possible to increase this even further....

Thanks to

Kevin.Sheehan@uniq.com.au (Kevin Sheehan {Consulting Poster Child})
Glenn.Satchell@uniq.com.au (Glenn Satchell - Uniq Professional Services)
grover@vulcan1.es.hac.com (Dean Grover)

----- Original question -----

Hi Sun Managers!

When running OpenWindows with Sunview compatibility, there seem
to be a limit in number of Sunview windows it is possible to run
(128). Am I right?

How can we increase this limit?

Has i something to do with the line in the GENERIC config file:

pseudo-device win128 # window devices, allow 128 windows

When increasing this to 256 and configuring a new kernel, it doesn't
seem to configure correctly. In win.h NWIN is set to '0'. This does
not happen when keeping 'win128'. Did we forget something?

Can anyone help?

Thanks in advance

----- End Included Message -----

Frode Stromsvag email: frode@read-well.no
READ Well Services a.s.
Ravnsborgveien 56
P.O. Box 25
1364 Hvalstad Phone number: +47-66982240
NORWAY FAX number: +47-66982022



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:18 CDT