SDF Public Access TWENEX
[welcome][help][finger][connect][history][sc40][toad][mailing list][song][stats][tops-10][bootcamp][mkacct]

The following were collected from Locke (UW2020) at the University of Washington in 1995

Help is available for the following topics:

1022    4UP     ADUMP   AJ      APLBAS  ARP     ASSIGN  ATTACH  BACKUP  BRACK
CALCOM  CALEND  CANCEL  CDCEOF  CHANGE  COBOL   COMMAN  COMPIL  CONTRO  COSTS
COUNT   CPUNCH  CREATE  DATESW  DDT     DEBUG   DECLAR  DELETE  DEMOS   DETACH
DIRECT  DISK    EBCDIC  ECHO    EMPIRE  FAILSA  FAL     FILES   FORDDT  FORFLO
FORTH   FORTRA  FROM10  GCS     GENCOM  GLIM    GRIPE   GT40    HELP    HLPALL
HLPSQZ  HOLIDA  HPPLOT  IMSL    INDEX   JOB     KDPLDR  KERMIT  KILL    KJOB
LABDMC  LASER   LIBRAR  LINED   LINK    LOGIN   LSTMAI  MAKVIR  MASTER  MCROSS
MONITO  MOUNT   MS      MTA     MTTOPT  MUPPET  NAME    NCP     NETWOR  NFT
NOTICE  NYPLAN  OLDNOT  OMNIGR  OPR     PACMAN  PAL10   PASSWO  PASWRD  PHONES
PLOT    POUT    PUB     QUEUE   REATTA  REDUCE  RENAME  RENBR   RERUN   RSXFMT
RSXRED  SAAM    SAVE    SDPL    SED     SEDONL  SEDOTH  SEE     SEND    SEWER
SIXPRT  SMALL   SORT    SPACIN  SPIKE   STAFF   STATIS  STREK   SUPCAL  SUPSUB
SYSDPY  SYSTEM  TAPCOP  TECMAC  TEK     TEKVEW  TERMIN  TIME    TIP     TO10
TOPS    TREK    TREND   TYPFIL  USERS   USNMRG  VAXTAP  VERIFY  WHO     XVFU

