[comp.sys.m6809] Window conventions

jimomura@lsuc.UUCP (04/15/87)

     I've been thinking about the Window drivers a bit and it
seems to me that it would be a good idea if we have some
conventional usages.  I didn't find the defaults thrilling,
so I'm posting what I've been using up till now for your
consideration.  I'm not concerned about the colors because
I'm currently working with an icky green screen, but the
definitions of locations and hardware/software text is
important:

     The following is my 'w12.split' file:

echo Creating 2 80 column windows
* Create 2 graphics windows on a screen using /w1 and /w2
*
* Terminate window list with a blank line
*
wcreate -z
/w1 -s=2 0 0 80 16 0 1 1
/w2 0 16 80 8 1 0 
 
*
* Display window identification messages
iniz w1 w2
*
echo Window /w1 >/w1
echo Window /w2 >/w2
*
* Start shell on /w1 and /w2
*
shell i=/w1&
shell i=/w2&
*
* Print Message to user
*
echo "Press <clear> to select window screen"


     The following is 'w34.hgrf7:

echo Creating High Res graphic windows
* Create 2 graphics windows on a screen using /w3 and /w4
*
* Terminate window list with a blank line
*
wcreate -z
/w3 -s=7 0 0 80 16 0 1 1
/w4 0 16 80 8 2 3 
 
*
* Load standard software fonts
* Select 8X8 (200,001) font for w3 & w4
*
merge ......../sys/stdfonts >/w3
display 1b 3a c8 01 >/w3
display 1b 3a c8 01 >/w4
*
* Display window identification messages
*
echo Window /w3 >/w3
echo Window /w4 >/w4
*
* Start shell on /w3 and /w4
*
shell i=/w3&
shell i=/w4&
*
* Print Message to user
*
echo "Press <clear> to select window screen"


     The following is 'w5.lgrf':

echo Creating Low Res graphic windows
*
* Create a 16 color Graphic screen in /w5
* Terminate window list with a blank line
*
wcreate -z
/w1 -s=6 0 0 40 24 0 1 1
 
*
* Load standard software fonts
* Select 8X8 (200,001) font for w1
*
merge ......../sys/stdfonts >/w1
display 1b 3a c8 01 >/w1
*
* Display window identification messages
*
*
echo Window /w1 >/w1
*
* Start shell in /w1
*
shell i=/w1&
*
* Print Message to user
*
echo "Press <clear> to select window screen"


     I don't currently use w6 but I use w7 frequently.  'w7' is the
only one I use in its default state.

     Any comments?  Please note that there are effects to this kind
of standardization.  I've found that for Stylo, you have to define
a terminal specification for each driver and if the driver is not
used as defined you have to define another spec for each set up
you use for each driver.  Certainly it's easier if the software
is written to take the info from the driver spec (like Dynacalc),
but you may want to be able to count on common window usage for
other things too.

Cheers! -- Jim O.
-- 
Jim Omura, 2A King George's Drive, Toronto, (416) 652-3880
ihnp4!utzoo!lsuc!jimomura
Byte Information eXchange: jimomura