[SED  help;  5 pages]

SED is a screen editor; as such it is easy to use because its commands
(which are control characters) take immediate effect--what you see is
what you get.

To print this HELP file         HELP/PRINT SED
For a tutorial                  PRINT DOC:SEDZ19.MAN/FORMS:NARROW
  or                            PRINT DOC:SEDSTD.MAN/FORMS:NARROW

For the full manual             PRINT DOC:SEDZ19.DOC/FORMS:NARROW
  or                            PRINT DOC:SEDSTD.DOC/FORMS:NARROW

Of course any of these documents could be printed on the QMS LASER printer --
You might want /FORMS:QSH324  for 3-hole paper.  See HELP QMS for more options

To run SED, enter

    SED file.ext     (where "file.ext" is your file name)


***************************************************************************

COMMAND SUMMARY:
                         STD    Z19                             STD     Z19
                        ------ ---------                       ------ ---------
enter                  |  $$  |  ent    | pick text           |  ^v  |  white  |
reset                  | DEL  | DELETE  | 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  | k-.,^@  |
insert/delete lines    |^d/^f |k-1/k-3  | marker              |  $k  |   ^k    |
toggle insert mode     |  $i  |  blue   | switch              |  ^n  |   ^n    |
delete prev. char.     |  $d  | <BS>,^h | execute             |  ^x  |   ^x    |
delete previous word   |  $-  |   ^w    |                     |      |         |
delete to end of line  |  $/  |  erase  | exit/abort          |^z/^c | ^z/^c   |
                        ------ ---------                       ------ ---------
***************************************************************************

Switches may be placed after the file name.

SED needs to know what type of terminal you are using; it will look for a
terminal type in the following order:  1. command line, 2. .INI file,
3. Monitor type.  In more detail: (Z19 is used as an example terminal type)
        1. command line -- follow your file name with "/Z:----" for example,
           SED PICKLE.ABC/Z:Z19
           SED will forget the terminal type when you exit SED.
        2. In your SWITCH.INI file include the /Z switch to SED.
           For example, there would be a line like "SED/Z:Z19" in SWITCH.INI.
           This method tells SED the terminal type everytime it wants to know.
           (You can also use SED.INI.  Here is the order the .INI files
           are looked for: SED.INI [pathed], SED.INI [logged in],
           SWITCH.INI [logged in].)
        3. You can use the TERMINAL TYPE as defined in the Monitor.  This can
           be set by you with a TERM <name> monitor command (eg. TERM Z19)
           or put in SWITCH.INI in a LOGIN and/or INITIA line.  It can also be
           set up on the system in TTY.INI, talk to a consultant.  (Terminal
           types that end in "S" are meaningful only to SED, not to the
           monitor -- this method will not work for them.)

Currently supported terminal types are:

ADDR2   Adds Regent model 20            ADM31
ADM3A                                   ADM5
BANT    Bantam (Perkin Elmer)           D1520   Data Media 1520
FOX     Perkin Elmer 1100               H2621   Hewlett Packard 2621
H2626   Hewlett Packard 2626            HAZ15   Hazeltine 1500 family
HAZ80   Hazeltine Exec 80               HD100   Human Design 100 family
HD100S  standard keys for HD100         SOROC
TABP    Tab 132/15                      TABS    standard keys for TABP
TV912   Televideo 912                   TV925   Televideo 925
TV950   Televideo 950                   TERAK
VT52                                    VT52S   standard keys for VT52
VT100                                   VT102   (includes Rainbow)
Z19     Zenith 19                       Z19S    standard keys for Z19
Z29     Zenith 29                       Z29S    standard keys for Z29

SED is fairly easy to adapt to new terminals, ask a consultant if you
want to see if SED can be adapted to your terminal.

For on-line help type the {HELP} command followed by any command.

Note: SED works by putting your whole file in core while editting, then
writing it out when you exit.  This has 2 important consequences:
1) The bigger your file is, the more expensive it will be, especially in
   the daytime (night rates mostly ignore size).
2) Only one person should edit a file at once, otherwise the last person
   to exit will "win" -- his version will be written out to disk last,
   destroying any others.

Here is the list of editor commands, by command:

         COMMAND:         |        NAME -- EXPLANATION:

LOCKE STD.  |     Z19     |
--------------------------------------------------------------------------------

* ^ $ <> {} etc. -- see footnotes for meanings.

PASSING PARAMETERS:
----------- --------
<ESC><ESC>  |   <ENTER>   |enter -- pass argument to a command,
            |             | e.g. {ENTER}4{DEL-LINES} will delete 4 lines
