home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / jove-4.16-src.tgz / tar.out / bsd / jove / README.dos < prev    next >
Text File  |  1996-09-28  |  11KB  |  227 lines

  1. ########################################################################
  2. # This program is Copyright (C) 1986-1996 by Jonathan Payne.  JOVE is  #
  3. # provided to you without charge, and with no warranty.  You may give  #
  4. # away copies of JOVE, including sources, provided that this notice is #
  5. # included in all the files.                                           #
  6. ########################################################################
  7.  
  8. HOW TO GET STARTED WITH JOVE:
  9. =============================
  10.  
  11. jovedoss.zoo or jovedoss.zip is an archive containing all the source
  12. files to compile JOVE on an MSDOS machine.  Certain files are left out
  13. (compared with the full source distribution of JOVE) because they are
  14. of no use under MSDOS (for example, the X Window System support).  A
  15. few extra files are included because they cannot be built under MSDOS
  16. (for example, the formatted documentation).  Note that in the .zoo
  17. file, lines are terminated with NL (LF), not CR LF.  This may cause
  18. some problems for certain DOS commands such as MORE.
  19.  
  20. jovedosx.zoo or jovedosx.zip is an archive containing all the files
  21. needed to use jove: the executables and the documentation.  Here is
  22. quick description of the files within the archive:
  23.  
  24. jove.exe        the JOVE executable file
  25. doc\cmds.doc    contains text for the describe-command and describe
  26.                 varible command.  Should be moved into the directory
  27.                 described under SHAREDIR
  28. doc\jove.man    the complete JOVE manual
  29. doc\jove.doc    the "manpage" for JOVE: describes how to run JOVE
  30. paths.h         This file shows what the default directories are JOVE was
  31.                 compiled with.  The file itself is not used to run JOVE.
  32. README.dos      This file.
  33.  
  34. Note that when you use pkunzip, you may have to use the -d flag to get
  35. it to correctly place files in subdirectories.
  36.  
  37. ENVIRONMENT VARIABLES USED BY JOVE:
  38. ===================================
  39.  
  40. COMSPEC
  41. This variable is used to specify the default program to run as the SHELL.
  42. It can be overridden by the JOVE variable "shell".
  43.  
  44. TMPDIR (or TEMP)
  45. JOVE uses the value of TMPDIR, or if that is not set, TEMP to
  46. determine the directory where it should put its temporary file.  The
  47. default is c:\tmp (set by TMPDIR in the makefile when JOVE was
  48. compiled), and this is probably not what you want.  In general editing
  49. is faster, if TEMP points to a ramdisk, like "set temp=d:".  You have
  50. to know however that the temporary file can grow quite big when
  51. editing many big files at once.  So please make sure that you have
  52. enough space available on your ramdisk.  If JOVE runs out of space on
  53. the device which holds the temporary file, you have to leave the
  54. editor immediately.  You can save your work without any trouble, but
  55. you have to start over.  Please note also that the Large Model version
  56. of JOVE has a big cache for the temporary file in memory, which makes
  57. it quite fast even if you don't have a ramdisk.  It is an MSDOS
  58. convention to use TEMP; use TMPDIR if you intend that the directory
  59. is solely for JOVE.
  60.  
  61. JOVESHARE
  62. This variable specifies the path to the directory that will contain
  63. (1) cmds.doc (the file of command and variable descriptions used by
  64. the describe-command and desribe-variable commands) and (2) the
  65. system-wide jove.rc (the first file that is sourced (executed) by JOVE
  66. when it starts up).  The default is c:/jove (set by SHAREDIR in the
  67. makefile when JOVE was compiled).
  68.  
  69. JOVELIB
  70. This variable specifies the path to the JOVE library directory.  If it
  71. isn't specified, it defaults to c:/jove (set by LIBDIR in the makefile
  72. when JOVE was compiled).  JOVE uses this to locate the recovery
  73. program (but it hasn't been ported to MSDOS yet).
  74.  
  75. HOME
  76. The directory which is to be considered the user's home (as in UNIX).
  77. The default is the current directory on the current disk when JOVE was
  78. started.  JOVE looks in this directory for the user's jove.rc startup
  79. file (this will be sourced after the system-wide jove.rc, unless HOME
  80. and JOVESHARE are the same).  In filenames, an initial ~/ denotes the
  81. home directory.
  82.  
  83. METAKEY
  84. If this environment variable is set, JOVE turns on its meta-key variable.
  85.  
  86. MSDOS ON MACHINES NOT COMPATIBLE WITH THE IBM PC
  87. ================================================
  88.  
  89. JOVE has been ported to MSDOS machines that are not IBM PC clones.
  90. One example for which there is special code is the DEC Rainbow.
  91. Another is the Atari ST (although the specific code for it is not
  92. included in our current source).  Still others are generic MSDOS
  93. machines such as the Nabu 1600.  Although the source code still has
  94. provisions for these, it has not been tested recently and so is
  95. probably no longer quite right.
  96.  
  97. The next two variables are not used by the IBM PC version, and have to
  98. do with specifying the type of terminal in use on a generic MSDOS
  99. computer.
  100.  
  101. TERM
  102. This variable should specify the name of the terminal you are using.
  103. For example, if you have a DEC vt-100 terminal attached to your MSDOS
  104. computer, you should give the command "set TERM=vt100" prior to
  105. starting JOVE.
  106.  
  107. TERMCAP
  108. This environment variable holds the name of a database with
  109. descriptions of different terminal types.  If you are familiar with the
  110. Unix operating system, you probably know about TERMCAP.  For each
  111. terminal type, specified by TERM, the TERMCAP database holds an entry,
  112. which describes how to set the cursor, how to scroll, and many other
  113. things, for that particular terminal.  A small example TERMCAP file
  114. comes with JOVE.  If your terminal is not included there, you should ask a
  115. local Unix guru for help.  If you don't have one, you can ask
  116. jovehacks@cs.toronto.edu.
  117.  
  118. MEMORY MODELS AND JOVE
  119. ======================
  120.  
  121. If JOVE is compiled using "Large Model", it can freely use all of the
  122. available portion of the normal 640kB memory.  If it is compiled using
  123. "Medium Model", all of its data (except for line descriptors) must fit
  124. in 64kB; one consequence is that JOVE's tempfile cache is severely
  125. reduced.  The advantage of Medium Model is that JOVE's object code is
  126. considerably smaller.
  127.  
  128.  
  129. DIFFERENCES BETWEEN JOVE UNDER MSDOS AND UNIX JOVE:
  130. ===================================================
  131.  
  132. The MSDOS version of JOVE currently supports all of the features that
  133. are possible to implement under MSDOS in a reasonable way.  The things
  134. that are missing under MSDOS are:
  135.     spell-buffer (obsolete under MSDOS)
  136.     interactive shells in a window (not possible)
  137.  
  138. There are however some features added, which are specific to the PC
  139. version:
  140.  
  141. Variables:
  142.  text-attribute specifies the background and foreground colors of the
  143.     screen.  The default value is 0x07, which stands for white on
  144.     black.  The attribute used for writing to the screen is formed by
  145.     (bg&7)<<4 & (fg&7).
  146.  
  147.  Mode-line-attribute specifies the background and foreground colors of
  148.     the modeline.  Its default value is 0, and in that case it is drawn
  149.     in reverse video.  If it has any other value, this value is used as
  150.     the attribute in Bios calls.
  151.  (note that on a monochrome monitor the best thing is to leave the
  152.  default colors - anything else can lead to blank screens very easily)
  153.  
  154. General:
  155.  JOVE on the IBM PC supports the whole 8 bit character set of the IBM PC.
  156.  You can use all the line drawing characters in your files.  It also knows
  157.  about some special foreign characters (Umlaute), which are treated
  158.  correctly as part of words and in case conversions.  It knows about
  159.  and has special bindings for most of the non-ASCII keys (such as the
  160.  function keys and the ALT shift key).
  161.  
  162. VIDEO MODES ON THE IBM PC UNDER DOS:
  163. ====================================
  164.  
  165. When JOVE is started, it automatically checks which video mode is
  166. currently used, and adjusts itself correspondingly.  This means that
  167. JOVE will work correctly even in 40x25 mode.  If you have an EGA or VGA
  168. card, and want to use a special mode with 25, 28, 43, or 50 lines, set
  169. the environment variable TERM to the value EGAn.  This will tell JOVE
  170. to set the screen in 80xn mode.  The regular 80x25 mode is restored upon
  171. exit.  On a color monitor, you can change the screen colors by using
  172. the commands mentioned above.
  173.  
  174. SPECIAL KEYS ON THE IBM PC UNDER DOS AND WIN32:
  175. ===============================================
  176.  
  177. JOVE checks to see if an enhanced AT-style keyboard is available and if so
  178. it will recognize use of the F11 and F12 keys plus numerous Alt/Shift/Control
  179. keys that cannot be generated with the basic keyboard BIOS.  This check can
  180. be overridden by setting the enhanced-keyboard variable in the jove.rc file.
  181.  
  182. JOVE turns Ctrl-Space into NUL.  This makes the keyboard match most others,
  183. and makes it easy to invoke the set-mark command.
  184.  
  185. JOVE turns a Delete keystroke into a DEL character.  Surprisingly, this isn't
  186. done by the BIOS.  DEL is also generated by Ctrl-BackSpace, so a distinction
  187. is lost.  If you are used to IBM PC conventions, you may wish to bind DEL to
  188. delete-next-character (its standard binding is to delete-previous-character).
  189.  
  190. JOVE maps the shifted arrow, Insert, Delete, Home, End, PgUp, and PgDn keys
  191. to codes distinct from the unshifted keys.  This allows them to be bound
  192. differently.
  193.  
  194. If the meta-key variable is on, the ALT key acts like a META key --
  195. any key typed while it is depressed generates an ESC before the normal
  196. code.  Otherwise, any key typed while ALT is depressed generates a special
  197. PCNONASCII code and the scan code for the key.  JOVE supplies a keymap
  198. for the PCNONASCII code.
  199.  
  200. COMPILING JOVE UNDER MSDOS:
  201. ===========================
  202.  
  203. JOVE has been compiled (1994 July) with version 3.1 of Borland's C compiler.
  204. Use Makefile.bcc.
  205.  
  206. JOVE has been compiled with version 8.0 of the Microsoft C compiler
  207. a.k.a. Visual C.  It will probabally also compile with versions 6 or 7
  208. but this has not been confirmed.  Use the makefile called Makefile.msc.
  209.  
  210. JOVE has been compiled (1994 August) with version 10 of Watcom's C compiler.
  211. Use Makefile.wat.
  212.  
  213. JOVE has been compiled (1994 August) with version 3.0 of Zortech's C compiler.
  214. Use Makefile.zor.
  215.  
  216. JOVE once supported MSDOS on hardware that is not IBM PC
  217. compatible.  In particular, use -DRAINBOW for the DEC Rainbow
  218. computer (this series hasn't been manufactured since the mid 1980s).
  219. This hasn't been tested recently.
  220.  
  221. The original port of JOVE to the IBM PC was done by Karl
  222. Gegenfurtner (karl@hipl.psych.nyu.edu).  Karl's port was modified
  223. for Zortech C by D. Hugh Redelmeier (hugh@mimosa.com).  Joe Smith
  224. (jes@mbio.med.upenn.edu) ported to Borland C.  Several others,
  225. including Jim Patterson (jimp@cognos.com) and Gary Puckering
  226. (garyp@cognos.com) updated the Microsoft port.
  227.