📄 jove.4
字号:
). The default value is usually.IQ 0666or.IQ 0644..dc "files-should-end-with-newline" "(variable)"This variable indicates that all files should always have a newlineat the end. This is often necessary for line printers and the like.When set, if \s-2JOVE\s0 is writing a file whose last character is not anewline, it will add one automatically..dc "fill-comment" "Not Bound"This command fills in your C comments to make them pretty and readable.This filling is done according the variable.IQ comment-format..DS L/* * the default format makes comments like this. */.DEThis can be changed by changing the format variable. Other languagesmay be supported by changing the format variable appropriately. Theformatter looks backwards from dot for an open comment symbol. If found, all indentation is done relative the position of the first characterof the open symbol. If there is a matching close symbol, the entire comment is formatted. If not, the region between dot and the open symbolis reformatted..dc "fill-paragraph" "ESC J"This rearranges words between lines so that all the lines in the currentparagraph extend as close to the right margin as possible, ensuring thatnone of the lines will be greater than the right margin. The default valuefor.IQ right-marginis 78, but can be changed with the.IQ setand.IQ right-margin-herecommands. \s-2JOVE\s0 has a complicated algorithmfor determining the beginning and end of the paragraph. In the normal case\s-2JOVE\s0 will give all the lines the same indent as they currently have,but if you wish to force a new indent you can supply a numeric argument to.IQ fill-paragraph(e.g., by typing C-U ESC J)and \s-2JOVE\s0 will indent each line to the columnspecified by the.IQ left-marginvariable. See also the.IQ left-marginvariable and.IQ left-margin-herecommand..dc "fill-region" "Not Bound"This is like.IQ fill-paragraph,except it operates on a region instead ofjust a paragraph..dc "filter-region" "Not Bound"This sends the text in the region to a UNIX command, and replaces theregion with the output from that command. For example, if you arelazy and don't like to take the time to write properly indented Ccode, you can put the region around your C file and.IQ filter-regionitthrough.IQ cb,the UNIX C beautifier. If you have a file that containsa bunch of lines that need to be sorted you can do that from inside\s-2JOVE\s0 too, by filtering the region through the.IQ sortUNIX command.Before output from the command replaces the region \s-2JOVE\s0 stores the oldtext in the kill ring, so if you are unhappy with the results you caneasily get back the old text with "C-Y"..dc "find-file" "C-X C-F"This visits a file into its own buffer and then selects that buffer.If you've already visited this file in another buffer, that buffer isselected. If the file doesn't yet exist, \s-2JOVE\s0 will print "(New file)"so that you know..dc "find-tag" "C-X T"This finds the file that contains the specified tag. \s-2JOVE\s0 looks uptags by default in the "tags" file in the current directory. You can changethe default tag name by setting the.IQ tag-filevariable to anothername. If you specify a numeric argument to this command, you will beprompted for a tag file. This is a good way to specify another tag filewithout changing the default. If the tag cannot be found the error isreported and point stays where it is..dc "find-tag-at-point" "Not Bound"This finds the file that contains the tag that point is currently on.See.IQ find-tag..dc "first-non-blank" "ESC M"This moves point back to the indent of the current line..dc "foreground-color" "(variable)"This specifies the foreground color of the screen (PC version only). Thedefault is 1, which stands for white. The attribute used for writing tothe screen is formed by (bg&7)<<4 & (fg&7)..dc "forward-character" "C-F"This moves forward over a single character. If point is at the end ofthe line it moves to the beginning of the next one..dc "forward-list" "ESC C-N"This is like.IQ forward-s-expressionexcept it moves over lists ONLY. What this does is search for the next"(" and then move to the matching ")". This is useful for when you aretrying to find mismatched parentheses in a program..dc "forward-paragraph" "ESC ]"This moves point forward to the end of the current or next paragraph.Paragraphs are bounded by lines that begin with a Period or Tab, or by blanklines; a change in indentation may also signal a break between paragraphs,except that \s-2JOVE\s0 allows the first line of a paragraph to be indenteddifferently from the other lines..dc "forward-s-expression" "ESC C-F"This moves point forward over a s-expression. If the first significantcharacter after point is "(", this moves past the matching ")". If thecharacter begins an identifier, this moves just past it. This is modedependent, so this will move over atoms in LISP mode and C identifiers in Cmode. \s-2JOVE\s0 also matches "{"..dc "forward-sentence" "ESC E"This moves point forward to the end of the current or next sentence.\s-2JOVE\s0 considers the end of a sentence to be the characters ".", "!" or"?" followed by a Return, or one or more spaces..dc "forward-word" "ESC F"This moves point forward to the end of the current or next word..dc "fundamental-mode" "Not Bound"This sets the major mode to Fundamental. This affects what \s-2JOVE\s0considers as characters that make up words. For instance,Single-quote is not part of a word in Fundamental mode, but is in Textmode..dc "gather-numeric-argument" "C-U"This command is one of two ways to specify a numeric argument to acommand. It's usually bound to C-U. Typing C-U once means, Do the nextcommand 4 times. Typing C-U twice will do the next command 16 times, andso on. If at any point you type a number, then that number will be usedinstead of 4. For instance, C-U 3 5 means do the next command 35 times..dc "goto-line" "ESC G"If a numeric argument is supplied point moves to the beginning of thatline. If no argument is supplied one is prompted for..dc "goto-window-with-buffer" "Not Bound"This command prompts for a buffer name and then selects that buffer. Ifthe buffer is currently being displayed in one of the windows, thatwindow is selected instead..dc "grind-s-expr" "Not Bound"When point is positioned on a "(", this re-indents that LISP expression..dc "grow-window" "C-X ^"This makes the current window one line bigger. This only works whenthere is more than one window and provided there is room to change thesize..dc "handle-tab" "Tab"This handles indenting to the "right" place in C and Lisp mode, andjust inserts itself in Text mode..dc "i-search-forward" "Not Bound"Incremental search. Like search-forward except that instead of promptingfor a string and searching for that string all at once, it accepts the stringone character at a time. After each character you type as part of the searchstring, it searches for the entire string so far. When you like what itfound, type the Return key to finish the search. You can take back acharacter with DEL and the search will back up to the position beforethat character was typed. C-G aborts the search..dc "i-search-reverse" "Not Bound"Incremental search. Like search-reverse except that instead of promptingfor a string and searching for that string all at once, it accepts the stringone character at a time. After each character you type as part of the searchstring, it searches for the entire string so far. When you like what itfound, type the Return key to finish the search. You can take back acharacter with DEL and the search will back up to the position beforethat character was typed. C-G aborts the search..dc "i-shell-command" "Not Bound"This is like.IQ shell-commandexcept it lets you continue with yourediting while the command is running. This is really useful for longrunning commands with sporadic output. See the manual for informationon how to use interactive processes..dc "insert-file" "C-X C-I"This inserts a specified file into the current buffer at point. Pointis positioned at the beginning of the inserted file..dc "internal-tabstop" "(variable)"The number of spaces \s-2JOVE\s0 should print when it displays a tab character.The default value is 8..dc "interrupt-character" "(variable)"This is set to the character that interrupts JOVE (with a signal) no matterwhat JOVE is doing. It's main use is for interrupting non-interactiveprocesses, but it also has uses for debugging. Unfortunately there is noway to turn off the interrupt character..dc "interrupt-process" "Not Bound"This sends the interrupt character (usually C-C) to the interactive processin the current buffer. This is only for versions of \s-2JOVE\s0 that have theinteractive processes feature. This only works when you are inside a bufferthat's attached to a process..dc "kill-next-word" "ESC D"This kills the text from point to the end of the current or next word..dc "kill-previous-word" "ESC DEL"This kills the text from point to the beginning of the current orprevious word..dc "kill-process" "Not Bound"This command prompts for a buffer name or buffer number (just asselect-buffer does) and then sends the process in that buffer akill signal (9)..dc "kill-region" "C-W"This deletes the text in the region and saves it on the kill ring.Commands that delete text but save it on the kill ring all have theword "kill" in their names. Type "C-Y" to yank back the most recentkill..dc "kill-s-expression" "ESC C-K"This kills the text from point to the end of the current or nexts-expression..dc "kill-some-buffers" "Not Bound"This goes through all the existing buffers and asks whether or not to killthem. If you decide to kill a buffer, and it turns out that the buffer ismodified, \s-2JOVE\s0 will offer to save it first. This is useful for when \s-2JOVE\s0runs out of memory to store lines (this only happens on PDP-11's) and youhave lots of buffers that you are no longer using..dc "kill-to-beginning-of-sentence" "C-X DEL"This kills from point to the beginning of the current or previoussentence..dc "kill-to-end-of-line" "C-K"This kills from point to the end of the current line. When point isat the end of the line the line separator is deleted and the next lineis joined with current one. If a numeric argument is supplied thatmany lines are killed; if the argument is negative that many lines.IQ beforepoint are killed; if the argument is zero the text from pointto the beginning of the line is killed..dc "kill-to-end-of-sentence" "ESC K"This kills from point to the end of the current or next sentence. If anegative numeric argument is supplied it kills from point to thebeginning of the current or previous sentence..dc "left-margin" "(variable)"This is how far lines should be indented when auto-indent mode is on,or when the.IQ newline-and-indentcommand is run (usually by typingLineFeed). It is also used by fill-paragraph and auto-fill mode.If the value is zero (the default) then the left margin is determinedfrom the surrounding lines..dc "left-margin-here" "Not Bound"This sets the.IQ left-marginvariable to the current position ofpoint. This is an easy way to say, "Make the left margin begin here,"without having to count the number of spaces over it actually is..dc "lisp-mode" "Not Bound"This turns on Lisp mode. Lisp mode is one of four mutually exclusive majormodes: Fundamental, Text, C, and Lisp. In Lisp mode, the characters Taband ) are treated specially, similar to the way they are treated in C mode.Also, Auto Indent mode is affected, and handled specially..dc "list-buffers" "C-X C-B"This types out a list containing various information about each buffer.Right now that list looks like this:.DS.ta \w'NO111'u +\w'Lines1'u +\w'Scratch111'u +\w'*1'u +\w'commands.doc111'u\ (* means the buffer needs saving)\ NO Lines Type Name File\ -- ----- ---- ---- ----\ 1 1 File Main [No file]\ 2 1 Scratch * Minibuf [No file]\ 3 519 File * commands.doc commands.doc.DEThe first column lists the buffer's number. When \s-2JOVE\s0 prompts for abuffer name you can either type in the full name, or you can simplytype the buffer's number. The second column is the number of lines inthe buffer. The third says what type of buffer. There are fourtypes: "File", "Scratch", "Process", "I-Process". "File" is simply abuffer that holds a file; "Scratch" is for buffers that \s-2JOVE\s0 usesinternally; "Process" is one that holds the output from a UNIXcommand; "I-Process" is one that has an interactive process attached toit. The next column contains the name of the buffer. And the lastcolumn is the name of the file that's attached to the buffer. In thiscase, both Minibuf and commands.doc have been changed but not yetsaved. In fact Minibuf won't be saved since it's an internal \s-2JOVE\s0buffer that I don't even care about..dc "list-processes" "Not Bound"This makes a list somewhat like "list-buffers" does, except itslist consists of the current interactive processes. Right now the listlooks like this:.DS.ta \w'shell-111111111111'u +\w'Running1111111111'u\ Buffer Status Pid Command\ ------ ------ --- -------\ *shell* Running 18415 shell\ fgrep Done 18512 fgrep -n Buffer *.c.DEThe first column has the name of the buffer to which the process isattached. The second has the status of the process; if a process hasexited normally the status is "Done" as in fgrep; if the processexited with an error the status is "Exit N" where N is the value ofthe exit code; if the process was killed by some signal the status isthe name of the signal that was used; otherwise the process isrunning. The last column is the name of the command that is being run..dc "macify" "(variable)"When this variable is on, JOVE will use the standard Macintosh file-selectordialog in place of the traditional JOVE minibuffer. (Mac version only).dc "mail-check-frequency" "(variable)"This is how often (in seconds) \s-2JOVE\s0 should check your mailbox forincoming mail. If you set this to \s-2ZERO\s0 JOVE won't check for newmail. See also the.IQ mailboxand.IQ disable-biffvariables..dc "mailbox" "(variable)"Set this to the full pathname of your mailbox. \s-2JOVE\s0 will look here todecide whether or not you have any unread mail. This defaults to/usr/spool/mail/$USER, where $USER is set to your login name.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -