📄 jove.4
字号:
through.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 "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-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 "goto-line" "ESC G"If a numeric argument is supplied point moves to the beginning of thatline. If no argument is supplied, point remains where it is. This isso you don't lose your place unintentionally, by accidentally hittingthe "G" instead of "F"..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 "paren-flash" ") } ]"This handles the C mode curly brace indentation, the Lisp mode parenindentation, and the Show Match mode paren/curly brace/square bracketflashing..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 Rubout 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 Rubout and the search will back up to the position beforethat character was typed. C-G aborts the search..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-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 "i-shell" "Not Bound"This starts up an interactive shell in a window. \s-2JOVE\s0 uses "shell-1"as the name of the buffer in which the interacting takes place. Seethe manual for information on how to use interactive processes..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 "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 Rubout"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 Rubout"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 Command name\ ------ ------ ------- ----\ shell-1 Running i-shell\ fgrep Done 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 "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..dc "mail-check-frequency" "(variable)"This is how often (in seconds) \s-2JOVE\s0 should check your mailbox forincoming mail. See also the.IQ mailboxand.IQ disable-biffvariables..dc "make-backup-files" "(variable)"If this variable is set, then whenever \s-2JOVE\s0 writes out a file, it willmove the previous version of the file (if there was one) to "#filename".This is often convenient if you save a file by accident. The defaultvalue of this variable is "off"..IQ Note:this is an optional part of\s-2JOVE\s0, and your guru may not have it enabled, so it may not work..dc "make-buffer-unmodified" "ESC ~"This makes \s-2JOVE\s0 think the selected buffer hasn't been changed even ifit has. Use this when you accidentally change the buffer but don'twant it considered changed. Watch the mode line to see the * disappearwhen you use this command. .dc "make-macro-interactive" "Not Bound"This command is meaningful only while you are defining a keyboard macro.Ordinarily, when a command in a macro definition requires a trailingtext argument (file name, search string, etc.), the argument yousupply becomes part of the macro definition. If you want to be ableto supply a different argument each time the macro is used, then whileyou are defining it, you should give the make-macro-interactivecommand just before typing the argument which will be used during thedefinition process. Note: you must bind this command to a key inorder to use it; you can't say ESC X make-macro-interactive..dc "mark-threshold" "(variable)"This variable contains the number of lines point may move by beforethe mark is set. If, in a search or something, point moves by morethan this many lines, the mark is set so that you may return easily.The default value of this variable is 22 (one screenful, on mostterminals)..dc "marks-should-float" "(variable)"When this variable is "off", the position of a mark is remembered as a linenumber within the buffer and a character number within the line. If you addor delete text before the mark, it will no longer point to the text youmarked originally because that text is no longer at the same line andcharacter number. When this variable is "on", the position of a mark isadjusted to compensate for each insertion and deletion. This makes marksmuch more sensible to use, at the cost of slowing down insertion anddeletion somewhat. The default value is "on"..dc "match-regular-expressions" "(variable)"When set, \s-2JOVE\s0 will match regular expressions in search patterns.This makes special the characters ., *, [, ], ^, and $, and the two-charactersequences \e<, \e>, \e\|{, \e\|} and \e\||.See the.IQ ed(1)manual page, the tutorial "Advanced Editing in .UX", and the section above "Searching with Regular Expressions"for more information..dc "meta-key" "(variable)"You should set this variable to "on" if your terminal has a real Metakey.If your terminal has such a key, then a key sequence like ESC Y canbe entered by holding down Meta and typing Y..dc "mode-line" "(variable)"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -