V7.14 81/09/10 21:50 XED After most commands, the following letters may be entered: p print line l list line showing control characters as ^X b list line indicating bracket and parenthesis nesting q list line showing quoted string lengths !cmd execute "cmd" as a UNIX command @[p] indirect -- read commands from last "indirected" file until end, then return to reading from keyboard. "p" echoes characters as they are read @[p] FILE set default "indirect" file to "FILE", then same as above [.,.]|cmd pipe addressed lines to UNIX command [.,.]||cmd replace addressed lines with command output [.,.]||NNcmd pipe lines to command, delete, insert output after NN [.,.]|>[NN]cmd pipe lines to command, output after NN (last line sent) [ . ]|<cmd insert command output after addressed line |- ignore non-zero exit status in || command |+ turn on strict exit status checking [.+1]: print out one "page" from addressed line [ . ]* print out one "page" with addressed line at center [ . ]:- print out one "page" with addressed line at bottom [ . ]a insert text after addressed line [ . ]a TEXT insert one line of "TEXT" after addressed line [.,.]a/TEXT/ tack "TEXT" at end of each addressed line bNN set browse count to "NN" (default 1) [.,.]c delete addressed lines, enter insert mode [.,.]c/OLD/NEW/ change "OLD" text to "NEW" in addressed lines optional "g" after: change all occurrences of "OLD" to "NEW" in each line "p" after: print line after changing digit(s) after: change only the "nn"th occurrence in each line [.,.]coDD copy addressed lines to after destination line "DD" [.,.]d delete addressed lines d PATH do a "chdir" to "PATH" d=NN set depth of screen to NN (default 23) e re-edit current file (scratch and read in again) ei edit immediate (no confirm message) e FILE edit specified file ei FILE edit immediate the file [.,.]exp expand tab characters in addressed lines to tab stops specified by "t," command e=C set eol character to "C" e- turn off long error messages e+ turn on long error messages (default) eNN list error message NN f print out current filename f FILE change current filename to "FILE" f=C set tab fill character to "C" (default is \t [Ctrl-I]) [1,$]g/STR/XXX search edit file for all lines that contain "STR" then perform edit command "XXX" upon them [1,$]g/STR/vXXX same as above, but print each line that matches "STR" and ask if user wishes to process it "n" skips that line, otherwise process it. hNN print column headings to column "NN" (default 71) he[lp] display command syntax [ . ]i insert lines before addressed line [ . ]i TEXT insert one line of "TEXT" before addressed line [ . ]i/TEXT/ tack "TEXT" at beginning of each addressed line [-,.]j join addressed lines to form one line [-,.]j/TEXT/ join addressed with TEXT between them k list all "marked" lines [.,.]kX mark addressed line(s) with name character "X" [.,.]l list addressed lines showing all control characters as ^X [.+1]la list one "page" from addressed line showing all control characters as in "l" command above as "^X", except tab is "->" and backspace is "-<". m toggle special-chars on/off [.,.]mDD move addressed lines to after destination line "DD" [.,.]moDD (same) n toggle line numbering on/off n- turn off | line numbering n+ turn on | line numbering [.,.]o repeat old (previous) command possibly with new line bounds [.,.]p print addressed lines [ . ]pa print out one "page" from addressed line pp print entire file q exit editor -- if file has been changed but not written, prompt will be issued for confirmation qi exit editor immediately without writing file, and without confirming q=C[C] set string quote character(s) [ $ ]r read current file after addressed line [ $ ]r FILE read "FILE" after addressed line s stop -- if file has been changed since last write command (if any), write onto current file, and exit editor saNN set the "auto-save" count to NN (decimal) "sa0" will disable auto-save (default 35) [.,.]s/OLD/NEW/ change "OLD" text to "NEW" in addressed lines t list all tab stops [.,.]tDD copy (transfer) addressed lines to after destination line "DD" t,NN, ... set tab stops in columns NN, NN, ... if NN is zero or null, all tab stops cleared t=C set tab character to "C" u undo -- recover last changed line [1,$]v/STR/XXX search edit file for all lines that contain "STR" then perform edit command "XXX" upon all other lines [1,$]v/STR/vXXX same as above, but print each line that matches "STR" and ask if user wishes to process it. "n" skips that line, otherwise process it. [1,$]w write on current edit file [1,$]w> append onto end of current edit file [1,$]w FILE write on "FILE" [1,$]w>FILE append onto end of "FILE" [1,$]wi FILE write (immediate); overrides write-lock if possible w=NN set screen width to NN (default 80) [ . ]x undelete -- most recently deleted (via "d" or "c") block of lines may be recovered via "x" command they are placed after the addressed line y print out one "page" upon receipt of an interrupt y- return to default interrupt processing ("INTERRUPT!") [ . ]y+ print out one "page" starting at addressed line upon receipt of interrupt Editor flags: -! disallow use of the ! command -@FNM preset "indirect" file to FNM -a APL mode (also sets -r) -A APL mode for apl-equipped terminals (also sets -a) -b create "file.bak" on entry -cNN crt depth in lines -d don't delete .tmp file -e echo input commands -f create mode -h edit "huge" file -i file.int on interrupt -k "kill" long error messages -lC set eol char to "C" -mNN mod cnt for autosave -n no line numbers -o no seek to EOF on error -O over-ride write-locked file if possible -p force prompts for pipe -q don't inhibit quits -r remove special character meaning -s silent mode -tC set tab char to "C" -vC set tab fill char to "C" -wNN crt width in columns -y page on interrupt