home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / CURSES.LZH / README.NOW < prev    next >
Text File  |  1980-01-01  |  12KB  |  256 lines

  1.                PCCURSES v.1.3 Release Notes - 881005
  2.     ===================================================
  3.  
  4.   This is the release note for the fourth version of PCcurses, v.1.3.
  5. Below this note, the release notes for v.1.0, v.1.1 and v.1.2 are in-
  6. cluded. Read those first.
  7.  
  8.   The file 'border.c' is now included. It allows you to explicitely speci-
  9. fy what characters should be used as box borders when the box() functions
  10. are called. If the new border characters are non-0, they override the bor-
  11. der characters specified in the box() call. In my understanding, this func-
  12. tionality is required for AT&T UNNIX sV.3 compatibility. Thanks for this
  13. goes to Tony L. Hansen (hansen@pegasus.UUCP) for posting an article about
  14. it on UseNet (newsgrou comp.unix.questions; the posting was not related at
  15. all to PCcurses).
  16.  
  17.   The only other difference between v.1.2 and v.1.3 is that the latter has
  18. been changed to avoid warning diagnostics if the source files are compiled
  19. with warning switches on (for MicroSoft this means '-W3', for Turbo'C' it
  20. means '-w -w-pro'). Of these, the Turbo'C' warning check is clearly to be
  21. used rather than MicroSoft, even if neither of them comes even close to a
  22. real UNIX 'lint'. Some of the warnings in fact indicated real bugs, mostly
  23. functions that did not return correct return values or types.
  24.  
  25.   The makefiles for both MSC and TRC have been modified to produce warning
  26. messages as part of normal compilation.
  27.  
  28.  
  29.  
  30.  
  31.                PCCURSES v.1.2 Release Notes - 881002
  32.     ===================================================
  33.  
  34.   This is the release note for the third version of PCcurses, v.1.2.
  35. Below this note, the release notes for v.1.0 and v.1.1 are included. Read
  36. those first.
  37.  
  38.   The changes from v.1.1 to v.1.2 are minor. The biggest change is that there
  39. was a bug related to limiting the cursor movement if the application tried to
  40. move it outside the screen (something that should not be done anyway). Such
  41. erronous application behaviour is now handled correctly.
  42.  
  43.   All modules have been changed to have a revison string in them, which makes
  44. it easier to determine what version is linked into a program (or what library
  45. version you have).
  46.  
  47.   There is now a 'cursesio.c' file. That file does the same as 'cursesio.asm'
  48. (i.e. it provides the interface to the lower-level system I/O routines). It
  49. is written in 'C' and thus it is (possibly) more portable than the assembler
  50. version (but still not so portable since it uses 8086 INT XX calls directly).
  51. When one creates new curses libraries, one chooses whether to use the assem-
  52. bler or the 'C' version of cursesio. The choice is made by commenting out the
  53. appropriate dependencies for cursesio.obj, near the end of the makefiles.
  54.  
  55.   There is now a 'setmode.c' file. That file contains functions that save and
  56. restore terminal modes. They do it into other variables than do savetty() and
  57. resetty(), so one should probably use either savetty()/resetty() or the new
  58. functions only - and not mix the both ways unless one really knows what one
  59. does.
  60.  
  61.   Diff lists vs v.1.0 are no longer included in the distribution. The make
  62. utility still is. PCcurses v.1.2 still compiles with MicroSoft 'C' v.4.0,
  63. and with Borland Turbo 'C' v.1.0. There is as far as I know no reason to be-
  64. lieve that it does not compile under MicroSoft 'C' v.3.0 and 5.x, or Turbo-
  65. 'C' v.1.5, but this has not been tested.
  66.  
  67.   There are two makefile's included, one for MicroSoft 'C', one for Turbo-'C'.
  68. They are both copies of my personal makefile's, and as such they reflect the
  69. directory structure on my own computer. This will have to be changed before
  70. you run make. Check $(INCDIR) and $(LIBDIR) in particular, and make the choice
  71. of ASM or 'C' cursesio version as mentioned above (the distribution version
  72. uses the 'C version of cursesio).
  73.  
  74.   The manual file (curses.man) has been changed at appropriate places.
  75.  
  76.   I would like to thank the following persons for their help:
  77.  
  78.       Brandon S. Allbery (alberry@ncoast.UUCP)
  79.         for running comp.binaries.ibm.pc (at that time)
  80.         and comp.source.misc.
  81.  
  82.     Steve Balogh (Steve@cit5.cit.oz.AU)
  83.           for writing a set of manual pages and posting
  84.         them to the net.
  85.  
  86.     Torbjorn Lindh
  87.         for finding bugs and suggesting raw
  88.         character output routines.
  89.  
  90.     Nathan Glasser (nathan@eddie.mit.edu)
  91.           for finding and reporting bugs.
  92.  
  93.     Ingvar Olafsson (...enea!hafro!ingvar)
  94.           for finding and reporting bugs.
  95.  
  96.     Eric Rosco (...enea!ipmoea!ericr)
  97.           for finding and reporting bugs.
  98.  
  99.     Steve Creps (creps@silver.bacs.indiana.edu)
  100.           for doing a lot of work - among others
  101.         posting bug fixes to the net, and writing
  102.         the new cursesio.c module.
  103.  
  104.     N. Dean Pentcheff (dean@violet.berkeley.edu)
  105.           for finding bugs and rewriting cursesio.asm
  106.         for Turbo 'C' 1.5.
  107.  
  108.   Finally, Jeff Dean (parcvax,hplabs}!cdp!jeff)
  109.                (jeff@ads.arpa)
  110.     has had a shareware version of curses deliverable since
  111.     about half a year before I released PCcurses 1.0 on Use-
  112.     Net. He is very concerned about confusion between the two
  113.     packages, and therefore any references on the network
  114.     should make clear whether they reference Dean's PCcurses
  115.     or Larsson's PCcurses.
  116.  
  117.                PCCURSES v.1.1 Release Notes - 880306
  118.     ===================================================
  119.  
  120.   This is the release note for the second version of PCcurses, v.1.1.
  121. Below this note, the release note for v.1.0 is included. Read that first.
  122. The changes from v.1.0 to v.1.1 are minor. There are a few bug fixes, and
  123. new (non-portable) functions for verbatim IBM character font display have
  124. been added (in charadd.c and charins.c). The manual file (curses.man) has
  125. been changed at appropriate places.
  126.  
  127.   In the file v10tov11.dif there are listings of the differencies between
  128. version 1.0 and 1.1. The diff listings are in UNIX diff(1) format.
  129.  
  130.   Version 1.1 compiles with Turbo 'C' v.1.0, as well as MicroSoft 'C' v.3.0
  131. and v.4.0. On the release disk there is a make.exe utility which is very simi-
  132. lar to UNIX make (If the package was mailed to you, the make utility will be
  133. in uuencoded format - in make.uu - and must be uudecoded first). It is much
  134. more powerful than MicroSoft's different MAKE'S; the latter ones will NOT ge-
  135. nerate libraries properly if used with the PCcurses makefiles.
  136.  
  137.   There are three makefiles:
  138.  
  139.     makefile        generic MSC 3.0 makefile
  140.     makefile.ms        MSC 4.0 makefile
  141.     makefile.tc        Turbo 'C' 1.0 makefile
  142.  
  143.   To make a library with for example Turbo 'C', make directories to hold .H
  144. and .LIB files (these directories are the 'standard places'), edit makefile.tc
  145. for this, and type
  146.  
  147.     make -f makefile.tc all
  148.  
  149. and libraries for all memory models will be created in the .LIB directory,
  150. while the include files will end up in the .H directory. Also read what is
  151. said about installation below!
  152.  
  153.  
  154.  
  155.  
  156.                PCCURSES v.1.0 Release Notes - 870824
  157.     ===================================================
  158.  
  159.  
  160.  
  161.   This is the release notes for the PCcurses v.1.0 cursor/window control
  162. package. PCcurses offers the functionality of UNIX curses, plus some
  163. extras. Normally it should be possible to port curses-based programs from
  164. UNIX curses to PCcurses on the IBM PC without changes. PCcurses is a port/
  165. rewrite of Pavel Curtis' public domain 'ncurses' package. All the code has
  166. been re-written - it is not just an edit of ncurses (or UNIX curses). I
  167. mention this to clarify any copyright violation claims. The data struc-
  168. tures and ideas are very similar to ncurses. As for UNIX curses, I have
  169. not even seen any sources for it.
  170.  
  171.  For an introduction to the use of 'curses' and it's derivatives, you
  172. should read 'Screen Updating and Cursor Movement Optimization: A Library
  173. Package' by Kenneth C. R. C. Arnold, which describes the original Berkely
  174. UNIX version of curses. It is available as part of the UNIX manuals. The
  175. other source of information is 'The Ncurses Reference Manual' by Pavel
  176. Curtis. The latter is part of Curtis' ncurses package.
  177.  
  178.   The only other documentation provided is a 'man' page which describes
  179. all the included functions in a very terse way. In the sources, each
  180. function is preceded by a rather thourough description of what the
  181. function does. I didn't have time to write a nice manual/tutorial - sorry.
  182.  
  183.   PCcurses is released as a number of source files, a man page, and a make
  184. file. A uuencoded copy of a 'make' utility, and a manpage for the 'make' is
  185. also provided to make it easier to put together PCcurses libraries. Even if
  186. you are not interested in PCcurses, it may be worthwhile to grab the make.
  187.  
  188.   The makefile assumes the presence of the MicroSoft 'C' compiler (3.0 or
  189. 4.0), MicroSoft MASM and LIB, plus some MS-DOS utilities. The reason for
  190. supplying MAKE.EXE is that the MicroSoft 'MAKE:s' are much inferior to a
  191. real UNIX make. The supplied make is a port of a public domain make, pub-
  192. lished on UseNet. It is almost completely compatible with UNIX make. When
  193. generating the curses libraries, the makefile will direct make to do some
  194. directory creating and file copying, and then re-invoke itself with new
  195. targets. The workings of the makefile are not absolutely crystal clear at
  196. first sight... just start it and see what it does.
  197.  
  198.   For portability, the curses libraries depend on one assembler file for
  199. access to the BIOS routines. There is no support for the EGA, but both
  200. CGA, MGA, and the HGA can be used. The libraries are originally for Micro-
  201. Soft 'C', but all C modules should be portable right away. In the assembler
  202. file, segment names probably need to be changed, and possibly the parameter
  203. passing scheme. I think Turbo C will work right away - as far as I under-
  204. stand, all it's conventions are compatible with MicroSoft C.
  205.  
  206.   There are some parts left out between ncurses and PCcurses. One is the
  207. support for multiple terminals - not very interesting on a PC anyway. Be-
  208. cause we KNOW what terminal we have, there is no need for a termcap or
  209. termio library. PCcurses also has some things that neither curses nor
  210. ncurses have. Compared to the original UNIX curses, PCcurses has lots
  211. of extras.
  212.  
  213.   The BIOS routines are used directly, which gives fast screen updates.
  214. PCcurses does not do direct writes to screen RAM - in my opinion it is
  215. a bit ugly to rely that much on hardware compatibility. Anyone could fix
  216. that, of course...
  217.  
  218.   One of the more serious problems with PCcurses is the way in which nor-
  219. mal, cbreak, and raw input modes are done. All those details are in the
  220. 'charget' module - I do raw I/O via the BIOS, and perform any buffering
  221. myself. If an application program uses PCcurses, it should do ALL it's
  222. I/O via PCcurses calls, otherwise the mix of normal and PCcurses I/O may
  223. mess up the display. I think my code is reasonable... comments are welcome,
  224. provided you express them nicely...
  225.  
  226.   To install, copy all files to a work directory, edit 'makefile' to define
  227. the standard include and library file directory names of your choice (these
  228. directories must exist already, and their path names must be relative to the
  229. root directory, not to the current one). You must also run uudecode on
  230. make.uu, to generate MAKE.EXE. You can do that on your PC, if you have
  231. uudecode there, otherwise you can do it under UNIX and do a binary transfer
  232. to the PC. When you have MAKE.EXE in your work directory (or in your /bin
  233. directory), type make.
  234.  
  235.   Make will now create 4 sub-directories (one for each memory model), copy
  236. some assembler include files into them, copy two include files to your
  237. include directory, CHDIR to each sub-directory and re-invoke itself with
  238. other make targets to compile and assemble all the source files into the
  239. appropriate directories. Then the library manager is run to create the
  240. library files in your desired library directory. Presto!
  241.  
  242.   If you only want to generate a library for one memory model, type 'make
  243. small', 'make large', etc. The name of the memory model must be in lower
  244. case, like in the makefile.
  245.  
  246.   I think the package is fairly well debugged - but then again, that's
  247. what I always think. It was completed in May-87, and no problems found
  248. yet. Now it's your turn... Comments, suggestions and bug reports and
  249. fixes (no flames please) to
  250.  
  251. Bjorn Larsson
  252. INFOVOX AB
  253. Box 2503                (...seismo!mcvax!enea!infovax!bl)
  254. S-171 02 Solna
  255. SWEDEN
  256.