#: 9259 S12/OS9/68000 (OSK)
23-Jan-91 20:04:26
Sb: #ss.screen_size
Fm: Bob van der Poel 76510,2203
To: all
In writing my VED text editor for OSK I've come up with a minor problem. It
seems that OSK does not have a standard SS.Screen_Size status call. I
understand that Kevin's drivers for the MM/1 will have that, but using this
will mean that the program will only work in that in that environment. VED will
use termcap to determine all the other terminal stuff, but using termcap to get
the size is a problem since termcap does not know about windows (Kevs or anyone
elses). My plan is to use a small auxillary program called Ved_size (or
something else equally creative) which would simply get the screen size either
as a constant or via a getstt and exit with the size as its F$Exit paramater.
As new drivers etc. are developed the user would need to replace this program.
I was thinking that VED could fork to ved_size and get the resultant
information from the error status returned to F$wait (use the lower half of the
long word for the columns, the upper for the rows...). It does seem rather
convoluted to me...anyone with a better idea? Comments?
BTW, VED is up and running on my single board MM/1. Some debugging left to do,
etc., but it should be ready for market within a month or so. Now I just have
to decide if I should follow my low-price philosophy or try to hang on to the
high-price one the OSK market seems to like.
e
There are 2 Replies.
|