<DEL>or<RUB>|   <DELETE>  |reset -- abort from {ENTER}
            |             |         abort a search

CURSOR MOVEMENT:
----------------
 * or ^k    |     *       |cursor-up -- move the cursor up
 * or ^j    |     *       |cursor-down -- move the cursor down
 * or ^l    |     *       |cursor-right -- move the cursor right
*,^h,or <BS>|     *       |cursor-left -- move the cursor left
* or <ESC>h |     *       |cursor-home -- move the cursor to the upper-left

<TAB> or ^i |   <TAB>     |tab -- move to next tab stop
    ^u      |     ^u      |backtab -- move to previous tab stop
    ^^      |   skpd-8    |up-tab -- moves up 6 lines
    ^_      |   skpd-2    |down-tab -- moves down 6 lines
 <ESC><     |   skpd-4    |begin-line -- moves to beginning of line
 <ESC>>     |   skpd-6    |end-line -- move to end of line
  <RET>     |    <RET>    |carriage-return --  move to beginning of next line
  <ESC>j    | not avail.  |line -- jump to start or end of line (toggle)

MOVING THROUGH FILE:
--------------------
    ^t      |    <f3>     |roll-forward-lines -- move window forward lines
    ^w      |    <f2>     |roll-back-lines -- move window back lines
    ^y      |    <f4>     |roll-forward-pages -- move window forward pages
    ^q      |    <f1>     |roll-back-pages -- move window back pages

    ^p      |     ^p      |percent-goto -- goto some percent through the file
            |             |e.g. {ENTER}75^p  will position to 75% into file
   <ESC>l   |     ^l      |slide-left -- slide viewing window left
   <ESC>r   |     ^r      |slide-right -- slide window right

INSERTING:
----------
    ^a      |   kpd-7     |insert-spaces -- insert spaces at cursor
    ^d      |   kpd-1     |insert-lines -- insert blank lines at cursor
  <ESC>i    |   <BLUE>    |insert-mode -- insert/replace character (toggle)

DELETING:
---------
    ^s      |    kpd-9    |delete-character -- delete character at cursor
  <ESC>d    |<BACK SP.>,^h|delete-previous character -- delete character
            |             |  to left of cursor
    ^f      |    kpd-3    |delete-lines -- delete lines from file
<ESC><ESC>^g|<ENTER><RED> |put deleted lines -- put lines last deleted into file
  <ESC>/    |   <ERASE>   |delete-eol -- delete from cursor to end of line
  <ESC>-    |     ^w      |delete-previous-word

COPYING:
--------
   ^v       |   <WHITE>   |pick -- pick text from file
   ^g       |    <RED>    |put -- put text into file
<ESC><ESC>^g|<ENTER><RED> |put deleted lines -- put lines last deleted into file

SEARCHING:
----------
   ^r       |    ^f       |search-forward -- search from cursor to end of file
            |             |e.g.{ENTER}is the{SEARCH-FORW} searches for "is the"
   ^e       |    ^d       |search-backward -- search from cursor backwards

SETTING UP A FILE:
-------------------
   ^b       |     ^b      |set-file -- set up another file for editing
            |             |e.g. {ENTER}nice.rno^b  will save current file and
            |             |begin editing NICE.RNO
 <ESC>w     |   skpd-7    |window -- set or clear window mode (toggle)

SPECIAL COMMANDS:
-----------------
 <ESC>?     |    <f5>     |help -- on line help for any command or switches
 <ESC>s     |     ^e      |substitute; e.g. to change "abc" to "1234" 100 times
                          |  {ENTER}sabc{ENTER}r1234{ENTER}100{SUBST}
 <ESC>#     |   skpd-1    |rewrite-screen
 <ESC>t     |    kpd-0    |real-tab -- put a real tab at cursor
 <ESC><TAB> |     ^t      |tab set
   ^o       |     ^o      |enter-ctrl-char -- make next character entered
            |             |a control char, e.g. ^oa  will put in a ^A
 <ESC>c     |   skpd-3    |case -- change case of character
 <ESC>e     | kpd-. or ^@ |recall -- recall previous argument
 <ESC>m     |   skpd-5    |mark -- mark position in file for pick or delete
 <ESC>b     |   skpd-9    |save-file -- perfor abackup cycle right now
 <ESC>k     |     ^k      |marker -- remember and go back to interesting places
            |             | e.g. {enter}sab{marker} to set mark on this screen,
            |             | call it "ab"; {enter}gab{marker} to go to "ab".

 <ESC>f     |     ^J      |justify -- re-write lines obeying margins
   ^n       |     ^n      |switch -- set switches or query status
   ^x       |     ^x      |execute -- perform sequence of editor commands