.KJOB
enter [1st col STD] | $$ | ent | pick text | ^v | white | reset [2nd col Z19] |$SPACE| k-. | put text | ^g | red | | | | search forward/back |^r/^e | ^f/^d | up/down |^k/^j | */* | substitute | $s | ^e | right/left |^l/^h | */* | | | | home | $h | home | rewrite screen | $# | s-1 | carriage-return | ret | ret | tab set | $tab | ^t | tab/backtab |tab/^u| tab/^u | save file | $b | s-9 | up/down tab |^^/^_ | s-8/s-2 | set file | ^b | ^b | move to begin/end line |$,/$. | s-4/s-6 | window | $w | s-7 | | | | real tab | $t | k-0 | roll forward/back lines|^t/^w | f3/f2 | enter ctrl-char | ^o | ^o | roll forward/back pages|^y/^q | f4/f1 | case | $c | s-3 | jump start-end line | $j | n/a | | | | percent goto | ^p | ^p | help | $? | f5 | slide right/left |$r/$l | ^r/^l | mark | $m | s-5 | | | | justify | $f | ^j | insert/delete char. |^a/^s |k-7/k-9 | recall | $e | s-ERASE | insert/delete lines |^d/^f |k-1/k-3 | marker | $k | ^k | toggle insert mode | $i | blue | switch | ^n | ^n | delete prev. char. |DEL,$d| DEL,BKSP| execute | ^x | ^x | delete previous word | $- | ^w | | | | delete to end of line | $/ | erase | exit/abort |^z/^c | ^z/^c | The command (^RS) Cancels an entered parameter, resets the cursor position, rewrites a single line, or re-does the entire screen. is useful if you don't trust what you see. Also, it's useful to be able to cancel a parameter you really don't want. Type: to cancel a parameter to re-position the cursor to re-write the line the cursor is on ^ to re-do the entire screen The command (^IS) Inserts spaces (to add a string, see ) starting at the cursor position. Type: n to insert n spaces to insert the same number of spaces as last time Special feature: RECTANGULAR . Type , then move the cursor so the starting and ending cursor positions form the opposite corners of a rectangle. Then type . The area inside the rectangle will be filled up with spaces. Related command: The command (^FL) Saves the current file and gets another one. Type: filespecs to start editing the given file filespecs= to create and start editing the given file to get back to the last file you edited All switches can be included with the filespecs. See the command. -specific switches: /AGAIN /CREATE /EXT: /GOTO: /GREAD /ID /OUT: /QUICK /RCUR /READ /STRIP /WRITE. Related command: The command (^AB) Exits SED and forgets all changes you have made to the current file. Related command: The command (^IL) Inserts blank lines at the cursor position. Type: n to insert n blank lines to insert the same number as last time Note: typing in the middle of a line will break the line in two. Related command: The command (^SB) Searches the file for the given key, from the cursor position back to the beginning of the file. Type: key to search for "key" to search for the same key as last time Switch: /CASE (/NOCSE makes searches case-dependent (-independent) Related commands: , The command (^DL) Deletes lines at the cursor position. Type: n to delete n lines to delete the same number as last time Note: typing in the middle of a line will join part of that line with a line beneath and delete the stuff in between (try it). Deleted stuff is recoverable by typing . The stuff can be put anywhere, as many times as desired. Related commands: , , The command (^PT) Inserts the contents of the pick or close buffer into the file. is also used to insert a short string of text. The pick buffer is loaded using the command; the close buffer is loaded by the command. The buffers can be as often as desired. Type: to PUT the pick buffer to PUT the close buffer string to PUT the given string Related commands: , , , The command (^CL) Moves the cursor to the left. In a parameter, erases the latest character typed. Related commands: , , , , , , The command (^TB) Moves the cursor to the next tab stop. Has no effect on the file. Tabs are normally set every 8 positions, but they can be made every n spaces apart by typing T:n Also, tabs can be set to be the start of each word by typing NOT Related commands: , , The command (^LF) Blanks out the line which the cursor moves to. The command (^SL) Moves the viewing window left. Type n to move the window left n columns to move the same number of columns as last time Related command: The command (^SR) Moves the viewing window right. Type n to move the window right n columns to move the same number of columns as last time Related command: The command (^RT) Moves the cursor to the start of the next line. If the cursor starts on the bottom line, the screen is rolled up a line. The switch /NOROLL will cause a on the bottom line to move the cursor to the top line, without rolling. In insert mode will insert a blank line at the cursor position if /ICR is set (which is the default). /NOICR causes the cursor just to move to the start of the next line. Related command: The command (^SW) To: Type: get file status get parm settings set a switch switch un-set a switch NOswitch Switches: AGAIN ALT APPND BACKU BEEP CASE CREATE DTABS DELIM EXT:e FENCE FILL GOTO:n GREAD HELP ICR ID:s,s IMODE INVRT ISAVE:n ITABS JOURN JPRE:s LENG:n LMAR:n MESSA OUT:f PAGE PIND:n PROG:a QUICK RAISE RCUR READ RECOV RESET RMAR:n ROLL SAVE:n SCROLL:n SHOW SLIDE:n STRIP TABS:n TRAIL TSET:n UPPER WIDTH:n WRITE X Z:tty Switches can be abbreviated. The command (^EC) Makes the next character typed be a control character. Can be used in parameters or in normal typing. If a command follows the , the is ignored. The command (^GO) Moves the viewing window to be the given percent through the file. This command is very fast, so it is useful if you have some idea of where you want to be. Type: n to go n% through the file to go to the end of the file (100%) to go to the same percent as last time Also, percent can be set up when running SED or doing a by using the /GOTO:nn switch. Related commands: , , , The command (^RBP) Backs up the viewing window by the given number of pages. A page is however many lines there are on the screen. Type: n to roll back n pages to roll the same number of pages as last time Related commands: , , , The command (^SF) Searches the file for the given key, from the cursor position forward to the end of the file. Type: key to search for "key" to search for the same key as last time Switch: /CASE (/NOCASE) makes searches case-dependent (-independent) Related commands: , The command (^DS) Deletes characters or spaces starting at thecuror position. Type: n to delete n spaces to delete the same number of spaces as last time Special feature: RECTANGULAR . Type , then move the cursor so the starting and ending cursor positions form the opposite corners of a rectangle. Then type . The area inside the rectangle will be deleted from the file. Related command: The command (^RFL) Advances the viewing window by the given number of lines. n to roll forward n lines to roll the same number of lines as last time Related commands: , , , The command (^BT) Moves the cursor to the previous tab stop. In a parameter deletes the latest word typed. Tabs are normally set every 8 positions, but they can be made every n spaces apart by typing T:n Also, tabs can be set to be the start of each word by typing NOT Related commands: , The command (^PK) Loads the pick buffer with stuff from the file so that stuff can be inserted somewhere else. Does not delete from the file. The pick buffer is dumped using the PUT command. Just move where you want it and type . The buffer can be put as often as desired. The /APPND switch causes successive s to append to the buffer rather than overwrite it. Related commands: , , The command (^RBL) Backs up the viewing window by the given number of lines. n to roll back n pages to roll the same number of pages as last time Related commands: , , , The command (^EX) Allows you to store a sequence of commands and iterate it any number of times. You can also use execute buffers to write your own metacommands, which can be called in the same way as normal editor commands. S set W write B connect to button R read (switch format) L list (W format) N display names K kill Xn: write ; execute it n times @ read from disk open active buffer execute n times /SHOW causes executes to display as they happen. /NOSHOW updates the screen only at the end. The command (^RFP) Advances the viewing window by the given number of pages. A page is however many lines there are on the screen. Type: n to roll forward n pages to roll the same number of pages as last time Related commands: , , , The command (^XT) Saves the file being edited and exits to the monitor. Type: to save and exit to save, exit, and run COMPIL The switch /BACK will cause the pre-edited file to be given the extension .BAK. /NOBAK will cause no backup file to be made. Related command: ($) This command tells SED that what you are about to type is a parameter to be used by the coming command, and not text to go in the file. The general format for all commands is: parameter or to use the same parameter as last time. The command (^CD) Moves the cursor down. Related commands: , , , , , , The command (^CR) Moves the cursor to the right. Related commands: , , , , , , The command (^CU) Moves the cursor up. Related commands: , , , , , , The command (^CH) Moves the cursor home, that is, to the upper left corner of the screen. Related commands: , , , , , , The command (^RC) Makes SED think you typed the latest parameter again. The parameter can be changed, if you want, and used as the parameter to any command as if you typed it from scratch. You can also recall certain things using one-letter parameters: F Filespecs A Alternate Filespecs S Search Key O Previous (Old) Search Key R Substitute String For example, type S to recall the search key. The command (^IN) Toggles between replace and insert mode. In replace mode characters typed go over the ones in the file; in insert mode the new characters are put in the file and the rest of the line is moved to the right. Mistakes can be erased using . The switch /ICR (/NOICR) will cause (not cause) a new line to be inserted in the file when you type a carriage return. The switch /BEEP will make the terminal beep once when entering insert mode, twice when exiting, and not put the message on the bottom line. Related commands: , , The command (^DC) Deletes the character to the left of the cursor. The remainder of the line is moved to the left. can be used along with to correct typos. Related commands: , The command (^TA) Puts a real tab in the file. Can be used in insert or replace mode, or as part of a parameter. Note that the command alters the file, whereas the command merely positions the cursor. The command (^MK) Marks the current cursor position. You can then move the cursor to any other position, using any command which does not alter the file, and then type (or ) to load the pick (delete) buffer. The command thus allows arbitrarily large cursor-movement picks and closes. The mark can be canceled by typing . This will re-display the screen the way it was when you ed it. Related commands: , , , The command (^LN) moves to the beginning of the line if the cursor is not already at the beginning. If the cursor is at the beginning of the line, moves it to the end of the line. Related commands: , , , The command (^CS) changes the case of the character(s) at the cursor. If the /INVRT switch is set then the case is inverted. If /NOINVRT is set then: If the /RAISE switch is set and the character is lower case, it will be made upper case. If the /NORAISE switch is set and the character is upper case, it will be made lower as. Characters which are not letters are not affected by . Related commands: The command (^WI) allows two files to be displayed on the screen at the same time. One file appears on the top half of the screen, the other on the bottom. Type to divide the screen into two windows. Use to toggle between windows and files. Type to go back to normal. Related commands: The command (^EL) erases all characters from the cursor position to the end of the line. If you are entering a parameter, will clear whatever you've typed and let you start again. Related commands: , The command (^TS) Type: to set a tab stop at the column where the cursor is. to clear the tab at the cursor. C to clear all tabs. D to display a ruler and the tab settings on the bottom line To enable user-settable tabs, type T:S. You can also set up tabs to be every columns or at the start of each word. See the command. Related commands: , , The command (^UT) Moves the cursor up 6 lines, the same as if you typed 6 s. Related commands: , , The command (^DT) Moves the cursor down 6 lines, the same as if you typed 6 s. Related commands: , , The command (^RW) Rewrites the screen. Related commands: The command (^SV) Saves the current file. Related commands: , , The command (^HL) Gives help. You're getting it now. Typing the key (or sequence) for any command will give a screenful of information about that command. For a list of which keys invoke which commands see the tutorial guide DOC:SED.MAN or the reference manual DOC:SED.DOC. will recover the stuff deleted by the latest , , , or command. The command (^LB) Moves the cursor to the beginning of the line it is on. Related commands: , The command (^LE) Moves the cursor to the end of the line it is on. Related commands: , The command (^EW) Erases the word directly before the cursor. If the cursor is at the start of the line will erase the last word of the previous line. Related commands: , , The command (^PU) On TOPS-20 systems, forks a process and runs the exec. Popping the exec returns to the editing session. Related commands: , The command (^SU) Searches forward for the search key and substitutes the substitute string. Loops a given number of times. Parameters are Sstring1 Set search key Rstring2 Set substitute string number Set number of iterations Some or all of these parameters can appear in a single command, for example: SfooRbar15 substitutes "bar" for "foo" 15 times. Related commands: , , (^IC) This sequence of keys is not an implemented SED command. The command (^JU) Justifies the given number of lines of text or form the cursor to the end of the paragraph. C centers the line the cursor is on between the left and right margins. The switches which control are: /JPRE:s set prefix string to delete from each starting line and add to each ending line. /FILL align the right margin (/NOFILL - leave it ragged). /LMAR:n set left margin to n. /PIND:n set paragraph indent to n. /RMAR:n set right margin to n. Related commands: The command (^MR) Manipulates markers (position holders) in the file. There is one default (unnamed) marker plus 11 named markers. Marker Stack: table of the "interesting" screens most recently visited. Type: Set default marker at current position Go to default marker Parameters: Sname Set marker named "name" at current position Gname Go to marker "name" G Go to latest-set marker Kname Kill marker "name" K* Kill all markers N List current marker names P Pop Marker Stack F Pop forward Related commands: .KJOB .