This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorials:edit [2016/08/17 07:48] papa |
tutorials:edit [2016/10/20 03:32] papa |
||
---|---|---|---|
Line 8: | Line 8: | ||
As a line-oriented editor, all editing tasks are accomplished in EDIT by entering commands at the EDIT command prompt ('' | As a line-oriented editor, all editing tasks are accomplished in EDIT by entering commands at the EDIT command prompt ('' | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
- | ===== Commands ===== | + | ===== Basic Commands ===== |
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ===== More Commands ===== | ||
+ | |||
+ | TWENEX' | ||
+ | Trying 192.94.73.36... | ||
+ | Connected to twenex.org. | ||
+ | Escape character is ' | ||
+ | |||
+ | | ||
+ | |||
+ | If new, type 'new new' .. | ||
+ | |||
+ | @papa | ||
+ | Job 17 on TTY64 19-Oct-2016 | ||
+ | | ||
+ | |||
+ | | ||
+ | FM+0d.17h.3m.49s. | ||
+ | |||
+ | The plural of spouse is spice. | ||
+ | |||
+ | TWENEX.ORG QUESTS | ||
+ | |||
+ | * MAGIC.TXT | ||
+ | * Clean-up MAIL.TXT | ||
+ | * Web site index | ||
+ | * Backup/ | ||
+ | * Fix VTTREK | ||
+ | * Install DECWAR | ||
+ | * DECWAR tournament | ||
+ | * Macro A-B-Cs | ||
+ | * Blink(? | ||
+ | * Quest manager | ||
+ | * Install BASIC collection | ||
+ | * BASIC programming tutorial | ||
+ | * Port web/gopher client | ||
+ | * Port gopher server | ||
+ | * Multi-column file lister | ||
+ | * Review NEW-USER.HLP | ||
+ | * Is MOON off? | ||
+ | Wed, 19 Oct 2016 16:34:51 -0800 (PDT) David Meyer < | ||
+ | TWENEX COMPRESS/ | ||
+ | (569 chars; more?) y | ||
+ | Fighting to get my TWENEX files under quota, I noticed two undocumented | ||
+ | executables, | ||
+ | |||
+ | COMPRESS < | ||
+ | < | ||
+ | say ' | ||
+ | new < | ||
+ | |||
+ | Anyone remember how to use these two programs, or another way to compress | ||
+ | TWENEX files and then uncompress them back into their original state? | ||
+ | ------- | ||
+ | |||
+ | @help edit | ||
+ | Summary of EDIT commands | ||
+ | |||
+ | I Insert | ||
+ | P Print | ||
+ | . Move pointer | ||
+ | D Delete | ||
+ | K Kill page mark [/<page number> | ||
+ | R Replace | ||
+ | E End (Exit to command level) | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | G Go (Exit and do last LOAD-class command) | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | B Backup - (same as E but leaves you at EDIT command level) | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | M Mark [< | ||
+ | N Number | ||
+ | | ||
+ | | ||
+ | L List (on LPT) | ||
+ | J Join [< | ||
+ | F Find [< | ||
+ | S Substitute | ||
+ | C Copy [< | ||
+ | or | ||
+ | or | ||
+ | T Transfer | ||
+ | X eXtend | ||
+ | H Help (types this text) | ||
+ | | ||
+ | cMore? n | ||
+ | @type login.cmd | ||
+ | TERMINAL VT100 | ||
+ | TERMINAL LENGTH 40 | ||
+ | TERMINAL WIDTH 80 | ||
+ | TERMINAL PAGE ; ^S output at each page | ||
+ | TERMINAL RECEIVE LINKS ; allow for phone/ | ||
+ | TERMINAL NO RAISE | ||
+ | ;DEFINE EDITOR: SYS: | ||
+ | ;DEFINE EDITOR: SYS: | ||
+ | DEFINE BAS: PS:< | ||
+ | DEFINE HTML: PS:< | ||
+ | DEFINE HOME: PS:< | ||
+ | DEFINE LISP [MACLISP] | ||
+ | DEFINE LPT: PS:< | ||
+ | DEFINE TWOG: PS:< | ||
+ | SET HISTORY 100 | ||
+ | SET COMMAND-EDITOR EDIT EMACS | ||
+ | SET COMMAND-EDITOR ENTER CONTROL " | ||
+ | SET PROMPTS " | ||
+ | echo | ||
+ | zotime | ||
+ | moon | ||
+ | today | ||
+ | echo | ||
+ | cookie | ||
+ | echo | ||
+ | type html: | ||
+ | bboard | ||
+ | echo | ||
+ | TAKE | ||
+ | @terminal length 21 | ||
+ | @help edit | ||
+ | Summary of EDIT commands | ||
+ | |||
+ | I Insert | ||
+ | P Print | ||
+ | . Move pointer | ||
+ | D Delete | ||
+ | K Kill page mark [/<page number> | ||
+ | R Replace | ||
+ | E End (Exit to command level) | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | G Go (Exit and do last LOAD-class command) | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | B Backup - (same as E but leaves you at EDIT command level) | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Trying 192.94.73.36... | ||
+ | Connected to twenex.org. | ||
+ | Escape character is ' | ||
+ | |||
+ | | ||
+ | |||
+ | If new, type 'new new' .. | ||
+ | |||
+ | @papa | ||
+ | Job 17 on TTY64 19-Oct-2016 | ||
+ | | ||
+ | |||
+ | | ||
+ | FM+0d.17h.3m.49s. | ||
+ | |||
+ | The plural of spouse is spice. | ||
+ | |||
+ | TWENEX.ORG QUESTS | ||
+ | |||
+ | * MAGIC.TXT | ||
+ | * Clean-up MAIL.TXT | ||
+ | * Web site index | ||
+ | * Backup/ | ||
+ | * Fix VTTREK | ||
+ | * Install DECWAR | ||
+ | * DECWAR tournament | ||
+ | * Macro A-B-Cs | ||
+ | * Blink(? | ||
+ | * Quest manager | ||
+ | * Install BASIC collection | ||
+ | * BASIC programming tutorial | ||
+ | * Port web/gopher client | ||
+ | * Port gopher server | ||
+ | * Multi-column file lister | ||
+ | * Review NEW-USER.HLP | ||
+ | * Is MOON off? | ||
+ | Wed, 19 Oct 2016 16:34:51 -0800 (PDT) David Meyer < | ||
+ | TWENEX COMPRESS/ | ||
+ | (569 chars; more?) y | ||
+ | Fighting to get my TWENEX files under quota, I noticed two undocumented | ||
+ | executables, | ||
+ | |||
+ | COMPRESS < | ||
+ | < | ||
+ | say ' | ||
+ | new < | ||
+ | |||
+ | Anyone remember how to use these two programs, or another way to compress | ||
+ | TWENEX files and then uncompress them back into their original state? | ||
+ | ------- | ||
+ | |||
+ | @help edit | ||
+ | Summary of EDIT commands | ||
+ | |||
+ | I Insert | ||
+ | P Print | ||
+ | . Move pointer | ||
+ | D Delete | ||
+ | K Kill page mark [/<page number> | ||
+ | R Replace | ||
+ | E End (Exit to command level) | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | G Go (Exit and do last LOAD-class command) | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | B Backup - (same as E but leaves you at EDIT command level) | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | M Mark [< | ||
+ | N Number | ||
+ | | ||
+ | | ||
+ | L List (on LPT) | ||
+ | J Join [< | ||
+ | F Find [< | ||
+ | S Substitute | ||
+ | C Copy [< | ||
+ | or | ||
+ | or | ||
+ | T Transfer | ||
+ | X eXtend | ||
+ | H Help (types this text) | ||
+ | | ||
+ | cMore? n | ||
+ | @type login.cmd | ||
+ | TERMINAL VT100 | ||
+ | TERMINAL LENGTH 40 | ||
+ | TERMINAL WIDTH 80 | ||
+ | TERMINAL PAGE ; ^S output at each page | ||
+ | TERMINAL RECEIVE LINKS ; allow for phone/ | ||
+ | TERMINAL NO RAISE | ||
+ | ;DEFINE EDITOR: SYS: | ||
+ | ;DEFINE EDITOR: SYS: | ||
+ | DEFINE BAS: PS:< | ||
+ | DEFINE HTML: PS:< | ||
+ | DEFINE HOME: PS:< | ||
+ | DEFINE LISP [MACLISP] | ||
+ | DEFINE LPT: PS:< | ||
+ | DEFINE TWOG: PS:< | ||
+ | SET HISTORY 100 | ||
+ | SET COMMAND-EDITOR EDIT EMACS | ||
+ | SET COMMAND-EDITOR ENTER CONTROL " | ||
+ | SET PROMPTS " | ||
+ | echo | ||
+ | zotime | ||
+ | moon | ||
+ | today | ||
+ | echo | ||
+ | cookie | ||
+ | echo | ||
+ | type html: | ||
+ | bboard | ||
+ | echo | ||
+ | TAKE | ||
+ | @terminal length 21 | ||
+ | @help edit | ||
+ | Summary of EDIT commands | ||
+ | |||
+ | I Insert | ||
+ | P Print | ||
+ | . Move pointer | ||
+ | D Delete | ||
+ | K Kill page mark [/<page number> | ||
+ | R Replace | ||
+ | E End (Exit to command level) | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | G Go (Exit and do last LOAD-class command) | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | B Backup - (same as E but leaves you at EDIT command level) | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | M Mark [< | ||
+ | N Number | ||
+ | | ||
+ | | ||
+ | L List (on LPT) | ||
+ | J Join [< | ||
+ | F Find [< | ||
+ | S Substitute | ||
+ | C Copy [< | ||
+ | or | ||
+ | or | ||
+ | T Transfer | ||
+ | X eXtend | ||
+ | H Help (types this text) | ||
+ | ? Types list of available commands | ||
+ | <LF> Same as P.+1 | ||
+ | $ Same as P.-1 | ||
+ | @< | ||
+ | |||
+ | A Alter | ||
+ | |||
+ | ? Print list of alter commands | ||
+ | | ||
+ | -nD Delete next/last characters | ||
+ | E Finish with no printing | ||
+ | -nF< | ||
+ | | ||
+ | J Break line and stick rest at front of next | ||
+ | -nK< | ||
+ | L Print line and recycle | ||
+ | P Print line and recycle to current position | ||
+ | Q Quit ALTER (restore original line) | ||
+ | -nR< | ||
+ | | ||
+ | X< | ||
+ | -n< | ||
+ | < | ||
+ | | ||
+ | | ||
+ | | ||
+ | ^U Quit and restart ALTER | ||
+ | More? y | ||
+ | EDIT parameters: | ||
+ | |||
+ | name | ||
+ | |||
+ | . | ||
+ | ? | ||
+ | =? list printable switches | ||
+ | BAK | ||
+ | BIG | ||
+ | C64 | ||
+ | C128 y | ||
+ | CASE n | ||
+ | DECIDE | ||
+ | DPY | ||
+ | ERROR | ||
+ | EXPERT | ||
+ | INCREMENT | ||
+ | INSERT | ||
+ | ISAVE | ||
+ | LOCATION | ||
+ | LOWER | ||
+ | M33 | ||
+ | M37 | ||
+ | NAME y | ||
+ | NOBAK | ||
+ | NODECIDE | ||
+ | NONSEPARATORS y | ||
+ | NONUMBER | ||
+ | NOVICE | ||
+ | NUMBER | ||
+ | | ||
+ | OLD | ||
+ | OPTION | ||
+ | PLINES | ||
+ | R Same as RONLY | ||
+ | RONLY | ||
+ | READONLY | ||
+ | RUN | ||
+ | SAVE y | ||
+ | SEPARATORS | ||
+ | START | ||
+ | STEP y | ||
+ | STRING | ||
+ | UNSEQUENCE | ||
+ | UPPER | ||
+ | WINDOW | ||
+ | |||
+ | * All settable parameters may be specified as switches in the | ||
+ | initial command string. | ||
+ | More? y | ||
+ | EDIT special characters: | ||
+ | |||
+ | Replacement: | ||
+ | | ||
+ | | ||
+ | |||
+ | Match: | ||
+ | | ||
+ | | ||
+ | | ||
+ | ^ ': | ||
+ | |||
+ | Positions: | ||
+ | | ||
+ | | ||
+ | |||
+ | EDIT definitions and meanings: | ||
+ | |||
+ | < | ||
+ | :< | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | < | ||
+ | . or * or ^][(+-)< | ||
+ | |||
+ | < | ||
+ | . or * or ^][(+-)< | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
+ | |||
+ | Options: | ||
+ | |||
+ | , | ||
+ | , | ||
+ | , | ||
+ | , | ||
+ | , | ||
+ | |||
+ | Special functions of the " | ||
+ | |||
+ | I< | ||
+ | | ||
+ | | ||
+ | |||
+ | I/< | ||
+ | where start is the value of the START switch (Originally, | ||
+ | the START switch is set at 100). | ||
+ | |||
+ | I< | ||
+ | table of aesthetic values. | ||
+ | |||
+ | I^ inserts a line at the top of the page, halfway between line | ||
+ | 0 and the first line. | ||
+ | More? y | ||
+ | EDIT Command Format: | ||
+ | |||
+ | @CREATE (FILE) /switches input.typ.gen | ||
+ | or, | ||
+ | @EDIT (FILE) /switches input.typ.gen (OUTPUT AS) output.typ.gen | ||
+ | |||
+ | CREATE requires that input.typ.gen is a new file; EDIT | ||
+ | works regardless of whether the file exists or not. | ||
+ | |||
+ | / | ||
+ | be recognized. | ||
+ | the entire command is ignored. | ||
+ | |||
+ | input.typ.gen, | ||
+ | specifications; | ||
+ | defaults to input.typ.-1 if it is not explicitly typed. | ||
+ | |||
+ | [End of EDIT.HLP] | ||
+ | @ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | * [[http:// | ||
+ | * //(__EDIT User's Guide__ and __EDIT Reference Manual__ were published by DEC as part of the TOPS-20 Software Notebook series, but the author has been unable to locate any printed or electronic copies of either manual.)// | ||