EXITING:
--------
   ^z       |     ^z      |exit -- exit and save changes
   ^c       |     ^c      |abort -- exit and forget changes
--------------------------------------------------------------------------------
* these are the keys with the arrow pointing in the appropriate direction
^ means that the character is a control character
<xxx> refers to key xxx
{xxx} refers to command xxx
$ or <ESC> refers to the <ESCAPE> key
kpd - refers to keys located in the numeric keypad (Z19)
skpd - refers to shifted keys located in the numeric keypad (Z19)

Commands may be entered in either upper or lower case
Special keys are indicated by angle-brackets (eg. <BLUE>, <f1>, <ESC>)

ACT-V -- The arrow keys do not perform properly, use ^h, ^j, ^k, and ^l.

The Lear Siegler ADM3A and ADM5 need to have the auto-new line switch off.

The Datamedia 1520 has arrow keys that can be used for cursor movement, but
the "home" key is disabled.

The Perkin Elmer "FOX" or PE1100 needs to have the "new line enable"
button in the up (off) position.  Also some units need to have their
Upper/Case button (U/C) in the up (off) position.

HAZ80 -- Hazeltine Exec 80 -- Use Standard keys except:
        Several of the functions are also available on the Function keys;
                they are labeled on the screen;
        Do not use ^S or ^Q, use only the Function keys for these functions.
        Do not use the the edit keys (I/C, D/C, etc.).
                Except you can use the Home and arrow keys.
        Do not use the TAB key, instead use the FIELD TAB key.
        Use SHIFT FIELD TAB key for the SET TAB function.
        Use ESC p  for the Percent Goto function (do not use ^P).
        Switch settings under the little lid:
           first group: 5 down (no auto new line); 6 down (no wrap around).
           second group: 1 and 2 down; 8 down (ESC lead-in).
           third group: 3 up, 4 up (zero parity); 5 down (full duplex).
        SED sets all the function keys and clears them upon exiting.

HD100 -- Human Design System 100 and 108 -- there is a different keyboard
        layout, see HELP SEDOTH (SED others).

TAB 132/15 -- there is a standard keyboard layout (TABS) and one using the
        programmable function keys (TABP), see HELP SEDOTH for the TABP
        keyboard layout.

TERAK -- (running "TERNIMAL.CODE from Terak)
         The arrows do not work, use standard commands for cursor motion.

TV912 -- The Televideo 912 has the following exceptions:
          ^^ becomes $^
          ^_ can also be $_
        It also needs a jumper (W33) put in to disable auto-carriage-return.

TV925 and TV950 -- The arrow keys work as do most of the edit keys (home,
        back-tab, ins. and del. char., ins. and del. line, and
        erase (erase to end of line).  The function keys will be enabled to
        do a bunch of things if you copy a file to your area; do it with:
        FCOPY SED.INI=PUB:SED925.INI    (950s substitute "950")
        The bottom line of your terminal tells what the function keys do.
        Otherwise the terminal is "standard" except {up-tab} is ^\.
        TV950 should be set to Auto New Line ON.

VT52 -- has a different input table; see help SEDOTH.

The VT100 is standard with the following exceptions -
       The following commands are replaced as indicated:
          ^q becomes <ESC>q           ^s becomes <ESC>s
          ^y becomes <ESC>y           <ESC>s becomes kpd-PF4
       In addition, the keypad can be used for easier use of several
                of the commands
       A full command summary for the VT100 is contained in HELP SEDOTH;
       You can do HELP/PRINT SEDOTH

VT102 -- use same input keys as VT100.

Z29 -- The Zenith 29 is used very much like a Z19.  Please note:
        1.  There are more function keys, the functions are labeled on the
            screen.
        2.  The HELP and HOME keys perform those functions.
            The ERASE key is {erase-to-end-of-line}.
        3.  The HOME and arrow keys are duplicated on the keypad (but not
            labeled); use either ones.
        4.  {BACKTAB} can be SHIFT TAB as well as ^U.
        5.  The keypad <ENTER>, "0", and "." keys must be shifted.
        6.  The terminal should be set to ANSI mode, SED will set WRAP off.
        7.  The keys "auto-repeat".  This is nice but sometimes SED will
            get confused if commands are thrown at it too fast.
        (The Z29 has a clock, if you want to set it with the system time,
         RUN PUB:Z29TIM.  This can also be run automatically when logging in.)

Z29S -- Z29 STANDARD, but the arrow and function keys work too.

[End of SED.HLP]


.KJOB
.
