home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / baseline / jove-4.14.6.lha / jove-4.14.6 / doc / jove.1 < prev    next >
Text File  |  1992-01-10  |  41KB  |  1,168 lines

  1. .\" ditroff -ms
  2. .de IQ
  3. \\fI\\$1\\fP
  4. ..
  5. .de dc
  6. .NH 2
  7. \\$1
  8. .if '\\$2'(variable)' (variable)
  9. .if !'\\$2'(variable)' (\\$2)
  10. .LP
  11. ..
  12. .nr LL 6.5i
  13. .nr LT 6.5i
  14. .EH 'USD:17-%''JOVE Manual for UNIX Users'
  15. .OH 'JOVE Manual for UNIX Users''USD:17-%'
  16. .LP
  17. .TL
  18. JOVE Manual for UNIX Users
  19. .AU
  20. Jonathan Payne
  21. (revised for 4.3BSD by Doug Kingston and Mark Seiden)
  22. .AI
  23. .AB no
  24. .AE
  25. .NH 1
  26. Introduction
  27. .XS \n(PN
  28. \*(SN Introduction
  29. .XE
  30. .LP
  31. \s-2JOVE\s0*
  32. .FS
  33. *\s-2JOVE\s0 stands for Jonathan's Own Version of Emacs.
  34. .FE
  35. is an advanced, self-documenting, customizable real-time display editor.
  36. It (and this tutorial introduction) are based on the original EMACS
  37. editor and user manual written at M.I.T. by Richard Stallman+.
  38. .FS
  39. +Although \s-2JOVE\s0 is meant to be compatible with EMACS,
  40. and indeed many of the basic commands are very similar,
  41. there are some major differences between the two editors,
  42. and you should not rely on their behaving identically.
  43. .FE
  44. .LP
  45. \s-2JOVE\s0 is considered a
  46. .I display 
  47. editor because normally the text being
  48. edited is visible on the screen and is updated automatically as you
  49. type your commands.
  50. .LP
  51. It's considered a
  52. .I real-time 
  53. editor because the display is updated very
  54. frequently, usually after each character or pair of characters you type.
  55. This minimizes the amount of information you must keep in your
  56. head as you edit.
  57. .LP
  58. \s-2JOVE\s0 is 
  59. .I advanced 
  60. because it provides facilities that go beyond
  61. simple insertion and deletion:
  62. filling of text;
  63. automatic indentations of programs;
  64. view more than one file at once;
  65. and dealing in terms of characters, words, lines, sentences and paragraphs.
  66. It is much easier
  67. to type one command meaning "go to the end of the paragraph" than to
  68. find the desired spot with repetition of simpler commands.
  69. .LP
  70. .I Self-documenting 
  71. means that at almost any time you can easily
  72. find out what a command does,
  73. or to find all the commands that pertain to a topic.
  74. .LP
  75. .I Customizable
  76. means that you can change the definition of \s-2JOVE\s0 commands
  77. in little ways.
  78. For example, you can rearrange the command set;
  79. if you prefer to use arrow keys for the four basic cursor motion commands
  80. (up, down, left and right), you can.
  81. Another sort of customization is
  82. writing new commands by combining built in commands.
  83. .NH 1
  84. The Organization of the Screen
  85. .XS \n(PN
  86. \*(SN The Organization of the Screen
  87. .XE
  88. .LP
  89. \s-2JOVE\s0 divides the screen up into several sections.
  90. The biggest of these sections is used to display the text you are editing.
  91. The terminal's cursor shows the position of \fIpoint\fP,
  92. the location at which editing takes place.
  93. While the cursor appears to point \fIat\fP a character,
  94. point should be thought of as between characters;
  95. it points \fIbefore\fP the character that the cursor appears on top of.
  96. Terminals have only one cursor,
  97. and when output is in progress it must appear where the typing is being done.
  98. This doesn't mean that point is moving;
  99. it is only that \s-2JOVE\s0 has no way of
  100. showing you the location of point except when the terminal is idle.
  101. .LP
  102. The lines of the screen are usually available for displaying text but
  103. sometimes are pre-empted by typeout from certain commands (such as a
  104. listing of all the editor commands).
  105. Most of the time,
  106. output from commands like these is only desired for a short period of time,
  107. usually just long enough to glance at it.
  108. When you have finished looking at the output,
  109. you can type Space to make your text reappear.
  110. (Usually a Space that you type inserts itself, but when there is typeout on
  111. the screen, it does nothing but get rid of that).
  112. Any other command executes normally,
  113. .I after
  114. redrawing your text.
  115. .NH 2
  116. The Message Line
  117. .XS \n(PN 5n
  118. \*(SN The Message Line
  119. .XE
  120. .LP
  121. The bottom line on the screen, called the
  122. \fImessage line\fP,
  123. is reserved for printing messages and for accepting input from the user,
  124. such as filenames or search strings.
  125. When
  126. \s-2JOVE\s0 
  127. prompts for input,
  128. the cursor will temporarily appear on the bottom line, waiting for you
  129. to type a string.
  130. When you have finished typing your input, you can
  131. type a Return to send it to \s-2JOVE\s0.
  132. If you change your mind about running the command that is waiting for input,
  133. you can type Control-G to abort,
  134. and you can continue with your editing.
  135. .LP
  136. When \s-2JOVE\s0 is prompting for a filename,
  137. all the usual editing facilities can be used to fix typos and such;
  138. in addition, \s-2JOVE\s0 has the following extra functions:
  139. .IP "^N"
  140. Insert the next filename from the argument list.
  141. .IP "^P"
  142. Insert the previous filename from the argument list.
  143. .IP "^R"
  144. Insert the full pathname of the file in the current buffer.
  145. .LP
  146. Sometimes you will see \fB--more--\fP on the message line.
  147. This happens when typeout from a command is too long to fit in the screen.
  148. It means that if you type a Space the next screenful of typeout will be
  149. printed.
  150. If you are not interested,
  151. typing anything but a Space will cause the rest of the output to be discarded.
  152. Typing C-G will discard the output and print \fIAborted\fP where the \fB--more--\fP was.
  153. Typing any other command will discard the rest of the output and
  154. also execute the command.
  155. .LP
  156. The message line and the list of filenames from the shell command that
  157. invoked \s-2JOVE\s0 are kept in a special buffer called
  158. \fIMinibuf\fP that can be edited like any other buffer.
  159. .NH 2
  160. The Mode Line
  161. .XS \n(PN 5n
  162. \*(SN The Mode Line
  163. .XE
  164. .LP
  165. At the bottom of the screen, but above the message line, is the
  166. \fImode line\fP.  The mode line format looks like this:
  167. .DS I
  168. \fBJOVE (major minor)   Buffer: bufr  "file" *\fP
  169. .DE
  170. \fImajor\fP is the name of the current \fImajor mode\fP.
  171. At any time, \s-2JOVE\s0 can be in only one major mode at a time.
  172. Currently there are only four major modes: \fIFundamental\fP,
  173. \fIText\fP, \fILisp\fP and \fIC\fP.
  174. .LP
  175. \fIminor\fP is a list of the minor modes that are turned on.
  176. \fBAbbrev\fP means that \fIWord Abbrev\fP mode is on;
  177. \fBAI\fP means that \fIAuto Indent\fP mode is on;
  178. \fBFill\fP means that \fIAuto Fill\fP mode is on;
  179. \fBOvrWt\fP means that \fIOver Write\fP mode is on.
  180. \fBDef\fP means that you are in the process of defining a keyboard macro.
  181. This is not really a mode,
  182. but it's useful to be reminded about it.
  183. The meanings of these modes are described later in this document.
  184. .LP
  185. \fIbufr\fP is the name of the currently selected \fIbuffer\fP.
  186. Each buffer has its own name and holds a file being edited;
  187. this is how \s-2JOVE\s0 can hold several files at once.
  188. But at any given time you are editing only one of them,
  189. the \fIselected\fP buffer.
  190. When we speak of what some command does to "the buffer",
  191. we are talking about the currently selected buffer.
  192. Multiple buffers makes it easy to switch around between several files,
  193. and then it is very useful that
  194. the mode line tells you which one you are editing at any time.  (You
  195. will see later that it is possible to divide the
  196. screen into multiple \fIwindows\fP, each showing a different buffer.  If you
  197. do this, there is a mode line beneath each window.)
  198. .LP
  199. \fIfile\fP is the name of the file that you are editing.
  200. This is the default filename for commands that expect a filename as input.
  201. .LP
  202. The asterisk at the end of the mode line means that there are changes in
  203. the buffer that have not been saved in the file.
  204. If the file has not been changed since it was read in or saved,
  205. there is no asterisk.
  206. .NH 1
  207. Command Input Conventions
  208. .XS \n(PN
  209. \*(SN Command Input Conventions
  210. .XE
  211. .LP
  212. .NH 2
  213. Notational Conventions for ASCII Characters
  214. .XS \n(PN 5n
  215. \*(SN Notational Conventions for ASCII Characters
  216. .XE
  217. .LP
  218. In this manual,
  219. "Control" characters
  220. (that is, characters that are typed with the Control key
  221. and some other key at the same time)
  222. are represented by "C-" followed by another character.
  223. Thus,
  224. C-A is the character you get when you type A with the Control key
  225. (sometimes labeled CTRL) down.
  226. Most control characters when present in the \s-2JOVE\s0
  227. buffer are displayed with a caret; thus, ^A for C-A.
  228. DEL (or delete) is displayed as ^?, escape as ^[.
  229. .NH 2
  230. Command and Filename Completion
  231. .XS \n(PN 5n
  232. \*(SN Command and Filename Completion
  233. .XE
  234. .LP
  235. When you are typing the name of a \s-2JOVE\s0 command, you need type only
  236. enough letters to make the name unambiguous.  At any point in the cours