⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jove.4

📁 早期freebsd实现
💻 4
📖 第 1 页 / 共 5 页
字号:
to see how tosave macros..dc "redraw-display" "C-L"This centers the line containing point in the window.  If that line isalready in the middle the window is first cleared and then redrawn.If a numeric argument is supplied, the line is positioned at thatoffset from the top of the window.  For example, "ESC 0 C-L" positionsthe line containing point at the top of the window..dc "recursive-edit" "Not Bound"This enters a recursive editing level.  This isn't really veryuseful.  I don't know why it's available for public use.  I think I'lldelete it some day..dc "rename-buffer" "Not Bound"This lets you rename the current buffer..dc "replace-in-region" "Not Bound"This is the same as.IQ replace-stringexcept that it is restrictedto occurrences between Point and Mark..dc "replace-string" "ESC R"This replaces all occurrences of a specified string with a specifiedreplacement string.  This is just like.IQ query-replace-stringexceptit replaces without asking..dc "right-margin" "(variable)"Where the right margin is for.IQ "Auto Fill"mode and the.IQ justify-paragraphand.IQ justify-regioncommands.  The default is 78..dc "right-margin-here" "Not Bound"This sets the.IQ right-marginvariable to the current position ofpoint.  This is an easy way to say, "Make the right margin begin here,"without having to count the number of spaces over it actually is..dc "save-file" "C-X C-S"This saves the current buffer to the associated file.  This makes yourchanges permanent so you should be sure you really want to.  If thebuffer has not been modified.IQ save-filerefuses to do the save.  Ifyou really do want to write the file you can use "C-X C-W" whichexecutes.IQ write-file..dc "scroll-down" "ESC Z"This scrolls the screen one line down.  If the line containing pointmoves past the bottom of the window point is moved up to the center ofthe window.  If a numeric argument is supplied that many lines arescrolled; if the argument is negative the screen is scrolled upinstead..dc "scroll-step" "(variable)"How many lines should be scrolled if the.IQ previous-lineor.IQ next-linecommands move you off the top or bottom of the screen.  Youmay wish to decrease this variable if you are on a slow terminal..dc "scroll-up" "C-Z"This scrolls the screen one line up.  If the line containing pointmoves past the top of the window point is moved down to the center ofthe window.  If a numeric argument is supplied that many lines arescrolled; if the argument is negative the screen is scrolled downinstead..dc "search-exit-char" "(variable)"Set this to the character you want to use to exit incremental search.The default is Newline, which makes i-search compatible with normalstring search..dc "search-forward" "C-S"This searches forward for a specified search string and positionspoint at the end of the string if it's found.  If the string is notfound point remains unchanged.  This searches from point to the end ofthe buffer, so any matches before point will be missed..dc "search-reverse" "C-R"This searches backward for a specified search string and positionspoint at the beginning if the string if it's found.  If the string isnot found point remains unchanged.  This searches from point to thebeginning of the buffer, so any matches after point will be missed..dc "select-buffer" "C-X B"This selects a new or already existing buffer making it the currentone.  You can type either the buffer name or number.  If you type inthe name you need only type the name until it is unambiguous, at whichpoint typing Escape or Space will complete it for you.  If you want tocreate a new buffer you can type Return instead of Space, and a newempty buffer will be created..dc "self-insert" "Most Printing Characters"This inserts the character that invoked it into the buffer at point.Initially all but a few of the printing characters are bound to.IQ self-insert..dc "send-typeout-to-buffer" "(variable)"When this is set \s-2JOVE\s0 will send output that normally overwrites thescreen (temporarily) to a buffer instead.  This affects commands like.IQ list-buffers,.IQ list-processes,and other commands that use commandcompletion.  The default value is "off"..dc "set" "Not Bound"This gives a specified variable a new value.  Occasionally you'll seelines like "set this variable to that value to do this".  Well, youuse the.IQ setcommand to do that..dc "set-mark" "C-@"This sets the mark at the current position in the buffer.  It printsthe message "Point pushed" on the message line.  It says that insteadof "Mark set" because when you set the mark the previous mark is stillremembered on a ring of 16 marks.  So "Point pushed" means point ispushed onto the ring of marks and becomes the value of "the mark".To go through the ring of marks you type "C-U C-@", or execute the.IQ pop-markcommand.  If you type this enough times you will get backto where you started..dc "shell" "(variable)"The shell to be used with all the shell commands command.  If your SHELLenvironment variable is set, it is used as the value of.IQ shell;otherwise "/bin/csh" is the default..dc "shell-command" "C-X !"This runs a UNIX command and places the output from that command in abuffer.  \s-2JOVE\s0 creates a buffer that matches the name of the commandyou specify and then attaches that buffer to a window.  So, when youhave only one window running this command will cause \s-2JOVE\s0 to split thewindow and attach the new buffer to that window.  Otherwise, \s-2JOVE\s0finds the most convenient of the available windows and uses that oneinstead.  If the buffer already exists it is first emptied, except that ifit's holding a file, not some output from a previous command, \s-2JOVE\s0prints an error message and refuses to execute the command.  If youreally want to execute the command you should delete that buffer(saving it first, if you like) or use.IQ shell-command-to-buffer,andtry again..dc "shell-command-to-buffer" "Not Bound"This is just like.IQ shell-commandexcept it lets you specify thebuffer to use instead of \s-2JOVE\s0..dc "shell-flags" "(variable)"This defines the flags that are passed to shell commands.  The default is"-c".  See the.IQ shellvariable to change the default shell..dc "show-match-mode" "Not Bound"This turns on Show Match mode (or off if it's currently on) in theselected buffer.  This changes "}" and ")" so that when they are typedthe are inserted as usual, and then the cursor flashes back to thematching "{" or "(" (depending on what was typed) for about half asecond, and then goes back to just after the "}" or ")" that invokedthe command.  This is useful for typing in complicated expressions ina program.  You can change how long the cursor sits on the matchingparen by setting the "paren-flash-delay" variable in tenths of asecond.  If the matching "{" or "(" isn't visible nothing happens..dc "shrink-window" "Not Bound"This makes the current window one line shorter, if possible.  Windowsmust be at least 2 lines high, one for the text and the other for themode line..dc "source" "Not Bound"This reads a bunch of \s-2JOVE\s0 commands from a file.  The format of thefile is the same as that in your initialization file (your ".joverc")in your main directory.  There should be one command per line and itshould be as though you typed "ESC X" while in \s-2JOVE\s0.  For example,here's part of my initialization file:.DS Ibind-to-key i-search-reverse ^Rbind-to-key i-search-forward ^Sbind-to-key pause-jove ^[S.DEWhat they do is make "C-R" call the.IQ i-search-reversecommand and"C-S" call.IQ i-search-forwardand "ESC S" call.IQ pause-jove..dc "spell-buffer" "Not Bound"This runs the current buffer through the UNIX.IQ spellprogram and placesthe output in buffer "Spell".  Then \s-2JOVE\s0 lets you edit the list ofwords, expecting you to delete the ones that you don't care about, i.e., theones you know are spelled correctly.  Then the.IQ parse-spelling-errors-in-buffercommand comes along and finds all themisspelled words and sets things up so the error commands work..dc "split-current-window" "C-X 2"This splits the current window into two equal parts (providing theresulting windows would be big enough) and displays the selectedbuffer in both windows.  Use "C-X 1" to go back to 1 window mode..dc "start-remembering" "C-X ("This starts remembering your key strokes in the Keyboard macro.  Tostop remembering you type "C-X )".  Because of a bug in \s-2JOVE\s0 you can'tstop remembering by typing "ESC X stop-remembering";.IQ stop-rememberingmust be bound to "C-X )" in order to make things work correctly.  Toexecute the remembered key strokes you type "C-X E" which runs the.IQ execute-keyboard-macrocommand.Sometimes you may want a macro to accept different input each time it runs.To see how to do this, see the.IQ make-macro-interactivecommand..dc "stop-process" "Not Bound"This sends a stop signal (C-Z, for most people) to the current process.It only works if you have the interactive process feature, and you arein a buffer attached to a process..dc "stop-remembering" "C-X )"This stop the definition of the keyboard macro.  Because of a bug in\s-2JOVE\s0, this must be bound to "C-X )".  Anything else will not workproperly..dc "string-length" "Not Bound"This prints the number of characters in the string that point sits in.Strings are surrounded by double quotes.  \s-2JOVE\s0 knows that "\\007" isconsidered a single character, namely "C-G", and also knows aboutother common ones, like "\\r" (Return) and "\\n" (LineFeed).  This ismostly useful only for C programmers..dc "suspend-jove" "ESC S"This is a synonym for.IQ pause-jove..dc "sync-frequency" "(variable)"The temporary files used by \s-2JOVE\s0 are forced out to disk every.IQ sync-frequencymodifications.  The default is 50, which really makesgood sense.  Unless your system is very unstable, you probablyshouldn't fool with this..dc "tag-file" "(variable)"This the name of the file in which \s-2JOVE\s0 should look up tagdefinitions.  The default value is "./tags"..dc "text-mode" "Not Bound"This sets the major mode to Text.  Currently the other modes areFundamental, C and Lisp mode..dc "transpose-characters" "C-T"This switches the character before point with the one after point, andthen moves forward one.  This doesn't work at the beginning of theline, and at the end of the line it switches the two characters beforepoint.  Since point is moved forward, so that the character that wasbefore point is still before point, you can use "C-T" to drag acharacter down the length of a line.  This command pretty quicklybecomes very useful..dc "transpose-lines" "C-X C-T"This switches the current line with the one above it, and then movesdown one so that the line that was above point is still above point.This, like.IQ transpose-characters,can be used to drag a line down a page..dc "unbind-key" "Not Bound"Use this to unbind.IQ anykey sequence.  You can use this to unbind even aprefix command, since this command does not use "key-map completion".  Forexample, "ESC X unbind-key ESC [" unbinds the sequence "ESC [".  This isuseful for "turning off" something set in the system-wide ".joverc" file..dc "update-time-frequency" "(variable)"How often the mode line is updated (and thus the time and loadaverage, if you display them).  The default is 30 seconds..dc "use-i/d-char" "(variable)"If your terminal has insert/delete character capability you can tell \s-2JOVE\s0not to use it by setting this to "off".  In my opinion it is only worth usinginsert/delete character at low baud rates.  WARNING: if you set this to"on" when your terminal doesn't have insert/delete character capability,you will get weird (perhaps fatal) results..dc "version" "Not Bound"Displays the version number of this \s-2JOVE\s0..dc "visible-bell" "(variable)"Use the terminal's visible bell instead of beeping.  This is setautomatically if your terminal has the capability..dc "visible-spaces-in-window" "Not Bound"This displays an underscore character instead of each space in thewindow and displays a greater-than followed by spaces for each tabin the window.  The actual text in the buffer is not changed; onlythe screen display is affected.  To turn this off you run the commandagain; it

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -