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

📄 joe.1.in

📁 举世闻名的joe记事本源程序
💻 IN
📖 第 1 页 / 共 3 页
字号:
.TH JOE 1.SH Namejoe \- Joe's Own Editor.SH Syntax.B joe [global-options] [ [local-options] filename ]....B jstar [global-options] [ [local-options] filename ]....B jmacs [global-options] [ [local-options] filename ]....B rjoe [global-options] [ [local-options] filename ]....B jpico [global-options] [ [local-options] filename ]....SH DescriptionJOE is a powerful ASCII-text screen editor.  It has a "mode-less" userinterface which is similar to many user-friendly PC editors.  Users ofMicro-Pro's WordStar or Borland's "Turbo" languages will feel at home.  JOEis a full featured UNIX screen-editor though, and has many features forediting programs and text.JOE also emulates several other editors.  JSTAR is a close imitation ofWordStar with many "JOE" extensions.  JPICO is a close imitation of thePine mailing system's PICO editor, but with many extensions andimprovements.  JMACS is a GNU-EMACS imitation.  RJOE is a restrictedversion of JOE, which allows you to edit only the files specified on thecommand line.Although JOE is actually five different editors, it still requires only oneexecutable, but one with five different names.  The name of the editor withan "rc" appended gives the name of JOE's initialization file, whichdetermines the personality of the editor.JOE is free software;  you can distribute it and/or modify it under theterms of the GNU General Public License as published by the Free SoftwareFoundation.  I have no plans for turning JOE into a commercial or share-wareproduct.  JOE is available over the Internet from\fBwww.sourceforge.net/projects/joe-editor\fR..SH Usage To start the editor, type \fBjoe\fR followed by zero or more names of filesyou want to edit.  Each file name may be preceded by a local option setting(see the local options table which follows).  Other global options, whichapply to the editor as a whole, may also be placed on the command line (seethe global options table which follows).  If you are editing a new file, youcan either give the name of the new file when you invoke the editor, or inthe editor when you save the new file.  A modified syntax for file names isprovided to allow you to edit program output, standard input/output, orsections of files or devices.  See the section \fBFilenames\fR below fordetails.Once you are in the editor, you can type in text and use specialcontrol-character sequences to perform other editing tasks.  To find outwhat the control-character sequences are, read the rest of this man page ortype \fB^K H\fR for help in the editor.Now for some obscure computer-lore:The \fB^\fR means that you hold down the \fBControl\fR key while pressingthe following key (the same way the \fBShift\fR key works for uppercaseletters).  A number of control-key sequences are duplicated on other keys,so that you don't need to press the control key: \fBESC\fR will work inplace of \fB^[\fR, \fBDel\fR will work in place of \fB^?\fR, \fBBackspace\fRwill work in place of \fB^H\fR, \fBTab\fR will work in place of \fB^I\fR,\fBReturn\fR or \fBEnter\fR will work in place of \fB^M\fR and\fBLinefeed\fR will work in place of \fB^J\fR.  Some keyboards may give youtrouble with some control keys.  \fB^_\fR, \fB^^\fR and \fB^@\fR can usuallybe entered without pressing shift (I.E., try \fB^-\fR, \fB^6\fR and\fB^2\fR).  Other keyboards may reassign these to other keys.  Try:\fB^.\fR, \fB^,\fR and \fB^/\fR.  \fB^SPACE\fR can usually be used in placeof \fB^@\fR.  \fB^\\\fR and \fB^]\fR are interpreted by many communicationprograms, including telnet and kermit.  Usually you just hit the key twiceto get it to pass through the communication program.Once you have typed \fB^K H\fR, the first help window appears at the top ofthe screen.  You can continue to enter and edit text while the help windowis on.  To page through other topics, hit ^[, and ^[. (that is, ESC , andESC .).  Use \fB^K H\fR to dismiss the help window.You can customize the keyboard layout, the help screens and a number ofbehavior defaults by copying JOE's initialization file (usually\fB@JOERC@/joerc\fR) to \fB.joerc\fR in your home directory and thenby modifying it.  See the section \fBjoerc\fR below.To have JOE used as your default editor for e-mail and News, you need to setthe \fBEDITOR\fR and \fBVISUAL\fR environment variables in your shellinitialization file (\fB.cshrc\fR or \fB.profile\fR) to refer to JOE (joeusually resides as \fB@BINDIR@/joe\fR).There are a number of other obscure invocation parameters which may have tobe set, particularly if your terminal screen is not updating as you think itshould.  See the section \fBEnvironment variables\fR below..SH Command Line OptionsThe following global options may be specified on the command line:.IP -asisCharacters with codes above 127 will be sent to the terminal as-is, insteadof as inverse of the corresponding character below 128.  If this does notwork, check your terminal server..IP -backpath\ pathIf this option is given, backup files will be stored in the specifieddirectory instead of in each file's original directory..IP -baud\ nnnSet the baud rate for the purposes of terminal screen optimization.  Joeinserts delays for baud rates below 19200, which bypasses tty buffering sothat typeahead will interrupt the screen output.  Scrolling commands willnot be used for 38400 baud.  This is useful for X-terms and other consolettys which really aren't going over a serial line..IP -beepJoe will beep on command errors and when the cursor goes past extremes..IP -columns\ nnnSets the number of screen columns..IP -csmodeContinued search mode: a search immediately following a search will repeatthe previous search instead of prompting for new string.  This is useful forthe the ^[S and ^[R commands and for when joe is trying to be emacs..IP -dopaddingJoe usually assumes that there is some kind of flow control between it andthe tty.  If there isn't, this option will make joe output extra ^@s to thetty as specified by the termcap entry.  The extra ^@s allow the terminal tocatch up after long terminal commands..IP -exaskThis option makes ^KX verify the file name that it's about to write..IP -forceThis option makes sure that the last line of the file has a line-feed whichit's saved..IP -helpThe editor will start with the help screen on if this option is given..IP -keepupNormally the column number and control-key prefix fields of the status linesare on a one second delay to reduce CPU consumption, but with this optionthey are updated after each key-stroke..IP -lightoffThe block highlighting will go away after any block command if this optionis given..IP -lines\ nnnSets the number of screen lines..IP -markingText between ^KB and the cursor is highlighted (use with -lightoff and amodified joerc file to have drop-anchor style block selection)..IP -midIf this option is set and the cursor moves off the window, the window willbe scrolled so that the cursor is in the center.  This option is forced onslow terminals which don't have scrolling commands..IP -nobackupsThis option prevents backup files..IP -nonoticeThis option prevent the copyright notice from being displayed when theeditor starts..IP -nostaThis option eliminates the top-most status line.  It's nice for when youonly want to see your text on the screen or if you're using a vt52..IP -noxonAttempt to turn off ^S/^Q processing.  This is useful for when joe is tryingto be WordStar or EMACS..IP -orphanWhen this option is active, extra files on the command line will be placedin orphaned buffers instead of in extra windows.  This is useful for whenjoe is trying to be emacs..IP -pg\ nnnThis specifies the number of lines to keep after PgUp/PgDn (^U/^V).  If -1is given, half the window is kept..IP -skiptop\ nnnDon't use the top nnn lines of the screen.  Useful for when joe is used as aBBS editor..LPEach of these options may be specified in the joerc file as well.  Inaddition, the NOXON, BAUD, LINES, COLUMNS and DOPADDING options may bespecified with environment variables.The JOETERM environment variable may be set to override the regular TERMenvironment variable for specifying your terminal type.The following options may be specified before each filename on the commandline:.IP +nnnThe cursor starts on the specified line..IP -crlfJoe uses CR-LF as the end of line sequence instead of just LF.  This is forediting MS-DOS or VMS files..IP -wordwrapJoe wraps the previous word when you type past the right margin..IP -autoindentWhen you hit Return on an indented line, the indentation is duplicated ontothe new line..IP -overwriteTyping overwrites existing characters instead of inserting before them..IP -lmargin\ nnnSets the left margin..IP -rmargin\ nnnSets the right margin..IP -tab\ nnnSets the tab width..IP -indentc\ nnnSets the indentation character for ^K, and ^K. (32 for SPACE, 9 for TAB)..IP -istep\ nnnSets the indentation step for ^K, and ^K...IP -linumsLine numbers are displayed before each line..IP -rdonlyThe file is read only..IP -keymap\ nameUse an alternate section of the joerc file for the key sequence bindings..LPThese options can also be specified in the joerc file.  They can be setdepending on the file-name extension.  Programs (.c, .h or .p extension)usually have autoindent enabled.  Wordwrap is enabled on other files, but rcfiles have it disabled..SH Editing Tasks.SS Basic EditingWhen you type characters into the editor, they are normally inserted intothe file being edited (or appended to the file if the cursor is at the endof the file).  This is the normal operating mode of the editor.  If you wantto replace some existing text, you have to delete the old text before orafter you type in the replacement text.  The \fBBackspace\fR key can be usedfor deleting text: move the cursor to right after the text you want todelete and hit \fBBackspace\fR a number of times.  Hit the \fBEnter\fR or \fBReturn\fR key to insert a line-break.  For example, if the cursor was in the middle of a line and you hit \fBReturn\fR, the line would be split into two lines with the cursor appearing at the beginning of the second line.  Hit \fBBackspace\fR at the beginning of a line to eliminate a line-break.Use the arrow keys to move around the file.  If your keyboard doesn't have

⌨️ 快捷键说明

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