📄 readme.dos
字号:
############################################################################ This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne. JOVE ## is provided to you without charge, and with no warranty. You may give ## away copies of JOVE, including sources, provided that this notice is ## included in all the files. ############################################################################HOW TO GET STARTED WITH JOVE:=============================You can immediately start using Jove if you have an IBMPCcompatible PC, XT or AT. You can fine tune some things by settingcertain environment variables, but it's not really necessaryIf your computer is not IBM BIOS compatible, you have to set some environment variables before starting Jove.What follows is a description of those variables.ENVIRONMENT VARIABLES USED BY JOVE:===================================TMP (or TMPDIR)Jove uses the value of TMP to determine the directory where it shouldput its temporary file. The default is the current directory, and thisis probably not what you want. In general editing is faster, if TMPpoints to a ramdisk, like "set tmp=d:". You have to know however thatthe temporary file can grow quite big when editing many big files atonce. So please make sure that you have enough space available on yourramdisk. If Jove runs out of space on the device which holds thetemporary file, you have to leave the editor immediately. You can saveyour work without any trouble, but you have to start over. Please notealso that the current version of Jove has a big cache for thetemporary file in memory, which makes it quite fast even if you don'thave a ramdisk.DESCRIBEThis variable tells Jove, where it can find the file that holds theonline documentation. You should set DESCRIBE to the completepath-specification of the file "cmds.doc", which is included as partof the documentation. The default for DESCRIBE is "c:/unix/cmds.doc".JOVERCThis is the complete path for Jove's startup file. All commands in thefile, that JOVERC points to, are executed every time when you runJove. If there is a file called "jove.rc" in the current directory,then it is also "sourced", ie. the commands in that file are executed.That way you can customize Jove to your own taste.The next two variables are not used by the IBMPC version, and have todo with specifying the type of terminal in use on a generic msdoscomputer.TERMThis variable should specify the name of the terminal you are using.For example, if you have a DEC vt-100 terminal attached to your msdoscomputer, you should give the command "set TERM=vt100" prior tostarting Jove.TERMCAPThis environment variable holds the name of a database withdescriptions of different terminal types. If you are familiar with theUnix operating system, you probably know about TERMCAP. For eachterminal type, specified by TERM, the TERMCAP database holds an entry,which describes how to set the cursor, how to scroll, and many otherthings, for that particular terminal. A small example TERMCAP filecomes with Jove. If your terminal is not included there, you should ask alocal Unix guru for help. If you don't have one, you can ask me.METAKEYSome kinds of terminals have a special shift key that Jove can recognize, the so called MetaKey. When the environment variable METAKEY is set, Joveassumes that you have such a terminal, and treats the codes that yourterminal sends in a slightly different way. Pressing down the MetaKeyand another key at the same time is a then a shorthand for pressingfirst the "esc" key, and then the other key.DIFFERENT VERSIONS OF JOVE:===========================The text above already indicated that Jove comes in different versionsfor different types of computers. Not only that, there also existversions that differ in the way they use the memory of the computer. The "large" versions of Jove use all the memory available if it isnecessary. The temporary file can grow infinitely large in thoseversions. The number of lines that can be edited with the largeversion is about 20000 to 25000 on a PC with 640 kB of memory. Notethat there is no limit on the size of the file itself.The "medium" versions of Jove are more conservative in their use ofmemory. They always take up about 130 kB of memory, which leaves a bigrest for executing large programs, like the C-Compiler from withinJove. The size of the temporary file is also limited to 512 kB in themedium versions. The leads to a limit of approximately 4500 to 5000lines that can be edited at one time. The standard executable files that are distributed in binary form, areusually the large ones. If you need a medium version, you either haveto recompile Jove from the sources (see below), or you can get getit from someone else who has compiled it, for example from me.There currently exist versions of Jove for three different types ofmsdos computers. PCJOVE is for IBMPC compatible computers. Compatiblemeans here that the ROM Bios of your computer has to support the sameVideo output calls as the PC's. So even if your "clone" has troublewith many other programs, there's a high chance that Jove will work.MSJOVE should generally run on any computer that runs the msdosoperating system. It strictly uses only well documented system callsto do its task. RBJOVE is a special version of MSJOVE for DEC Rainbowcomputers, which uses the Rainbows Bios for screen output and keyboardinput. This makes it much faster than MSJOVE on the Rainbow.DIFFERENCES BETWEEN JOVE UNDER MSDOS AND UNIX JOVE:===================================================The msdos version of Jove currently supports all of the features thatare possible to implement under msdos in a reasonable way.Version 4.8b in particular supports: filename completion comment filling creation of backup files word abbreviation mode Lisp mode change directory within Jove executing commands from within Jove filtering regions through msdos commandsYou have to look into the manual for more explanations of thesefeatures. The things that are missing under msdos are: spell-buffer (obsolete under msdos) interactive shells in a window (not possible)There are however some features added, which are specific to the PCversion.Variables: Background-color specifies the background color of the screen. The default value is 0, which stands for black. Foreground-color specifies the foreground color of the screen. The default is 1, which stands for white. The attribute used for writing to the screen is formed by (bg&7)<<4 & (fg&7). Mode-line-color specifies the color of the modeline. Its default value is 0, and in that case it is drawn in reverse video. If it has any other value, this value is used as the attribute in Bios calls. (note that on a monochrome monitor the best thing is to leave the default colors - anything else can lead to blank screens very easily)Commands: Scroll-previous-page continuously scrolls down screen-full lines. Scroll-next-page continuously scrolls up screen-full lines. Select-buffer-n, where n is in the range 0 to 9, selects buffer n as the working buffer. These commands are bound to the <alt>[0-9] keys by default. For example, pressing the alt key and 3 at the same time switches immediately to buffer 3.General: PCJOVE supports the whole 8 bit character set of the IBMPC. You can use all the line drawing characters in your files. It also knows about some special foreign characters (Umlaute), which are treated correctly as part of words and in case conversions.VIDEO MODES ON THE IBMPC:=========================This concerns PCJOVE only. When Jove is started, it automaticallychecks which video mode is currently used, and adjusts itselfcorrespondingly. This means that Jove will work correctly even in40x25 mode. If you have an Ega card, and want to use the special modewith 43 lines, set the environment variable TERM to the value EGA, orset the variable EGA to any value. This will tell Jove to set thescreen in 80x43 mode. The regular 80x25 mode is restored upon exit.On a color monitor, you can change the screen colors by using thecommands mentioned above.There is a problem in using Jove together with HersheyMicroComputing's FansiConsole screen driver. FansiConsole doesn'tproperly set some of the values in the Bios control area. This usuallyleads to a crash when Jove starts. You can restore the informationJove needs by giving the command "mode co80" before starting Jove.Note that Kermit version 2.30 has the same problem, and that it canonly be fixed by fixing FansiConsole.COMPILING JOVE UNDER MSDOS:===========================Jove can currently only be compiled with the Version 5.0 of theMicrosoft C Compiler. Jove uses some library function calls that werenot included with version 4.0 or earlier of Microsoft C. The makefilethat is included with the sources will not work with Microsofts lousymake. I recommend that you use ndmake, a public domain (or is itshareware) make utility, which is much better than Microsofts.Jove can be compiled with the medium, or the large memory model. Toget the IBMPC version, the option "-DIBMPC" should be given at thecommand line for the Compiler. Similarly, the define for the Rainbowversion is RAINBOW. The variable MSDOS is always defined by thecompiler. If you want to disable some features you can do so by makingchanges to tune.h.If you want to give away the version of Jove you are compiling toother people, don't use the loop optimizations or intrinsicfunctions!!! The compiler currently has some bugs in the optimizer,which causes it to produce wrong code sometimes, and in unpredictableplaces. Look at the function DoJustify(), in paragraph.c, for anexample. Note that the #pragma is commented out. because compilers onother machines don't like it. If you find that the version you justcompiled behaves strange in some way, and you compiled withoptimizations on, check whether it works ok with optimizationsdisabled before you tell all the world about a new bug in Jove.If you want to compile MSJOVE or RBJOVE, you need the library MTERMLIBor LTERMLIB, for medium or large memory model, respectively. Theselibraries contain the functions for dealing with the termcap database.If you want to compile Jove with Turbo-C, the port has already beendone by Brian Campbell (brianc@cognos.uucp). A separate file with thediffs is currently available from him, and will probably be includedas ifdefs in future versions.If you find a bug in Jove, have some questions, or some suggestions,you are always welcome. Just send mail to me. My address is: Karl Gegenfurtnerarpa: karl@hipl.psych.nyu.eduuucp {ihnp4|seismo|allegra}!cmcl2!xp!hipl!karlusps: New York University Dept. of Psychology 6 Washington Place 8th floor New York, NY 10003
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -