home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Science / Science.zip / OS2SCALC.ZIP / OS2.DOC < prev    next >
Text File  |  1990-07-20  |  2KB  |  52 lines

  1.   The OS/2 version was ported from the original source over the course
  2. of July 16-19, 1990.  I don't know if I broke any of the code for
  3. non-OS/2 systems, I don't think that I did but I don't have a U__X or
  4. VMS system to test it on right now.  I tried to keep all of the
  5. changes segregated within "#ifdef OS2/#endif" blocks however.
  6.  
  7.   One header file has been added, curs.h, for setting up prototypes
  8. and some OS/2 specific global variables for the mini-curses package
  9. in curs.c.
  10.  
  11.   The makefile has been altered so that it will create the OS/2
  12. version.  This is not a Microsoft MAKE makefile, you will need to use
  13. a MAKE that behaves more like the Unix make (PAMAKE is one such
  14. public domain utility that is available for OS/2).  Note, in the
  15. makefile that gram.c is compiled with -W0; I didn't alter the yacc
  16. grammar at all and it will generate a passle of warnings with -W3 but
  17. no errors.  Also, you may have to setup a CC environment variable
  18. ("set CC=cl") if the CC macro isn't built into your make.
  19.  
  20.   -----------------------------------------------------------
  21.  
  22.   The following functionality has been added for OS/2 only:
  23.  
  24.   By default, the program will set up the number of rows it displays
  25. based on the current screen size.  Vidio i/o is performed through
  26. Vio*() calls and keyboard input via Kbd*() calls.  The cursor keys
  27. should behave as you would expect.  In addition, F1 will invoke the
  28. help screen and F3 will exit the program.
  29.  
  30.   The program can be optionally be run such that all video i/o is
  31. done via stdout and ANSI ESCape codes and all input from stdin.  This
  32. is done by placing "-r" anywhere on the command line.  When executed
  33. in this mode, a 25 line screen is assumed but you can place an
  34. optional numeric parameter on the "-r" to tell the program how many
  35. rows to display.  The number is zero based so that, if you want
  36. stdin/stdout behavior on a 43 line screen the parameter would be
  37. "-r42".
  38.  
  39.   One additional function has been added to the program (again, OS/2
  40. version only).  When you type '!', a CMD.EXE shell is executed.  The
  41. program screen is restored upon return.
  42.  
  43.   -----------------------------------------------------------
  44.  
  45. 19 July, 1990
  46. Brady Flowers
  47. Oberon Software
  48. BBS: 507-388-1154 (14.4 HST)
  49. GEnie address: B.FLOWERS
  50. MCIMail address: oberon
  51.  
  52.