home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: Science
/
Science.zip
/
OS2SCALC.ZIP
/
OS2.DOC
< prev
next >
Wrap
Text File
|
1990-07-20
|
2KB
|
52 lines
The OS/2 version was ported from the original source over the course
of July 16-19, 1990. I don't know if I broke any of the code for
non-OS/2 systems, I don't think that I did but I don't have a U__X or
VMS system to test it on right now. I tried to keep all of the
changes segregated within "#ifdef OS2/#endif" blocks however.
One header file has been added, curs.h, for setting up prototypes
and some OS/2 specific global variables for the mini-curses package
in curs.c.
The makefile has been altered so that it will create the OS/2
version. This is not a Microsoft MAKE makefile, you will need to use
a MAKE that behaves more like the Unix make (PAMAKE is one such
public domain utility that is available for OS/2). Note, in the
makefile that gram.c is compiled with -W0; I didn't alter the yacc
grammar at all and it will generate a passle of warnings with -W3 but
no errors. Also, you may have to setup a CC environment variable
("set CC=cl") if the CC macro isn't built into your make.
-----------------------------------------------------------
The following functionality has been added for OS/2 only:
By default, the program will set up the number of rows it displays
based on the current screen size. Vidio i/o is performed through
Vio*() calls and keyboard input via Kbd*() calls. The cursor keys
should behave as you would expect. In addition, F1 will invoke the
help screen and F3 will exit the program.
The program can be optionally be run such that all video i/o is
done via stdout and ANSI ESCape codes and all input from stdin. This
is done by placing "-r" anywhere on the command line. When executed
in this mode, a 25 line screen is assumed but you can place an
optional numeric parameter on the "-r" to tell the program how many
rows to display. The number is zero based so that, if you want
stdin/stdout behavior on a 43 line screen the parameter would be
"-r42".
One additional function has been added to the program (again, OS/2
version only). When you type '!', a CMD.EXE shell is executed. The
program screen is restored upon return.
-----------------------------------------------------------
19 July, 1990
Brady Flowers
Oberon Software
BBS: 507-388-1154 (14.4 HST)
GEnie address: B.FLOWERS
MCIMail address: oberon