home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / apps / text_ed / sedt303 / sedtman.edt < prev    next >
Text File  |  1989-05-03  |  184KB  |  6,367 lines

  1. Copyright (c) Anker Berg-Sonne, 1985,1986,1987,1988
  2.     Sedt Version 3.3 (233)
  3.  
  4.  
  5.                  Sedt Reference Manual
  6.  
  7.                      Index
  8.  
  9.     0        Introduction
  10.     0.0        Structure of This Manual
  11.     0.1        Terminology
  12.  
  13.     1        Primer
  14.     1.0        Getting Started
  15.     1.1        Display
  16.     1.2        Moving the cursor
  17.     1.3        Inserting Text
  18.     1.4        Deleting Text
  19.     1.5        Saving your changes
  20.     1.6        Summary
  21.     1.7        Limitations
  22.  
  23.     2        Advanced Guide
  24.     2.1        Introduction
  25.     2.2        Entering Sedt
  26.     2.2.1        -a
  27.     2.2.2        -p<PID>
  28.     2.2.3        -l<Size>
  29.     2.2.4        -j
  30.     2.2.5        -e
  31.     2.2.6        -f
  32.     2.2.7        -b
  33.     2.2.8        -r
  34.     2.2.9        -pc
  35.     2.2.10        -xt
  36.     2.2.11        -at
  37.     2.2.12        -rb
  38.     2.2.13        -mo
  39.     2.2.14        -co
  40.     2.2.15        -<Line Number>
  41.     2.2.16        -k
  42.     2.2.17        -s<Size>
  43.     2.2.18        -ega
  44.     2.2.19        -v
  45.     2.2.20        -edt
  46.     2.2.21        -wps
  47.     2.2.22        -scn
  48.     2.2.23        -i<File Name>
  49.     2.2.24        -wi
  50.     2.3        Sedt's Data Files
  51.     2.3.1        Configuration File
  52.     2.3.1.1     AUTOSAVE
  53.     2.3.1.2     BACKUPFILE
  54.     2.3.1.3     COLUMN
  55.     2.3.1.4     CONTEXT
  56.     2.3.1.5     CONTROLZ
  57.     2.3.1.6     CURSORLINE
  58.     2.3.1.7     EGA43
  59.     2.3.1.8     FIRMWARE
  60.     2.3.1.9     FONTSIZE
  61.     2.3.1.10    GOLD
  62.     2.3.1.11    JOURNALING
  63.     2.3.1.12    KEYBOARD
  64.     2.3.1.13    MAPPING
  65.     2.3.1.14    MAXSCROLL
  66.     2.3.1.15    MODE
  67.     2.3.1.16    MOUSE
  68.     2.3.1.17    NUMLOCK
  69.     2.3.1.18    PALETTE
  70.     2.3.2.17    REMEMBER
  71.     2.3.1.19    RETURN
  72.     2.3.1.20    RULER
  73.     2.3.1.21    SCREEN
  74.     2.3.1.22    SCREENSHIFT
  75.     2.3.1.23    SYSTEM
  76.     2.3.1.24    TAB
  77.     2.3.1.25    VIDEO
  78.     2.4        Initialization
  79.     2.5        Setting up the ruler
  80.     2.6        Options/Modes
  81.     2.7        Responding to Prompts
  82.     2.8        Repeating Commands
  83.     2.9        Cursor Movement
  84.     2.10        Text Insertion
  85.     2.11        Selecting Text Ranges
  86.     2.12        Deleting Text
  87.     2.13        Substitution
  88.     2.14        Windows and Buffers
  89.     2.15        Text Formatting
  90.     2.16        Programming Keys
  91.     2.17        Changing Options
  92.     2.18        Miscellaneous Commands
  93.  
  94.     3        Using the MS-DOS version of Sedt
  95.     3.1        Support of the Microsoft mouse driver
  96.  
  97.     4        Using the Microsoft Windows version of Sedt
  98.     4.1        Window Control
  99.     4.2        Mouse Control
  100.     4.3        Menu Control
  101.     4.3.1        File
  102.     4.3.1.1     New
  103.     4.3.1.2     Open..
  104.     4.3.1.2     Save
  105.     4.3.1.3     Save as..
  106.     4.3.1.4     Insert..
  107.     4.3.1.5     Quit
  108.     4.3.2        Window
  109.     4.3.2.1     Untitled
  110.             Unused
  111.             <File name>
  112.     4.3.2.2     Switch
  113.     4.3.3        Edit
  114.     4.3.3.1     Clear
  115.     4.3.3.2     Cut
  116.     4.3.3.3     Paste
  117.     4.3.4        Ruler
  118.     4.3.4.1     Load <X>
  119.     4.3.5        Help
  120.  
  121.     5        Using the ATARI GEM version of Sedt
  122.     5.1        Window Control
  123.     5.2        Mouse Control
  124.     5.3        Menu Control
  125.     5.3.1        Desk
  126.     5.3.1.1     About Sedt
  127.     5.3.2        File
  128.     5.3.2.1     Load..
  129.     5.3.2.2     Save
  130.     5.3.2.3     Save as..
  131.     5.3.2.4     Insert..
  132.     5.3.2.5     Quit
  133.     5.3.3        Window
  134.     5.3.3.1     Open 0
  135.     5.3.3.2     Switch
  136.     5.3.3.3     Clear
  137.     5.3.4        Select
  138.     5.3.4.1     Clear
  139.     5.3.4.2     Cut
  140.     5.3.4.3     Paste
  141.     5.3.5        Ruler
  142.     5.3.5.1     Load <X>
  143.     5.3.6        Help
  144.     5.3.6.1     Show
  145.  
  146.     6        Sedt hints and tricks
  147.     6.1        Using Sedt for programming
  148.     6.2        Using Sedt for text and documents
  149.     6.3        Repetitive tasks
  150.  
  151.     7        Reference
  152.     7.1        Interpreting Keyboard Input
  153.     7.2        Translating Keystrokes
  154.     7.3        Command Syntax
  155.     7.4        Commands
  156.     7.4.1        Movement Commands
  157.     7.4.1.1     @AC    Absolute Character
  158.     7.4.1.2     @AL    Absolute Line
  159.     7.4.1.3     @BB    Beginning of Buffer
  160.     7.4.1.4     @BM    Match bracketing character
  161.     7.4.1.5     @EB    End of Buffer
  162.     7.4.1.6     @EL    End of Line
  163.     7.4.1.7     @C    Character
  164.     7.4.1.8     @F    Find
  165.     7.4.1.9     @L    Line
  166.     7.4.1.10    @M    Mark
  167.     7.4.1.11    @N    Next
  168.     7.4.1.12    @PAG    Page
  169.     7.4.1.13    @PAR    Paragraph
  170.     7.4.1.14    @SCR    Screen
  171.     7.4.1.15    @SEN    Sentence
  172.     7.4.1.16    @SR    Select Range
  173.     7.4.1.17    @V    Vertical
  174.     7.4.1.18    @W    Word
  175.     7.4.1.19    @XNM    Next Mark
  176.     7.4.1.20    @XSR    Select Region with no clear
  177.     7.4.2        Action Commands
  178.     7.4.2.1     :A    Advance
  179.     7.4.2.2     :B    Backward
  180.     7.4.2.3     :CB    Cursor at Bottom
  181.     7.4.2.4     :CC    Change Case
  182.     7.4.2.5     :CD    Change to Lower case
  183.     7.4.2.6     :CE    Change Case Edt Style
  184.     7.4.2.7     :CH    Insert ASCII Character
  185.     7.4.2.8     :CK    Checkpoint buffer
  186.     7.4.2.9     :CL    Center Line
  187.     7.4.2.10    :CM    Cursor at Middle
  188.     7.4.2.11    :CNA    Add number to counter
  189.     7.4.2.12    :CNG    Get counter from buffer
  190.     7.4.2.13    :CNI    Increment or decrement counter
  191.     7.4.2.14    :CNP    Insert value of counter in buffer
  192.     7.4.2.15    :CNS    Set counter value
  193.     7.4.2.16    :CS    Save buffer context
  194.     7.4.2.17    :CT    Cursor at Top
  195.     7.4.2.18    :CU    Change to Upper Case
  196.     7.4.2.19    :D    Delete
  197.     7.4.2.20    :EAP    Delete and Append
  198.     7.4.2.21    :EK    Execute key
  199.     7.4.2.22    :EL    Set error level
  200.     7.4.2.23    :ERC    Clear edit region
  201.     7.4.2.24    :ERS    Set edit region
  202.     7.4.2.25    :FE    Edit File
  203.     7.4.2.26    :FG    Get File
  204.     7.4.2.27    :FNL    Larger Font
  205.     7.4.2.28    :FNS    Smaller Font
  206.     7.4.2.29    :FS    Save File
  207.     7.4.2.30    :FW    Write File
  208.     7.4.2.31    :FX    Execute File
  209.     7.4.2.32    :GAP    Get and append
  210.     7.4.2.33    :GE    Get
  211.     7.4.2.34    :GR    Get ruler
  212.     7.4.2.35    :H    Help
  213.     7.4.2.36    :I    Insert
  214.     7.4.2.37    :K    Define key
  215.     7.4.2.38    :LD    Decrease indentation
  216.     7.4.2.39    :LI    Increase indentation
  217.     7.4.2.40    :LK    Load key definition
  218.     7.4.2.41    :LNE    Execute keystrokes stored in key
  219.     7.4.2.42    :LNL    Store keystrokes in key
  220.     7.4.2.43    :LNX    End learning
  221.     7.4.2.44    :LS    Set indentation level
  222.     7.4.2.45    :M    Mark cursor position
  223.     7.4.2.46    :NL    New line
  224.     7.4.2.47    :NS    Substitute next
  225.     7.4.2.48    :OE    Output error message
  226.     7.4.2.49    :OL    Open line
  227.     7.4.2.50    :OM    Output message
  228.     7.4.2.51    :OS    Toggle overstrike mode
  229.     7.4.2.52    :OW    Switch to previous buffer
  230.     7.4.2.53    :PD    Insert current date
  231.     7.4.2.54    :PL    Load paste buffer
  232.     7.4.2.55    :PR    Print current buffer
  233.     7.4.2.56    :PS    Save paste buffer
  234.     7.4.2.57    :PT    Insert current time
  235.     7.4.2.58    :Q    Quit
  236.     7.4.2.59    :REP    Replace
  237.     7.4.2.60    :RF    Refresh display
  238.     7.4.2.61    :RK    Refefine key as character
  239.     7.4.2.62    :RL    Ruler
  240.     7.4.2.63    :RMCHA    Clear character delete buffer
  241.     7.4.2.64    :RMHEL    Clear help buffer
  242.     7.4.2.65    :RMLIN    Clear line delete buffer
  243.     7.4.2.66    :RMPAG    Clear page delete buffer
  244.     7.4.2.67    :RMPAR    Clear paragraph delete buffer
  245.     7.4.2.68    :RMPAS    Clear paste buffer
  246.     7.4.2.69    :RMSEA    Clear search buffer
  247.     7.4.2.70    :RMSEN    Clear sentence delete buffer
  248.     7.4.2.71    :RMSUB    Clear substitute buffer
  249.     7.4.2.72    :RMUNK    Clear unknown delete buffer
  250.     7.4.2.73    :RMWOR    Clear word delete buffer
  251.     7.4.2.74    :RS    Reset select range
  252.     7.4.2.75    :RTAB    Replace tabs with spaces
  253.     7.4.2.76    :RUL    Load ruler from entity
  254.     7.4.2.77    :RUS    Save ruler in buffer
  255.     7.4.2.78    :SAVK    Save key definitions in a file
  256.     7.4.2.79    :SC    Show current column
  257.     7.4.2.80    :SEL    Select
  258.     7.4.2.81    :SETB    Set block/line mode toggle
  259.     7.4.2.82    :SETD    Set direction toggle
  260.     7.4.2.83    :SETR    Set replace/insert toggle
  261.     7.4.2.84    :SETT    Set tab insert/expand toggle
  262.     7.4.2.85    :SK    Save key definition
  263.     7.4.2.86    :SL    Load search buffer
  264.     7.4.2.87    :STAB    Replace multiple spaces with tabs
  265.     7.4.2.88    :STRP    Strip trailing spaces
  266.     7.4.2.89    :SUB    Substitute
  267.     7.4.2.90    :SV    Show Version
  268.     7.4.2.91    :SYQ    Spawn with no output
  269.     7.4.2.92    :SYR    Spawn with redirected output
  270.     7.4.2.93    :SYS    Spawn to operating system
  271.     7.4.2.94    :TAB    Move to next tab stop
  272.     7.4.2.95    :TAD    Adjust text by one tab stop
  273.     7.4.2.96    :TB    Toggle Block Mode
  274.     7.4.2.97    :TC    Toggle Control Character Display
  275.     7.4.2.98    :TD    Toggle Direction
  276.     7.4.2.99    :TF    Fill
  277.     7.4.2.100    :TI    Test for input
  278.     7.4.2.101    :TM    Toggle buffer markers
  279.     7.4.2.102    :TP    Toggle Cursor Line
  280.     7.4.2.103    :TR    Toggle ruler display
  281.     7.4.2.104    :TS    Toggle automatic screen shifts
  282.     7.4.2.105    :TT    Toggle tab expansion
  283.     7.4.2.106    :UC    Undelete character
  284.     7.4.2.107    :UL    Undelete line
  285.     7.4.2.108    :UM    Undo last command
  286.     7.4.2.109    :UOFF    Turn off screen updating
  287.     7.4.2.110    :UON    Turn on screen updating
  288.     7.4.2.111    :UPAG    Undelete page
  289.     7.4.2.112    :UPAR    Undelete paragraph
  290.     7.4.2.113    :UPD    Update screen header
  291.     7.4.2.114    :USEN    Undelete sentence
  292.     7.4.2.115    :USR    Paste
  293.     7.4.2.116    :UU    Undelete unknown
  294.     7.4.2.117    :UW    Undelete word
  295.     7.4.2.118    :WC    Toggle windows
  296.     7.4.2.119    :WD    Toggle width
  297.     7.4.2.120    :WI    Select buffer
  298.     7.4.2.121    :X    Exit
  299.     7.4.2.122    :YN    Prompt for confirmation
  300.     7.4.2.123    :Z    Zap buffer
  301.  
  302.     Appendix A    Keyboard translation
  303.     Appendix B    Installation
  304.     Appendix C    Error Messages
  305.     
  306.     Copyright (c) Anker Berg-Sonne, 1985,1986,1987,1988
  307.     Sedt Version 3.3 (233)
  308.  
  309.  
  310.                   Sedt Reference Manual
  311.  
  312.     0.0            Structure of This Manual
  313.  
  314.         This manual  is divided into three sections:  The first a
  315.     tutorial that introduces  the  user  to  the  essential basics of
  316.     editing using Sedt.   The  second an advanced guide that explains
  317.     the more complicated functions, and  the  third  a reference that
  318.     systematically covers all aspects of the  editor.    The Tutorial
  319.     and  Advanced Guide are organized by function:      Entering  Sedt,
  320.     inserting text, moving, etc..  The reference section is organized
  321.     alphabetically for easy access.
  322.  
  323.         For  the operating environments that differ significantly
  324.     from  the  standard,  command  driven  interface, the manual  has
  325.     sections that describes the differences.
  326.  
  327.     0.1              Terminology
  328.  
  329.         Sedt  is  supported  on  a wide range of systems  with    a
  330.     variety  of  keyboard  layouts.  When the manual instructs you to
  331.     type  a key it will use a generic  name  for  the  key,  such  as
  332.     <Return>.  Use the tables in Appendix A to  locate  where the key
  333.     is located on your keyboard.  The angle brackets are also used to
  334.     show where an actual parameter needs to be inserted.  E.g.   when
  335.     you see <line number> you should substitute a decimal number that
  336.     denotes a  line  in  your  file.  A construct surrounded by curly
  337.     brackets {} is    optional.    If  a construct is followed by three
  338.     periods ... it can be repeated as many times as you wish.
  339.  
  340.         A keystroke sequence described as <Gold> <Key> is entered
  341.     by typing the <Gold> key first,  then  releasing  it  and  typing
  342.     <Key>.      A sequence described as <Control>  <Key>  is    typed  by
  343.     holding down the <Control> key while <Key> is typed.
  344.  
  345.         The <Gold> key    is  the  most  important key to remember.
  346.     It's location on the  different  keyboards that Sedt supports is:
  347.     Keypad PF1 on Digital keyboards,  Esc  or  Num Lock on old IBM PC
  348.     keyboards  or  the  new  IBM  PC  keyboard,    Esc   on  old  IBM
  349.     PC/AT keyboards and Keypad ( on ATARI ST keyboards.
  350.  
  351.     
  352.     Copyright (c) Anker Berg-Sonne, 1985,1986,1987,1988
  353.     Sedt Version 3.3 (233)
  354.  
  355.  
  356.                     Tutorial
  357.  
  358.     1.0             Getting Started
  359.  
  360.         To start  editing  a  file with Sedt you type the command
  361.     "Sedt <file name>"  at    the operating system command prompt.  The
  362.     same command is used to create a new file and to edit an existing
  363.     file.
  364.  
  365.     For example:
  366.  
  367.         SEDT FOO.BAR
  368.  
  369.         will create a new file named FOO.BAR, or modify  the file
  370.     if it already exists.
  371.     1.1                 Display
  372.  
  373.         The Sedt screen  display show a section, called a window,
  374.     of the file you  are  editing.      What    you  see  is what will be
  375.     written to the file.   Editors    of  this  type are called WYSIWYG
  376.     (What You See Is What You  Get)  editors.    Above  and below the
  377.     window is  displayed  information  about the edit session and the
  378.     settings of options.
  379.  
  380.         The first  line on the display , the FILE line, gives you
  381.     information about the file you currently are editing.
  382.  
  383.             In the    first column you may see an asterisk (*).
  384.         This shows that  you  have modified the file since it was
  385.         loaded, or since last time it was saved by you.
  386.  
  387.             Next Sedt shows the name of the file being edited
  388.         after the text "File:  ".    The name is exactly the same
  389.         as the one you entered when you called Sedt.
  390.  
  391.             After the text "Column=" you will see  the column
  392.         within the text that the cursor is placed over.   On some
  393.         versions the column  number  is not shown for performance
  394.         reasons.
  395.  
  396.             The text "Line=" is followed by the absolute line
  397.         number within the  text  being    edited that the cursor is
  398.         placed on.
  399.  
  400.             The last field, after  the  text  "Buffer=" shows
  401.         which of several possible file    buffers  you are editing.
  402.         Buffers allow you to edit several files at the same time.
  403.         To begin with, Sedt will always display  buffer  number 0
  404.         containing  the file you specified when you called  Sedt.
  405.         More  information  about  buffers  is given later in this
  406.         manual.
  407.  
  408.         The second line  of  the  display is the RULER.  It shows
  409.     how the text you  are  editing will be formatted.  You can change
  410.     the ruler a number of  ways.  The ruler shown when you enter Sedt
  411.     is the DEFAULT RULER, which most  often  is the one supplied with
  412.     Sedt.  You, or your system manager  may  change the default ruler
  413.     or any other ruler stored on disk.
  414.  
  415.         All lines from the third to the third from the bottom are
  416.     a WINDOW into the file    you  are editing.  In the window you will
  417.     see a portion of the text  you    are editing.  The location of the
  418.     blinking cursor shows the position that editing  operations  will
  419.     be performed at.
  420.  
  421.         The second line  from  the  bottom  is    the MODE line and
  422.     shows you the current state of several options within  Sedt.  All
  423.     of these options are under your control.
  424.  
  425.             First,    you  will  see    either      "Forward"    or
  426.         "Reverse".  Several commands use the  status of this mode
  427.         and will move toward the beginning of the text    when  the
  428.         mode is "Reverse" and toward the end of the text when the
  429.         mode is "Forward".
  430.  
  431.             Secondly  you  will  see    either   "Insert"  or
  432.         "Replace".    In "Insert" mode,  which    Sedt  starts  the
  433.         session in, all text insertion will push the character at
  434.         the  cursor  to the  right  to    make  room  for  the  new
  435.         character.    In "Replace" mode the text  you  type  will
  436.         over-write the text previously on the screen.
  437.  
  438.             The "Line" or  "Block"    display show how text cut
  439.         and paste operations will be performed.  More information
  440.         about this mode is given  in the section dealing with cut
  441.         and paste.
  442.  
  443.             "Tabs:Expanded"  or "Tabs:Inserted" shows whether
  444.         Sedt attempts  to save file space by inserting horizontal
  445.         tab characters.   Sedt    assumes  that  the  terminal  and
  446.         printer have tab stops    set  at  8  column intervals.  In
  447.         "Tabs:Expanded" mode, which is the state Sedt  is in when
  448.         started,  it  does  not  use  horizontal  tab characters.
  449.         Several  replace  mode    functions  and    cut and paste may
  450.         return undesired results  when    "Tabs:Inserted"  is used.
  451.         It is recommended that    you  keep Sedt in "Tabs:Expanded"
  452.         mode unless you are an experienced user of Sedt.
  453.  
  454.             "Screen Shift=" is followed by either a number or
  455.         the text "Off".  When "Screen  Shift="    is  followed by a
  456.         number the screen window will be shifted  horizontally to
  457.         ensure that the cursor remains within the window.  As the
  458.         cursor advances beyond the  right-most    position  on  the
  459.         screen, the window will be  displaced  right  to move the
  460.         cursor back within the screen.     When  the  text "Off" is
  461.         displayed  the    leftmost  position  of    the  window  will
  462.         correspond to the leftmost position of the text.
  463.  
  464.         The next  field  is  blank  unless  keystrokes    are being
  465.         learned  or replayed.     When  learning  the  field  will
  466.         display  "Learning".   When  replaying    it  will  display
  467.         "Executing".
  468.  
  469.         The  field  "Mod="  is    followed by the  numbers  of  the
  470.         editing buffers that contain unsaved changes.
  471.  
  472.     1.2            Moving the cursor
  473.  
  474.         The simplest commands to move the  cursor  are    the arrow
  475.     keys.
  476.  
  477.             The <Right arrow> key will advance  the cursor by
  478.         one character in the text.  As the cursor advances beyond
  479.         the last character on a line it moves to the start of the
  480.         next line.
  481.  
  482.             The  <Left arrow> key moves  a    single    character
  483.         toward the  start  of the text.  As the cursor moves past
  484.         the start of  a  line  it goes to the end of the previous
  485.         line.
  486.  
  487.             The <Up  arrow>  key  moves  straight up.  If the
  488.         cursor moves from a position that is further to the right
  489.         than the end of the previous line it will move to the end
  490.         of  it.   Sedt remembers the  column  that  a  series  of
  491.         vertical  arrow  commands  started  at    and will  try  to
  492.         position the cursor at the original column.
  493.  
  494.             <Down  arrow>  moves  the  cursor  straight down.
  495.         Just  as  with    <Up arrow> the cursor will  not  position
  496.         itself further right than the end of a line  of  text and
  497.         will try to position itself at the same column as  it was
  498.         at when a series of vertical arrow commands were started.
  499.  
  500.         The  arrow  keys  are  all  that you need to move to  any
  501.     location in the text.  On most systems you can hold the  key down
  502.     and  have  the    command repeated at a high rate.  Sedt can handle
  503.     very high  rates  of command input and cannot be harmed by having
  504.     commands repeated.
  505.  
  506.     1.3             Inserting Text
  507.  
  508.         Inserting text is  easy  with  Sedt.    Simply    place the
  509.     cursor where you want  the first character and type the text.  If
  510.     there are characters over or to the right of the cursor they will
  511.     be pushed to the right as  you    type.  To end a line of input and
  512.     continue on the next line simply type a <Return>.   You can enter
  513.     an arbitrary ASCII character by typing <Gold>, then  the  decimal
  514.     value of the character on the normal typewriter keyboard and then
  515.     <Gold> and finally <Keypad 3>.
  516.  
  517.     1.4              Deleting Text
  518.  
  519.         Text is easily deleted by moving the  cursor to the right
  520.     of the character you want to delete and  typing the <Delete> key.
  521.     If the cursor is  at  the  far left of a line it will be moved to
  522.     the end of the previous line.
  523.  
  524.     1.5               Saving your changes
  525.  
  526.         When you have finished your  changes  you  can    save them
  527.     and leave Sedt by typing two keys after one another:   <Gold> and
  528.     the F key.
  529.  
  530.         If you decide not to keep the changes you can type <Gold>
  531.     and Q.    If you have made any changes to  the  file  you  will  be
  532.     asked  for confirmation before    your  changes  are  thrown  away.
  533.     Answer the affirmative if you are sure you do not need them.
  534.  
  535.         If, for  some  reason such as a power failure, you cannot
  536.     complete an editing  session,  there is still hope.  Sedt will at
  537.     regular intervals save the file you are editing.  These saves are
  538.     only done if you have made changes to the file.
  539.  
  540.     1.6                 Summary
  541.  
  542.         With the commands  described in the tutorial you can make
  543.     any change you need!    Therein  lies  the beauty of Sedt.  It is
  544.     extremely easy to use, fast  and  reliable.    The  rest  of  the
  545.     commands extend Sedt by allowing you  to  perform  complex  tasks
  546.     with  a  few simple keystrokes.  The  Advanced    Guide  takes  you
  547.     through all these powerful features.
  548.  
  549.     1.7               Limitations
  550.  
  551.         Sedt uses  a combination of RAM memory and disk memory to
  552.     store the information  it  is  working    on.   This includes files
  553.     being edited, current key  definitions    and  text  that  has been
  554.     deleted.  If the total    amount    of  information exceeds available
  555.     memory    Sedt will abort, but will  leave  the  journal    files  if
  556.     keystroke journaling has been active.  You  can  then  make  more
  557.     room  available  and  restart  the  edit session using    keystroke
  558.     recovery.
  559.  
  560.         Sedt also has an internal limit which cannot be exceeded.
  561.     If  you crash because this limit has been exceeded and    you  have
  562.     been  editing  several    buffers,  you  may  be able to recover by
  563.     editing each file separately.
  564.  
  565.         The internal  limits are 20MB for the VMS version and 1MB
  566.     for all other versions.  These are defaults which can be extended
  567.     with the -s qualifier.
  568.     
  569.     Copyright (c) Anker Berg-Sonne, 1985,1986,1987,1988
  570.     Sedt Version 3.3 (233)
  571.  
  572.  
  573.                  Advanced Guide
  574.  
  575.     2.1              Introduction
  576.  
  577.         The Advanced Guide attempts to take you logically through
  578.     the  extremely rich command set of Sedt.  Even    though    care  has
  579.     been  taken  not to mention features without describing them, you
  580.     may find  that    you  have  to  cross-reference different sections
  581.     before you fully understand a feature.    The Reference section may
  582.     come in very useful for this purpose.
  583.  
  584.     2.2              Entering Sedt
  585.  
  586.         The complete syntax for calling Sedt is
  587.  
  588.     SEDT {<Input File> {<Output file>}} {<Option>... }
  589.  
  590.         The input file will be loaded into buffer number 0, which
  591.     is  the  editing  buffer  at  start-up.  If  an  output  file  is
  592.     specified,  buffer  0  will be saved into the specified  file  by
  593.     default.
  594.  
  595.         Options  change the behavior of  Sedt  for  the  complete
  596.     editing session. A complete list of options follows:
  597.  
  598.     2.2.1    -a        Turns  autosaves  on  for    the  editing
  599.                 session.    Autosaves  ensures that  your
  600.                 file  is  saved  at regular intervals  in
  601.                 case of a system crash.
  602.  
  603.     2.2.2    -p<PID>     Informs  Sedt  of the Process ID  of  the
  604.                 parent process.  This option is only used
  605.                 on the VMS version of Sedt and creates    a
  606.                 resident version  of  Sedt.  On exit Sedt
  607.                 will attach to    the  parent  process  and
  608.                 remain resident.  Upon    reattachment Sedt
  609.                 will continue the editing session.
  610.  
  611.     2.2.3    -l<Size>    Limits    the  main   memory  buffering  of
  612.                 information to <Size> bytes.  This option
  613.                 is  used  to ensure that enough memory is
  614.                 left  over  to    spawn    sub-processes  on
  615.                 MS-DOS    systems.    This  option  has  no
  616.                 effect        on      other    than    MS-DOS
  617.                 implementations.
  618.  
  619.     2.2.4    -j        Turns  off  journaling    for  the  editing
  620.                 session.   Journaling  creates    a journal
  621.                 file with the  extention  .JOU containing
  622.                 all  keystrokes  typed.   If  the  system
  623.                 crashes  the  JOU file will  be  detected
  624.                 next time the file is edited and you will
  625.                 be  asked whether you want to attempt  to
  626.                 replay    the keystrokes.  If you move data
  627.                 between  buffers  or  use  a  mouse,  the
  628.                 replay may not    lead to a correct copy of
  629.                 the file.
  630.  
  631.     2.2.5    -e        Terminate all files written with an ASCII
  632.                 SUB character.    Some applications require
  633.                 a SUB character to recognize the  end  of
  634.                 data files.
  635.  
  636.     2.2.6    -f        Disables full screen editing.  The cursor
  637.                 will always  be  placed  in the middle of
  638.                 the window and    text will move around it.
  639.                 In  full screen mode the cursor will move
  640.                 around    the   window  in  a  manner  that
  641.                 minimizes screen updates.
  642.  
  643.     2.2.7    -b        Suppresses the renaming  of  old versions
  644.                 when files are saved.     By  default Sedt
  645.                 will rename any existing file  to .BAK on
  646.                 the  MS-DOS  and  ATARI  versions  before
  647.                 writing the new version.  This allows you
  648.                 to recover  from  editing  sessions where
  649.                 you have accidentally corrupted the file.
  650.                 On VMS there is  no  need  for .BAK files
  651.                 since  VMS  supports multiple generations
  652.                 of files.  Normally -b is  used when disk
  653.                 space is too tight for both the  new file
  654.                 and the backup.
  655.  
  656.     2.2.8    -r        When you  supply  the  -r  qualifier  all
  657.                 files written to  disk will have the last
  658.                 line  terminated  with    an    ASCII    CR
  659.                 character.  Use this when you are writing
  660.                 or editing a file for an application that
  661.                 requires this.
  662.  
  663.     2.2.9    -pc        Suppresses  Sedt's automatic  recognition
  664.                 of the system and  makes Sedt assume that
  665.                 it is running on an IBM PC with the PC or
  666.                 XT    keyboard.    Use    this  when    the
  667.                 recognition  code  fails to recognize the
  668.                 system properly.
  669.  
  670.     2.2.10    -xt        Suppresses  Sedt's automatic  recognition
  671.                 of the system and  makes Sedt assume that
  672.                 it is running on an IBM XT with the PC or
  673.                 XT  keyboard.       Use      this    when  the
  674.                 recognition code fails to  recognize  the
  675.                 system properly.
  676.  
  677.     2.2.11    -at        Suppresses  Sedt's automatic  recognition
  678.                 of the system and  makes Sedt assume that
  679.                 it is  running    on  an IBM AT with the AT
  680.                 keyboard.  Use    this when the recognition
  681.                 code  fails  to  recognize    the  system
  682.                 properly.
  683.  
  684.     2.2.12    -rb        Suppresses  Sedt's automatic  recognition
  685.                 of the system and  makes Sedt assume that
  686.                 it is running on a  Digital  Rainbow 100.
  687.                 Use this when the recognition code fails
  688.                 to recognize the system properly.
  689.  
  690.     2.2.13    -mo        Suppresses  Sedt's automatic  recognition
  691.                 of the system and  makes Sedt assume that
  692.                 it is  running    on  a  monochrome system.
  693.                 Use this when  the recognition code fails
  694.                 to recognize the system properly.
  695.  
  696.     2.2.14    -co        Suppresses  Sedt's automatic  recognition
  697.                 of the system and  makes Sedt assume that
  698.                 it is running on  a  color  system.   Use
  699.                 this when the recognition code    fails  to
  700.                 recognize the system properly.
  701.  
  702.     2.2.15    -<Line Number>    After initialization Sedt  will  position
  703.                 the  cursor  at the  start  of    the  line
  704.                 number    you provided.  This  function  is
  705.                 most useful for programmers that need  to
  706.                 go to a line number that the compiler has
  707.                 passed a syntax error message for.
  708.  
  709.     2.2.16    -k        Suppresses Sedt's  automatic  recognition
  710.                 of the keyboard  type  and  informs  Sedt
  711.                 that  the  system  uses    the     new  IBM
  712.                 keyboard.
  713.  
  714.     2.2.17    -s<Size>    Set the maximum amount of buffer space to
  715.                 <Size> megabytes.   The  buffer  space is
  716.                 used  to  contain  files   being  edited,
  717.                 delete     and  paste  buffers  plus    key
  718.                 definitions.
  719.  
  720.     2.2.18    -ega        Switch the display into  EGA 43 line mode
  721.                 during the session and switch  back  into
  722.                 25 line mode at the end.
  723.  
  724.     2.2.19    -v        On IBM PCs and compatibles -v is used  to
  725.                 instruct Sedt  to  access  the    video RAM
  726.                 directly.  The result is a faster display
  727.                 than when the video  firmware  calls  are
  728.                 used.  It may, however,  be  incompatible
  729.                 with some video adaptors.
  730.  
  731.     2.2.20    -edt        Use the EDT layout with  physical mapping
  732.                 to the LK250 keyboard.      This    switch is
  733.                 not applicable to VMS.
  734.  
  735.     2.2.21    -wps        Use the WPS layout with physical  mapping
  736.                 to the LK250 keyboard.      This    switch is
  737.                 not applicable to VMS.
  738.  
  739.     2.2.22    -scn        Use   scancode    mapping    of     keyboard
  740.                 functions.  This switch is not applicable
  741.                 to VMS.
  742.  
  743.     2.2.23    -i<File Name>    Read  internal    Sedt  commands    from  the
  744.                 given  file  after    initialization  and
  745.                 before accepting keyboard input.    Using
  746.                 the    -i    option   prevents    automatic
  747.                 execution  of  the default initialization
  748.                 file.
  749.  
  750.     2.2.24    -wiXXYYHHWW    Use the window defined    by the upper left
  751.                 hand  corner  with  coordinates  XX,YY (0
  752.                 based) and dimensions HH,WW.
  753.  
  754.     2.3               Sedt's Data Files
  755.  
  756.         For Sedt to function properly it needs a  number  of data
  757.     files.      To  help organize the files Sedt uses  the  concept  of
  758.     libraries where the operating system supports such a facility.
  759.  
  760.         The files used by Sedt are:
  761.  
  762.             An optional  configuration file that sedt uses to
  763.             set  various  options.      The     name     of   the
  764.             configuration file is always SEDT.CNF.
  765.  
  766.             A key  definition file that defines what function
  767.             each key on  the  keyboard will perform.  You can
  768.             edit this file to  change  the programming of the
  769.             keyboard.
  770.  
  771.             A Help file that can  displayed during an editing
  772.             session  to  assist the user in  remembering  the
  773.             programming of the keyboard.
  774.  
  775.             A  default  ruler file that is used  to  set  the
  776.             ruler at initialization time.
  777.  
  778.             A set of optional ruler files that can    be loaded
  779.             or saved during an editing session.
  780.  
  781.             An optional  command file that is executed during
  782.             Sedt  initialization  for  customization  of  the
  783.             editing interface.
  784.  
  785.         On MS-DOS the library for all data files used by  Sedt is
  786.     defined  by  the  environment variable SEDT.  The contents of the
  787.     environment variable has the name of the data file appended to it
  788.     to locate the  data  file.  If no environment variable is defined
  789.     the files must be  found in the default directory.  To set up the
  790.     environment use the DOS SET command.  SET SEDT=C:\SEDT\ specifies
  791.     that the files are found in the directory SEDT on drive C.
  792.  
  793.         The  names  of    the  files  under  MS-DOS  depend  on the
  794.     configuration.    This facilitates using    SEDT from a shared server
  795.     directory  with different PC models.
  796.  
  797.         The configuration file is always named SEDT.CNF.
  798.  
  799.         The key definition file names are:
  800.  
  801.             System        Keyboard    File
  802.  
  803.             Rainbow     LK201        RBKEY.TXT
  804.             IBM PC        IBM        PCKEY.TXT
  805.             IBM PC/XT    IBM        XTKEY.TXT
  806.             IBM PC/AT    IBM        ATKEY.TXT
  807.             IBM CONVERTIBLE IBM        CVKEY.TXT
  808.             PS/2        IBM        NPKEY.TXT
  809.             ANY IBM PC    ENHANCED    NPKEY.TXT
  810.             ANY IBM PC    LK250        LKKEY.TXT
  811.             TANDY 1400 LT    TANDY        TCKEY.TXT
  812.             VAX        VT100        SEDT$VT100KEYS:
  813.             VAX        VT200        SEDT$VT200KEYS:
  814.             ATARI ST            STKEY.TXT
  815.  
  816.  
  817.         The names of the help files are:
  818.  
  819.             System        Keyboard    File
  820.  
  821.             Rainbow     LK201        RBHLP.TXT
  822.             IBM PC        IBM        PCHLP.TXT
  823.             IBM PC/XT    IBM        XTHLP.TXT
  824.             IBM PC/AT    IBM        ATHLP.TXT
  825.             IBM CONVERTIBLE IBM        CVHLP.TXT
  826.             PS/2        IBM        NPHLP.TXT
  827.             ANY IBM PC    ENHANCED    NPHLP.TXT
  828.             ANY IBM PC    LK250        LKHLP.TXT
  829.             TANDY 1400 LT    TANDY        TCHLP.TXT
  830.             VAX        VT100        SEDT$VT100KEYS:
  831.             VAX        VT200        SEDT$VT200KEYS:
  832.             ATARI ST            STHLP.TXT
  833.  
  834.         The MS-DOS initalization  file    is  named SEDTCOM.TXT and
  835.     must be located in  the  directory  pointed to by the environment
  836.     variable SEDT.
  837.  
  838.         On  VMS  the  ruler  files  are located in the    directory
  839.     pointed to by the logical name SEDT$DIR:.
  840.  
  841.         The  key definition files  are    located  by  the  logical
  842.     names:
  843.             System        Keyboard    File
  844.  
  845.             VAX        VT100        SEDT$VT100KEYS:
  846.             VAX        VT200        SEDT$VT200KEYS:
  847.  
  848.         The  help definition files are    located  by  the  logical
  849.     names:
  850.             System        Keyboard    File
  851.  
  852.             VAX        VT100        SEDT$VT100HELP:
  853.             VAX        VT200        SEDT$VT200HELP:
  854.  
  855.         The initialization command file is located by the logical
  856.     name SEDT$COMMANDS:
  857.  
  858.         On the ATARI ST  under ATARI GEM all files must be in the
  859.     current directory.
  860.  
  861.         On  the  ATARI ST under the Mark  Williams  C  shell  the
  862.     library  for  all  data  files used by Sedt  is  defined  by  the
  863.     environment  variable  SEDT.    The  contents  of the environment
  864.     variable has  the  name of the data file appended to it to locate
  865.     the data file.      If no environment variable is defined the files
  866.     must  be  found  in  the  default  directory.     To  set  up  the
  867.     environment use the SET command.   SETENV SEDT=C:\SEDT\ specifies
  868.     that the files are found in the directory SEDT on drive C.
  869.  
  870.         The names are:
  871.  
  872.         Key definition file:    STKEY.TXT
  873.         Help file:        STHLP.TXT
  874.         Initialization file:    SEDTCOM.TXT
  875.  
  876.         The names of the ruler files  are RULERn.TXT where n is a
  877.     digit from 0 to 9.  RULER0.TXT    is  the  default ruler file.  The
  878.     initialization command file is named SEDTCOM.TXT.
  879.  
  880.     2.3.1            Configuration File
  881.  
  882.         The configuration file, SEDT.CNF, is an  ASCII    data file
  883.     containing one-line commands.  Valid commands are:
  884.  
  885.     2.3.1.1     AUTOSAVE=ON
  886.  
  887.                 After any  change  to  a buffer Sedt will
  888.                 count the keystrokes  made  while editing
  889.                 the  buffer.    After  180  keystrokes    a
  890.                 warning will be displayed on  the  bottem
  891.                 line.    If the File has  not  been  saved
  892.                 after    200  keystrokes,  Sedt    saves  it
  893.                 automatically.
  894.  
  895.             AUTOSAVE=n,m
  896.  
  897.                 Will  autosave    after  n  keystrokes  and
  898.                 display the warning  m    keystrokes before
  899.                 the autosave is due.
  900.  
  901.             AUTOSAVE=OFF (Default)
  902.  
  903.                 Autosaving is disabled.
  904.  
  905.     2.3.1.2     BACKUPFILE=ON (Default)
  906.  
  907.                 Causes    Sedt  to  ensure  that    a  backup
  908.                 version of all files are kept.
  909.  
  910.             BACKUPFILE=OFF
  911.  
  912.                 Causes Sedt to not create backup versions
  913.                 of saved files.
  914.  
  915.     2.3.1.3     COLUMN=DISPLAYED (Default, except VMS and ULTRIX)
  916.  
  917.                 Enables continuous display of the current
  918.                 cursor    column on the banner line.   This
  919.                 is the default on all versions other than
  920.                 VMS and  ULTRIX.  Enabling this option on
  921.                 VMS and ULTRIX    may  have  a  significant
  922.                 impact on performance across a network.
  923.  
  924.             COLUMN=OFF (Default for VMS and ULTRIX)
  925.  
  926.                 Disables   continuous  display    of    the
  927.                 current cursor column on the banner line.
  928.                 This is the default on VMS and ULTRIX.
  929.  
  930.     2.3.1.4     CONTEXT=SAVED
  931.  
  932.                 Save the editing context when a  file  is
  933.                 saved.       The    context,  containing  the
  934.                 current  position,  all   marks  and  the
  935.                 current ruler are saved  in  a    file with
  936.                 the  same  file  name and  the    extention
  937.                 .CTX.  When Sedt edits a  file,  and this
  938.                 option is set, it will look for  the file
  939.                 .CTX and restore the context.  The result
  940.                 is that  when a file is editied again the
  941.                 cursor and marks  from    the previous edit
  942.                 session will be restored.
  943.  
  944.                 If  you  have  two   files  in    the  same
  945.                 directory  with identical filenames, they
  946.                 will  default to the same .CTX    file  and
  947.                 the  .CTX file may be overwritten by  the
  948.                 .CTX   file  for  the  other  file.    To
  949.                 safeguard against  loading the wrong file
  950.                 Sedt will veryfy  that    a  file  and it's
  951.                 corresponding  .CTX  file match.    If    a
  952.                 mismatch  is  found the message  "Context
  953.                 file does not match input file"  will  be
  954.                 issued.
  955.  
  956.             CONTEXT=FORGOTTEN (Default)
  957.  
  958.                 To  not  perform  the  actions    described
  959.                 under CONTEXT=SAVED.
  960.  
  961.             CONTEXT=CHECK
  962.  
  963.                 Do  not    save  a  context  (.CTX)  file
  964.                 automatically, but check for the presence
  965.                 of one when loading  a file and use it of
  966.                 it is found.
  967.  
  968.     2.3.1.5     CONTROLZ=ON
  969.  
  970.                 Causes    Sedt  to  terminate  all    files
  971.                 written with a control Z (EOT) character.
  972.  
  973.             CONTROLZ=OFF (Default)
  974.  
  975.                 Causes      Sedt    to  not  terminate  files
  976.                 written with a control Z (EOT) character.
  977.  
  978.     2.3.1.6     CURSORLINE=FIXED
  979.  
  980.                 Causes    Sedt  to  keep the cursor on  the
  981.                 middle    line  of the editing window.  The
  982.                 benefit is  ease  of  finding the current
  983.                 position and always  being  able  to  see
  984.                 several lines above and below the cursor.
  985.  
  986.             CURSORLINE=FLOATING (Default)
  987.  
  988.                 Causes Sedt to float  the  cursor through
  989.                 the editing window.  The benefit is fewer
  990.                 screen scrolls.
  991.  
  992.     2.3.1.7     EGA43=ON
  993.  
  994.                 Causes Sedt to switch the display into 43
  995.                 line  mode.  Unpredictable results can be
  996.                 expected on other than EGA displays.
  997.  
  998.             EGA43=OFF (Default)
  999.  
  1000.                 Turns off 43 line mode.
  1001.  
  1002.     2.3.1.8     FIRMWARE=NEWINT16
  1003.  
  1004.                 Use  the  INT16 extentions to support the
  1005.                 enhanced keyboard. MS/DOS only.
  1006.  
  1007.             FIRMWARE=OLDINT16 (Default)
  1008.  
  1009.                 Use  the  original  INT16  call  to  read
  1010.                 characters. MD/DOS only.
  1011.  
  1012.     2.3.1.9     FONTSIZE=<number>
  1013.  
  1014.                 Causes Sedt  to default to a font that is
  1015.                 close to <number> pixels high.
  1016.  
  1017.     2.3.1.10    GOLD=<number>
  1018.  
  1019.                 Causes Sedt to    use function key <number>
  1020.                 as the gold key.
  1021.  
  1022.     2.3.1.11    JOURNALING=ON (Default)
  1023.  
  1024.                 Causes     Sedt  to  journal    keystrokes.
  1025.  
  1026.             JOURNALING=OFF
  1027.  
  1028.                 Causes    Sedt  not  to journal keystrokes.
  1029.  
  1030.     2.3.1.12    KEYBOARD=STANDARD
  1031.  
  1032.                 Forces Sedt  to  assume  that  the system
  1033.                 uses the standard  keyboard.   On IBM PCs
  1034.                 and compatibles this means  the old style
  1035.                 keyboard.
  1036.  
  1037.             KEYBOARD=LK250
  1038.  
  1039.                 Forces Sedt to assume that the system has
  1040.                 an LK250 keyboard attached.
  1041.  
  1042.             KEYBOARD=NEW
  1043.  
  1044.                 Forces Sedt to assume that the system has
  1045.                 the new style IBM keyboard attached.
  1046.  
  1047.             KEYBOARD=CONVERTIBLE
  1048.  
  1049.                 Forces Sedt to assume that the system has
  1050.                 an  IBM  keyboard   convertible  keyboard
  1051.                 attached.
  1052.  
  1053.     2.3.1.13    MAPPING=OLD (Default)
  1054.  
  1055.                 Use .TXT extentions on key definition and
  1056.                 help files and map the keys physically as
  1057.                 close as possibly to the LK250 keyboard.
  1058.  
  1059.             MAPPING=EDT
  1060.  
  1061.                 Use .EDT extentions on key definition and
  1062.                 help files and map the keys physically as
  1063.                 close as possibly to the LK250 keyboard.
  1064.  
  1065.             MAPPING=WPS
  1066.  
  1067.                 Use .WPS extentions on key definition and
  1068.                 help files and map the keys physically as
  1069.                 close as possibly to the LK250 keyboard.
  1070.  
  1071.             MAPPING=SCANCODE
  1072.  
  1073.                 Use .SCN extentions on key definition and
  1074.                 help file and map  keys  by  the scncodes
  1075.                 sent by the firmware.
  1076.  
  1077.     2.3.1.14    MAXSCROLL=<Number>
  1078.  
  1079.                 Limits    scrolling  during cursor movement
  1080.                 to <Number> lines.
  1081.  
  1082.     2.3.1.15    MODE=<Hex Number>
  1083.  
  1084.                 Use  video  mode  <Hex    Number>  on    PC
  1085.                 compatible systems.
  1086.  
  1087.     2.3.1.16    MOUSE=ENABLED (Default)
  1088.  
  1089.                 Enabled use of the mouse from Sedt.  Sedt
  1090.                 will  try  to  detect  the  presence of a
  1091.                 mouse  and  enable  the  use of the mouse
  1092.                 cursor.
  1093.  
  1094.             MOUSE=DISABLED
  1095.  
  1096.                 Sedt will  not    use a mouse even if it is
  1097.                 present.
  1098.  
  1099.     2.3.1.17    NUMLOCK=ENABLED
  1100.  
  1101.                 Enable the normal  function  of  the  Num
  1102.                 Lock key on IBM PC keyboards.
  1103.  
  1104.             NUMLOCK=DISABLED (Default)
  1105.  
  1106.                 Disable the normal function  of  the  Num
  1107.                 Lock key on IBM PC  keyboards  and  allow
  1108.                 it's use as a normal editing key.
  1109.  
  1110.     2.3.1.18    PALETTE=<hex string>
  1111.  
  1112.                 Causes    Sedt to use the characters  given
  1113.                 in  <hex  string> as it's palette.   Each
  1114.                 pair  of    hex   digits  determines  the
  1115.                 attribute character as    defined  for  the
  1116.                 IBM Color Graphics Adapter.  The position
  1117.                 of  the  pair  defines    the  use  of  the
  1118.                 attribute character:  (Sedt only uses the
  1119.                 REVERSE and BOLD attributes).
  1120.  
  1121.                 NORMAL
  1122.                 BOLD
  1123.                 BLINK
  1124.                 BOLD BLINK
  1125.                 UNDERLINE
  1126.                 BOLD UNDERLINE
  1127.                 BLINK UNDERLINE
  1128.                 BOLD BLINK UNDERLINE
  1129.                 REVERSE
  1130.                 BOLD REVERSE
  1131.                 BLINK REVERSE
  1132.                 BOLD BLINK REVERSE
  1133.                 UNDERLINE REVERSE
  1134.                 BOLD UNDERLINE REVERSE
  1135.                 BLINK UNDERLINE REVERSE
  1136.                 BOLD BLINK UNDERLINE REVERSE
  1137.  
  1138.     2.3.2.17    REMEMBER=ON
  1139.  
  1140.                 Remenber the filename  that Sedt last was
  1141.                 called with and use  this  filename  when
  1142.                 Sedt    is   called  without  any    file
  1143.                 arguments.
  1144.  
  1145.             REMEMBER=OFF (Default)
  1146.  
  1147.                 Do not    load any file when Sedt is called
  1148.                 without any file arguments.
  1149.  
  1150.     2.3.1.19    RETURN=ON
  1151.  
  1152.                 Causes Sedt to ensure that the last  line
  1153.                 of saved files is terminates with a CR/LF
  1154.                 pair.
  1155.  
  1156.             RETURN=OFF (Default)
  1157.  
  1158.                 Causes Sedt to not append a CR/LF pair to
  1159.                 the last line of saved files.
  1160.  
  1161.     2.3.1.20    RULER=ON (Default)
  1162.  
  1163.                 The current ruler  will  be  displayed at
  1164.                 the top of the window.
  1165.  
  1166.             RULER=OFF
  1167.  
  1168.                 No ruler will displayed unless Sedt is in
  1169.                 ruler definition mode.
  1170.  
  1171.     2.3.1.21    SCREEN=COLOR
  1172.  
  1173.                 Forces     Sedt  to  use    color     graphics
  1174.                 firmware calls.
  1175.  
  1176.             SCREEN=MONO
  1177.  
  1178.                 Forces    Sedt  to  use monochrome firmware
  1179.                 calls.
  1180.  
  1181.     2.3.1.22    SCREENSHIFT=ON (Default)
  1182.  
  1183.                 Enables horizontal shifting of the screen
  1184.                 to keep the cursor position on-screen.
  1185.  
  1186.             SCREENSHIFT=OFF
  1187.  
  1188.                 Disables  horizontal    shifting  of  the
  1189.                 screen.
  1190.  
  1191.     2.3.1.23    SYSTEM=IBMPC
  1192.  
  1193.                 Forces Sedt to    assume    that it's running
  1194.                 on an IBM PC or compatible.
  1195.  
  1196.             SYSTEM=IBMXT
  1197.  
  1198.                 Forces Sedt to assume  that  it's running
  1199.                 on an IBM PC/XT or compatible.
  1200.  
  1201.             SYSTEM=IBMAT
  1202.  
  1203.                 Forces Sedt to assume that  it's  running
  1204.                 on an IBM PC/AT or compatible.
  1205.  
  1206.             SYSTEM=VAXMATE
  1207.  
  1208.                 Forces    Sedt to assume that it's  running
  1209.                 on a Digital VAXmate.
  1210.  
  1211.             SYSTEM=PC100
  1212.  
  1213.                 Forces    Sedt  to assume that it's running
  1214.                 on a Digital Rainbow 100.
  1215.  
  1216.             SYSTEM=IBMCONVERTIBLE
  1217.  
  1218.                 Forces    Sedt  to assume that it's running
  1219.                 on an IBM Convertible.
  1220.  
  1221.             SYSTEM=IBMAT-339
  1222.  
  1223.                 Forces Sedt  to  assume that it's running
  1224.                 on an IBM PC AT model 339.
  1225.  
  1226.             SYSTEM=IBMXT-286
  1227.  
  1228.                 Forces Sedt to    assume    that it's running
  1229.                 on an IBM PC XT model 286.
  1230.  
  1231.             SYSTEM=PS/2-50
  1232.  
  1233.                 Forces Sedt to assume  that  it's running
  1234.                 on an IBM PS/2 model 50.
  1235.  
  1236.             SYSTEM=PS/2-60
  1237.  
  1238.                 Forces Sedt to assume that  it's  running
  1239.                 on an IBM PS/2 model 60.
  1240.  
  1241.             SYSTEM=IBMXT-II
  1242.  
  1243.                 Forces    Sedt to assume that it's  running
  1244.                 on an IBM XT with new firmware.
  1245.  
  1246.             SYSTEM=PS/2-30
  1247.  
  1248.                 Forces    Sedt  to assume that it's running
  1249.                 on an IBM PS/2 model 30.
  1250.  
  1251.             SYSTEM=PS/2-80
  1252.  
  1253.                 Forces    Sedt  to assume that it's running
  1254.                 on an IBM PS/2 model 80.
  1255.  
  1256.             SYSTEM=TANDY1400
  1257.  
  1258.                 Forces    Sedt  to assume that it's running
  1259.                 on a TANDY 1400 LT laptop computer.
  1260.  
  1261.     2.3.1.24    TABS=EXPANDED (Default)
  1262.  
  1263.                 Causes Sedt  to  use  space characters to
  1264.                 space to tab stops and indentation.
  1265.  
  1266.             TABS=INSERTED
  1267.  
  1268.                 Cases  Sedt  to    use      space  and  tab
  1269.                 characters  to    space to  tab  stops  and
  1270.                 insedtation.
  1271.  
  1272.     2.3.1.25    VIDEO=BIOS (Default)
  1273.  
  1274.                 Makes  Sedt  use  BIOS    calls  for  video
  1275.                 control on IBM PCs and compatibles.
  1276.  
  1277.             VIDEO=DIRECT
  1278.  
  1279.                 Makes  Sedt access video RAM directly  on
  1280.                 IBM PCs and compatibles.
  1281.  
  1282.  
  1283.     2.4             Initialization
  1284.  
  1285.         The initialization sequence for Sedt will  go through the
  1286.     following steps:
  1287.  
  1288.             First the configuration file SEDT.CNF  in  Sedt's
  1289.         library is read and Sedt is  configured  as  described in
  1290.         the file.
  1291.  
  1292.             Then a    default  ruler    file  is read from Sedt's
  1293.         library.    The   name    of  the  default  ruler  file  is
  1294.         RULER0.TXT.
  1295.  
  1296.             Next, the key definition file is read from Sedt's
  1297.         library.   The name of the key definition file depends on
  1298.         the system that Sedt is run on:
  1299.  
  1300.             System        Keyboard    File
  1301.  
  1302.             Rainbow     LK201        RBKEY.TXT
  1303.             IBM PC        IBM        PCKEY.TXT
  1304.             IBM PC/XT    IBM        XTKEY.TXT
  1305.             IBM PC/AT    IBM        ATKEY.TXT
  1306.             IBM CONVERTIBLE IBM        CVKEY.TXT
  1307.             PS/2        IBM        NPKEY.TXT
  1308.             ANY IBM PC    ENHANCED    NPKEY.TXT
  1309.             ANY IBM PC    LK250        LKKEY.TXT
  1310.             TANDY 1400 LT    TANDY        TXKEY.TXT
  1311.             VAX        VT100        SEDT$VT100KEYS:
  1312.             VAX        VT200        SEDT$VT200KEYS:
  1313.             ATARI ST            STKEY.TXT
  1314.  
  1315.             Next Sedt will position the cursor  at    the  line
  1316.         number requested in the command  line if a -<line number>
  1317.         qualifier was supplied.
  1318.  
  1319.             Then Sedt  will look in Sedt's library for a file
  1320.         containing initialization commands  for the editor.  If a
  1321.         file  is  found it's  contents    will  be  interpreted  as
  1322.         internal Sedt commands.  The  name  of the file is system
  1323.         dependent:
  1324.  
  1325.             System        File
  1326.  
  1327.             Rainbow     SEDTCOM.TXT
  1328.             IBM PC        SEDTCOM.TXT
  1329.             IBM PC/XT    SEDTCOM.TXT
  1330.             IBM PC/AT    SEDTCOM.TXT
  1331.             IBM CONVERTIBLE SEDTCOM.TXT
  1332.             PS/2        SEDTCOM.TXT
  1333.             VAX        SEDT$COMMANDS:
  1334.             VAX        SEDT$COMMANDS:
  1335.             ATARI ST    SEDTCOM.TXT
  1336.  
  1337.             Finally, Sedt will look for a journal file in the
  1338.         same  directory as the file you are editing and with  the
  1339.         same name except  for  the  extension  .JOU.    If one is
  1340.         found, Sedt will read  the  journal file as a sequence of
  1341.         keystrokes used to restore the    editing  session  to  the
  1342.         point at which it was broken off.
  1343.  
  1344.     2.5              Setting up the ruler
  1345.  
  1346.         Sedt offers  several options for formatting the text that
  1347.     you input.   The  current formatting options are displayed on the
  1348.     ruler line on the second line of the display.
  1349.  
  1350.         The initial contents of  the  ruler line are defined by a
  1351.     file in the standard directory for Sedt.   When Sedt is called it
  1352.     reads the contents of the file RULER0.TXT and  loads the contents
  1353.     into the ruler.
  1354.  
  1355.         You can change the ruler either by loading a  ruler  file
  1356.     or by changing it interactively.   Most ruler changes are done by
  1357.     entering RULER MODE by typing <Gold> R, which takes the cursor up
  1358.     into the ruler line.  When you have  finished  changing the ruler
  1359.     type <Return>, which will take you back to normal editing mode.
  1360.  
  1361.         The following commands are valid in ruler mode:
  1362.  
  1363.         <Right Arrow>    Moves the cursor one column to the right.
  1364.  
  1365.         <Left Arrow>    Moves the cursor one column to the left.
  1366.  
  1367.         <Gold> <Digit>    Saves  the  current    ruler   in  Sedt's
  1368.                 standard    directory  in  a  file  named
  1369.                 RULER<Digit>.TXT.
  1370.  
  1371.         <Digit>     Loads  a saved ruler from Sedt's standard
  1372.                 directory    in        a    file    named
  1373.                 RULER<Digit>.TXT.
  1374.  
  1375.         <Control> H
  1376.                 Moves the  cursor  to column one.
  1377.  
  1378.         <Tab>        Moves  the cursor to the  next    non-blank
  1379.                 position on the ruler.
  1380.  
  1381.         <Return>    Exits ruler mode.
  1382.  
  1383.         <Space>     Clears any ruler controls at the  current
  1384.                 cursor position.
  1385.  
  1386.         L        Sets  the  left  margin  at  the  current
  1387.                 cursor    position.
  1388.  
  1389.                 When  a  <Return>  is entered the  cursor
  1390.                 will be indented to the left margin.
  1391.  
  1392.         W        Sets the word wrap  at the current cursor
  1393.                 position.
  1394.  
  1395.                 When input is typed to the right  of  the
  1396.                 right margin or the justification column,
  1397.                 the input will be wrapped and indented to
  1398.                 the  word wrap column or automatic margin
  1399.                 column.
  1400.  
  1401.         R        Sets  the  right  margin at  the  current
  1402.                 cursor position.
  1403.  
  1404.                 If any input is typed to the right of the
  1405.                 right margin the text will be wrapped and
  1406.                 indented  to  the  word  wrap  column  or
  1407.                 automatic margin column.
  1408.  
  1409.         J        Sets  the  justification  column  at  the
  1410.                 current cursor position.
  1411.  
  1412.                 If any input is typed to the right of the
  1413.                 justification  column,    the  text will be
  1414.                 justified by  having  the spacing between
  1415.                 words  on  the     line  modified  until    a
  1416.                 straight    right    margin    at     the
  1417.                 justification  column  is achieved.   Any
  1418.                 text  that cannot fit on the current line
  1419.                 is wrapped  to the next line and indented
  1420.                 to the word  wrap column or the automatic
  1421.                 margin column.
  1422.  
  1423.         I        Sets the indentation level at the current
  1424.                 cursor position.
  1425.  
  1426.                 If a <Tab> is  entered to the left of the
  1427.                 indentation  column,  the cursor will  be
  1428.                 advanced  to the indentation column.
  1429.  
  1430.         T        Sets  a  tab  stop  at the current cursor
  1431.                 position.   Tab  stops can only be set up
  1432.                 to  column  232,  they    are  fixed  at    8
  1433.                 character intervals beyond that.
  1434.  
  1435.                 If a <Tab> is entered to  the  left  of a
  1436.                 tab  stop the cursor will be advanced  to
  1437.                 the tab stop.
  1438.  
  1439.         A        Sets the  automatic margin at the current
  1440.                 cursor position.
  1441.  
  1442.                 When  text  is    wrapped  by typing to the
  1443.                 right     of  the    right    margin    or
  1444.                 justification  column, or a  <Return>  is
  1445.                 typed and the automatic margin is active,
  1446.                 the cursor will be advanced to    the  same
  1447.                 column    as    the    leftmost    printable
  1448.                 character on the  line    the cursor was on
  1449.                 before    the  character was  typed.    The
  1450.                 automatic  margin will also be    moved  to
  1451.                 this  position.    This  feature is  most
  1452.                 useful for structured programming.
  1453.  
  1454.         -        Clears tab stops  at  the  current cursor
  1455.                 position.
  1456.  
  1457.         Some  of  the tab controls  are  mutually  exclusive  and
  1458.     setting one of these will automatically cancel those options that
  1459.     it excludes. The following options are mutually exclusive:
  1460.  
  1461.         A and W
  1462.  
  1463.         R and J
  1464.  
  1465.         If several option are set at the  same    column    the ruler
  1466.     will only display one of them.
  1467.  
  1468.         To cancel an option  other  than  T,  place the cursor on
  1469.     column 1 and type the option.  The only exception to this rule is
  1470.     A.  This can only be cancelled by typing R in any position.
  1471.  
  1472.         Saved rulers allow you to  set    up  to 10 different ruler
  1473.     settings according to your preference.     You can change the ruler
  1474.     that Sedt  loads  after start-up by saving the setting you desire
  1475.     in ruler number 0.
  1476.  
  1477.     Example rulers:
  1478.  
  1479.         A    T    T    T    T ...
  1480.  
  1481.             This ruler  is    most  convenient  for  structured
  1482.         programming.  Every  time  a  return is entered Sedt will
  1483.         indent to the left  margin  of    the line just terminated.
  1484.  
  1485.         W    L    T    T    R ...
  1486.  
  1487.             Every time a return is entered the cursor will be
  1488.         indented to the position of the  L  on    the  ruler  line.
  1489.         When text is typed to the right  of  R    the  line will be
  1490.         wrapped to the left margin.
  1491.  
  1492.         I    L    W    T    J ...
  1493.  
  1494.             This ruler will cause text to be filled between W
  1495.         and  J.    When  a return is entered the cursor  will  be
  1496.         indented to the L.
  1497.  
  1498.     2.6              Options/Modes
  1499.  
  1500.         The bottom line of the display shows the state of several
  1501.     options that affect  how Sedt commands work.  Each of these has a
  1502.     default state.
  1503.  
  1504.     Forward/Reverse (default:Forward)
  1505.  
  1506.             Most cursor commands move  in the direction shown
  1507.         by the direction state.
  1508.  
  1509.             To  change the direction state type <Keypad 4> or
  1510.         <Keypad 5>.
  1511.  
  1512.     Insert/Overstrike (default:Insert)
  1513.  
  1514.             When  text is inserted in insert mode  it  pushes
  1515.         any characters at or to the right of  the  cursor  to the
  1516.         right  to  make  room  for the text being inserted.    In
  1517.         replace mode text  originally  at  the cursor position is
  1518.         overwritten.
  1519.  
  1520.             To change the state between insert and overstrike
  1521.         modes type <Gold> O.
  1522.  
  1523.     Line/Block (Default:Line)
  1524.  
  1525.             This  state  only  has    effect    when  cutting  or
  1526.         pasting text.
  1527.  
  1528.             In line mode  a  cut will remove all text between
  1529.         the select point and  the  cursor  position,  and a paste
  1530.         will  insert the contents of  the  paste  buffer  at  the
  1531.         cursor position.
  1532.  
  1533.             In block mode a cut will remove the  rectangle of
  1534.         text defined by the select point and the cursor  position
  1535.         and a paste will push all text from the cursor    column to
  1536.         the  right  to    make  room  for the contents of the paste
  1537.         buffer.
  1538.  
  1539.             To change between line and block mode type <Gold>
  1540.         L.
  1541.  
  1542.     Tabs:Expanded/Tabs:Inserted (Default:Tabs:Expanded)
  1543.  
  1544.             When tabs are expanded Sedt will always use ASCII
  1545.         Space characters to indent text.  When tabs  are inserted
  1546.         Sedt  will  use  ASCII    HT and Space characters.   It  is
  1547.         recommended that the state be left as tabs expanded.
  1548.  
  1549.             To change the tab mode type <Gold> I.
  1550.  
  1551.     Screen Shift=<Number>/Screen Shift=Off (Default:Screen Shift=0)
  1552.  
  1553.             If screen shift is  off  the  leftmost    character
  1554.         position  on the screen will  always  correspond  to  the
  1555.         first column of the text file.
  1556.  
  1557.             If screen shift shows a number,  Sedt  will  keep
  1558.         the  cursor  within  the visible screen by  shifting  the
  1559.         screen    horizontally through the file.    The number  shown
  1560.         is  the  number  of  columns  hidden to the left  of  the
  1561.         screen. This process is totally automatic.
  1562.  
  1563.             To change the screen shift mode type <Gold> A.
  1564.  
  1565.     Learning/Executing
  1566.  
  1567.             The Learning  mode  indicator  shows that Sedt is
  1568.         storing all keyboard input for later reexecution.
  1569.  
  1570.             <Gold> F17>  will  store  learned keystrokes into
  1571.         ^Z.   Terminate  learning  by  typing  ^Z.    The  stored
  1572.         keystrokes are executed by typing ^Z again.
  1573.  
  1574.             <Gold>    <F18> will prompt  for    a  key    to  store
  1575.         keystrokes in and then store  subsequent keystrokes until
  1576.         the same key is typed.     To execute the stored keystrokes
  1577.         type the key you stored them in.
  1578.  
  1579.             The Executing mode  indicator  shows that Sedt is
  1580.         reexecuting a stored sequence of keystrokes.
  1581.  
  1582.             Execute mode is entered by typing <Gold> <F18>
  1583.  
  1584.     2.7             Responding to Prompts
  1585.  
  1586.         Some  commands,  such  as  the    search    command,  require
  1587.     arguments.  Such commands will    write a prompt on the bottom line
  1588.     of the screen and wait for you to  enter  a  response.      You can
  1589.     enter the following when responding to a prompt:
  1590.  
  1591.         Any key on  the  typewriter keyboard will be entered into
  1592.             the prompt string at the cursor position.
  1593.  
  1594.         <Control> U
  1595.             Will abort the command.
  1596.  
  1597.         <Return>
  1598.         <Keypad Enter>
  1599.         <Do>
  1600.             Completes the response to the prompt.
  1601.  
  1602.         <Delete>
  1603.         <Backspace>
  1604.             Deletes the character behind the cursor.
  1605.  
  1606.         <Gold> <Return>
  1607.             Inserts a CR/LF pair in the prompt buffer.
  1608.  
  1609.         <Left Arrow>
  1610.             Moves the cursor one character left.
  1611.  
  1612.         <Right Arrow>
  1613.             Moves the cursor one character right.
  1614.  
  1615.         <Up Arrow>
  1616.             If typed before  any  other character will recall
  1617.             the previous  response    to  a prompt.  Successive
  1618.             <Up  Arrow>s  will  move  throught  the  last  10
  1619.             responses.
  1620.  
  1621.         <Down Arrow>
  1622.             If <Up Arrow> has  recalled  previous  responses,
  1623.             <Down Arrow> will move forward    towards  the last
  1624.             response.
  1625.  
  1626.         Other control characters will be  inserted  at the cursor
  1627.             position.
  1628.  
  1629.         Function keys will insert the programming  of the keys at
  1630.             the cursor.
  1631.  
  1632.     2.8               Repeating Commands
  1633.  
  1634.         Most commands can be repeated by  typing first <Gold> and
  1635.     then the number of times you want  the    command  repeated  on the
  1636.     normal typewriter keyboard before typing the command.
  1637.  
  1638.         A few  commands do not accept such a repeat count, either
  1639.     because it makes  no  sense,  or  because  the number is used for
  1640.     other purposes.
  1641.  
  1642.         As  you  type the number it will be shown on the  message
  1643.     line of the display.
  1644.  
  1645.         If  you  happen  to mistype the number you can delete  it
  1646.     digit by digit with the <Delete> key.
  1647.  
  1648.     2.9            Cursor Movement
  1649.  
  1650.         Cursor movement commands  come    in  two  flavors.    Some
  1651.     take the direction of  movement from the direction flag, which is
  1652.     displayed in the first field  of  the  mode  line, whereas others
  1653.     always move  in  a  fixed direction.  The direction determined by
  1654.     the direction flag is called the DEFAULT DIRECTION.
  1655.  
  1656.         The  direction    flag  is controlled  with  the    following
  1657.     commands:
  1658.  
  1659.         <Gold> +
  1660.         <Gold> >
  1661.         <Keypad 4>
  1662.             Set the direction  flag  to  forward:  toward the
  1663.             end  of the text  in  the  buffer.    <Keypad  4>
  1664.             changes the direction permanently.   <Gold> + and
  1665.             <Gold> > only changes it for the next command.
  1666.  
  1667.         <Gold> -
  1668.         <Gold> <
  1669.         <Keypad 5>
  1670.             Set the direction flag to reverse:    toward  the
  1671.             beginning of the text in the buffer.   <Keypad 5>
  1672.             changes  the direction permanently.  <Gold> - and
  1673.             <Gold> < only changes it for the next command.
  1674.  
  1675.         Most movement commands    can  be repeated by typing <Gold>
  1676.     and then typing the number of times you want the command repeated
  1677.     immediately  before you type the command.   The  number  must  be
  1678.     typed on the normal typewriter keyboard.
  1679.  
  1680.         Commands that move the cursor are:
  1681.  
  1682.         <Gold> .
  1683.             Moves the cursor to a previously set mark.  There
  1684.             are 9 different marks that you    can set.  To move
  1685.             to mark number 1 type <Gold> .    .  To move to any
  1686.             of  the  other marks type <Gold> followed by  the
  1687.             number    of  the  mark  (1  to  9)  on the  normal
  1688.             typewriter keyboard  and  then <Gold> .  .  Marks
  1689.             are useful for    jumping  back  and  forth between
  1690.             different points in the buffer.
  1691.  
  1692.         <Gold> B
  1693.         <Gold> <Keypad 4>
  1694.             Moves  the  cursor to the position just after the
  1695.             last character of text in the buffer.
  1696.  
  1697.  
  1698.         <Gold> M
  1699.             Sets  a  mark  at  the current    position  of  the
  1700.             cursor.  To set mark number 1  type <Gold> M.  To
  1701.             set other marks (1 to 9) type <Gold>  followed by
  1702.             the  number  of the mark on the normal typewriter
  1703.             keyboard and then <Gold> M.
  1704.  
  1705.         <Gold> T
  1706.         <Gold> <Keypad 5>
  1707.             Moves  the  cursor  to the first character in the
  1708.             buffer.
  1709.  
  1710.         <Gold> U
  1711.             If you    type  <Gold> U as the first input after a
  1712.             movement command the cursor will be moved back to
  1713.             the  position  it  was    at before the move.  This
  1714.             command is  very  useful to undo undesired moves.
  1715.             Several commands that  delete  text  can  also be
  1716.             undone with <Gold> U.  If the last command cannot
  1717.             be undone you will receive an error message.
  1718.  
  1719.         <Control> H
  1720.             Will move the cursor to the  beginning of a line.
  1721.             If the cursor already is at the  beginning  of    a
  1722.             line  it  will be moved to the beginning  of  the
  1723.             previous line.
  1724.  
  1725.         <Find>
  1726.         <PF3>
  1727.             Will  search  in  the default direction  for  the
  1728.             string given in the last <Gold> <Find>    or <Gold>
  1729.             <Keypad  9>  command.     The  <Find>  command  is
  1730.             insensitive to the case of the string.
  1731.  
  1732.         <Prev Screen>
  1733.             Moves up by one fewer lines than there are in the
  1734.             window.  The cursor is positioned at the start of
  1735.             the line.
  1736.  
  1737.         <Next Screen>
  1738.             Moves  down  by one fewer lines than there are in
  1739.             the window.   The  cursor  is  positioned  at the
  1740.             start of the line.
  1741.  
  1742.         <Up Arrow>
  1743.             Moves one line up and tries to keep the cursor at
  1744.             the same column as it was at before a sequence of
  1745.             up and down arrow moves.
  1746.  
  1747.         <Left Arrow>
  1748.             Moves one character backward.
  1749.  
  1750.         <Down Arrow>
  1751.             Moves  one line down and tries to keep the cursor
  1752.             at the same column as it was at before a sequence
  1753.             of up and down arrow moves.
  1754.  
  1755.         <Right Arrow>
  1756.             Moves one character forward.
  1757.  
  1758.         <Keypad 0>
  1759.             Moves  in  the    default  direction  to    the  next
  1760.             beginning of line.
  1761.  
  1762.         <Keypad 1>
  1763.             Moves  in  the    default  direction  to    the  next
  1764.             beginning  of  a word.    Spaces before a word  are
  1765.             skipped.    A     word     is    either    a  single
  1766.             non-alphanumeric character or a  word composed of
  1767.             alphanumeric characters.
  1768.  
  1769.         <Keypad 2>
  1770.             Moves in the default direction to the next end of
  1771.             line.  If the cursor already is at the    end  of a
  1772.             line it will move to the end of the next line.
  1773.  
  1774.         <Keypad 3>
  1775.             Moves one character in the default direction.
  1776.  
  1777.         <Keypad 7>
  1778.             Moves  in the default direction to the next start
  1779.             of page.    The start of page is determined by an
  1780.             ASCII FF character (Which is inserted with <Gold>
  1781.             P).  If there are no more ASCII FF characters the
  1782.             cursor will be moved to the end of the buffer.
  1783.  
  1784.         <Keypad 8>
  1785.             Moves in the default direction    to the next start
  1786.             of a paragraph.  Paragraphs are  delimited  by    a
  1787.             minimum of one empty line.   The cursor is placed
  1788.             over  the  first  non-blank  character    in    the
  1789.             paragraph.
  1790.  
  1791.         <Gold> <F19>
  1792.             Moves  to  bracketing character that matches  the
  1793.             one under the cursor.  Matching characters are ',
  1794.             ", <, >, [, ], {, }, (,  and  ).    '  and  " are
  1795.             searched  for in the current direction, all other
  1796.             characters are    serched for in the direction that
  1797.             the character implies.      If  the  cursor  is not
  1798.             placed over one of the    above characters an error
  1799.             message will be displayed.
  1800.  
  1801.         <Gold Find>
  1802.         <Gold> <PF3>
  1803.             Prompts for  a    string    on the bottom line of the
  1804.             display    and     then  searches  in  the  default
  1805.             direction for  an  occurrence of the string.  The
  1806.             search    is  independent    of  the  case  of  any
  1807.             alphabetic characters in the string.  If an empty
  1808.             response  is  given  to  the  prompt  the  string
  1809.             entered in response to the last  <Gold> <Find> or
  1810.             <Gold> <Keypad 9> will be used.
  1811.  
  1812.         <Gold> <Left Arrow>
  1813.             Moves continuously backward  through  the  buffer
  1814.             until the beginning of the buffer is reached or a
  1815.             command is typed.
  1816.  
  1817.         <Gold> <Right Arrow>
  1818.             Moves  continuously  forward  through the  buffer
  1819.             until the end of buffer is  reached  or a command
  1820.             is typed.
  1821.  
  1822.     2.10             Text Insertion
  1823.  
  1824.         All insertion  happens    at  the  the cursor position.  To
  1825.     insert at a  different    position  from the one you see the cursor
  1826.     flashing at you have  to  move    the  cursor there first.  See the
  1827.     section on cursor movement for directions on how to move around.
  1828.  
  1829.         The regular typewriter keys will cause    the  character on
  1830.     the key to be inserted in the  file  you  are  editing.   If your
  1831.     keyboard  has been programmed for a national character    set  Sedt
  1832.     will use that programming.
  1833.  
  1834.         A number of other keys will also cause text insertion:
  1835.  
  1836.         <Tab>    The cursor will be advanced to the next tab  stop
  1837.             on the    ruler  by  inserting  spaces  or ASCII HT
  1838.             characters.  If  the mode is set to Tabs:Expanded
  1839.             only   space  characters  will      be    inserted.
  1840.             Otherwise  a  mixture of HT and space  characters
  1841.             will be used.
  1842.  
  1843.             If  an    indentation  point has been set  and  the
  1844.             cursor is to the left of it it    will  space  over
  1845.             intermediate tab stops to the indentation point.
  1846.  
  1847.         <Return>
  1848.             A new line will be started at the cursor position
  1849.             and the  cursor will be advanced according to the
  1850.             following rules:
  1851.  
  1852.             If an A  is  shown  on    the ruler line the cursor
  1853.             will  be advanced to  the  column  of  the  first
  1854.             printable character on the line just terminated.
  1855.  
  1856.             If an L is shown  on  the  ruler  line the cursor
  1857.             will be advanced to the column shown by the L.
  1858.  
  1859.             The  cursor is advanced by  inserting  space  and
  1860.             ASCII  HT  characters.    If the    mode  is  set  to
  1861.             Tabs:Expanded    only  space  characters  will  be
  1862.             inserted.
  1863.  
  1864.         <Escape>
  1865.         <F11>
  1866.             Inserts an ASCII ESC character.
  1867.  
  1868.         <Gold> <Control> I
  1869.             Prompts for a key and will  insert the definition
  1870.             of the key into the file at  the  current  cursor
  1871.             position.  The key can be a function key, control
  1872.             character, gold function key, gold control key or
  1873.             gold character from the typewriter keyboard.
  1874.  
  1875.         <Gold> G
  1876.             Prompts for a file name and includes the contents
  1877.             of the file at the cursor position.
  1878.  
  1879.         <Gold> P
  1880.             Inserts an ASCII FF character, which starts a new
  1881.             page.
  1882.  
  1883.         <Insert Here>
  1884.         <Gold> <Keypad 6>
  1885.             Inserts the  contents  of the paste buffer at the
  1886.             current cursor position.
  1887.  
  1888.         <Gold> <Keypad 0>
  1889.             Inserts a  new    line  at  the cursor position and
  1890.             does not advance  the  cursor.
  1891.  
  1892.         <Gold> <Keypad 3>
  1893.             Allows insertion of an arbitrary ASCII character.
  1894.             Type <Gold> followed by the decimal value of  the
  1895.             character  (typed  on     the  regular  typewriter
  1896.             keyboard) followed by <Gold>  <Keypad  3>.    You
  1897.             cannot enter a newline character (ASCII LF) using
  1898.             this method.
  1899.  
  1900.         <Gold> <Keypad ,>
  1901.             Inserts the last deleted character at  the cursor
  1902.             position.
  1903.  
  1904.         <Gold> <Keypad ->
  1905.             Inserts  the  last  deleted  word  at the  cursor
  1906.             position.
  1907.  
  1908.         <Gold> <PF4>
  1909.             Inserts  the  last  deleted  line  at  the cursor
  1910.             position.
  1911.  
  1912.     2.11             Selecting Text Ranges
  1913.  
  1914.         Several  commands  operate with a selected region.    The
  1915.     following  commands  are  used to select an arbitrary  region  of
  1916.     text.  Whenever a region of text is selected it will be displayed
  1917.     in reverse video on the screen.
  1918.  
  1919.         <Select>
  1920.         <Keypad .>
  1921.             Anchors the  cursor  position  as  one    end  of a
  1922.             selected region.   When  the  cursor  is moved in
  1923.             front of the select  point the select region will
  1924.             be all characters from the select point up to the
  1925.             character behind the cursor.  When  the cursor is
  1926.             moved behind the select point the region  will be
  1927.             all    characters  from  the  cursor  up  to  the
  1928.             character behind the select point.
  1929.  
  1930.         <Gold> <Select>
  1931.         <Gold> <Keypad .>
  1932.             Cancels the select region.
  1933.  
  1934.     2.12             Deleting Text
  1935.  
  1936.         <Linefeed>
  1937.         <Control> J
  1938.         <F13>
  1939.             Deletes  from  the  character  behind  the cursor
  1940.             position  back    to the previous start of a  word.
  1941.             The deleted text can be retrieved with the <Gold>
  1942.             <Keypad -> command.
  1943.  
  1944.         <Control> U
  1945.             Deletes  from  the character  behind  the  cursor
  1946.             position back  to the beginning of the line.  The
  1947.             deleted text can  be  retrieved  with  the <Gold>
  1948.             <PF4> command.
  1949.  
  1950.         <Delete>
  1951.         <Backspace>
  1952.             Deletes the character behind the cursor position.
  1953.             The deleted character can  be  retrieved with the
  1954.             <Gold> <Keypad ,> command.
  1955.  
  1956.         <Gold> Z
  1957.             Clears the contents of the  buffer.  The previous
  1958.             contents cannot be retrieved.
  1959.  
  1960.         <F4>
  1961.             Appends the contents of the selected  text  range
  1962.             to the paste buffer.  The selected  text range is
  1963.             not deleted from the buffer.
  1964.  
  1965.         <Remove>
  1966.         <Keypad 6>
  1967.             Removes  the  selected text range from the buffer
  1968.             and inserts it in the paste buffer.
  1969.  
  1970.         <Keypad ,>
  1971.             Deletes the  character    at  the  cursor position.
  1972.             The character can  be  retrieved  with the <Gold>
  1973.             <Keypad ,> command.
  1974.  
  1975.         <Keypad ->
  1976.             Deletes from the cursor  position up the the next
  1977.             start  of  a  word.   The  deleted  text  can  be
  1978.             retrieved with the <Gold> <Keypad -> command.
  1979.  
  1980.         <PF4>
  1981.             Deletes from the cursor position through the line
  1982.             end.  The deleted text    can be retrieved with the
  1983.             <Gold> <PF4> command.
  1984.  
  1985.         <Gold> <Remove>
  1986.             Copies    from  the  selected  text  range into the
  1987.             paste buffer without deleting from the buffer.
  1988.  
  1989.         <Gold> <Keypad 2>
  1990.             Deletes from the cursor position up to the end of
  1991.             the line.  The deleted text can be retrieved with
  1992.             the <Gold> <PF4> command.
  1993.  
  1994.     2.13              Substitution
  1995.  
  1996.         <Keypad 9>
  1997.             Searches  in    the   current  direction  for  an
  1998.             occurrence of the  last  search string given and,
  1999.             if the string is found, replaces it with the last
  2000.             replace string given.  The  Search  string is set
  2001.             with  the  <Gold>  <PF3>  or  <Gold>  <Keypad  9>
  2002.             commands.    The replace string is set    with  the
  2003.             <Gold> <Keypad 9> command.
  2004.  
  2005.         <Gold> <Keypad 9>
  2006.             Prompts for a search and  a  replace  string  and
  2007.             then  searches    in  the  current direction for an
  2008.             occurrence  of    the search string and , if it  is
  2009.             found, replaces  it  with the replace string.  If
  2010.             an empty response  is given to any of the prompts
  2011.             the previous value of the string will be used.
  2012.  
  2013.     2.14              Windows and Buffers
  2014.  
  2015.         Sedt allows you to edit up to 4  different  files  at the
  2016.     same time.  At any given moment you can choose between having one
  2017.     or two of these displayed on the screen.  The  following commands
  2018.     allow  you  to    switch between the four files and change the  way
  2019.     they are displayed.
  2020.  
  2021.         Each of the 4 files you  can  edit  are held in a buffer.
  2022.     The current buffer, which all commands operate on, is the one you
  2023.     see on the screen when a single window is  displayed,  or the one
  2024.     shown in the top window when two are displayed.
  2025.  
  2026.         <Gold> <Up Arrow>
  2027.             Scrolls the  display  so  that    the line with the
  2028.             cursor is on  the  second  line  of  the display.
  2029.             This command has no effect if the operation would
  2030.             place the first  line of the file below the first
  2031.             line of the display.
  2032.  
  2033.         <Gold> <Down Arrow>
  2034.             Scrolls the  display  so  that    the line with the
  2035.             cursor    is  on the second last    of  the  display.
  2036.             This command has no effect if the operation would
  2037.             place the first  line of the file below the first
  2038.             line of the display.
  2039.  
  2040.         <Gold> D
  2041.             Toggles between displaying one or  two    files  on
  2042.             the  screen.    When two files are displayed  the
  2043.             screen    will  be  split horizontally with the two
  2044.             files shown  one  above  the  other.
  2045.  
  2046.         <Gold> E
  2047.             Prompts  for  a  file  name to be loaded into the
  2048.             current buffer.    The    original  contents of the
  2049.             buffer are discarded.     You  will,  however,  be
  2050.             given a chance to  save  the original contents of
  2051.             the buffer if it has been modified.
  2052.  
  2053.         <Gold> F
  2054.         <F10>
  2055.             Saves the contents of  the  current  buffer.  All
  2056.             other    than  ATARI  GEM  and  Microsoft  Windows
  2057.             versions  will    terminate  the edit session if no
  2058.             unmodified buffers  exist,  or    ask  whether  you
  2059.             intend to terminate if there are unsaved changes.
  2060.  
  2061.         <Gold> Q
  2062.         <F8>
  2063.             Terminates  execution  of Sedt without saving any
  2064.             buffers.   You    will be asked to confirm that you
  2065.             really intend to  quit    if  any buffers have been
  2066.             modified.  On  ATARI  GEM  and    Microsoft Windows
  2067.             versions only the current  window  will be closed
  2068.             and Sedt will terminate when  the  last window is
  2069.             closed.  Advanced Guide
  2070.  
  2071.  
  2072.         <Gold> S
  2073.             Prompts for a file name and then saves the buffer
  2074.             into the file.    The file name associated with the
  2075.             buffer will be changed to the new file.
  2076.  
  2077.         <Gold> X
  2078.             Switches to the previously selected buffer.    If
  2079.             no other buffer has been selected it  will switch
  2080.             to buffer 1.
  2081.  
  2082.         <F6>
  2083.             Saves the contents of the current buffer into the
  2084.             file associated with it.  The save is not done if
  2085.             no modifications have been made.
  2086.  
  2087.         <F17>
  2088.             Selects buffer number 0.
  2089.  
  2090.         <F18>
  2091.             Selects buffer number 1.
  2092.  
  2093.         <F19>
  2094.             Selects buffer number 2.
  2095.  
  2096.         <F20>
  2097.             Selects buffer number 3.
  2098.  
  2099.     2.15            Text Formatting
  2100.  
  2101.         <Control> A
  2102.             Sets  the  indentation level to the column number
  2103.             that the cursor  is  at.    Typing <Tab> when the
  2104.             cursor is to the  left    of  the indentation level
  2105.             will insert space characters to  bring the cursor
  2106.             up to the indentation level.
  2107.  
  2108.         <Control> D
  2109.             Decreases the indentation level by one column.
  2110.  
  2111.         <Control> E
  2112.             Increases the indentation level by one column.
  2113.  
  2114.         <Control> T
  2115.             Adjusts all text within the select  range  by one
  2116.             tab stop.  <Control> T will move the select range
  2117.             right  if the direction flag is forward and  left
  2118.             if  the  direction  flag  is  reverse.     <Gold> -
  2119.             <Control> T  will  always  move  a tab stop left.
  2120.             <Gold> + <Control>  T will always move a tab stop
  2121.             right.
  2122.  
  2123.         <Gold> C
  2124.             Centers the line containing  the  cursor  between
  2125.             the left (L on the  ruler line) and right (R or J
  2126.             on the ruler line) margins.
  2127.  
  2128.         <Gold> J
  2129.             Reformats from the previous beginning of  line to
  2130.             the  end of the current paragraph.   Reformatting
  2131.             requires that a right margin has been set  on the
  2132.             ruler line.  An R will set a ragged  right margin
  2133.             and a J will set a justified right margin.
  2134.  
  2135.         <Gold> _
  2136.             Inserts  a  hyphen and    a  space  at  the  cursor
  2137.             position  and  reformats  from      the     previous
  2138.             beginning  of  line to the  end  of  the  current
  2139.             paragraph.  This command allows you  the  break a
  2140.             word if the automatic reformatting looks bad.
  2141.  
  2142.         <Gold> <Keypad 8>
  2143.             Reformats from the cursor position to  the end of
  2144.             the current paragraph.
  2145.  
  2146.     2.16            Programming Keys
  2147.  
  2148.         The effect of a keyboard command is  not  fixed  in Sedt.
  2149.     You can change the functions of most keys  in  a variety of ways.
  2150.     Permanently  by    editing    the  keyboard  definition  file  or
  2151.     temporarily  during a  session    with  commands    that  change  the
  2152.     keyboard programming.
  2153.  
  2154.         <Control> K
  2155.             Prompts for you to  type  the  key  you  want  to
  2156.             program and for a command string that you want to
  2157.             program the key with.  Valid  commands    that  you
  2158.             can  program the key with are documented  in  the
  2159.             reference section of this manual.
  2160.  
  2161.         <Gold> <Control> I
  2162.             Prompts for you to  type  a  keystroke    and  then
  2163.             inserts  the  programming  of the  key    into  the
  2164.             current buffer at the cursor position.
  2165.  
  2166.         <Gold> <Control> L
  2167.             Prompts for you to type the key that  you want to
  2168.             program  and  then  loads  the    contents  of  the
  2169.             current buffer into the key.  Valid commands that
  2170.             you can program  the  key  with are documented in
  2171.             the reference section of this manual.
  2172.  
  2173.         <Gold> <F17>
  2174.             Causes    learning  of  keystrokes  into    ^Z  until
  2175.             learning is completed by typing <Control> Z.  The
  2176.             keystrokes learned  can  be  "replayed" by typing
  2177.             ^Z.
  2178.  
  2179.         <Gold> <F18>
  2180.             Prompts  for  a    keystroke    and  then  stores
  2181.             sunsequent keystokes into that    key  until  it is
  2182.             typed again.  To "replay" the keystrokes type the
  2183.             key at any time after learning was terminated.
  2184.  
  2185.     2.17            Changing Options
  2186.  
  2187.         Sedt supports  a  variety  of  toggles    and  options that
  2188.     change the behavior of the editor.  Many can be set for a session
  2189.     by providing command switches  when  you call Sedt or they can be
  2190.     modified dynamically during the editing session.
  2191.  
  2192.         <Gold> A
  2193.             Toggles    automatic    screen    shifting.
  2194.  
  2195.             When automatic screen shifting    is  on the screen
  2196.             will  scroll  horizontally  to    ensure    that  the
  2197.             cursor    is always visible within the  margins  on
  2198.             your screen.  The mode indicator "Screen  Shift="
  2199.             indicates  how    many characters to the right that
  2200.             the  screen  is shifted.  When screen shifting is
  2201.             off the  leftmost  character on the screen always
  2202.             corresponds to the  leftmost  character  on  each
  2203.             line in the file.
  2204.  
  2205.         <Gold> I
  2206.             Toggles  expansion  of    tabs.
  2207.  
  2208.             Then tabs are expanded only space characters will
  2209.             be used when indenting    text  in  moving to a tab
  2210.             stop on the ruler.   When  tabs are inserted Sedt
  2211.             will attempt to use ASCII HT characters for these
  2212.             operations,  thus saving file space.  The  latter
  2213.             condition  may lead to undesired effects when you
  2214.             delete    and   insert  text  containing    ASCII  HT
  2215.             characters.  The  state of the tab insertion mode
  2216.             is shown by the "Tabs:" mode indicator.
  2217.  
  2218.         <Gold> L
  2219.             Toggles block cut and paste.
  2220.  
  2221.             When  block  cut and paste is  in  effect  a  cut
  2222.             operation (<Remove> or <Keypad 6>) will remove    a
  2223.             rectangle of text bounded by the select point and
  2224.             the   cursor  position.    In  line  mode  a  cut
  2225.             operation will    remove    all  text  in  the select
  2226.             region.
  2227.  
  2228.             When block  cut  and  paste is in effect the word
  2229.             "Block" will appear  on  the mode line and only a
  2230.             reverse video column will show the select region.
  2231.  
  2232.             When line cut and  paste is in effect "Line" will
  2233.             be shown on the mode  line  and the entire select
  2234.             region will be shown in reverse video.
  2235.  
  2236.         <Gold> O
  2237.             Toggles  overstrike/insert mode.
  2238.  
  2239.             In insert  mode  typed    text,  inserted  text and
  2240.             undeleted  text  will be inserted at  the  cursor
  2241.             position and any existing text will be    pushed to
  2242.             the right of  the  inserted  text.    The  delete
  2243.             operation will remove the  text and collapse text
  2244.             around    the region that was  deleted.     "Insert"
  2245.             will also be displayed on the mode line.
  2246.  
  2247.             In  replace  mode  typed, inserted and    undeleted
  2248.             text will overwrite existing text in the  buffer.
  2249.             Delete    operations will cause the deleted text to
  2250.             be  replaced by blank space.  "Replace" will also
  2251.             be shown  on  the mode line.  This mode is useful
  2252.             for editing tabular types of text.
  2253.  
  2254.         <Gold> W
  2255.             Toggles between 80  and  132  character displays.
  2256.             This is only supported    on  systems  and displays
  2257.             that can toggle between these modes.
  2258.  
  2259.     2.18             Miscellaneous Commands
  2260.  
  2261.         <Control> P
  2262.             Prompts  for  a file name and writes the contents
  2263.             of  the  current  buffer  onto the file with page
  2264.             breaks at every 60 lines.
  2265.  
  2266.         <Control> W
  2267.             Refreshes the entire display.
  2268.  
  2269.         <Gold> <Return>
  2270.         <Do>
  2271.             Prompts for an operating system command and  then
  2272.             executes  it in a subprocess.  If no  command  is
  2273.             entered the  command  parser  will  be    executed.
  2274.             This command is  not  supported  on all operating
  2275.             systems.
  2276.  
  2277.         <Gold> H
  2278.         <Help>
  2279.         <PF2>
  2280.             Displays  a  series  of    help  screens  on  the
  2281.             terminal.
  2282.  
  2283.         <Gold> R
  2284.             Enters ruler definition mode.  See the chapter on
  2285.             modifying the ruler for an explanation.
  2286.  
  2287.         <F7>
  2288.         <F9>
  2289.         <Keypad Enter>
  2290.         <Gold> <Resume>
  2291.             Dead  key.    This  is useful for  terminating    a
  2292.             continuously  scrolling  operation    started  by
  2293.             <Gold> <Right Arrow> or <Gold> <Left Arrow>.
  2294.  
  2295.         <Gold> <F4>
  2296.             Prompts for a file  and loads the contents of the
  2297.             file into the paste buffer.
  2298.  
  2299.         <Gold> <Do>
  2300.         <Gold> <Keypad 7>
  2301.             Prompts for a sequence of  internal Sedt commands
  2302.             and  then  executes  them.    A   description  of
  2303.             internal   Sedt  commands  is  contained  in  the
  2304.             reference section of this manual.
  2305.  
  2306.         <Gold> <Keypad 1>
  2307.             Changes  the  case  of alphabetic characters in a
  2308.             range  of text given by the following rule:   The
  2309.             select    region if one is active, otherwise if the
  2310.             last command  was  a  search operation the string
  2311.             that was found,  otherwise  the  character at the
  2312.             cursor position.
  2313.  
  2314.         <Gold> <Keypad Enter>
  2315.             Swaps the character at    the  cursor  position and
  2316.             the following character and advances  the  cursor
  2317.             by one character.
  2318.     
  2319.     Copyright (c) Anker Berg-Sonne, 1985,1986,1987,1988
  2320.     Sedt Version 3.3 (233)
  2321.  
  2322.  
  2323.     3       Using the MS-DOS version of Sedt
  2324.  
  2325.         The  MS-DOS  version  of    Sedt    follows  the  generic
  2326.     description given in the previous  two chapters, but adds support
  2327.     for a mouse if a Microsoft mouse compatible driver is installed.
  2328.  
  2329.     3.1 Support of the Microsoft mouse driver
  2330.  
  2331.             If  Sedt recognizes the presense of  a    mouse  it
  2332.         will  display  a  block cursor within the  window.    The
  2333.         cursor will move around the window if you move the mouse.
  2334.  
  2335.             NOTE:     Mouse    movement   and    clicking  is  not
  2336.         recorded in the journal file.  If you do crash and try to
  2337.         recover from a session where the mouse was used, you will
  2338.         probably get unpredictable results.
  2339.  
  2340.             Clicking the left mouse button will move the text
  2341.         cursor to the position you clicked at.    Any active select
  2342.         region is cancelled.    If  the mouse is dragged with the
  2343.         left mouse button held down the cursor will move with the
  2344.         mouse and the region between  the  point where the cursor
  2345.         was  originally pressed and the current  cursor  will  be
  2346.         selected.
  2347.  
  2348.             Clicking the right  mouse  button will select the
  2349.         text between the mouse cursor and the text cursor.
  2350.     
  2351.     Copyright (c) Anker Berg-Sonne, 1985,1986,1987,1988
  2352.     Sedt Version 3.3 (233)
  2353.  
  2354.  
  2355.     4       Using the Microsoft Windows version of Sedt
  2356.  
  2357.  
  2358.         WSEDT.EXE is special version of Sedt running as a class A
  2359.     application  under  Microsoft    Windows.    In    addition  to  the
  2360.     functionality described elsewhere in  this manual it offers mouse
  2361.     control, menus, sizable and movable  windows  and an interface to
  2362.     the  Windows clipboard.  Keystroke journaling  is  not    available
  2363.     because of the complex editing environment.
  2364.  
  2365.         Because of  the multitasking environment Sedt cannot take
  2366.     full control of  the  keyboard    or  even assume that the keyboard
  2367.     state is known.  Therefore Sedt does not support the Num Lock and
  2368.     Scroll Lock keys as normal editing keys.
  2369.  
  2370.     4.1              Window Control
  2371.  
  2372.             When you  run Sedt is displays a normal MS window
  2373.         with a menu  bar,  a  size box and a vertical scroll bar.
  2374.         All of these controls  work  exactly  as  with    any other
  2375.         Windows application.  When the window is resized you will
  2376.         notice that Sedt  adapts  to the new windows size so that
  2377.         horizontal shifting and vertical  scrolling  work exactly
  2378.         the same.
  2379.  
  2380.             The initial window will display buffer 0.  As you
  2381.         open  other  buffers,  they  will  be  displayed  in  new
  2382.         windows.  You can display the contents of several buffers
  2383.         at a time.  As with the stand alone version, you can have
  2384.         four concurrently open    windows.   These are displayed in
  2385.         independent  MS-Windows windows that  can  be  moved  and
  2386.         controlled independently.
  2387.  
  2388.     4.2              Mouse Control
  2389.  
  2390.             The mouse cursor is an    I-bar text cursor when it
  2391.         moves within the file display.     Outside the file display
  2392.         it changes into an arrow pointer.
  2393.  
  2394.             Apart  from  the  normal  mouse  controls of  the
  2395.         windows and menus, you can also use the mouse to position
  2396.         the text cursor within the visible window and to select a
  2397.         region of text.
  2398.  
  2399.             To  position  the cursor, place the mouse pointer
  2400.         at the    character  position  you  want the cursor at, and
  2401.         click the left    button.    The    cursor    will  move to the
  2402.         selected position unless the  position    is further to the
  2403.         right than the last character  on  the    line, or past the
  2404.         end of the buffer.  If    the  selected position is further
  2405.         to the right than the end of  the line the cursor will be
  2406.         placed over the last character on the line.    If  it  is
  2407.         past the end of the buffer you will get an error message.
  2408.  
  2409.             If you select a point on  the  first or last line
  2410.         of the buffer the window will scroll one line.
  2411.  
  2412.             To  select a region of text you can use the mouse
  2413.         in two    different  ways.    If    you drag the cursor after
  2414.         clicking  it  the  region  from  the  initially  selected
  2415.         cursor position to the    point where you release the mouse
  2416.         button will be the selected  region.  If you accidentally
  2417.         select a region by dragging, you  can  cancel  the select
  2418.         region by moving the mouse cursor to the block cursor and
  2419.         clicking  the right mouse button.  Alternately, a  region
  2420.         can be selected by moving the mouse cursor to  the end of
  2421.         the  select  region  and clicking the right mouse button.
  2422.         In either case the selected region will change to reverse
  2423.         video.
  2424.  
  2425.     4.3               Menu Control
  2426.  
  2427.             The menu  bar  will  display  five titles:  File,
  2428.         Window, Edit, Ruler and Help.    To  select  any  of these
  2429.         move the mouse cursor to the title  and  a drop down menu
  2430.         will appear.  To select an item move  the mouse cursor to
  2431.         the item and click the left mouse button.   A  drop  down
  2432.         menu will appear as long as you hold down the  left mosue
  2433.         button.   To select a menu item drag the cursor till  the
  2434.         item  you want    is  highlighted  and  release  the  mouse
  2435.         button.
  2436.  
  2437.     4.3.1    File
  2438.  
  2439.             This  menu is used  to    control  the  file  being
  2440.             edited in the window.
  2441.  
  2442.     4.3.1.1     New
  2443.  
  2444.                 Clears the current window.  If the window
  2445.                 contains  an  unsaved  file  a dialog box
  2446.                 will  appear  and  you    will be asked for
  2447.                 confirmation before the unsaved edits are
  2448.                 removed.
  2449.  
  2450.     4.3.1.2     Open..
  2451.  
  2452.                 Displays  a  file  selector dialog box.
  2453.                 The file you select in the box    is loaded
  2454.                 into the current buffer.
  2455.  
  2456.     4.3.1.2     Save
  2457.  
  2458.                 Saves the file in the current buffer onto
  2459.                 the  file  displayed after "File:" in the
  2460.                 top line of the window.
  2461.  
  2462.     4.3.1.3     Save as..
  2463.  
  2464.                 Displays a file selector dialog box.  The
  2465.                 contents of the buffer are saved onto the
  2466.                 file you select.  The file name displayed
  2467.                 after  "File:"    in  the  top line of  the
  2468.                 window is also changed to the name of the
  2469.                 file you selected.
  2470.  
  2471.     4.3.1.4     Insert..
  2472.  
  2473.                 Displays a file selector dialog box.  The
  2474.                 file  selected is included in the  buffer
  2475.                 at the current cursor position.
  2476.  
  2477.     4.3.1.5     Quit
  2478.  
  2479.                 Closes the current window.  If    there are
  2480.                 unchanged  buffers  you will be asked for
  2481.                 confirmation  before  the    session   is
  2482.                 terminated.  Sedt will terminate when the
  2483.                 last window is closed.
  2484.  
  2485.     4.3.2    Window
  2486.  
  2487.             The  window menu allows  you  to  switch  between
  2488.             buffers and to clear the contents of a window.
  2489.  
  2490.     4.3.2.1     Untitled
  2491.             Unused
  2492.             <File name>
  2493.  
  2494.                 Makes the window containing the indicated
  2495.                 buffer    the  currently    selected  window.
  2496.                 The menu item shows the  current state of
  2497.                 the window.  Untitled is an  open  window
  2498.                 with  no file associated with it.   <File
  2499.                 name>  is  the    name  of  the  file being
  2500.                 edited, and Unused is a closed window.
  2501.  
  2502.     4.3.2.2     Switch
  2503.  
  2504.                 Selects  the window you were in when  you
  2505.                 last selected a new window.
  2506.  
  2507.     4.3.3    Edit
  2508.  
  2509.             The edit menu allows you to  control the select
  2510.             region.
  2511.  
  2512.     4.3.3.1     Clear
  2513.  
  2514.                 Clears the select region.  This is useful
  2515.                 when you  have    accidentally  activated a
  2516.                 select region by  moving  the mouse while
  2517.                 holding the button down.
  2518.  
  2519.     4.3.3.2     Cut
  2520.  
  2521.                 Cuts the selected region  and saves it in
  2522.                 the paste buffer.
  2523.  
  2524.     4.3.3.3     Paste
  2525.  
  2526.                 Inserts the contents of the  paste buffer
  2527.                 at the text cursor position.
  2528.  
  2529.     4.3.4    Ruler
  2530.  
  2531.             Loads a saved ruler.
  2532.  
  2533.     4.3.4.1     Load <X>
  2534.  
  2535.                 Load saved ruler number <X>
  2536.  
  2537.     4.3.5    Help
  2538.  
  2539.             The help menu displays the interactive help menus
  2540.             in the current window.
  2541.  
  2542.     
  2543.     Copyright (c) Anker Berg-Sonne, 1985,1986,1987,1988
  2544.     Sedt Version 3.3 (233)
  2545.  
  2546.  
  2547.     5         Using the ATARI GEM version of Sedt
  2548.  
  2549.  
  2550.         Under  the  ATARI  GEM environment GSEDT.PRG  offers  the
  2551.     functionality  described  elsewhere  in  this  manual  with   the
  2552.     addition  of  sizable  and  movable windows, mouse control,  menu
  2553.     access    to  some  functions and access to desk accessories  while
  2554.     using Sedt.  The only functions not available are journaling  and
  2555.     recovery of keystrokes and spawning of subprocesses.
  2556.  
  2557.     5.1              Window Control
  2558.  
  2559.             When  you  first  enter  Sedt  it  will display a
  2560.         single window with a menu  bar, a move bar, a scroll bar,
  2561.         a full box and a size  box.    You  can  use any of these
  2562.         controls to move or resize the window.      You will notice
  2563.         that  every  time the window has been resized  Sedt  will
  2564.         ensure that the cursor is within the new window  and that
  2565.         no clipping takes place.  Sedt will not allow any portion
  2566.         of  the  window  to be outside the visible portion of the
  2567.         screen,  and  if  you  try,  it will resize the window to
  2568.         prevent this from happening.
  2569.  
  2570.             The initial window will display buffer 0.  As you
  2571.         open  other  buffers,  they  will  be  displayed  in  new
  2572.         windows  that  also  are initialized to full screen size.
  2573.         You can  display  the  contents  of  several  buffers  by
  2574.         resizing them and moving them to different screen areas.
  2575.  
  2576.     5.2              Mouse Control
  2577.  
  2578.             Normally the mouse  cursor  is    not visible.  You
  2579.         can make it visible  at any time by moving the mouse, and
  2580.         it  will  remain  visible  until  you  execute    the  next
  2581.         keyboard command.
  2582.  
  2583.             Apart from the normal mouse controls of the ATARI
  2584.     GEM windows and menus, you can also use the mouse to position the
  2585.     text cursor within the    visible  window and to select a region of
  2586.     text.
  2587.  
  2588.             To  position  the cursor, place the mouse pointer
  2589.         at the    character  position  you  want the cursor at, and
  2590.         click the left    button.    The    cursor    will  move to the
  2591.         selected position unless the  position    is further to the
  2592.         right than the last character  on  the    line, or past the
  2593.         end of the buffer.  If    the  selected position is further
  2594.         to the right than the end of  the line the cursor will be
  2595.         placed over the last character on the line.    If  it  is
  2596.         past the end of the buffer you will get an error message.
  2597.  
  2598.             If you select a point on  the  first or last line
  2599.         of the buffer the window will scroll one line.
  2600.  
  2601.             To  select a region of text move the mouse cursor
  2602.         to  the place where you want the text cursor to be  after
  2603.         the selection then push the left button on the mouse and,
  2604.         while holding the  button  down, drag the mouse cursor to
  2605.         the end of the    region you want to select and release the
  2606.         button.
  2607.  
  2608.             You can  clear    the select region by clicking the
  2609.         cursor on the select point.
  2610.  
  2611.     5.3               Menu Control
  2612.  
  2613.             The  menu  bar    will  display five titles:  Desk,
  2614.         File, Window, Select  and  Help.   To select any of these
  2615.         move the mouse cursor  to  the title and a drop down menu
  2616.         will appear.  To select  an item move the mouse cursor to
  2617.         the item and click the left mouse button.
  2618.  
  2619.     5.3.1    Desk
  2620.  
  2621.             This is  the  normal  desk  accessory menu with a
  2622.             selection at the top titled "About Sedt".
  2623.  
  2624.     5.3.1.1     About Sedt
  2625.  
  2626.                 Displays  in a dialog box the version  of
  2627.                 Sedt you are using.
  2628.  
  2629.     5.3.2    File
  2630.  
  2631.             Allows    you to control    the  file  shown  in  the
  2632.             currently selected window.
  2633.  
  2634.     5.3.2.1     Load..
  2635.  
  2636.                 Displays a file selector dialog box.  The
  2637.                 file you select in the box is loaded into
  2638.                 the current buffer.
  2639.  
  2640.     5.3.2.2     Save
  2641.  
  2642.                 Saves the file in the current buffer onto
  2643.                 the  file  displayed after "File:" in the
  2644.                 top line of the window.
  2645.  
  2646.     5.3.2.3     Save as..
  2647.  
  2648.                 Displays a file selector dialog box.  The
  2649.                 contents of the buffer are saved onto the
  2650.                 file you select.  The file name displayed
  2651.                 after  "File:"    in  the top line  of  the
  2652.                 window is also changed to the name of the
  2653.                 file you selected.
  2654.  
  2655.     5.3.2.4     Insert..
  2656.  
  2657.                 Displays a file selector dialog box.  The
  2658.                 file selected is included in  the  buffer
  2659.                 at the current cursor position.
  2660.  
  2661.     5.3.2.5     Quit
  2662.  
  2663.                 Closes the current window.  If    there are
  2664.                 unchanged  buffers  you will be asked for
  2665.                 confirmation  before  the    session   is
  2666.                 terminated.  Sedt will terminate when the
  2667.                 last window is closed.
  2668.  
  2669.     5.3.3    Window
  2670.  
  2671.             The  window menu allows  you  to  switch  between
  2672.             buffers and to clear the contents of a window.
  2673.  
  2674.     5.3.3.1     Untitled
  2675.             Unused
  2676.             <File name>
  2677.  
  2678.                 Makes the window containing the indicated
  2679.                 buffer    the  currently    selected  window.
  2680.                 The menu item shows the  current state of
  2681.                 the window.  Untitled is an  open  window
  2682.                 with  no file associated with it.   <File
  2683.                 name>  is  the    name  of  the  file being
  2684.                 edited, and Unused is a closed window.
  2685.  
  2686.     5.3.3.2     Switch
  2687.  
  2688.                 Selects  the window you were in when  you
  2689.                 last selected a new window.
  2690.  
  2691.     5.3.3.3     Clear
  2692.  
  2693.                 Erases the contents of a window.  If  the
  2694.                 window contains unsaved  changes you will
  2695.                 be asked whether you  want  to    save  the
  2696.                 changes before clearing the window.
  2697.  
  2698.     5.3.4    Select
  2699.  
  2700.             The select menu allows you to  control the select
  2701.             region.
  2702.  
  2703.     5.3.4.1     Clear
  2704.  
  2705.                 Clears the select region.  This is useful
  2706.                 when you  have    accidentally  activated a
  2707.                 select region by  moving  the mouse while
  2708.                 holding the button down.
  2709.  
  2710.     5.3.4.2     Cut
  2711.  
  2712.                 Cuts the selected region  and saves it in
  2713.                 the paste buffer.
  2714.  
  2715.     5.3.4.3     Paste
  2716.  
  2717.                 Inserts the contents of the  paste buffer
  2718.                 at the text cursor position.
  2719.  
  2720.     5.3.5    Ruler
  2721.  
  2722.             Loads a saved ruler.
  2723.  
  2724.     5.3.5.1     Load <X>
  2725.  
  2726.                 Load saved ruler number <X>
  2727.  
  2728.     5.3.6    Help
  2729.  
  2730.             The help menu displays the interactive help menus
  2731.             in the current window.
  2732.  
  2733.     5.3.6.1     Show
  2734.  
  2735.                 Show  the  interactive    help menus in the
  2736.                 currently active window.
  2737.     
  2738.     Copyright (c) Anker Berg-Sonne, 1985,1986,1987,1988
  2739.     Sedt Version 3.3 (233)
  2740.  
  2741.                   Sedt hints and tricks
  2742.  
  2743.     6.1 Using Sedt for programming
  2744.  
  2745.             A number of features in Sedt are designed to make
  2746.         programming  easier.      This    section  describes  these
  2747.         features and how best to take advantage of them.
  2748.  
  2749.         Autoindentation
  2750.  
  2751.             By setting the    ruler  for  automatic indentation
  2752.             (type  A anywhere on  the  ruler  when    in  ruler
  2753.             definition  mode)  Sedt  is  set   up  to  indent
  2754.             automatically to the level of the  line  you just
  2755.             terminated  after  you    type  a  <Return>.   This
  2756.             facility  makes  it  easy to write programs in    a
  2757.             structured  fashion with  the  indentation  level
  2758.             proportional to the level of nesting.
  2759.  
  2760.         Matching bracketing characters
  2761.  
  2762.             When  programming,  especially    in  C  and  LISP,
  2763.             nesting is often hard to  get  right.    Sedt will
  2764.             locate a matching bracket (', ",  <,  >, [, ], {,
  2765.             }, (, or )) if you position  the  cursor over the
  2766.             character  and    type <Gold> <F19>.  This facility
  2767.             can also  be  used  to    move over sections of the
  2768.             program.
  2769.  
  2770.         Compiling from within Sedt
  2771.  
  2772.             By defining a  key  to    save the current file and
  2773.             spawn  a  compiler  you  can  compile  a  program
  2774.             without leaving Sedt.  If  the compiler generates
  2775.             a listing of error messages, you  can  define the
  2776.             key to also load the listing in another buffer.
  2777.  
  2778.         Defining templates
  2779.  
  2780.             By using the lean key feature, you  can  define a
  2781.             series    of  keys in such a way that  they  insert
  2782.             templates for key language constructs.
  2783.  
  2784.     6.2 Using Sedt for text and documents
  2785.  
  2786.         Formatting
  2787.  
  2788.             Use  word wrap and right margin, either ragged ot
  2789.             justified to  format  paragraphs as you type.  If
  2790.             you  make  changes    to   an  already    formatted
  2791.             paragraph, reformat the paragraph  with <Gold> J.
  2792.             It is a good idea  to have multiple stored rulers
  2793.             for different levels of indentation.
  2794.  
  2795.         Post processing
  2796.  
  2797.             Sedt is not a word processor and does not support
  2798.             many  features    such  as bolding and underlining.
  2799.             There  are,  however, a number of post processors
  2800.             that  together with Sedt will provide a more than
  2801.             acceptable word processing environment.  Define a
  2802.             key to save the file,  post  process  it and then
  2803.             print the final output.
  2804.  
  2805.         Spelling checkers
  2806.  
  2807.             Sedt  works  very  well  with  resident  spelling
  2808.             checkers  such    as Turbo Lightning on PC/DOS  and
  2809.             Thunder on the ATARI ST.  With a spelling checker
  2810.             and  thesaurus, you have a superb environment for
  2811.             producing documents.
  2812.  
  2813.     6.3 Repetitive tasks
  2814.  
  2815.             A number of tricks  can  be  used  to  facilitate
  2816.         tasks that require repetition of  a task many times.  The
  2817.         techniques are based on the ability to dynamically change
  2818.         key definitions.  Usually a combination of the techniques
  2819.         described lead to the optimal effort reduction.
  2820.  
  2821.         Using learned key sequences
  2822.  
  2823.             The  standard  technique  for  reexecuting  a key
  2824.             sequence is to type <Gold> <F17> st the  start of
  2825.             the sequence and terminate  the sequence with ^Z.
  2826.             The sequence can then be  replayed once by typing
  2827.             ^Z  and  many  times  by typing  <Gold>  <Number>
  2828.             ^Z.  <Number> is the number of times you  want to
  2829.             repeat    the  sequence  and  must  be typed on the
  2830.             regular typewriter keyboard.
  2831.  
  2832.         More advanced use of learned key sequences
  2833.  
  2834.             You can  learn keystrokes into other keys than ^Z
  2835.             by starting the  process  by  typing <Gold> <F18>
  2836.             and then typing the  key  you  want to learn into
  2837.             when prompted.    To exit  learning  mode  type the
  2838.             key you are learning into.  The learned keystroke
  2839.             sequence can be replayed by typing the    same  key
  2840.             again.
  2841.  
  2842.         Redefining complex keystroke sequences
  2843.  
  2844.             A very simple technique is to redefine a  command
  2845.             that  is  tied    to  a  complex key sequence to    a
  2846.             single keystroke.  You can very easily redefine a
  2847.             gold key sequence to a single keystroke by typing
  2848.             ^K, then the single  key you will tie the command
  2849.             to,  <Return>,    the old keystroke  sequence,  and
  2850.             finally <Return>.
  2851.  
  2852.         Using commands not tied to keys by default
  2853.  
  2854.             The default key definitions only use  a subset of
  2855.             Sedt's capabilities.    You  can  often  simplify
  2856.             tasks by taking  advantage  of the more extensive
  2857.             capabilities of the basic command set.
  2858.  
  2859.         Turning screen updates off
  2860.  
  2861.             When  a repetitive sequence  generates    extensive
  2862.             screen    updates it can be  simplified  by  taking
  2863.             advantage of the ability to turn  screen  updates
  2864.             off.
  2865.     
  2866.     Copyright (c) Anker Berg-Sonne, 1985,1986,1987,1988
  2867.     Sedt Version 3.3 (233)
  2868.  
  2869.                 Reference Manual
  2870.  
  2871.     7.1          Interpreting Keyboard Input
  2872.  
  2873.         Whenever  a  control  character, a function key or a  key
  2874.     preceded  by  <Gold>  is  typed Sedt will translate the keystroke
  2875.     into  a  series  of  internal  commands.  The mapping of keys  to
  2876.     internal  commands is defined by a key definition file and can be
  2877.     modified during the editing session.
  2878.  
  2879.         This chapter describes    the  syntax for internal commands
  2880.     and describes the sequence of events between typing a key and the
  2881.     effect of the command being displayed on the terminal.
  2882.  
  2883.         Sedt understands a large variety  of commands and command
  2884.     combinations that have not been tied  to  any keys.  To take full
  2885.     advantage  of  Sedt's  power  you  will need  to  understand  the
  2886.     internal command structure.
  2887.  
  2888.     7.2             Translating Keystrokes
  2889.  
  2890.         When a key is typed the commands tied  to the key will be
  2891.     written  to  an  internal buffer.  If the command string  is  not
  2892.     terminated by a period the command sequence will be stored and    a
  2893.     new  key  will    be  read.    This  continues  until a key with    a
  2894.     definition terminated by a period is typed.  This facilitates the
  2895.     use of multiple keystrokes to input a command sequence.
  2896.  
  2897.         The next  step    is  to scan the command string for tokens
  2898.     and prompts.   Tokens  are  replaced by the value of the token at
  2899.     the time of scanning  and  prompts  will  be  displayed  and then
  2900.     replaced by the response to  the  prompts.  The recognized tokens
  2901.     and prompt strings are:
  2902.  
  2903.         ? will cause SEDT to expect the following syntax:
  2904.  
  2905.             ?<delimiter><string><delimiter>
  2906.  
  2907.         where  <delimiter>  is    any ASCII character.   SEDT  will
  2908.         display  <string> on the bottom line of the  display  and
  2909.         then accept input from the keyboard.
  2910.  
  2911.         ! will cause SEDT to expect the following syntax:
  2912.  
  2913.             !<delimiter><string><delimiter>
  2914.  
  2915.         where <delimiter>  is  any  ASCII  character.    SEDT will
  2916.         display <string> on  the  bottom  line of the display and
  2917.         wait for a key or <Gold>  followed by a key to be struck.
  2918.         A  unique  ASCII  representation  for  the  key  will  be
  2919.         inserted  in  the  command  string  instead of the  above
  2920.         construct.
  2921.  
  2922.             The key representation is  a code that identifies
  2923.             the class and value of    the  key.  It consists of
  2924.             an  alphabetic    code  that  identifies the  class
  2925.             followed  by  a  three digit decimal number  that
  2926.             defines the value.
  2927.  
  2928.         Valid classes are:
  2929.  
  2930.             A    ASCII character.
  2931.             GA    <Gold> ASCII character.
  2932.             F    Function key.
  2933.             GF    <Gold> function key.
  2934.  
  2935.         Key values:
  2936.  
  2937.             For ASCII characters the value is the ASCII value
  2938.             of the character.
  2939.  
  2940.             For function keys the value identifies the key as
  2941.             follows on all but scancode mapped layouts:
  2942.  
  2943.  
  2944.             001        <F1>
  2945.             002        <F2>
  2946.             003        <F3>
  2947.             004        <F4>
  2948.             005        <F5>
  2949.             006        <F6>
  2950.             007        <F7>
  2951.             008        <F8>
  2952.             009        <F9>
  2953.             010        <F10>
  2954.             011        <F11>
  2955.             012        <F12>
  2956.             013        <F13>
  2957.             014        <F14>
  2958.             015        <F15>
  2959.             016        <F16>
  2960.             017        <F17>
  2961.             018        <F18>
  2962.             019        <F19>
  2963.             020        <F20>
  2964.             021        <Find>
  2965.             022        <Insert Here>
  2966.             023        <Remove>
  2967.             024        <Select>
  2968.             025        <Prev Screen>
  2969.             026        <Next Screen>
  2970.             027        <Up Arrow>
  2971.             028        <Left Arrow>
  2972.             029        <Down Arrow>
  2973.             030        <Right Arrow>
  2974.             031        <Keypad 0>
  2975.             032        <Keypad 1>
  2976.             033        <Keypad 2>
  2977.             034        <Keypad 3>
  2978.             035        <Keypad 4>
  2979.             036        <Keypad 5>
  2980.             037        <Keypad 6>
  2981.             038        <Keypad 7>
  2982.             039        <Keypad 8>
  2983.             040        <Keypad 9>
  2984.             041        <Keypad ,>
  2985.             042        <Keypad ->
  2986.             043        <Keypad .>
  2987.             044        <Keypad PF1>
  2988.             045        <Keypad PF2>
  2989.             046        <Keypad PF3>
  2990.             047        <Keypad PF4>
  2991.             048        <Keypad Enter>
  2992.             049        <Backspace>
  2993.  
  2994.             For scancode mapped keyboard layouts the values are:
  2995.  
  2996.             000        Ctrl Break (*)
  2997.             001        Alt Esc (*)
  2998.             003        Null character
  2999.             014        Alt Backspace (*)
  3000.             015        Tab
  3001.             016        Alt Q
  3002.             017        Alt W
  3003.             018        Alt E
  3004.             019        Alt R
  3005.             020        Alt T
  3006.             021        Alt Y
  3007.             022        Alt U
  3008.             023        Alt I
  3009.             024        Alt O
  3010.             025        Alt P
  3011.             026        Alt [ (*)
  3012.             027        Alt ] (*)
  3013.             028        Alt Ctrl (*)
  3014.             030        Alt A
  3015.             031        Alt S
  3016.             032        Alt D
  3017.             033        Alt F
  3018.             034        Alt G
  3019.             035        Alt H
  3020.             036        Alt J
  3021.             037        Alt K
  3022.             038        Alt L
  3023.             039        Alt ; (*)
  3024.             040        Alt ' (*)
  3025.             041        Alt ~ (*)
  3026.             043        Alt \ (*)
  3027.             044        Alt Z
  3028.             045        Alt X
  3029.             046        Alt C
  3030.             047        Alt V
  3031.             048        Alt B
  3032.             049        Alt N
  3033.             050        Alt M
  3034.             051        Alt , (*)
  3035.             052        Alt . (*)
  3036.             053        Alt / (*)
  3037.             055        Alt * (*)
  3038.             059        F1
  3039.             060        F2
  3040.             061        F3
  3041.             062        F4
  3042.             063        F5
  3043.             064        F6
  3044.             065        F7
  3045.             066        F8
  3046.             067        F9
  3047.             068        F10
  3048.             071        Home
  3049.             072        Up Arrow
  3050.             073        Page Up
  3051.             074        Alt Keypad - (*)
  3052.             075        Left Arrow
  3053.             076        Center Key (*)
  3054.             077        Right Arrow
  3055.             078        Alt Keypad + (*)
  3056.             079        End
  3057.             080        Down Arrow
  3058.             081        Page Down
  3059.             082        Insert
  3060.             083        Delete
  3061.             084        Uppercase F1
  3062.             085        Uppercase F2
  3063.             086        Uppercase F3
  3064.             087        Uppercase F4
  3065.             088        Uppercase F5
  3066.             089        Uppercase F6
  3067.             090        Uppercase F7
  3068.             091        Uppercase F8
  3069.             092        Uppercase F9
  3070.             093        Uppercase F10
  3071.             094        Control F1
  3072.             095        Control F2
  3073.             096        Control F3
  3074.             097        Control F4
  3075.             098        Control F5
  3076.             099        Control F6
  3077.             100        Control F7
  3078.             101        Control F8
  3079.             102        Control F9
  3080.             103        Control F10
  3081.             104        Alt F1
  3082.             105        Alt F2
  3083.             106        Alt F3
  3084.             107        Alt F4
  3085.             108        Alt F5
  3086.             109        Alt F6
  3087.             110        Alt F7
  3088.             111        Alt F8
  3089.             112        Alt F9
  3090.             113        Alt F10
  3091.             114        Control Print Screen
  3092.             115        Control Left Arrow
  3093.             116        Control Right Arrow
  3094.             117        Control End (Erase to end of line)
  3095.             118        Control Page Down
  3096.             119        Control Home (Clear screen)
  3097.             120        Alt 1
  3098.             121        Alt 2
  3099.             122        Alt 3
  3100.             123        Alt 4
  3101.             124        Alt 5
  3102.             125        Alt 6
  3103.             126        Alt 7
  3104.             127        Alt 8
  3105.             128        Alt 9
  3106.             129        Alt 0
  3107.             130        Alt -
  3108.             131        Alt =
  3109.             132        Control Page Up
  3110.             133        F11 (*)
  3111.             134        F12 (*)
  3112.             135        Shift F11 (*)
  3113.             136        Shift F12 (*)
  3114.             137        Ctrl F11 (*)
  3115.             138        Ctrl F12 (*)
  3116.             139        Alt F11 (*)
  3117.             140        Alt F12 (*)
  3118.             141        Ctrl Up Arrow (*)
  3119.             142        Ctrl Keypad - (*)
  3120.             143        Ctrl Center (*)
  3121.             144        Ctrl Keypad + (*)
  3122.             145        Ctrl Down Arrow (*)
  3123.             146        Ctrl Ins (*)
  3124.             147        Ctrl Del (*)
  3125.             148        Ctrl Tab (*)
  3126.             149        Ctrl / (*)
  3127.             150        Ctrl * (*)
  3128.             151        Alt Home (*)
  3129.             152        Alt Up (*)
  3130.             153        Alt PageUp (*)
  3131.             155        Alt Left (*)
  3132.             157        Alt Right (*)
  3133.             159        Alt End (*)
  3134.             160        Alt Down (*)
  3135.             161        Alt PageDown (*)
  3136.             162        Alt Insert (*)
  3137.             163        Alt Delete (*)
  3138.             164        Alt / (*)
  3139.             165        Alt Tab (*)
  3140.             166        Alt Enter (*)
  3141.  
  3142.             (*) Enhanced keyboard
  3143.  
  3144.         % must be followed by one of  the  following  characters:
  3145.             %, #, F, N, E, L, C, T, D or P.
  3146.  
  3147.             %% is replaced by a single %.
  3148.  
  3149.             %#<Letter>  is replaced by the current    value  of
  3150.             the  counters controlled by :CNS, :CNI and  :CNP.
  3151.             <Letter> must be in the range A to Z.
  3152.  
  3153.             %F is replaced by the name of the  output file of
  3154.             the current buffer being edited.
  3155.  
  3156.             %N is replaced by the name of the output  file of
  3157.             the current buffer being edited,  up  to, but not
  3158.             including, the first period.
  3159.  
  3160.             %T is  replaced  by  the file type, including the
  3161.             leading period, of the output file of the current
  3162.             buffer.
  3163.  
  3164.             %D  is    replaced  by  the  device  and    directory
  3165.             specification of the output file  of  the current
  3166.             buffer.
  3167.  
  3168.             %E is only supported on VMS and MS-DOS.    On VMS
  3169.             it  will be replaced by the string Sedt$Dir:, and
  3170.             on  MS-DOS  by    the value of the SEDT environment
  3171.             variable.
  3172.  
  3173.             %L is replaced by the current line number.
  3174.  
  3175.             %C is replaced by the current character position.
  3176.  
  3177.             %P is  replaced  by  the  contents  of    the paste
  3178.             buffer
  3179.  
  3180.     7.3             Command Syntax
  3181.  
  3182.         Once  the  command  string has been  preprocessed  it  is
  3183.     interpreted as a  series of commands.  This chapter describes all
  3184.     SEDT commands.     For  some  examples  of  how keys are programmed
  3185.     study the keyboard definition file supplied with Sedt.
  3186.  
  3187.         If an  error  occurs during execution of a command string
  3188.     all commands following the one that the error occurred in will be
  3189.     skipped.  Also, if  the  command  was  in  a  series  of commands
  3190.     enclosed in parentheses preceded by a  count  the parentheses are
  3191.     exited and further iterations skipped.
  3192.  
  3193.         SEDT  commands    may  be    grouped  by    placing  them  in
  3194.     parentheses.    A count in  front  of  a  group  of  commands  in
  3195.     parentheses causes the group to be  repeated  the number of times
  3196.     given in the count.
  3197.  
  3198.         It is also possible to execute commands conditionally.
  3199.  
  3200.         ^C(<Commands>)    causes    <Commands> to be executed only if
  3201.         the current buffer contains unsaved changes.
  3202.  
  3203.         ^C(<Commands1>|<Commands2>)   causes  <Commands1>  to  be
  3204.         executed  if  the  buffer  contains  unsaved changes  and
  3205.         <Commands2> to executed if the buffer is unchanged.
  3206.  
  3207.         ^E(<Commands1>)(<Commands2>)  causes  <Commands1>  to  be
  3208.         executed.  If any  error  occurs during the execution the
  3209.         rest of <Commands1> will be skipped and  <Commands2> will
  3210.         be  executed.  <Commands2> string is ignored if no  error
  3211.         occurs.
  3212.  
  3213.         ^E(<Commands1>)(<Commands2>|<Commands3>)    will  execute
  3214.         <Commands1>.   If an error occurs the rest of <Commands1>
  3215.         will be skipped  and  then  <Commands2> will be executed,
  3216.         otherwise  <Commands3> is executed  after  completion  of
  3217.         <Commands1>.
  3218.  
  3219.         ^S(<Commands>) causes  <Commands>  to be executed only if
  3220.         there is a select region active.
  3221.  
  3222.         ^S(<Commands1>|<Commands2>)   causes  <Commands1>  to  be
  3223.         executed if a select region is    active.    If  no  select
  3224.         region is active <Commands2> will be executed>.
  3225.  
  3226.         To save a flag    and  have  it  restored  after    a command
  3227.     sequence you bracket the command sequence and precede it with one
  3228.     of the following commands:
  3229.  
  3230.         ^TD(<commands>) Saves the direction flag and restores  it
  3231.             after <commands> have been executed.
  3232.  
  3233.         ^TI(<commands>)  Saves    the  replace/insert mode flag and
  3234.             restores it after <commands> have been executed.
  3235.  
  3236.         ^TB(<commands>)  Saves     the  block/line  mode    flag  and
  3237.             restores it after <commands> have been executed.
  3238.  
  3239.         ^TT(<commands>) Saves the  the tab insert/expand flag and
  3240.             restores it after <commands> have been executed.
  3241.  
  3242.         SEDT commands are alphanumeric strings preceded by either
  3243.     the  symbol  @    or  :.    Commands preceded by @    define    a  cursor
  3244.     position and normally move the cursor to the position the command
  3245.     defines.    Commands preceded by :    are  action  commands  that
  3246.     perform a change on the file being  edited  or change the editing
  3247.     environment.  Some action commands must be followed by a position
  3248.     command that defines the range of text that the command acts on.
  3249.  
  3250.         All  commands  can  be preceded by a direction    indicator
  3251.     and/or a count.  Not all commands use the  direction indicator or
  3252.     count.     Those that do have the direction indicator or    count  in
  3253.     the syntactical description.
  3254.  
  3255.         The direction indicator is one of +, -, <  or >.  + and >
  3256.     set  the  current  direction  to  be  forward,    toward    the  last
  3257.     character in the buffer.  - and < set the current direction to be
  3258.     backward, toward  the  first  character  in  the  buffer.   If no
  3259.     direction indicator is    provided the command will use the default
  3260.     direction, which initially is forward but can be changed with the
  3261.     commands :A and :B.
  3262.  
  3263.         Count  is either a string of  decimal  digits  optionally
  3264.     followed  by  a dollar sign, $, and  another  string  of  decimal
  3265.     digits,  or a dollar sign, $, followed by  a  string  of  decimal
  3266.     digits.  If no dollar sign is in the count, or it  starts  with a
  3267.     dollar sign, it is interpreted    as  the  decimal value defined by
  3268.     the string.  If the count  contains  a    dollar    sign  between two
  3269.     decimal strings it is interpreted at the decimal value defined by
  3270.     the first string.  If no count is  given  the  command will use a
  3271.     count of one.  This feature allows you to program a key to have a
  3272.     default count by starting the  definition  with $<count>;  If the
  3273.     user supplies a count, it will override the one after $.
  3274.  
  3275.             $10    returns the count 10
  3276.             20$30    returns the count 20
  3277.             40    returns the count 40
  3278.  
  3279.     7.4                Commands
  3280.  
  3281.     7.4.1.1                @AC
  3282.  
  3283.                    Absolute Character
  3284.  
  3285.     Syntax:     {<Count>}@AC
  3286.  
  3287.     Semantics:    Move  the  cursor    to  the  absolute    character
  3288.             position <Count> in the current buffer.
  3289.  
  3290.     7.4.1.2                @AL
  3291.  
  3292.                  Absolute Line
  3293.  
  3294.     Syntax:     {<Count>}@AL
  3295.  
  3296.     Semantics:    Move the cursor to  the  start    of  absolute line
  3297.             <Count> in the current buffer.
  3298.  
  3299.     7.4.1.3                @BB
  3300.  
  3301.                   Beginning of Buffer
  3302.  
  3303.     Syntax:     @BB
  3304.  
  3305.     Semantics:    Move the cursor to the    first  character  in  the
  3306.             current buffer.
  3307.  
  3308.     7.4.1.4                @BM
  3309.  
  3310.               Matching Bracketing Character
  3311.  
  3312.     Syntax:     @BM
  3313.  
  3314.     Semantics:    Move the  cursor to the matching character if the
  3315.             character under the  cursor  is one of:  ', ", <,
  3316.             >, [, ], {, }, (, or ).  ' and " are searched for
  3317.             in  the  current  direction, the  others  in  the
  3318.             direction the character implies.
  3319.  
  3320.     7.4.1.5                @EB
  3321.  
  3322.                  End of Buffer
  3323.  
  3324.     Syntax:     @EB
  3325.  
  3326.     Semantics:    Move the cursor to the end of the current buffer.
  3327.             The cursor  position will be right after the last
  3328.             character in the buffer.
  3329.  
  3330.     7.4.1.6                @EL
  3331.  
  3332.                   End of Line
  3333.  
  3334.     Syntax:     <Count>@EL
  3335.  
  3336.     Semantics:    Move the cursor to  the  next  end of line in the
  3337.             current  direction.    The end    of  line  is  the
  3338.             position  to  the  immediate  right of    the  last
  3339.             character in the line.     0+@EL    is a special case
  3340.             which  always  stays at the end  of  the  current
  3341.             line.
  3342.  
  3343.     7.4.1.7                @C
  3344.  
  3345.                    Character
  3346.  
  3347.     Syntax:     {+|-|<|>}{<Count>}@C
  3348.  
  3349.     Semantics:    Move the cursor <Count> characters in the current
  3350.             direction.  The end of line terminator is counted
  3351.             as a  character.
  3352.  
  3353.     7.4.1.8                @F
  3354.  
  3355.                       Find
  3356.  
  3357.     Syntax:     {+|-|<|>}{<Count>}@F<Delimiter><String><Delimiter>
  3358.  
  3359.     Semantics:    If  the  <String>  is not empty load it  into  an
  3360.             internal buffer called the current search string.
  3361.             The  search  for  an  occurrence  of  the current
  3362.             search    string in the current direction and place
  3363.             the  cursor  over  the    first  character  in  the
  3364.             occurrence.  The search is case insensitive.
  3365.  
  3366.     7.4.1.9                @L
  3367.  
  3368.                       Line
  3369.  
  3370.     Syntax:     {+|-|<|>}{<Count>}@L
  3371.  
  3372.     Semantics:    Move  the  cursor to the <Count>'th start of line
  3373.             in  the  current direction.  The start of line is
  3374.             the  first   character    on  the  line,    blank  or
  3375.             non-blank.  0-@L is  a    special case, which stays
  3376.             at the beginning of the current line.
  3377.  
  3378.     7.4.1.10               @M
  3379.  
  3380.                       Mark
  3381.  
  3382.     Syntax:     {<Count>}@M
  3383.  
  3384.     Semantics:    Move  the  cursor  to  the  position  in the file
  3385.             where the  cursor  was when a :M command with the
  3386.             same count was executed last.  Valid counts are 1
  3387.             through 10.  An error message is  displayed if an
  3388.             invalid  count is given or a :M command  has  not
  3389.             previously been executed with the same count.
  3390.  
  3391.     7.4.1.11               @N
  3392.  
  3393.                       Next
  3394.  
  3395.     Syntax:     {+|-|<|>}{<Count>}@N
  3396.  
  3397.     Semantics:    Move  the cursor to the <Count>'th occurrence  in
  3398.             the current direction of the string last given in
  3399.             an  @F    command.   The cursor is placed over  the
  3400.             first character  of  the  string.   The search is
  3401.             case insensitive.
  3402.  
  3403.     7.4.1.12              @PAG
  3404.  
  3405.                       Page
  3406.  
  3407.     Syntax:     {+|-|<|>}{<Count>}@PAG
  3408.  
  3409.     Semantics:    Move  the cursor to the first character after the
  3410.             <Count>'th ASCII  <FF>    in the current direction.
  3411.             If  there  are    <Count>-1  ASCII  <FF>'s  in  the
  3412.             current direction the cursor  will  be    placed at
  3413.             the beginning of the file  if  the  direction  is
  3414.             backwards  or  at  the end of  the  file  if  the
  3415.             direction is forward.
  3416.  
  3417.     7.4.1.13              @PAR
  3418.  
  3419.                    Paragraph
  3420.  
  3421.     Syntax:     {+|-|<|>}{<Count>}@PAR
  3422.  
  3423.     Semantics:    Move  the  cursor  to  the  <Count>'th    start  of
  3424.             paragraph in the current direction.  If there are
  3425.             exactly  <Count>-1 beginning  of  paragraphs  the
  3426.             cursor will be placed  at  the    beginning  of the
  3427.             file if the direction is  backward  or at the end
  3428.             of  the  file if the direction    is  forward.    A
  3429.             beginning  of  paragraph  is a sequence of  ASCII
  3430.             space, tab and line feeds containing at least two
  3431.             line  feeds.   The cursor is placed on the  first
  3432.             character after  the  string  of spaces, tabs and
  3433.             line feeds.
  3434.  
  3435.     7.4.1.14              @SCR
  3436.  
  3437.                       Screen
  3438.  
  3439.     Syntax:     {+|-|<|>}{<Count>}@SCR
  3440.  
  3441.     Semantics:    Move <Count> times one    less  than  the number of
  3442.             lines in the current window  lines in the current
  3443.             direction.
  3444.  
  3445.  
  3446.     7.4.1.15              @SEN
  3447.  
  3448.                     Sentence
  3449.  
  3450.     Syntax:     {+|-|<|>}{<Count>}@SEN
  3451.  
  3452.     Semantics:    Move to the  <Count>'th  start of sentence in the
  3453.             current direction.  A  start  of  sentence is the
  3454.             first character after a string    of  ASCII spaces,
  3455.             tabs, line feeds,  <.>,  <;>,  <?>,  <!>,  or <:>
  3456.             containing  exactly one line feed, <.>, <;>, <?>,
  3457.             <!>,  or  <:>  .  If there are exactly    <Count>-1
  3458.             sentences  the cursor will be placed at the start
  3459.             of the    file  if the direction is backwards or at
  3460.             the end of the file if the direction is forward.
  3461.  
  3462.     7.4.1.16               @SR
  3463.  
  3464.                   Select Range
  3465.  
  3466.     Syntax:     @SR
  3467.  
  3468.     Semantics:    Move the cursor to the    point  the  cursor was at
  3469.             the last time a :SEL command  was  executed.   An
  3470.             error message is displayed if a :SEL command  has
  3471.             not been executed.
  3472.  
  3473.     7.4.1.17               @V
  3474.  
  3475.                     Vertical
  3476.  
  3477.     Syntax:     {+|-|<|>}{<Count>}@V
  3478.  
  3479.     Semantics:    Move  the  cursor  <Count>  lines  in the current
  3480.             direction.   SEDT attempts to position the cursor
  3481.             at the same  column as the cursor was at before a
  3482.             series of @V commands were issued.  The cursor is
  3483.             never placed further to the right than one column
  3484.             to the right of the last character on a line.  If
  3485.             the    line  contains  ASCII  tab  characters  or
  3486.             characters    that    SEDT     represents    with
  3487.             multi-character sequences it may  not  be able to
  3488.             position at exactly the same column.
  3489.  
  3490.             A series of these commands will  attempt  to keep
  3491.             the cursor at the column it was at when the first
  3492.             command was executed.
  3493.  
  3494.     7.4.1.18               @W
  3495.  
  3496.                       Word
  3497.  
  3498.     Syntax:     {+|-|<|>}{<Count>}@W
  3499.  
  3500.     Semantics:    Move  the  cursor <Count> words  in  the  current
  3501.             direction.    A  word is either  an  alphanumeric
  3502.             string    containing  underscores  <_> or printable
  3503.             ASCII characters or  a    single    non-alphanumeric,
  3504.             printable  ASCII  character.      The  cursor  is
  3505.             positioned over the first character in the word.
  3506.  
  3507.     7.4.1.19              @XNM
  3508.  
  3509.                     Next Mark
  3510.  
  3511.     Syntax:     @XNM
  3512.  
  3513.     Semantics:    Move to  the next marked position.  The next mark
  3514.             is the closest    in  the  current  directlion.  An
  3515.             error is caused if  there are no more marks in ht
  3516.             current direction.
  3517.  
  3518.     7.4.1.20              @XSR
  3519.  
  3520.                Select Range with no clear
  3521.  
  3522.     Syntax:     @XSR
  3523.  
  3524.     Semantics:    Exactly the same as @SR, but the select region is
  3525.             not cleared.
  3526.  
  3527.     7.4.2.1                :A
  3528.  
  3529.                     Advance
  3530.  
  3531.     Syntax:     :A
  3532.  
  3533.     Semantics:    Set  the default  direction  for  cursor-movement
  3534.             commands to be    forward  toward  the  end  of the
  3535.             file.
  3536.  
  3537.             The default direction is displayed  on    the  mode
  3538.             line of the display.
  3539.  
  3540.     7.4.2.2                :B
  3541.  
  3542.                     Backward
  3543.  
  3544.     Syntax:     :B
  3545.  
  3546.     Semantics:    Set  the  default  direction for  cursor-movement
  3547.             commands to be backward  toward  the start of the
  3548.             file.
  3549.  
  3550.             The  default direction is displayed on    the  mode
  3551.             line of the display.
  3552.  
  3553.     7.4.2.3                :CB
  3554.  
  3555.                  Cursor at Bottom
  3556.  
  3557.     Syntax:     :CB
  3558.  
  3559.     Semantics:    Scrolls the  current  window  to place the cursor
  3560.             line at the  next to last line in the window.  Is
  3561.             only available in full screen editing mode.
  3562.  
  3563.     7.4.2.4                :CC
  3564.  
  3565.                   Change Case
  3566.  
  3567.     Syntax:     :CC<@ command>
  3568.  
  3569.     Semantics:    Switch    all  lower  case characters to upper case
  3570.             and  all upper case characters to lower case from
  3571.             the  current  cursor  position    to  the  position
  3572.             defined by the @ command.
  3573.  
  3574.     7.4.2.5                :CD
  3575.  
  3576.                   Change to Lower case
  3577.  
  3578.     Syntax:     :CD<@ command>
  3579.  
  3580.     Semantics:    Change all upper  case    characters  to lower case
  3581.             from the current cursor  position to the position
  3582.             defined by the @ command.
  3583.  
  3584.     7.4.2.6                :CE
  3585.  
  3586.                  Change Case Edt Style
  3587.  
  3588.     Syntax:     <Count>:CE
  3589.  
  3590.     Semantics:    Change    the  case  of     alphabetic    characters
  3591.             according to the following rules:
  3592.  
  3593.             If  a  select range is    active    change    the  case
  3594.             within the select range.  Otherwise,  if the last
  3595.             command  was a search command change the case  of
  3596.             the string found by the search.  Otherwise change
  3597.             the case  of  <Count>  characters from the cursor
  3598.             position.
  3599.  
  3600.     7.4.2.7                :CH
  3601.  
  3602.                  Insert ASCII Character
  3603.  
  3604.     Syntax:     <Count>:CH
  3605.  
  3606.     Semantics:    Insert    an  ASCII   character  of  decimal  value
  3607.             <Count> at the cursor position.
  3608.  
  3609.     7.4.2.8                :CK
  3610.  
  3611.                 Checkpoint buffer
  3612.  
  3613.     Syntax:     :CK
  3614.  
  3615.     Semantics:    Perform an autosave on the current buffer exactly
  3616.             as if an automatic autosave had happened.
  3617.  
  3618.     7.4.2.9                :CL
  3619.  
  3620.                   Center Line
  3621.  
  3622.     Syntax:     :CL
  3623.  
  3624.     Semantics:    Center    the line containing  the  cursor  between
  3625.             the left and right margins (denoted by L and R or
  3626.             J in the ruler line).
  3627.  
  3628.     7.4.2.10               :CM
  3629.  
  3630.                  Cursor at Middle
  3631.  
  3632.     Syntax:     :CM
  3633.  
  3634.     Semantics:    Scrolls the  current  window  to place the cursor
  3635.             line on the middle  line  in the window.  Is only
  3636.             available in full screen editing mode.
  3637.  
  3638.     7.4.2.11              :CNA
  3639.  
  3640.                   Add number to counter
  3641.  
  3642.     Syntax:     :CNA{#<Letter>}
  3643.  
  3644.     Semantics:    Add the  contents  of the buffer, starting at the
  3645.             current cursor position as an  integer    up to the
  3646.             first non-numeric character, to the value  of the
  3647.             counter.  The value can be preceeded  by a + or -
  3648.             character.    If  #<Letter> is included the value
  3649.             will  be    taken  from  the  variable    <Letter>.
  3650.             Omitting #<Letter> has    the  same  effects as #A.
  3651.             <Letter> must be in the range A to Z.
  3652.  
  3653.     7.4.2.12              :CNG
  3654.  
  3655.                  Get counter from buffer
  3656.  
  3657.     Syntax:     :CNG{#<Letter>}
  3658.  
  3659.     Semantics:    Interpret the contents of the buffer, starting at
  3660.             the current cursor  position  as an integer up to
  3661.             the  first non-numeric character  and  place  the
  3662.             value in the counter.  The value can be preceeded
  3663.             by a  + or - character.  If #<Letter> is included
  3664.             the  value  will   be  taken  from  the  variable
  3665.             <Letter>.    Omitting  #<Letter>   has    the  same
  3666.             effects as #A.    <Letter> must be in  the  range A
  3667.             to Z.
  3668.  
  3669.     7.4.2.13              :CNI
  3670.  
  3671.              Increment or Decrement Counter
  3672.  
  3673.     Syntax:     {+|-}{<Count>}:CNI{#<Letter>}
  3674.  
  3675.     Semantics:    Increment  or    decrement  the    value  of  Sedt's
  3676.             internal  counter by <Count>.    If  #<Letter>  is
  3677.             included  the  value  will  be    taken    from  the
  3678.             variable  <Letter>.    Omitting #<Letter> has the
  3679.             same  effects  as  #A.     <Letter> must be in  the
  3680.             range A to Z.
  3681.  
  3682.     7.4.2.14              :CNP
  3683.  
  3684.             Insert Value of Counter in Buffer
  3685.  
  3686.     Syntax:     :CNP{#<Letter>}
  3687.  
  3688.     Semantics:    Insert    the  decimal  value  of  Sedt's  internal
  3689.             counter into the current  buffer  at  the  cursor
  3690.             location.   If    #<Letter>  is  included the value
  3691.             will  be  taken    from  the  variable    <Letter>.
  3692.             Omitting #<Letter>  has  the  same effects as #A.
  3693.             <Letter> must be in the range A to Z.
  3694.  
  3695.     7.4.2.15              :CNS
  3696.  
  3697.                   Set Value of Counter
  3698.  
  3699.     Syntax:     {+|-|}{<Count>}:CNS{#<Letter>}
  3700.  
  3701.     Semantics:    Set  the  value  of Sedt's  internal  counter  to
  3702.             <Count>.  If #<Letter> is included the value will
  3703.             be taken from the variable  <Letter>.     Omitting
  3704.             #<Letter> has the  same  effects as #A.  <Letter>
  3705.             must be in the range A to Z.
  3706.  
  3707.     7.4.2.16               :CS
  3708.  
  3709.                    Save Buffer Context
  3710.  
  3711.     Syntax:     :CS
  3712.  
  3713.     Semantics:    Save the  cursor  position,  all  marks  and  the
  3714.             current ruler in  a  file with the same file name
  3715.             as the output file  of    the  current  buffer, but
  3716.             with  the  extention  .CTX.     If   the  option
  3717.             CONTEXT=SAVED  is  set    these  setting    will   be
  3718.             restored when the file is opened for editing.
  3719.  
  3720.     7.4.2.17               :CT
  3721.  
  3722.                   Cursor at Top
  3723.  
  3724.     Syntax:     :CT
  3725.  
  3726.     Semantics:    Scrolls the  current  window  to place the cursor
  3727.             line at the second line  in  the window.  Is only
  3728.             available in full screen editing mode.
  3729.  
  3730.     7.4.2.18               :CU
  3731.  
  3732.                   Change to Upper Case
  3733.  
  3734.     Syntax:     :CU<@ command>
  3735.  
  3736.     Semantics:    Change all lower  case    characters  to upper case
  3737.             from the current cursor  position to the position
  3738.             defined by the @ command.
  3739.  
  3740.     7.4.2.19               :D
  3741.  
  3742.                      Delete
  3743.  
  3744.     Syntax:     :D<@ command>
  3745.  
  3746.     Semantics:    Delete all characters from the    current  position
  3747.             to  the  position defined by the  @  command  and
  3748.             place  the  deleted  text in an internal  buffer.
  3749.             Separate buffers exist for different  @ commands;
  3750.             The  relationship  between @ commands and  delete
  3751.             buffers is:
  3752.  
  3753.                 @AC    Unknown
  3754.                 @AL    Unknown
  3755.                 @BB    Unknown
  3756.                 @EB    Unknown
  3757.                 @EL    Line
  3758.                 @C    Char
  3759.                 @F    Find
  3760.                 @L    Line
  3761.                 @M    Unknown
  3762.                 @N    Find
  3763.                 @PAG    Pag
  3764.                 @PAR    Par
  3765.                 @SEN    Sen
  3766.                 @SR    Paste
  3767.                 @V    Unknown
  3768.                 @W    Word
  3769.  
  3770.                 In insert mode    the  text will be removed
  3771.             entirely and the text  after  the  block  removed
  3772.             will  immediately  follow  the    text  before  the
  3773.             block.    In replace mode the block removed will be
  3774.             replaced  with    space  characters, preserving any
  3775.             line terminators.
  3776.  
  3777.     7.4.2.20              :EAP
  3778.  
  3779.                    Delete and Append
  3780.  
  3781.     Syntax:     :EAP<@ command>
  3782.  
  3783.     Semantics:    Delete all characters from the    current  position
  3784.             to  the  position defined by the  @  command  and
  3785.             appends the text to  the  contents of an internal
  3786.             buffer.  Separate buffers exist  for  different @
  3787.             commands;    The relationship between @  commands
  3788.             and delete buffers is:
  3789.  
  3790.                 @AC    Unknown
  3791.                 @AL    Unknown
  3792.                 @BB    Unknown
  3793.                 @EB    Unknown
  3794.                 @EL    Line
  3795.                 @C    Char
  3796.                 @F    Find
  3797.                 @L    Line
  3798.                 @M    Unknown
  3799.                 @N    Find
  3800.                 @PAG    Pag
  3801.                 @PAR    Par
  3802.                 @SEN    Sen
  3803.                 @SR    Paste
  3804.                 @V    Unknown
  3805.                 @W    Word
  3806.  
  3807.                 In insert mode    the  text will be removed
  3808.             entirely and the text  after  the  block  removed
  3809.             will  immediately  follow  the    text  before  the
  3810.             block.    In replace mode the block removed will be
  3811.             replaced with space  characters,  preserving  any
  3812.             line terminators.
  3813.  
  3814.     7.4.2.21               :EK
  3815.  
  3816.                    Execute Key
  3817.  
  3818.     Syntax:     :EK<Key>
  3819.  
  3820.     Semantics:    Execute the definition of <Key> exactly as  if it
  3821.             had  been  typed on the keyboard.  This  includes
  3822.             prompting for input and replacement of tokens.
  3823.  
  3824.             <Key>  is a code that identifies  the  class  and
  3825.             value of the key.  It consists    of  an alphabetic
  3826.             code  that  identifies    the  class  followed by a
  3827.             three  digit  decimal  number  that  defines  the
  3828.             value.
  3829.  
  3830.         Valid classes are:
  3831.  
  3832.             A    ASCII character.
  3833.             GA    Gold ASCII character.
  3834.             F    Function key.
  3835.             GF    Gold function key.
  3836.  
  3837.         Key values:
  3838.  
  3839.             For ASCII characters the value is the ASCII value
  3840.             of the character.
  3841.  
  3842.             For function keys the value identifies the key as
  3843.             follows:
  3844.  
  3845.  
  3846.             001        <F1>
  3847.             002        <F2>
  3848.             003        <F3>
  3849.             004        <F4>
  3850.             005        <F5>
  3851.             006        <F6>
  3852.             007        <F7>
  3853.             008        <F8>
  3854.             009        <F9>
  3855.             010        <F10>
  3856.             011        <F11>
  3857.             012        <F12>
  3858.             013        <F13>
  3859.             014        <F14>
  3860.             015        <F15>
  3861.             016        <F16>
  3862.             017        <F17>
  3863.             018        <F18>
  3864.             019        <F19>
  3865.             020        <F20>
  3866.             021        <Find>
  3867.             022        <Insert Here>
  3868.             023        <Remove>
  3869.             024        <Select>
  3870.             025        <Prev Screen>
  3871.             026        <Next Screen>
  3872.             027        <Up Arrow>
  3873.             028        <Left Arrow>
  3874.             029        <Down Arrow>
  3875.             030        <Right Arrow>
  3876.             031        <Keypad 0>
  3877.             032        <Keypad 1>
  3878.             033        <Keypad 2>
  3879.             034        <Keypad 3>
  3880.             035        <Keypad 4>
  3881.             036        <Keypad 5>
  3882.             037        <Keypad 6>
  3883.             038        <Keypad 7>
  3884.             039        <Keypad 8>
  3885.             040        <Keypad 9>
  3886.             041        <Keypad ,>
  3887.             042        <Keypad ->
  3888.             043        <Keypad .>
  3889.             044        <Keypad PF1>
  3890.             045        <Keypad PF2>
  3891.             046        <Keypad PF3>
  3892.             047        <Keypad PF4>
  3893.             048        <Keypad Enter>
  3894.             049        <Backspace>
  3895.  
  3896.             For scancode mapped keyboard layouts the values are:
  3897.  
  3898.             000        Ctrl Break (*)
  3899.             001        Alt Esc (*)
  3900.             003        Null character
  3901.             014        Alt Backspace (*)
  3902.             015        Tab
  3903.             016        Alt Q
  3904.             017        Alt W
  3905.             018        Alt E
  3906.             019        Alt R
  3907.             020        Alt T
  3908.             021        Alt Y
  3909.             022        Alt U
  3910.             023        Alt I
  3911.             024        Alt O
  3912.             025        Alt P
  3913.             026        Alt [ (*)
  3914.             027        Alt ] (*)
  3915.             028        Alt Ctrl (*)
  3916.             030        Alt A
  3917.             031        Alt S
  3918.             032        Alt D
  3919.             033        Alt F
  3920.             034        Alt G
  3921.             035        Alt H
  3922.             036        Alt J
  3923.             037        Alt K
  3924.             038        Alt L
  3925.             039        Alt ; (*)
  3926.             040        Alt ' (*)
  3927.             041        Alt ~ (*)
  3928.             043        Alt \ (*)
  3929.             044        Alt Z
  3930.             045        Alt X
  3931.             046        Alt C
  3932.             047        Alt V
  3933.             048        Alt B
  3934.             049        Alt N
  3935.             050        Alt M
  3936.             051        Alt , (*)
  3937.             052        Alt . (*)
  3938.             053        Alt / (*)
  3939.             055        Alt * (*)
  3940.             059        F1
  3941.             060        F2
  3942.             061        F3
  3943.             062        F4
  3944.             063        F5
  3945.             064        F6
  3946.             065        F7
  3947.             066        F8
  3948.             067        F9
  3949.             068        F10
  3950.             071        Home
  3951.             072        Up Arrow
  3952.             073        Page Up
  3953.             074        Alt Keypad - (*)
  3954.             075        Left Arrow
  3955.             076        Center Key (*)
  3956.             077        Right Arrow
  3957.             078        Alt Keypad + (*)
  3958.             079        End
  3959.             080        Down Arrow
  3960.             081        Page Down
  3961.             082        Insert
  3962.             083        Delete
  3963.             084        Uppercase F1
  3964.             085        Uppercase F2
  3965.             086        Uppercase F3
  3966.             087        Uppercase F4
  3967.             088        Uppercase F5
  3968.             089        Uppercase F6
  3969.             090        Uppercase F7
  3970.             091        Uppercase F8
  3971.             092        Uppercase F9
  3972.             093        Uppercase F10
  3973.             094        Control F1
  3974.             095        Control F2
  3975.             096        Control F3
  3976.             097        Control F4
  3977.             098        Control F5
  3978.             099        Control F6
  3979.             100        Control F7
  3980.             101        Control F8
  3981.             102        Control F9
  3982.             103        Control F10
  3983.             104        Alt F1
  3984.             105        Alt F2
  3985.             106        Alt F3
  3986.             107        Alt F4
  3987.             108        Alt F5
  3988.             109        Alt F6
  3989.             110        Alt F7
  3990.             111        Alt F8
  3991.             112        Alt F9
  3992.             113        Alt F10
  3993.             114        Control Print Screen
  3994.             115        Control Left Arrow
  3995.             116        Control Right Arrow
  3996.             117        Control End (Erase to end of line)
  3997.             118        Control Page Down
  3998.             119        Control Home (Clear screen)
  3999.             120        Alt 1
  4000.             121        Alt 2
  4001.             122        Alt 3
  4002.             123        Alt 4
  4003.             124        Alt 5
  4004.             125        Alt 6
  4005.             126        Alt 7
  4006.             127        Alt 8
  4007.             128        Alt 9
  4008.             129        Alt 0
  4009.             130        Alt -
  4010.             131        Alt =
  4011.             132        Control Page Up
  4012.             133        F11 (*)
  4013.             134        F12 (*)
  4014.             135        Shift F11 (*)
  4015.             136        Shift F12 (*)
  4016.             137        Ctrl F11 (*)
  4017.             138        Ctrl F12 (*)
  4018.             139        Alt F11 (*)
  4019.             140        Alt F12 (*)
  4020.             141        Ctrl Up Arrow (*)
  4021.             142        Ctrl Keypad - (*)
  4022.             143        Ctrl Center (*)
  4023.             144        Ctrl Keypad + (*)
  4024.             145        Ctrl Down Arrow (*)
  4025.             146        Ctrl Ins (*)
  4026.             147        Ctrl Del (*)
  4027.             148        Ctrl Tab (*)
  4028.             149        Ctrl / (*)
  4029.             150        Ctrl * (*)
  4030.             151        Alt Home (*)
  4031.             152        Alt Up (*)
  4032.             153        Alt PageUp (*)
  4033.             155        Alt Left (*)
  4034.             157        Alt Right (*)
  4035.             159        Alt End (*)
  4036.             160        Alt Down (*)
  4037.             161        Alt PageDown (*)
  4038.             162        Alt Insert (*)
  4039.             163        Alt Delete (*)
  4040.             164        Alt / (*)
  4041.             165        Alt Tab (*)
  4042.             166        Alt Enter (*)
  4043.  
  4044.             (*) Enhanced Keyboard
  4045.  
  4046.     7.4.2.22               :EL
  4047.  
  4048.                 Set error level
  4049.  
  4050.     Syntax:     <Count>:EL
  4051.  
  4052.     Semantics:    Set the error level to ring the bell at <count>
  4053.             3: All errors
  4054.             2: All errors except entity errors (default)
  4055.             1: Only serious and fatal errors
  4056.             0: never
  4057.  
  4058.     7.4.2.23              :ERC
  4059.  
  4060.                 Clear Edit Region
  4061.  
  4062.     Syntax:     :ERC
  4063.  
  4064.     Semantics:    Cancels any edit region in effect.
  4065.  
  4066.     7.4.2.24              :ERS
  4067.  
  4068.                  Set Edit Region
  4069.  
  4070.     Syntax:     :ERS<@ Command>
  4071.  
  4072.     Semantics:    Sets the edit region of the  current buffer to go
  4073.             from  the  current  cursor position to the  point
  4074.             defined by <@ Command>.
  4075.  
  4076.             As long as an edit region is in effect the cursor
  4077.             cannot    be  moved  outside  it, thus limiting any
  4078.             editing operations be happen within the region.
  4079.  
  4080.     7.4.2.25               :FE
  4081.  
  4082.                    Edit File
  4083.  
  4084.     Syntax:     :FE<Delimiter><File Name><Delimiter>
  4085.  
  4086.     Semantics:    If the current buffer contains modified text  the
  4087.             user is asked whether the current contents should
  4088.             be saved.  If affirmative, the contents are saved
  4089.             in  the    current  output  file,  otherwise  the
  4090.             contents  are discarded.   The    contents  of  the
  4091.             buffer    are  then  cleared.    The   <File  Name>
  4092.             argument is assigned to the input file    name  and
  4093.             output    file  name of the current buffer and  the
  4094.             file is read into the buffer if it exists.  A new
  4095.             journal  file is opened.  The cursor is placed at
  4096.             the first character of the file.
  4097.  
  4098.     7.4.2.26               :FG
  4099.  
  4100.                     Get File
  4101.  
  4102.     Syntax:     :FG<Delimiter><File Name><Delimiter>
  4103.  
  4104.     Semantics:    Read  the  contents  of the file into the current
  4105.             buffer    at the    current  cursor  position.    The
  4106.             cursor is placed at the first character read in.
  4107.  
  4108.     7.4.2.27              :FNL
  4109.  
  4110.                    Font Larger
  4111.  
  4112.     Syntax:     :FNL
  4113.  
  4114.     Semantics:    Select the  next  larger font that the system can
  4115.             display.
  4116.  
  4117.     7.4.2.28              :FNS
  4118.  
  4119.                    Font Smaller
  4120.  
  4121.     Syntax:     :FNS
  4122.  
  4123.     Semantics:    Select the next  smaller font that the system can
  4124.             display.
  4125.  
  4126.     7.4.2.29               :FS
  4127.  
  4128.                    Save File
  4129.  
  4130.     Syntax:     :FS<Delimiter><File Name><Delimiter>
  4131.  
  4132.     Semantics:    Save the contents of  the  current  buffer in the
  4133.             file given in the <File  Name>    argument.  If the
  4134.             argument is empty, save in the output file of the
  4135.             current  buffer.   A new journal file is  opened.
  4136.             Recovery of a session using a journal file opened
  4137.             after  :FS  may  not  work  because  the  editing
  4138.             environment (delete buffers, cursor position) may
  4139.             be different when recovery is attempted.
  4140.  
  4141.     7.4.2.30               :FW
  4142.  
  4143.                     Write File
  4144.  
  4145.     Syntax:     :FW<Delimiter><File Name><Delimiter>
  4146.  
  4147.     Semantics:    Write the contents  of    the current buffer to the
  4148.             file given in the  <File  Name> argument.
  4149.  
  4150.     7.4.2.31               :FX
  4151.  
  4152.                   Execute File
  4153.  
  4154.     Syntax:     :FX<Delimiter><File Name><Delimiter>
  4155.  
  4156.     Semantics:    Read the file given  in  <File    Name> and execute
  4157.             each  line  as SEDT  commands.      ?,  !    and    %
  4158.             expansion is done before execution of each line.
  4159.  
  4160.     7.4.2.32              :GAP
  4161.  
  4162.                  Get and append
  4163.  
  4164.     Syntax:     :GAP<@ command>
  4165.  
  4166.     Semantics:    Append    the   text  between  the  current  cursor
  4167.             position  and  the  position  defined  by  the    @
  4168.             command to the contents  of  an  internal buffer.
  4169.             The text is not deleted  from the current buffer.
  4170.             Several buffers are used for different @ commands
  4171.             as follows:
  4172.  
  4173.                 @AC    Unknown
  4174.                 @AL    Unknown
  4175.                 @BB    Unknown
  4176.                 @EB    Unknown
  4177.                 @EL    Line
  4178.                 @C    Char
  4179.                 @F    Find
  4180.                 @L    Line
  4181.                 @M    Unknown
  4182.                 @N    Find
  4183.                 @PAG    Pag
  4184.                 @PAR    Par
  4185.                 @SEN    Sen
  4186.                 @SR    Paste
  4187.                 @V    Unknown
  4188.                 @W    Word
  4189.  
  4190.     7.4.2.33               :GE
  4191.  
  4192.                       Get
  4193.  
  4194.     Syntax:     :GE<@ command>
  4195.  
  4196.     Semantics:    Place  the  text  between  the    current    cursor
  4197.             position  and  the  position  defined  by  the    @
  4198.             command and  place it in an internal buffer.  The
  4199.             text is not  deleted  from  the  current  buffer.
  4200.             Several buffers are used for different @ commands
  4201.             as follows:
  4202.  
  4203.                 @AC    Unknown
  4204.                 @AL    Unknown
  4205.                 @BB    Unknown
  4206.                 @EB    Unknown
  4207.                 @EL    Line
  4208.                 @C    Char
  4209.                 @F    Find
  4210.                 @L    Line
  4211.                 @M    Unknown
  4212.                 @N    Find
  4213.                 @PAG    Pag
  4214.                 @PAR    Par
  4215.                 @SEN    Sen
  4216.                 @SR    Paste
  4217.                 @V    Unknown
  4218.                 @W    Word
  4219.  
  4220.     7.4.2.34               :GR
  4221.  
  4222.                    Get ruler
  4223.  
  4224.     Syntax:     <Count>:GR
  4225.  
  4226.     Semantics:    Read  the  contents  of the file RULER<Count>.TXT
  4227.             and  define  the  ruler from the contents of  the
  4228.             file.     The  file should have been written by    a
  4229.             save ruler command within the :RL command.  On PC
  4230.             versions the file should  be  located  in  SEDT's
  4231.             master directory.  Under VMS  the  file is should
  4232.             be placed in the directory defined by the logical
  4233.             variable SEDT$DIR.
  4234.  
  4235.     7.4.2.35               :H
  4236.  
  4237.                       Help
  4238.  
  4239.     Syntax:     :H
  4240.  
  4241.     Semantics:    Read the help and display it page by  page on the
  4242.             screen.    On  PC versions the help  file  is  in
  4243.             SEDT's    master directory.  Under VMS the file  is
  4244.             defined by  the  logical  name    SEDT$HELP.    The
  4245.             naming    convention  for   the  help  file  is  as
  4246.             follows:
  4247.  
  4248.             System        Keyboard    File
  4249.  
  4250.             Rainbow     LK201        RBHLP.TXT
  4251.             IBM PC        IBM        PCHLP.TXT
  4252.             IBM PC/XT    IBM        XTHLP.TXT
  4253.             IBM PC/AT    IBM        ATHLP.TXT
  4254.             ANY IBM PC    NEW IBM     ATHLP.TXT
  4255.             VAX        VT100        SEDT$VT100HELP:
  4256.             VAX        VT200        SEDT$VT200HELP:
  4257.             ATARI ST            STHLP.TXT
  4258.  
  4259.     7.4.2.36               :I
  4260.  
  4261.                      Insert
  4262.  
  4263.     Syntax:     :I<Delimiter><Any text><Delimiter>
  4264.  
  4265.     Semantics:    Insert    the  text  in  the  current buffer.   The
  4266.             cursor    is    placed   after  the  last  inserted
  4267.             character.
  4268.  
  4269.     7.4.2.37               :K
  4270.  
  4271.                    Define key
  4272.  
  4273.     Syntax:     :K<Key><Delimiter><Definition><Delimiter>
  4274.  
  4275.     Semantics:    Program  the  key given in <Key> to  perform  the
  4276.             commands given    in <Definition>.  If <Definition>
  4277.             ends with a  period the commands will be executed
  4278.             when the key is  pressed, otherwise the execution
  4279.             is stored and executed when  a    key ending with a
  4280.             period is struck.
  4281.  
  4282.             <Key>  is a code that identifies  the  class  and
  4283.             value of the key.  It consists    of  an alphabetic
  4284.             code  that  identifies    the  class  followed by a
  4285.             three  digit  decimal  number  that  defines  the
  4286.             value.
  4287.  
  4288.         Valid classes are:
  4289.  
  4290.             A    ASCII character.
  4291.             GA    Gold ASCII character.
  4292.             F    Function key.
  4293.             GF    Gold function key.
  4294.  
  4295.         Key values:
  4296.  
  4297.             For ASCII characters the value is the ASCII value
  4298.             of the character.
  4299.  
  4300.             For function keys the value identifies the key as
  4301.             follows:
  4302.  
  4303.  
  4304.             001        <F1>
  4305.             002        <F2>
  4306.             003        <F3>
  4307.             004        <F4>
  4308.             005        <F5>
  4309.             006        <F6>
  4310.             007        <F7>
  4311.             008        <F8>
  4312.             009        <F9>
  4313.             010        <F10>
  4314.             011        <F11>
  4315.             012        <F12>
  4316.             013        <F13>
  4317.             014        <F14>
  4318.             015        <F15>
  4319.             016        <F16>
  4320.             017        <F17>
  4321.             018        <F18>
  4322.             019        <F19>
  4323.             020        <F20>
  4324.             021        <Find>
  4325.             022        <Insert Here>
  4326.             023        <Remove>
  4327.             024        <Select>
  4328.             025        <Prev Screen>
  4329.             026        <Next Screen>
  4330.             027        <Up Arrow>
  4331.             028        <Left Arrow>
  4332.             029        <Down Arrow>
  4333.             030        <Right Arrow>
  4334.             031        <Keypad 0>
  4335.             032        <Keypad 1>
  4336.             033        <Keypad 2>
  4337.             034        <Keypad 3>
  4338.             035        <Keypad 4>
  4339.             036        <Keypad 5>
  4340.             037        <Keypad 6>
  4341.             038        <Keypad 7>
  4342.             039        <Keypad 8>
  4343.             040        <Keypad 9>
  4344.             041        <Keypad ,>
  4345.             042        <Keypad ->
  4346.             043        <Keypad .>
  4347.             044        <Keypad PF1>
  4348.             045        <Keypad PF2>
  4349.             046        <Keypad PF3>
  4350.             047        <Keypad PF4>
  4351.             048        <Keypad Enter>
  4352.             049        <Backspace>
  4353.  
  4354.             For scancode mapped keyboard layouts the values are:
  4355.  
  4356.             000        Ctrl Break (*)
  4357.             001        Alt Esc (*)
  4358.             003        Null character
  4359.             014        Alt Backspace (*)
  4360.             015        Tab
  4361.             016        Alt Q
  4362.             017        Alt W
  4363.             018        Alt E
  4364.             019        Alt R
  4365.             020        Alt T
  4366.             021        Alt Y
  4367.             022        Alt U
  4368.             023        Alt I
  4369.             024        Alt O
  4370.             025        Alt P
  4371.             026        Alt [ (*)
  4372.             027        Alt ] (*)
  4373.             028        Alt Ctrl (*)
  4374.             030        Alt A
  4375.             031        Alt S
  4376.             032        Alt D
  4377.             033        Alt F
  4378.             034        Alt G
  4379.             035        Alt H
  4380.             036        Alt J
  4381.             037        Alt K
  4382.             038        Alt L
  4383.             039        Alt ; (*)
  4384.             040        Alt ' (*)
  4385.             041        Alt ~ (*)
  4386.             043        Alt \ (*)
  4387.             044        Alt Z
  4388.             045        Alt X
  4389.             046        Alt C
  4390.             047        Alt V
  4391.             048        Alt B
  4392.             049        Alt N
  4393.             050        Alt M
  4394.             051        Alt , (*)
  4395.             052        Alt . (*)
  4396.             053        Alt / (*)
  4397.             055        Alt * (*)
  4398.             059        F1
  4399.             060        F2
  4400.             061        F3
  4401.             062        F4
  4402.             063        F5
  4403.             064        F6
  4404.             065        F7
  4405.             066        F8
  4406.             067        F9
  4407.             068        F10
  4408.             071        Home
  4409.             072        Up Arrow
  4410.             073        Page Up
  4411.             074        Alt Keypad - (*)
  4412.             075        Left Arrow
  4413.             076        Center Key (*)
  4414.             077        Right Arrow
  4415.             078        Alt Keypad + (*)
  4416.             079        End
  4417.             080        Down Arrow
  4418.             081        Page Down
  4419.             082        Insert
  4420.             083        Delete
  4421.             084        Uppercase F1
  4422.             085        Uppercase F2
  4423.             086        Uppercase F3
  4424.             087        Uppercase F4
  4425.             088        Uppercase F5
  4426.             089        Uppercase F6
  4427.             090        Uppercase F7
  4428.             091        Uppercase F8
  4429.             092        Uppercase F9
  4430.             093        Uppercase F10
  4431.             094        Control F1
  4432.             095        Control F2
  4433.             096        Control F3
  4434.             097        Control F4
  4435.             098        Control F5
  4436.             099        Control F6
  4437.             100        Control F7
  4438.             101        Control F8
  4439.             102        Control F9
  4440.             103        Control F10
  4441.             104        Alt F1
  4442.             105        Alt F2
  4443.             106        Alt F3
  4444.             107        Alt F4
  4445.             108        Alt F5
  4446.             109        Alt F6
  4447.             110        Alt F7
  4448.             111        Alt F8
  4449.             112        Alt F9
  4450.             113        Alt F10
  4451.             114        Control Print Screen
  4452.             115        Control Left Arrow
  4453.             116        Control Right Arrow
  4454.             117        Control End (Erase to end of line)
  4455.             118        Control Page Down
  4456.             119        Control Home (Clear screen)
  4457.             120        Alt 1
  4458.             121        Alt 2
  4459.             122        Alt 3
  4460.             123        Alt 4
  4461.             124        Alt 5
  4462.             125        Alt 6
  4463.             126        Alt 7
  4464.             127        Alt 8
  4465.             128        Alt 9
  4466.             129        Alt 0
  4467.             130        Alt -
  4468.             131        Alt =
  4469.             132        Control Page Up
  4470.             133        F11 (*)
  4471.             134        F12 (*)
  4472.             135        Shift F11 (*)
  4473.             136        Shift F12 (*)
  4474.             137        Ctrl F11 (*)
  4475.             138        Ctrl F12 (*)
  4476.             139        Alt F11 (*)
  4477.             140        Alt F12 (*)
  4478.             141        Ctrl Up Arrow (*)
  4479.             142        Ctrl Keypad - (*)
  4480.             143        Ctrl Center (*)
  4481.             144        Ctrl Keypad + (*)
  4482.             145        Ctrl Down Arrow (*)
  4483.             146        Ctrl Ins (*)
  4484.             147        Ctrl Del (*)
  4485.             148        Ctrl Tab (*)
  4486.             149        Ctrl / (*)
  4487.             150        Ctrl * (*)
  4488.             151        Alt Home (*)
  4489.             152        Alt Up (*)
  4490.             153        Alt PageUp (*)
  4491.             155        Alt Left (*)
  4492.             157        Alt Right (*)
  4493.             159        Alt End (*)
  4494.             160        Alt Down (*)
  4495.             161        Alt PageDown (*)
  4496.             162        Alt Insert (*)
  4497.             163        Alt Delete (*)
  4498.             164        Alt / (*)
  4499.             165        Alt Tab (*)
  4500.             166        Alt Enter (*)
  4501.  
  4502.             (*) Enhanced Keyboard
  4503.  
  4504.     7.4.2.38               :LD
  4505.  
  4506.               Decrease indentation
  4507.  
  4508.     Syntax:     {<Count>}:LD
  4509.  
  4510.     Semantics:    Reduce    the indentation level by  <Count>,  which
  4511.             defaults to 1.    The :TAB command moves the cursor
  4512.             to the indentation level if the cursor    is placed
  4513.             to  the  left  of  the    indentation  level.   The
  4514.             indentation level is shown with an I on the ruler
  4515.             display.
  4516.  
  4517.     7.4.2.39               :LI
  4518.  
  4519.               Increase indentation
  4520.  
  4521.     Syntax:     {<Count>}:LI
  4522.  
  4523.     Semantics:    Increase the indentation  level by <Count>, which
  4524.             defaults to 1.    The :TAB command moves the cursor
  4525.             to the indentation level if  the cursor is placed
  4526.             to  the  left  of  the indentation  level.    The
  4527.             indentation level is shown with an I on the ruler
  4528.             display.
  4529.  
  4530.     7.4.2.40               :LK
  4531.  
  4532.               Load key definition
  4533.  
  4534.     Syntax:     :LK<Key><@ Command>
  4535.  
  4536.     Semantics:    Program  the  key  given in <Key> to contain  the
  4537.             contents of  the  given  entity.   See :K for the
  4538.             valid codes for <Key>.
  4539.  
  4540.     7.4.2.41              :LNE
  4541.  
  4542.             Execute keystrokes stored in key
  4543.  
  4544.     Syntax:     {<Count>}:LNE<Key>
  4545.  
  4546.     Semantics:    Interpret the  programming  of the key defined by
  4547.             <Key> as a  sequence  of  keystrokes.  The key is
  4548.             assumed to have been  programmed  through the use
  4549.             of the :LNL command.  See :K for a description of
  4550.             valid codes for <Key>.
  4551.  
  4552.     7.4.2.42              :LNL
  4553.  
  4554.             Store keystrokes in key
  4555.  
  4556.     Syntax:     :LNL<Key>
  4557.  
  4558.     Semantics:    Store subsequent keystrokes in the programming of
  4559.             the  key  defined  by  <Key>  until that  key  is
  4560.             struck.  The keystrokes are executed as they  are
  4561.             stored.   The commands :LNL and :LNE are used  to
  4562.             store  the  keystrokes     required  to  perform    a
  4563.             repeated task and then    perform  the task without
  4564.             having to repeat the keystroke    sequence.  See :K
  4565.             for a description of valid codes for <Key>.
  4566.  
  4567.             The stored keystrokes are encoded as  a  code for
  4568.             the class of the key followed by  either an ASCII
  4569.             character or a 3 digit ASCII value for the key.
  4570.  
  4571.             Codes are:
  4572.  
  4573.                 A    ASCII character
  4574.                 G    Gold ASCII character
  4575.                 F    Function key
  4576.                 B    Gold function key
  4577.  
  4578.             For printable  ASCII  characters,  except digits,
  4579.             the code is followed by the character.    Otherwise
  4580.             the code is followed  by  a  3 digit function key
  4581.             number,  see :K for valid  values,  or    an  ASCII
  4582.             character value.
  4583.  
  4584.     7.4.2.43              :LNX
  4585.  
  4586.                   End learning
  4587.  
  4588.     Syntax:     :LNX
  4589.  
  4590.     Semantics:    Terminate keystroke  learning if it is in effect.
  4591.             This command has  no effect if keystroke learning
  4592.             is not in effect.
  4593.  
  4594.     7.4.2.44               :LS
  4595.  
  4596.              Set indentation level
  4597.  
  4598.     Syntax:     :LS
  4599.  
  4600.     Semantics:    Set the indentation level to the  current  cursor
  4601.             position.  The :TAB command moves the  cursor  to
  4602.             the indentation level if the cursor is placed  to
  4603.             the  left    of   the  indentation  level.    The
  4604.             indentation level is shown with an I on the ruler
  4605.             display.
  4606.  
  4607.     7.4.2.45               :M
  4608.  
  4609.               Mark cursor position
  4610.  
  4611.     Syntax:     {-}{<Count>}:M
  4612.  
  4613.     Semantics:    Store the current cursor  position  in    one  of 9
  4614.             marks.    <Count>, which defaults  to  1, specifies
  4615.             the mark to save the position  in.    Valid marks
  4616.             are 1 through 9.  As text is inserted and deleted
  4617.             from  the  buffer marks are adjusted to point  to
  4618.             the same logical positions in the file.
  4619.  
  4620.             -<Count>:M clears mark number <Count>.
  4621.  
  4622.     7.4.2.46               :NL
  4623.  
  4624.                 New line
  4625.  
  4626.     Syntax:     {<Count>}:NL
  4627.  
  4628.     Semantics:    Insert    a  new    line  at  the cursor position and
  4629.             advance  the  cursor  to the beginning of the new
  4630.             line.
  4631.  
  4632.             If the    ruler  line  has automatic margin control
  4633.             set the margin    is  set to the leftmost character
  4634.             position not containing spaces    and  tabs  in the
  4635.             line the cursor was on.  If the old line had only
  4636.             spaces    or tabs the automatic margin  is  set  to
  4637.             column    1.    Finally insert spaces and  tabs  to
  4638.             advance  the  cursor to the automatic margin just
  4639.             defined.    The  result will be that left margins
  4640.             will line up at any column position.
  4641.  
  4642.             If a non-automatic left margin is set  spaces and
  4643.             tabs  are  inserted  to advance the cursor to the
  4644.             left margin.
  4645.  
  4646.     7.4.2.47               :NS
  4647.  
  4648.                 Substitute next
  4649.  
  4650.     Syntax:     {+|-|<|>}{<Count>}:NS
  4651.  
  4652.     Semantics:    Search in the current  direction  for the current
  4653.             search    string and if it  is  found  replace  the
  4654.             occurrence  with the current  substitute  string.
  4655.             If the cursor is placed on the first character of
  4656.             an occurrence the first substitution will be made
  4657.             on that occurrence.  The current search string is
  4658.             set  with  @F.      :SL  or  :SUB.     The  current
  4659.             substitute  string is set with :SUB.  The  search
  4660.             is case insensitive.
  4661.  
  4662.     7.4.2.48               :OE
  4663.  
  4664.               Output error message
  4665.  
  4666.     Syntax:     <Count>:OE<Delimiter><Message><Delimiter>
  4667.  
  4668.     Semantics:    Output <Message> exactly  as  an  internal  error
  4669.             message from SEDT and  perform    the  normal error
  4670.             skipping of  commands.     Count is used to set the
  4671.             error level.
  4672.  
  4673.     7.4.2.49               :OL
  4674.  
  4675.                    Open line
  4676.  
  4677.     Syntax:     {<Count>}:OL
  4678.  
  4679.     Semantics:    Insert <Count>, which defaults to  1,  line feeds
  4680.             after the current cursor position.
  4681.  
  4682.     7.4.2.50               :OM
  4683.  
  4684.                  Output message
  4685.  
  4686.     Syntax:     :OM<Delimiter><Message><Delimiter>
  4687.  
  4688.     Semantics:    Output    <Message>  on  the  message line  of  the
  4689.             display.
  4690.  
  4691.     7.4.2.51               :OS
  4692.  
  4693.                  Toggle over-strike mode
  4694.  
  4695.     Syntax:     :OS
  4696.  
  4697.     Semantics:    Switch between    insert    and  replace mode.
  4698.  
  4699.             In    insert  mode  typed  input  and  characters
  4700.             inserted  with    :I  are  inserted  at  the cursor
  4701.             position and  the  cursor  position  is advanced,
  4702.             thus pushing the  text    after the cursor in front
  4703.             of it.
  4704.  
  4705.             In  replace  mode  the    character  at the  cursor
  4706.             position  is  replaced    by  the  character  being
  4707.             inserted.   If    the  cursor  is at the end of the
  4708.             line the character  will  be inserted rather than
  4709.             replaced.  If the  cursor  is  at a tab character
  4710.             the tab will be expanded  to  spaces  before  the
  4711.             replacement takes place.
  4712.  
  4713.             The  current replace/insert mode is displayed  on
  4714.             the mode line of the display.
  4715.  
  4716.     7.4.2.52               :OW
  4717.  
  4718.                Switch to previous buffer
  4719.  
  4720.     Syntax:     :OW
  4721.  
  4722.     Semantics:    Switch to displaying the buffer that was selected
  4723.             before switching to the current.  In  two  window
  4724.             display  mode the displays in the top and  bottom
  4725.             windows will be switched.   If no buffer has been
  4726.             selected switch to buffer number 1.
  4727.  
  4728.     7.4.2.53               :PD
  4729.  
  4730.                   Insert current date
  4731.  
  4732.     Syntax:     :PD
  4733.  
  4734.     Semantics:    Insert    the  current  system  date in the format:
  4735.             DD-MMM-YYYY.   This  command  has  no  effect  on
  4736.             systems that do not maintain the current date.
  4737.  
  4738.     7.4.2.54               :PL
  4739.  
  4740.                    Load paste buffer
  4741.  
  4742.     Syntax:     :PL<Delimiter><File name><Delimiter>
  4743.  
  4744.     Semantics:    Insert the contents  of  the  file given in <File
  4745.             name>  in the paste  buffer.    This  command  is
  4746.             normally used in conjunction with the :PS command
  4747.             to  preserve  the  contents of the  paste  buffer
  4748.             across multiple sessions.
  4749.  
  4750.     7.4.2.55               :PR
  4751.  
  4752.                   Print current buffer
  4753.  
  4754.     Syntax:     :PR<Delimiter><File name><Delimiter>
  4755.  
  4756.     Semantics:    Save  the  current  buffer in the file    given  in
  4757.             <File name>.  After every 61 lines of output  and
  4758.             at  the end of the file a form feed character  is
  4759.             inserted.  If  any  character  is  typed  on  the
  4760.             keyboard  during the process  the  save  will  be
  4761.             terminated.
  4762.  
  4763.     7.4.2.56               :PS
  4764.  
  4765.                    Save paste buffer
  4766.  
  4767.     Syntax:     :PS<Delimiter><File name><Delimiter>
  4768.  
  4769.     Semantics:    Save the contents of the paste buffer in the file
  4770.             given in <File name>.  This  command  is normally
  4771.             used  in  conjunction with :PL to preserve  paste
  4772.             buffers across multiple edit sessions.
  4773.  
  4774.     7.4.2.57               :PT
  4775.  
  4776.                   Insert current time
  4777.  
  4778.     Syntax:     :PT
  4779.  
  4780.     Semantics:    Insert    the  current  system  time in the format:
  4781.             HH-MM-SS.   This command has no effect on systems
  4782.             that do not maintain the current date.
  4783.  
  4784.     7.4.2.58               :Q
  4785.  
  4786.                       Quit
  4787.  
  4788.     Syntax:     :Q
  4789.  
  4790.     Semantics:    Terminate the Sedt session if no  buffers contain
  4791.             modified text.    If a buffer has been modified ask
  4792.             for confirmation and, if positive, terminate the
  4793.             session.    ATARI  GEM    and    Microsoft  Windows
  4794.             versions will only close the current window.
  4795.  
  4796.     7.4.2.59              :REP
  4797.  
  4798.                     Replace
  4799.  
  4800.     Syntax:     :REP
  4801.  
  4802.     Semantics:    If  the  last  command    was @F or @N  remove  the
  4803.             occurrence  found  and    insert    it in the unknown
  4804.             delete buffer.      Then insert the contents of the
  4805.             paste buffer.
  4806.  
  4807.     7.4.2.60               :RF
  4808.  
  4809.                 Refresh display
  4810.  
  4811.     Syntax:     :RF
  4812.  
  4813.     Semantics:    Clear and reinitialize    the  display  and rewrite
  4814.             it.    This  command  is  used    to  recover  from
  4815.             corruption of the display.
  4816.  
  4817.     7.4.2.61               :RK
  4818.  
  4819.                 Redefine key as character
  4820.  
  4821.     Syntax:     <Count>:RK<Key>
  4822.  
  4823.     Semantics:    Redefine the  key  given  in  <Key> to insert the
  4824.             character whose value is given in <Count>.
  4825.  
  4826.             <Key>  is a code that identifies  the  class  and
  4827.             value of the key.  It consists    of  an alphabetic
  4828.             code  that  identifies    the  class  followed by a
  4829.             three  digit  decimal  number  that  defines  the
  4830.             value.
  4831.  
  4832.         Valid classes are:
  4833.  
  4834.             A    ASCII character.
  4835.             GA    Gold ASCII character.
  4836.             F    Function key.
  4837.             GF    Gold function key.
  4838.  
  4839.         Key values:
  4840.  
  4841.             For ASCII characters the value is the ASCII value
  4842.             of the character.
  4843.  
  4844.             For function keys the value identifies the key as
  4845.             follows:
  4846.  
  4847.  
  4848.             001        <F1>
  4849.             002        <F2>
  4850.             003        <F3>
  4851.             004        <F4>
  4852.             005        <F5>
  4853.             006        <F6>
  4854.             007        <F7>
  4855.             008        <F8>
  4856.             009        <F9>
  4857.             010        <F10>
  4858.             011        <F11>
  4859.             012        <F12>
  4860.             013        <F13>
  4861.             014        <F14>
  4862.             015        <F15>
  4863.             016        <F16>
  4864.             017        <F17>
  4865.             018        <F18>
  4866.             019        <F19>
  4867.             020        <F20>
  4868.             021        <Find>
  4869.             022        <Insert Here>
  4870.             023        <Remove>
  4871.             024        <Select>
  4872.             025        <Prev Screen>
  4873.             026        <Next Screen>
  4874.             027        <Up Arrow>
  4875.             028        <Left Arrow>
  4876.             029        <Down Arrow>
  4877.             030        <Right Arrow>
  4878.             031        <Keypad 0>
  4879.             032        <Keypad 1>
  4880.             033        <Keypad 2>
  4881.             034        <Keypad 3>
  4882.             035        <Keypad 4>
  4883.             036        <Keypad 5>
  4884.             037        <Keypad 6>
  4885.             038        <Keypad 7>
  4886.             039        <Keypad 8>
  4887.             040        <Keypad 9>
  4888.             041        <Keypad ,>
  4889.             042        <Keypad ->
  4890.             043        <Keypad .>
  4891.             044        <Keypad PF1>
  4892.             045        <Keypad PF2>
  4893.             046        <Keypad PF3>
  4894.             047        <Keypad PF4>
  4895.             048        <Keypad Enter>
  4896.             049        <Backspace>
  4897.  
  4898.             For scancode mapped keyboard layouts the values are:
  4899.  
  4900.             000        Ctrl Break (*)
  4901.             001        Alt Esc (*)
  4902.             003        Null character
  4903.             014        Alt Backspace (*)
  4904.             015        Tab
  4905.             016        Alt Q
  4906.             017        Alt W
  4907.             018        Alt E
  4908.             019        Alt R
  4909.             020        Alt T
  4910.             021        Alt Y
  4911.             022        Alt U
  4912.             023        Alt I
  4913.             024        Alt O
  4914.             025        Alt P
  4915.             026        Alt [ (*)
  4916.             027        Alt ] (*)
  4917.             028        Alt Ctrl (*)
  4918.             030        Alt A
  4919.             031        Alt S
  4920.             032        Alt D
  4921.             033        Alt F
  4922.             034        Alt G
  4923.             035        Alt H
  4924.             036        Alt J
  4925.             037        Alt K
  4926.             038        Alt L
  4927.             039        Alt ; (*)
  4928.             040        Alt ' (*)
  4929.             041        Alt ~ (*)
  4930.             043        Alt \ (*)
  4931.             044        Alt Z
  4932.             045        Alt X
  4933.             046        Alt C
  4934.             047        Alt V
  4935.             048        Alt B
  4936.             049        Alt N
  4937.             050        Alt M
  4938.             051        Alt , (*)
  4939.             052        Alt . (*)
  4940.             053        Alt / (*)
  4941.             055        Alt * (*)
  4942.             059        F1
  4943.             060        F2
  4944.             061        F3
  4945.             062        F4
  4946.             063        F5
  4947.             064        F6
  4948.             065        F7
  4949.             066        F8
  4950.             067        F9
  4951.             068        F10
  4952.             071        Home
  4953.             072        Up Arrow
  4954.             073        Page Up
  4955.             074        Alt Keypad - (*)
  4956.             075        Left Arrow
  4957.             076        Center Key (*)
  4958.             077        Right Arrow
  4959.             078        Alt Keypad + (*)
  4960.             079        End
  4961.             080        Down Arrow
  4962.             081        Page Down
  4963.             082        Insert
  4964.             083        Delete
  4965.             084        Uppercase F1
  4966.             085        Uppercase F2
  4967.             086        Uppercase F3
  4968.             087        Uppercase F4
  4969.             088        Uppercase F5
  4970.             089        Uppercase F6
  4971.             090        Uppercase F7
  4972.             091        Uppercase F8
  4973.             092        Uppercase F9
  4974.             093        Uppercase F10
  4975.             094        Control F1
  4976.             095        Control F2
  4977.             096        Control F3
  4978.             097        Control F4
  4979.             098        Control F5
  4980.             099        Control F6
  4981.             100        Control F7
  4982.             101        Control F8
  4983.             102        Control F9
  4984.             103        Control F10
  4985.             104        Alt F1
  4986.             105        Alt F2
  4987.             106        Alt F3
  4988.             107        Alt F4
  4989.             108        Alt F5
  4990.             109        Alt F6
  4991.             110        Alt F7
  4992.             111        Alt F8
  4993.             112        Alt F9
  4994.             113        Alt F10
  4995.             114        Control Print Screen
  4996.             115        Control Left Arrow
  4997.             116        Control Right Arrow
  4998.             117        Control End (Erase to end of line)
  4999.             118        Control Page Down
  5000.             119        Control Home (Clear screen)
  5001.             120        Alt 1
  5002.             121        Alt 2
  5003.             122        Alt 3
  5004.             123        Alt 4
  5005.             124        Alt 5
  5006.             125        Alt 6
  5007.             126        Alt 7
  5008.             127        Alt 8
  5009.             128        Alt 9
  5010.             129        Alt 0
  5011.             130        Alt -
  5012.             131        Alt =
  5013.             132        Control Page Up
  5014.             133        F11 (*)
  5015.             134        F12 (*)
  5016.             135        Shift F11 (*)
  5017.             136        Shift F12 (*)
  5018.             137        Ctrl F11 (*)
  5019.             138        Ctrl F12 (*)
  5020.             139        Alt F11 (*)
  5021.             140        Alt F12 (*)
  5022.             141        Ctrl Up Arrow (*)
  5023.             142        Ctrl Keypad - (*)
  5024.             143        Ctrl Center (*)
  5025.             144        Ctrl Keypad + (*)
  5026.             145        Ctrl Down Arrow (*)
  5027.             146        Ctrl Ins (*)
  5028.             147        Ctrl Del (*)
  5029.             148        Ctrl Tab (*)
  5030.             149        Ctrl / (*)
  5031.             150        Ctrl * (*)
  5032.             151        Alt Home (*)
  5033.             152        Alt Up (*)
  5034.             153        Alt PageUp (*)
  5035.             155        Alt Left (*)
  5036.             157        Alt Right (*)
  5037.             159        Alt End (*)
  5038.             160        Alt Down (*)
  5039.             161        Alt PageDown (*)
  5040.             162        Alt Insert (*)
  5041.             163        Alt Delete (*)
  5042.             164        Alt / (*)
  5043.             165        Alt Tab (*)
  5044.             166        Alt Enter (*)
  5045.  
  5046.             (*) Enhanced keyboard
  5047.  
  5048.     7.4.2.62               :RL
  5049.  
  5050.                      Ruler
  5051.  
  5052.     Syntax:     :RL
  5053.  
  5054.     Semantics:    Switch into ruler definition mode.  The cursor is
  5055.             placed    on  the  first    character  on  the  ruler
  5056.             display  in  the  second  line    of  the   screen.
  5057.             Commands that affect the ruler are:
  5058.  
  5059.             Right arrow    Moves the cursor one character to
  5060.                     the right.  The column number can
  5061.                     be read on the status line.
  5062.  
  5063.             Left arrow    Moves  the cursor one  column  to
  5064.                     the left.
  5065.  
  5066.             -        Removes a tab stop at the current
  5067.                     position.
  5068.  
  5069.             Tab        Moves to next tab stop
  5070.  
  5071.             ^H        Moves to column 1
  5072.  
  5073.             T        Inserts a tab stop at the current
  5074.                     position
  5075.  
  5076.             L        Sets   the  left  margin  to  the
  5077.                     current position.   When a Return
  5078.                     is  entered the  cursor  will  be
  5079.                     indented to the left margin.
  5080.  
  5081.             R        Sets  the  right  margin  to  the
  5082.                     current  position.  If the  right
  5083.                     margin    is  reached when entering
  5084.                     text, a  new line will be entered
  5085.                     before the word  being    typed and
  5086.                     the word will be  indented to the
  5087.                     word wrap margin.
  5088.  
  5089.             J        Sets  the  right  margin  to  the
  5090.                     current  position.   If the right
  5091.                     margin is  reached  when entering
  5092.                     text, a new  line will be entered
  5093.                     before the word being  typed  and
  5094.                     the word will be indented  to the
  5095.                     word wrap margin after adjustment
  5096.                     of the text to the right margin.
  5097.  
  5098.             W        Sets the  word wrap margin to the
  5099.                     current position.   W  fixes  the
  5100.                     word wrap position.
  5101.  
  5102.             A        Sets  automatic  margin  control.
  5103.                     The margin is always the leftmost
  5104.                     non-blank position on the current
  5105.                     line.
  5106.  
  5107.             I        Sets  the    indentation  at  the
  5108.                     current position.
  5109.  
  5110.             Space        Removes  all formatting  controls
  5111.                     at the current position.
  5112.  
  5113.             Digit        Load  saved  ruler number  digit.
  5114.                     The  rulers are saved  in  SEDT's
  5115.                     master directory under MS-DOS and
  5116.                     in  the  directory  pointed to by
  5117.                     the logical  name  SEDT$Dir under
  5118.                     VMS.  The  name of the ruler file
  5119.                     is  RulerN.Txt    where  N  is  the
  5120.                     number of the ruler.
  5121.  
  5122.             Gold Digit    Save current ruler in saved ruler
  5123.                     number digit.
  5124.  
  5125.             Return        Returns  from  ruler   definition
  5126.                     mode to normal edit mode.
  5127.  
  5128.             If more than one  ruler setting is commonly used,
  5129.             much time can be saved by storing the settings in
  5130.             rulers 0 through 9.  Ruler 0 is loaded by default
  5131.             and any of the other rulers can be called up with
  5132.             four key strokes:  Gold R Digit Return.
  5133.  
  5134.             The  ruler  line  controls  both  left    and right
  5135.             margins.  Several  options  exist for controlling
  5136.             the margins.
  5137.  
  5138.             No margin control is  done  if    L, W, R and I are
  5139.             set in column 1.   Lines  can  be infinitely long
  5140.             and the cursor is always positioned  in  column 1
  5141.             after a Return is typed.
  5142.  
  5143.             If L is set in a column different from 1 and W is
  5144.             set  in  column  1  a Return will cause  SEDT  to
  5145.             indent to the column defined by L.
  5146.  
  5147.             If I is set in a column different from    1 and the
  5148.             cursor    is positioned to the left of the column a
  5149.             Tab will indent to the column defined by I.
  5150.  
  5151.             The  left  and    right  margin  controls  work  as
  5152.             follows:
  5153.  
  5154.             W and R:
  5155.  
  5156.                 When a non-blank character  is    typed  to
  5157.                 the right of R SEDT  will insert a Return
  5158.                 in front of the first word  that  extends
  5159.                 to  the right of R and indent  to  the    W
  5160.                 column.    The    effect    will be that text
  5161.                 will be filled between W and R.  The fill
  5162.                 command, Gold Keypad  8  will  fill  text
  5163.                 from the current cursor  position  to the
  5164.                 end of the current paragraph.     Text  to
  5165.                 the left of W will be left unaffected.
  5166.  
  5167.             W and J:
  5168.  
  5169.                 When  a  non-blank character is typed  to
  5170.                 the  right  of    J  SEDT  will change  the
  5171.                 spacing between  the current position and
  5172.                 W  so  that   spacing  after  punctuation
  5173.                 characters will be exactly  2  and  after
  5174.                 non-punctuation characters will be 1.    A
  5175.                 return    will then be inserted before  the
  5176.                 first  word that extends to the right  of
  5177.                 J,  after  which  spaces will be inserted
  5178.                 between words  until  the right margin is
  5179.                 justified to J.  Finally the wrapped word
  5180.                 will be indented to  W.  Text to the left
  5181.                 of W will be left unaffected.
  5182.  
  5183.             A and R:
  5184.  
  5185.                 When a non-blank character is inserted to
  5186.                 the right of  R a return will be inserted
  5187.                 in front of the  first    word that extends
  5188.                 to the right of R.    The  text after the
  5189.                 return will be indented to the same level
  5190.                 as the line just terminated.
  5191.  
  5192.             A and J:
  5193.  
  5194.                 When  a  non-blank  character is typed to
  5195.                 the  right  of    J  SEDT  will  change the
  5196.                 spacing  between all words to the left of
  5197.                 the  current  position    so  that  spacing
  5198.                 after  punctuation  characters     will  be
  5199.                 exactly  2  and  after      non-punctuation
  5200.                 characters will be 1.  A return will then
  5201.                 be  inserted  before the first word  that
  5202.                 extends  to  the right of J, after  which
  5203.                 spaces will  be  inserted  between  words
  5204.                 until the right  margin  is  justified to
  5205.                 the  same  level  as    the    line  just
  5206.                 terminated.
  5207.  
  5208.             W to the right of, or at J/R:
  5209.  
  5210.                 No filling or justification will occur.
  5211.  
  5212.             A to the right of or at J/R:
  5213.  
  5214.                 When a Return is typed the cursor will be
  5215.                 indented  to the same level as    the  line
  5216.                 just  terminated.  If the terminated line
  5217.                 is  empty   the  indentation  level  will
  5218.                 remain    unchanged.    This    mode   is
  5219.                 particularly    useful      for  structured
  5220.                 programming.
  5221.  
  5222.     7.4.2.63             :RMCHA
  5223.  
  5224.               Clear character delete buffer
  5225.  
  5226.     Syntax:     :RMCHA
  5227.  
  5228.     Semantics:    Clear  the   contents  of  the    character  delete
  5229.             buffer.
  5230.  
  5231.     7.4.2.64             :RMHEL
  5232.  
  5233.                 Clear help buffer
  5234.  
  5235.     Syntax:     :RMHEL
  5236.  
  5237.     Semantics:    Clear the contents of the help buffer.
  5238.  
  5239.     7.4.2.65             :RMLIN
  5240.  
  5241.                  Clear line delete buffer
  5242.  
  5243.     Syntax:     :RMLIN
  5244.  
  5245.     Semantics:    Clear the contents of the line delete buffer.
  5246.  
  5247.     7.4.2.66             :RMPAG
  5248.  
  5249.                  Clear page delete buffer
  5250.  
  5251.     Syntax:     :RMPAG
  5252.  
  5253.     Semantics:    Clear the contents of the page delete buffer.
  5254.  
  5255.     7.4.2.67             :RMPAR
  5256.  
  5257.               Clear paragraph delete buffer
  5258.  
  5259.     Syntax:     :RMPAR
  5260.  
  5261.     Semantics:    Clear  the  contents   of  the    paragraph  delete
  5262.             buffer.
  5263.  
  5264.     7.4.2.68             :RMPAS
  5265.  
  5266.                 Clear paste buffer
  5267.  
  5268.     Syntax:     :RMPAS
  5269.  
  5270.     Semantics:    Clear the contents of the paste buffer.
  5271.  
  5272.     7.4.2.69             :RMSEA
  5273.  
  5274.                    Clear search buffer
  5275.  
  5276.     Syntax:     :RMSEA
  5277.  
  5278.     Semantics:    Clear the contents of the search buffer.
  5279.  
  5280.     7.4.2.70             :RMSEN
  5281.  
  5282.                Clear sentence delete buffer
  5283.  
  5284.     Syntax:     :RMSEN
  5285.  
  5286.     Semantics:    Clear the contents of the sentence delete buffer.
  5287.  
  5288.     7.4.2.71             :RMSUB
  5289.  
  5290.                  Clear substitute buffer
  5291.  
  5292.     Syntax:     :RMSUB
  5293.  
  5294.     Semantics:    Clear the contents of the substitute buffer.
  5295.  
  5296.     7.4.2.72             :RMUNK
  5297.  
  5298.                Clear unknown delete buffer
  5299.  
  5300.     Syntax:     :RMUNK
  5301.  
  5302.     Semantics:    Clear the contents of the unknown delete buffer.
  5303.  
  5304.     7.4.2.73             :RMWOR
  5305.  
  5306.                  Clear word delete buffer
  5307.  
  5308.     Syntax:     :RMWOR
  5309.  
  5310.     Semantics:    Clear the contents of the word delete buffer.
  5311.  
  5312.     7.4.2.74               :RS
  5313.  
  5314.                    Reset select range
  5315.  
  5316.     Syntax:     :RS
  5317.  
  5318.     Semantics:    Remove the select point and  repaint  the current
  5319.             window.
  5320.  
  5321.     7.4.2.75              :RTAB
  5322.  
  5323.                 Replace tabs with spaces
  5324.  
  5325.     Syntax:     :RTAB<@ command>
  5326.  
  5327.     Semantics:    Within    the    given    entity    replace  all  tab
  5328.             characters with multiple spaces.
  5329.  
  5330.     7.4.2.76              :RUL
  5331.  
  5332.                  Load ruler from entity
  5333.  
  5334.     Syntax:     :RUL<@ command>
  5335.  
  5336.     Semantics:    Interpret  the    text  within the @ command  as    a
  5337.             ruler definition string in the same format as the
  5338.             ruler files.
  5339.  
  5340.     7.4.2.77              :RUS
  5341.  
  5342.                   Save ruler in buffer
  5343.  
  5344.     Syntax:     :RUS
  5345.  
  5346.     Semantics:    Write  the contents of the ruler into the current
  5347.             buffer    in  the same format as a ruler definition
  5348.             file.
  5349.  
  5350.     7.4.2.78              :SAVK
  5351.  
  5352.                Save key definitions in file
  5353.  
  5354.     Syntax:     :SAVK<Delimiter><File name><Delimiter>
  5355.  
  5356.     Semantics:    Saves  the  definitions    of  all  defined  keys
  5357.             (loaded at startup, defined later and learned) in
  5358.             the given file.  The definitions are saved in the
  5359.             format for key definition files.
  5360.  
  5361.     7.4.2.79               :SC
  5362.  
  5363.                   Show current column
  5364.  
  5365.     Syntax:     :SC
  5366.  
  5367.     Semantics:    Display the column that the cursor  is    currently
  5368.             placed at on the bottom line of the display.
  5369.  
  5370.     7.4.2.80              :SEL
  5371.  
  5372.                      Select
  5373.  
  5374.     Syntax:     :SEL
  5375.  
  5376.     Semantics:    Set  the  select point to be the  current  cursor
  5377.             position.
  5378.  
  5379.     7.4.2.81              :SETB
  5380.  
  5381.                Set block/line mode toggle
  5382.  
  5383.     Syntax:     <Count>:SETB
  5384.  
  5385.     Semantics:    Sets the  value  of the block/line mode toggle to
  5386.             the value of  <Count>.      A  value of 0 sets line
  5387.             mode. 1 sets block mode.
  5388.  
  5389.     7.4.2.82              :SETD
  5390.  
  5391.                   Set direction toggle
  5392.  
  5393.     Syntax:     <Count>:SETD
  5394.  
  5395.     Semantics:    Sets  the value of the direction  toggle  to  the
  5396.             value  of  <Count>.    A  value of 0 sets  it  to
  5397.             reverse.  1 sets it to forward.
  5398.  
  5399.     7.4.2.83              :SETR
  5400.  
  5401.                 Set replace/insert toggle
  5402.  
  5403.     Syntax:     <Count>:SETR
  5404.  
  5405.     Semantics:    Sets the value of  the replace/insert mode toggle
  5406.             to the value of <Count>.  A value of 0 sets it to
  5407.             insert.  1 sets it to replace.
  5408.  
  5409.     7.4.2.84              :SETT
  5410.  
  5411.               Set tab insert/expand toggle
  5412.  
  5413.     Syntax:     <Count>:SETT
  5414.  
  5415.     Semantics:    Sets the value of the tab insert/expand toggle to
  5416.             the value of <Count>.  A value    of  0  sets it to
  5417.             inserted.  1 sets it to expand.
  5418.  
  5419.     7.4.2.85               :SK
  5420.  
  5421.                   Save key definition
  5422.  
  5423.     Syntax:     :SK<Key>
  5424.  
  5425.     Semantics:    Insert    the  definition  of  <Key> in the current
  5426.             buffer.  For valid codes for <Key> see :K.   This
  5427.             command  is  used in conjunction with :LK to edit
  5428.             key definitions.
  5429.  
  5430.     7.4.2.86               :SL
  5431.  
  5432.                    Load search buffer
  5433.  
  5434.     Syntax:     :SL<@ command>
  5435.  
  5436.     Semantics:    Copy  the contents  of    the  buffer  between  the
  5437.             cursor position and the position defined by the @
  5438.             command  into  the  search buffer.    The  search
  5439.             buffer is used by the @F, @N and :SUB commands.
  5440.  
  5441.     7.4.2.87              :STAB
  5442.  
  5443.             Replace multiple spaces with tabs
  5444.  
  5445.     Syntax:     :STAB<@ command>
  5446.  
  5447.     Semantics:    Replace  multiple  spaces within the given entity
  5448.             with tab characters where possible.
  5449.  
  5450.     7.4.2.88              :STRP
  5451.  
  5452.                   Strip trailing spaces
  5453.  
  5454.     Syntax:     :STRP<@ command>
  5455.  
  5456.     Semantics:    Strip  all  trailing  space  and  tab  characters
  5457.             within the given  entity.    Trailing  spaces are
  5458.             those after the last  printable  character on the
  5459.             line.
  5460.  
  5461.     7.4.2.89              :SUB
  5462.  
  5463.                    Substitute
  5464.  
  5465.     Syntax:
  5466.     {+|-|<|>}{<Count>}:SUB<Delimiter><Target><Delimiter><Object><Delimiter>
  5467.  
  5468.     Semantics:    Find the  next    occurrence  of    <Target>  in  the
  5469.             current direction and  replace    it with <Object>.
  5470.             If the cursor is placed on the first character of
  5471.             <Target> and the direction is  forward    make  the
  5472.             substitution.     If  <Target>  is empty  use  the
  5473.             current  search  string, set by @F or  :SL.    If
  5474.             <Object>  is  empty  use  the  current substitute
  5475.             string.   If Target is non-empty insert it in the
  5476.             current search string.     If <Object> in non-empty
  5477.             insert it in the  current  substitute string.  If
  5478.             the direction is forward, place the cursor at the
  5479.             end if the inserted string, end if it is backward
  5480.             place the cursor at the beginning.  The search is
  5481.             case insensitive.
  5482.  
  5483.     7.4.2.90               :SV
  5484.  
  5485.                   Show Version
  5486.  
  5487.     Syntax:     :SV
  5488.  
  5489.     Semantics:    Show the  version  number  of Sedt on the message
  5490.             line.
  5491.  
  5492.     7.4.2.91              :SYQ
  5493.  
  5494.                   Spawn with no output
  5495.  
  5496.     Syntax:     :SYQ<Delimiter><Command><Delimiter>
  5497.  
  5498.     Semantics:    The :SYQ is the same as the :SYS command with the
  5499.             exception that it  does  not clear the screen and
  5500.             refresh it after the spawn.  This command is used
  5501.             to  execute  programs that accept  no  input  and
  5502.             provide no output.
  5503.  
  5504.     7.4.2.92              :SYR
  5505.  
  5506.               Swawn with redirected output
  5507.  
  5508.     Syntax:     :SYR<Delimiter><New stdout><Delimiter><New stderr>
  5509.              <Delimiter><Command><Delimiter>
  5510.  
  5511.     Semantics:    The :SYR command  is similar to the :SYQ command,
  5512.             but  redirects standard outout and  error  output
  5513.             for the child process to the given file names.
  5514.  
  5515.     7.4.2.93              :SYS
  5516.  
  5517.                Spawn to operating system
  5518.  
  5519.     Syntax:     :SYS<Delimiter><Command><Delimiter>
  5520.  
  5521.     Semantics:    Execute  <Command> and a command to the operating
  5522.             system.   Before  the  command    is  executed  the
  5523.             screen is cleared  and    the  modes  reset  to the
  5524.             default modes.    If  <Command>  is  empty call the
  5525.             command processor.  On return prompt for input of
  5526.             a  single  keystroke if <Command> was  non-empty.
  5527.             Then refresh the display.
  5528.  
  5529.             On MS-DOS systems  COMSPEC  is used to locate the
  5530.             command  interpreter which is  spawned    when  the
  5531.             argument to :SYS is empty.
  5532.  
  5533.             SEDT uses free    memory    to  contain  buffers  and
  5534.             other working areas.   Whether    enough    memory is
  5535.             available  to actually perform the  :SYS  command
  5536.             depends  on  the largest memory requirement  that
  5537.             SEDT  has  had    during the session.   It  is  not
  5538.             possible  to  return  memory  once  it    has  been
  5539.             claimed and used by SEDT.
  5540.  
  5541.     7.4.2.94              :TAB
  5542.  
  5543.                  Move to next tab stop
  5544.  
  5545.     Syntax:     {<Count>}:TAB
  5546.  
  5547.     Semantics:    If the current indentation level is to    the right
  5548.             of  the  cursor  insert  tab and space characters
  5549.             until  the  cursor  is    placed at the indentation
  5550.             level.    Otherwise insert tab and space characters
  5551.             until the cursor  is at the next tab stop.  If no
  5552.             tab stops are to  the  right  of  the  cursor  do
  5553.             nothing.  Only space characters  will be inserted
  5554.             if the current tab expansion mode  is  to  expand
  5555.             tabs.  The tab expansion is changed  with the :TT
  5556.             command  and  displayed on the mode line  of  the
  5557.             display.
  5558.  
  5559.             In overstrike  mode  :TAB  will  space    over  any
  5560.             characters already on the line.
  5561.  
  5562.     7.4.2.95              :TAD
  5563.  
  5564.               Adjust text by one tab stop
  5565.  
  5566.     Syntax:     {+|-|<|>}{<Count>}:TAD<@ command>
  5567.  
  5568.     Semantics:    Move  all   lines  fully  contained  between  the
  5569.             current cursor position  and the position defined
  5570.             by the @ command  <Count>  tab    stops left if the
  5571.             current  direction is backward or  right  if  the
  5572.             current direction is forward.  Left adjustment is
  5573.             not performed further than to the first non space
  5574.             or tab character.
  5575.  
  5576.     7.4.2.96               :TB
  5577.  
  5578.                    Toggle Block Mode
  5579.  
  5580.     Syntax:     :TB
  5581.  
  5582.     Semantics:    Toggle between block and line cut and paste.
  5583.  
  5584.             In line mode  (shown  by  line on the mode line),
  5585.             the select region is  all  characters between the
  5586.             cursor and the select point.  Cut operations will
  5587.             remove      the  entire  select  region.        Paste
  5588.             operations will insert the entire paste region at
  5589.             the cursor position.
  5590.  
  5591.             In  block  mode  a cut operation will remove  all
  5592.             characters  that  are     within    the    rectangle
  5593.             delimited by the cursor  and the select point.    A
  5594.             paste  operation  will insert the  paste  buffer,
  5595.             line  by  line    in  the buffer    starting  at  the
  5596.             cursor    position  and at the cursor column,  thus
  5597.             inserting  a  rectangle  of text into the buffer.
  5598.             The  select  region  will only have the column at
  5599.             the select point shown in reverse video.
  5600.  
  5601.     7.4.2.97               :TC
  5602.  
  5603.             Toggle Control Character Display
  5604.  
  5605.     Syntax:     :TC
  5606.  
  5607.     Semantics:    Toggles between display  of control characters as
  5608.             single    reverse  video characters with control    C
  5609.             shown as a reverse video C, or    as strings in the
  5610.             format <name> when name is the ASCII mnemonic for
  5611.             the character.
  5612.  
  5613.     7.4.2.98               :TD
  5614.  
  5615.                 Toggle Direction
  5616.  
  5617.     Syntax:     :TD
  5618.  
  5619.     Semantics:    Toggle the direction flag shown on the mode line.
  5620.             Most  cursor  movement      commands  work  in  the
  5621.             direction shown by the direction flag.
  5622.  
  5623.     7.4.2.99               :TF
  5624.  
  5625.                       Fill
  5626.  
  5627.     Syntax:     :TF<@ command>
  5628.  
  5629.     Semantics:    Fill or  justify  all  text  between  the current
  5630.             cursor position and  the  point  defined by the @
  5631.             command.  If the ruler contains an R to the right
  5632.             of column 1 the text will be filled (jagged right
  5633.             margin).  If it contains a  J  to  the    right  of
  5634.             column    1  the    text will be justified    (straight
  5635.             right margin).    The left margin is defined by the
  5636.             position  of  either  A  or W in the ruler.    To
  5637.             justify  text  SEDT  packs the text as closely as
  5638.             possible with  single spaces between words except
  5639.             after punctuation, where two spaces are used.  It
  5640.             then inserts extra spaces until the text lines up
  5641.             with the right margin.
  5642.  
  5643.     7.4.2.100               :TI
  5644.  
  5645.                  Test for input
  5646.  
  5647.     Syntax:     :TI
  5648.  
  5649.     Semantics:    Set SEDT's internal error flag    if  the  internal
  5650.             type-ahead buffer  contains any characters.  This
  5651.             command is used  to  terminate    a command loop by
  5652.             typing a character.
  5653.  
  5654.     7.4.2.101               :TM
  5655.  
  5656.                  Toggle buffer markers
  5657.  
  5658.     Syntax:     :TM
  5659.  
  5660.     Semantics:    Toggle between showing the beginning and  end  of
  5661.             buffers  with  bold,  reverse  video BOF and  EOF
  5662.             markers.  Default is not to show the markers.
  5663.  
  5664.     7.4.2.102               :TP
  5665.  
  5666.                    Toggle Cursor Line
  5667.  
  5668.     Syntax:     :TP
  5669.  
  5670.     Semantics:    Toggles between full screen  display  where  the
  5671.             cursor line will float within  the display window
  5672.             to minimize screen updates, and mid-line  editing
  5673.             where the cursor is always on the  center line of
  5674.             the window.
  5675.  
  5676.     7.4.2.103               :TR
  5677.  
  5678.                   Toggle ruler display
  5679.  
  5680.     Syntax:     :TP
  5681.  
  5682.     Semantics:    Toggles display  of  the current ruler at the top
  5683.             of the window.
  5684.  
  5685.     7.4.2.104               :TS
  5686.  
  5687.              Toggle automatic screen shifts
  5688.  
  5689.     Syntax:     :TS
  5690.  
  5691.     Semantics:    Toggle    shifting the screen image horizontally to
  5692.             keep  the  current  cursor  position  within  the
  5693.             screen    margins.  When screen shifting is toggled
  5694.             off the leftmost column on the screen will always
  5695.             correspond to the  leftmost  column  in the file.
  5696.             The current state of  the  toggle is shown on the
  5697.             mode line of the display.
  5698.  
  5699.     7.4.2.105               :TT
  5700.  
  5701.                   Toggle tab expansion
  5702.  
  5703.     Syntax:     :TT
  5704.  
  5705.     Semantics:    Toggle    between  inserting  tab characters in the
  5706.             buffer and  expanding them into space characters.
  5707.             The current state  of  the toggle is displayed on
  5708.             the mode line of the display.
  5709.  
  5710.     7.4.2.106               :UC
  5711.  
  5712.                    Undelete character
  5713.  
  5714.     Syntax:     {<Count>}:UC
  5715.  
  5716.     Semantics:    Insert the contents  of  the  character  undelete
  5717.             buffer at the current cursor position.
  5718.  
  5719.     7.4.2.107               :UL
  5720.  
  5721.                  Undelete line
  5722.  
  5723.     Syntax:     {<Count>}:UL
  5724.  
  5725.     Semantics:    Insert    the contents of the line delete buffer at
  5726.             the current cursor position.
  5727.  
  5728.     7.4.2.108               :UM
  5729.  
  5730.                    Undo last command
  5731.  
  5732.     Syntax:     :UM
  5733.  
  5734.     Semantics:    Attempt to negate the effect of the last command.
  5735.             Commands for which :UM has been implemented are:
  5736.  
  5737.                 All @ commands.
  5738.                 :SUB
  5739.                 :D
  5740.  
  5741.             Attempting to undo any other command  will  cause
  5742.             an error do be displayed.
  5743.  
  5744.     7.4.2.109              :UOFF
  5745.  
  5746.                  Turn off screen updates
  5747.  
  5748.     Syntax:     :UOFF
  5749.  
  5750.     Semantics:    Prevents screen  updating  until a :UON, :WC, :WI
  5751.             or :RL command is executed.  This command is used
  5752.             to  prevent excessive screen  updating    processes
  5753.             with complex command sequences;
  5754.  
  5755.     7.4.2.110              :UON
  5756.  
  5757.                   Turn on screen updates
  5758.  
  5759.     Syntax:     :UON
  5760.  
  5761.     Semantics:    Restores screen updating and repaint  the  screen
  5762.             to  reflect any changes made while  updates  were
  5763.             turned off.
  5764.  
  5765.     7.4.2.111              :UPAG
  5766.  
  5767.                  Undelete page
  5768.  
  5769.     Syntax:     {<Count>}:UPAG
  5770.  
  5771.     Semantics:    Insert the contents of the page delete buffer  at
  5772.             the current cursor position.
  5773.  
  5774.     7.4.2.112              :UPAR
  5775.  
  5776.                    Undelete paragraph
  5777.  
  5778.     Syntax:     {<Count>}:UPAR
  5779.  
  5780.     Semantics:    Insert    the  contents  of  the    paragraph  delete
  5781.             buffer at the current cursor position.
  5782.  
  5783.     7.4.2.113              :UPD
  5784.  
  5785.                   Update screen header
  5786.  
  5787.     Syntax:     :UPD
  5788.  
  5789.     Semantics:    Update    the  first  line of the display.  This is
  5790.             normally done  only  when SEDT is ready for input
  5791.             and there are no  characters  in  the  type-ahead
  5792.             buffer.
  5793.  
  5794.     7.4.2.114              :USEN
  5795.  
  5796.                    Undelete sentence
  5797.  
  5798.     Syntax:     {<Count>}:USEN
  5799.  
  5800.     Semantics:    Insert the contents of the sentence delete buffer
  5801.             at the current cursor position.
  5802.  
  5803.     7.4.2.115              :USR
  5804.  
  5805.                      Paste
  5806.  
  5807.     Syntax:     {<Count>}:USR
  5808.  
  5809.     Semantics:    Insert the contents of the  paste  buffer  at the
  5810.             current cursor position.
  5811.  
  5812.     7.4.2.116               :UU
  5813.  
  5814.                 Undelete unknown
  5815.  
  5816.     Syntax:     {<Count>}:UU
  5817.  
  5818.     Semantics:    Insert the  contents of the unknown delete buffer
  5819.             at the current cursor position.
  5820.  
  5821.     7.4.2.117               :UW
  5822.  
  5823.                  Undelete word
  5824.  
  5825.     Syntax:     {<Count>}:UW
  5826.  
  5827.     Semantics:    Insert the contents  of the word delete buffer at
  5828.             the current cursor position.
  5829.  
  5830.     7.4.2.118               :WC
  5831.  
  5832.                  Toggle windows
  5833.  
  5834.     Syntax:     :WC
  5835.  
  5836.     Semantics:    Toggle between one and two window  displays.  The
  5837.             bottom window will be empty if :WC is used before
  5838.             :WI is used.  If :WI has been used the two window
  5839.             display  will  show  the  buffer  selected as the
  5840.             current buffer    before    the  last :WI command was
  5841.             executed.
  5842.  
  5843.     7.4.2.119               :WD
  5844.  
  5845.                   Toggle width
  5846.  
  5847.     Syntax:     :WD
  5848.  
  5849.     Semantics:    Toggle between 80 and 132 column display formats.
  5850.             This command has no effect on systems that cannot
  5851.             support 132 character displays.
  5852.  
  5853.     7.4.2.120               :WI
  5854.  
  5855.                  Select buffer
  5856.  
  5857.     Syntax:     <Count>:WI
  5858.  
  5859.     Semantics:    Select the buffer given in <Count> as the current
  5860.             buffer.  Valid buffers are 1 through 4.
  5861.  
  5862.             Each  buffer  has  a    unique    edit  environment
  5863.             including:
  5864.  
  5865.                 Input file
  5866.                 Output file
  5867.                 Current position
  5868.                 Ruler
  5869.                 Marks
  5870.                 Select point
  5871.  
  5872.     7.4.2.121               :X
  5873.  
  5874.                       Exit
  5875.  
  5876.     Syntax:     :X
  5877.  
  5878.     Semantics:    Save  the  current buffer in  it's  output  file.
  5879.             Then  exit  unless other buffers contain  unsaved
  5880.             changes.    If    unsaved changes exist prompt  the
  5881.             user for confirmation before exiting.
  5882.  
  5883.     7.4.2.122               :YN
  5884.  
  5885.                  Prompt for Confirmation
  5886.  
  5887.     Syntax:     :YN<Delimiter><String><Delimiter>
  5888.  
  5889.     Semantics:    Display  the  string  on the bottom line  of  the
  5890.             display with the string <Y/N>:    appended and wait
  5891.             for the user to enter either a Y or an N from the
  5892.             keyboard.    If  the response is Y the error flag
  5893.             will be  set,  otherwise it will be cleared.  :YN
  5894.             is  used  in  conjunction   with  ^E  conditional
  5895.             execution.               For      example
  5896.             ^E(:YN/Question?/)(:OM/Yes/|:OM/No/)  will output
  5897.             a Yes if Y is typed in reponse.
  5898.  
  5899.     7.4.2.123               :Z
  5900.  
  5901.                    Zap buffer
  5902.  
  5903.     Syntax:     :Z
  5904.  
  5905.     Semantics:    Clear  the  current  buffer.   If unsaved changes
  5906.             have been  made  prompt the user for confirmation
  5907.             before clearing.
  5908.     
  5909.     Copyright (c) Anker Berg-Sonne, 1985,1986,1987,1988
  5910.     Sedt Version 3.3 (233)
  5911.  
  5912.  
  5913.                    Appendix A
  5914.  
  5915.                   Keyboard translation
  5916.  
  5917.     Key        LK201/LK250
  5918.  
  5919.     <Escape>
  5920.     <Backspace>
  5921.     <Return>    <Return>
  5922.     <Linefeed>
  5923.     <Delete>    <<X>
  5924.     <Control>    <Ctl>
  5925.     <Tab>        <Tab>
  5926.     <Space>     <Spacebar>
  5927.     <F1>        <F1>
  5928.     <F2>        <F2>
  5929.     <F3>        <F3>
  5930.     <F4>        <F4>
  5931.     <F5>        <F5>
  5932.     <F6>        <F6>
  5933.     <F7>        <F7>
  5934.     <F8>        <F8>
  5935.     <F9>        <F9>
  5936.     <F10>        <F10>
  5937.     <F11>        <F11>
  5938.     <F12>        <F12>
  5939.     <F13>        <F13>
  5940.     <F14>        <F14>
  5941.     <Help>        <Help>
  5942.     <Do>        <Do>
  5943.     <F17>        <F17>
  5944.     <F18>        <F18>
  5945.     <F19>        <F19>
  5946.     <F20>        <F20>
  5947.     <Find>        <Find>
  5948.     <Insert Here>    <Insert Here>
  5949.     <Remove>    <Remove>
  5950.     <Select>    <Select>
  5951.     <Prev Screen>    <Prev Screen>
  5952.     <Next Screen>    <Next Screen>
  5953.     <Up arrow>    <Up Arrow>
  5954.     <Left arrow>    <Left Arrow>
  5955.     <Down arrow>    <Down Arrow>
  5956.     <Right arrow>    <Right Arrow>
  5957.     <Keypad 0>    <Keypad 0>
  5958.     <Keypad 1>    <Keypad 1>
  5959.     <Keypad 2>    <Keypad 2>
  5960.     <Keypad 3>    <Keypad 3>
  5961.     <Keypad 4>    <Keypad 4>
  5962.     <Keypad 5>    <Keypad 5>
  5963.     <Keypad 6>    <Keypad 6>
  5964.     <Keypad 7>    <Keypad 7>
  5965.     <Keypad 8>    <Keypad 8>
  5966.     <Keypad 9>    <Keypad 9>
  5967.     <Keypad ,>    <Keypad ,>
  5968.     <Keypad ->    <Keypad ->
  5969.     <Keypad .>    <Keypad .>
  5970.     <Gold>        <Keypad PF1>
  5971.     <PF2>        <Keypad PF2>
  5972.     <PF3>        <Keypad PF3>
  5973.     <PF4>        <Keypad PF4>
  5974.     <Keypad Enter>    <Keypad Enter>
  5975.  
  5976.     Key        IBM PC        IBM PC/AT    Enhanced IBM
  5977.  
  5978.     <Escape>
  5979.     <Backspace>
  5980.     <Return>    <Enter>     <Enter>     <Enter>
  5981.     <Linefeed>
  5982.     <Delete>    <<->        <<->        <Backspace>
  5983.     <Control>    <Ctrl>        <Ctrl>        <Ctrl>
  5984.     <Tab>        <->|>        <->|>        <Tab>
  5985.     <Space>     <Spacebar>    <Spacebar>    <Spacebar>
  5986.     <F1>        <F1>        <F1>        <F1>
  5987.     <F2>        <F2>        <F2>        <F2>
  5988.     <F3>        <F3>        <F3>        <F3>
  5989.     <F4>        <F4>        <F4>        <F4>
  5990.     <F5>        <F5>        <F5>        <F5>
  5991.     <F6>        <F6>        <F6>        <F6>
  5992.     <F7>        <F7>        <F7>        <F7>
  5993.     <F8>        <F8>        <F8>        <F8>
  5994.     <F9>        <F9>        <F9>        <F9>
  5995.     <F10>        <F10>        <F10>        <F10>
  5996.     <F11>        <Shift> <F1>    <Shift> <F1>    <F11>
  5997.     <F12>        <Shift> <F2>    <Shift> <F2>    <F12>
  5998.     <F13>        <Shift> <F3>    <Shift> <F3>    <Shift> <F3>
  5999.     <F14>        <Shift> <F4>    <Shift> <F4>    <Shift> <F4>
  6000.     <Help>        <Shift> <F5>    <Shift> <F5>    <Shift> <F5>
  6001.     <Do>        <Shift> <F6>    <Shift> <F6>    <Shift> <F6>
  6002.     <F17>        <Shift> <F7>    <Shift> <F7>    <Shift> <F7>
  6003.     <F18>        <Shift> <F8>    <Shift> <F8>    <Shift> <F8>
  6004.     <F19>        <Shift> <F9>    <Shift> <F9>    <Shift> <F9>
  6005.     <F20>        <Shift> <F10>    <Shift> <F10>    <Shift> <F10>
  6006.     <Find>        <Shift> <Home>    <Shift> <Home>    <Home>
  6007.     <Insert Here>    <Shift> <Ins>    <Shift> <Ins>    <Insert>
  6008.     <Remove>    <Shift> <Del>    <Shift> <Del>    <Delete>
  6009.     <Select>    <Shift> <End>    <Shift> <End>    <End>
  6010.     <Prev Screen>    <Shift> <Pg Up> <Shift> <Pg Up> <Page Up>
  6011.     <Next Screen>    <Shift> <Pg Dn> <Shift> <Pg Dn> <Page Down>
  6012.     <Up arrow>    <Shift> <Up Arrow>
  6013.                     <Shift> <Up Arrow>
  6014.                             <Up Arrow>
  6015.     <Left arrow>    <Shift> <Left Arrow>
  6016.                     <Shift> <Left Arrow>
  6017.                             <Left Arrow>
  6018.     <Down arrow>    <Shift> <Down Arrow>
  6019.                     <Shift> <Down Arrow>
  6020.                             <Down Arrow>
  6021.     <Right arrow>    <Shift> <Right Arrow>
  6022.                     <Shift> <Right Arrow>
  6023.                             <Right Arrow>
  6024.     <Keypad 0>    <Keypad 0>    <Keypad 0>    <Keypad 0>
  6025.     <Keypad 1>    <Keypad 1>    <Keypad 1>    <Keypad 1>
  6026.     <Keypad 2>    <Keypad 2>    <Keypad 2>    <Keypad 2>
  6027.     <Keypad 3>    <Keypad 3>    <Keypad 3>    <Keypad 3>
  6028.     <Keypad 4>    <Keypad 4>    <Keypad 4>    <Keypad 4>
  6029.     <Keypad 5>    <Keypad 5>    <Keypad 5>    <Keypad 5>
  6030.     <Keypad 6>    <Keypad 6>    <Keypad 6>    <Keypad 6>
  6031.     <Keypad 7>    <Keypad 7>    <Keypad 7>    <Keypad 7>
  6032.     <Keypad 8>    <Keypad 8>    <Keypad 8>    <Keypad 8>
  6033.     <Keypad 9>    <Keypad 9>    <Keypad 9>    <Keypad 9>
  6034.     <Keypad ,>    <Shift> <Keypad ->
  6035.                     <Keypad ->    <Keypad +>
  6036.     <Keypad ->    <Keypad ->    <Prt Sc>    <Shift> <Keypad +>
  6037.     <Keypad .>    <Keypad .>    <Keypad .>    <Keypad .>
  6038.     <Gold>        <Esc>,<Num Lock><Esc>        <Esc>,<Num Lock>
  6039.     <PF2>        <Shift> <Num Lock>
  6040.                     <Num Lock>    <Keypad />
  6041.     <PF3>        <Scroll Lock>
  6042.                     <Scroll Lock>    <Keypad *>
  6043.     <PF4>        <Shift> <Scroll Lock>
  6044.                     <Sys Req>    <Keypad ->
  6045.     <Keypad Enter>    <Keypad +>    <Keypad +>    <Keypad Enter>
  6046.  
  6047.     Key        IBM Convert.    ATARI ST
  6048.  
  6049.     <Escape>
  6050.     <Backspace>            <Backspace>
  6051.     <Return>    <Enter>     <Return>
  6052.     <Linefeed>
  6053.     <Delete>    <Bksp>        <Delete>
  6054.     <Control>    <Ctrl>        <Control>
  6055.     <Tab>        <->|>        <Tab>
  6056.     <Space>     <Spacebar>    <Spacebar>
  6057.     <F1>        <F1>        <F1>
  6058.     <F2>        <F2>        <F2>
  6059.     <F3>        <F3>        <F3>
  6060.     <F4>        <F4>        <F4>
  6061.     <F5>        <F5>        <F5>
  6062.     <F6>        <F6>        <F6>
  6063.     <F7>        <F7>        <F7>
  6064.     <F8>        <F8>        <F8>
  6065.     <F9>        <F9>        <F9>
  6066.     <F10>        <F10>        <F10>
  6067.     <F11>        <Shift> <F1>    <Shift> <F1>
  6068.     <F12>        <Shift> <F2>    <Shift> <F2>
  6069.     <F13>        <Shift> <F3>    <Shift> <F3>
  6070.     <F14>        <Shift> <F4>    <Shift> <F4>
  6071.     <Help>        <Shift> <F5>    <Shift> <F5>
  6072.     <Do>        <Shift> <F6>    <Shift> <F6>
  6073.     <F17>        <Shift> <F7>    <Shift> <F7>
  6074.     <F18>        <Shift> <F8>    <Shift> <F8>
  6075.     <F19>        <Shift> <F9>    <Shift> <F9>
  6076.     <F20>        <Shift> <F10>    <Shift> <F10>
  6077.     <Find>        <Fn> <Home>    <Shift> <Clr Home>
  6078.     <Insert Here>    <Ins>        <Insert>
  6079.     <Remove>    <Del>        <Clr Home>
  6080.     <Select>    <Fn> <End>    <Shift> <Insert>
  6081.     <Prev Screen>    <Fn> <PgUp>    <Shift> <Up Arrow>
  6082.     <Next Screen>    <Fn> <PgDn>    <Shift> <Down Arrow>
  6083.     <Up arrow>    <Up Arrow>    <Up Arrow>
  6084.     <Left arrow>    <Left Arrow>    <Left Arrow>
  6085.     <Down arrow>    <Down Arrow>    <Down Arrow>
  6086.     <Right arrow>    <Right Arrow>    <Right Arrow>
  6087.     <Keypad 0>    <Fn> <Keypad 0> <Keypad 0>
  6088.     <Keypad 1>    <Fn> <Keypad 1> <Keypad 1>
  6089.     <Keypad 2>    <Fn> <Keypad 2> <Keypad 2>
  6090.     <Keypad 3>    <Fn> <Keypad 3> <Keypad 3>
  6091.     <Keypad 4>    <Fn> <Keypad 4> <Keypad 4>
  6092.     <Keypad 5>    <Fn> <Keypad 5> <Keypad 5>
  6093.     <Keypad 6>    <Fn> <Keypad 6> <Keypad 6>
  6094.     <Keypad 7>    <Fn> <Keypad 7> <Keypad 7>
  6095.     <Keypad 8>    <Fn> <Keypad 8> <Keypad 8>
  6096.     <Keypad 9>    <Fn> <Keypad 9> <Keypad 9>
  6097.     <Keypad ,>    <Fn> <Keypad *> <Keypad +>
  6098.     <Keypad ->    <Fn> <Keypad /> <Keypad ->
  6099.     <Keypad .>    <Fn> <Keypad .> <Keypad .>
  6100.     <Gold>        <Num Lock>    <Esc>,<Keypad (>
  6101.     <PF2>        <Scroll Lock>    <Keypad )>
  6102.     <PF3>        <Fn> <Keypad -> <Keypad />
  6103.     <PF4>        <Fn> <Keypad +> <Keypad *>
  6104.     <Keypad Enter>            <Keypad Enter>
  6105.  
  6106.     
  6107.     Copyright (c) Anker Berg-Sonne, 1985,1986,1987,1988
  6108.     Sedt Version 3.3 (233)
  6109.  
  6110.  
  6111.                     Appendix B
  6112.  
  6113.                    Installation
  6114.  
  6115.                      ATARI ST
  6116.  
  6117.  
  6118.         Your first action should be  to make backup copies of the
  6119.     Sedt disks.  Use the backup  copies  from now on and only use the
  6120.     Sedt disks to create new backup copies.
  6121.  
  6122.         You can either use the backup copy  to    run  Sedt from or
  6123.     copy it's contents onto another disk or into a folder.
  6124.  
  6125.         When you run Sedt from the  ATARI  GEM desktop you should
  6126.     run  it from the directory containing all of the  files.    Under
  6127.     ATARI  GEM  this  is  done  simply  by    opening a window  to  the
  6128.     directory and double clicking the program.
  6129.  
  6130.         If you intend to run Sedt from a shell processor, such as
  6131.     the  Mark  Williams  msh, you can install Sedt so that it can  be
  6132.     called from any directory without copying the files.  Install the
  6133.     directory  that  contains  SEDT.TTP  into  the    PATH  environment
  6134.     variable and also create a new environment variable, called SEDT,
  6135.     that points to the directory containing  STKEY.TXT and STHLP.TXT.
  6136.     The command "setenv SEDT=C:\SEDT\" will cause Sedt  to    pick  the
  6137.     files out of directory \SEDT on drive C.   Do not forget the last
  6138.     backslash!
  6139.  
  6140.         When Sedt  cannot  use    more  RAM memory it will overflow
  6141.     onto a temporary  disk file.  If you have defined the environment
  6142.     variable TEMP Sedt will  use  the  value  if  it to determine the
  6143.     drive and directory on which  to  place  the temporary file.  The
  6144.     command "setenv TEMP=D:\" will place the  temporary  file  in the
  6145.     root directory of drive D.
  6146.  
  6147.         The program SEDT.TTP is intended to be run  from  a shell
  6148.     processor.   You can run it from ATARI GEM and supply  arguments,
  6149.     but it will not use windows, the mouse or menus.
  6150.  
  6151.         GSEDT.PRG is  intended    to  be    run  from  the    ATARI GEM
  6152.     desktop and uses windows, mouse and menus.
  6153.     
  6154.     Sedt Version 3.3 (233)
  6155.  
  6156.  
  6157.                     Appendix B
  6158.  
  6159.                    Installation
  6160.  
  6161.                    Rainbow CP/M
  6162.  
  6163.  
  6164.         Your first action  should be to make a backup copy of the
  6165.     Sedt disk.  Use the backup copy from now on and only use the Sedt
  6166.     disk to create a new backup copy.
  6167.  
  6168.         Copy the  contents of the Sedt disk onto your system disk
  6169.     in user area 0.
  6170.  
  6171.         When  you  use Sedt you must have the system disk as your
  6172.     default disk.
  6173.     
  6174.     Sedt Version 3.3 (233)
  6175.  
  6176.  
  6177.                     Appendix B
  6178.  
  6179.                Installation Instructions
  6180.  
  6181.                      MS-DOS
  6182.  
  6183.            Rainbow, IBM PC, IBM PC/XT, IBM PC/AT With Hard Disk
  6184.  
  6185.  
  6186.         Your first action  should be to make a backup copy of the
  6187.     Sedt disk.  Use the backup copy from now on and only use the Sedt
  6188.     disk to create a new backup copy.
  6189.  
  6190.         Create a  directory  for  the SEDT files using the DOS MD
  6191.     command in the format "CD <drive>:\<directory>".  E.g.
  6192.  
  6193.         MD C:\SEDT
  6194.  
  6195.         In this example  C  is the name of the drive and SEDT the
  6196.     name of the directory that is being created.
  6197.  
  6198.         Ensure    that  the directory  you  just    created  is  your
  6199.     default directory with the DOS    CD  command  in  the  format  "CD
  6200.     \<directory>".    E.g.
  6201.  
  6202.         C:
  6203.         CD \SEDT
  6204.  
  6205.         Copy the all files from the backup disk  into the current
  6206.     directory.  E.g.
  6207.  
  6208.         COPY A:*.*
  6209.  
  6210.         If you are familiar with Sedt you can use it for the next
  6211.     two steps.
  6212.  
  6213.         Add  the  directory that contains the SEDT files  to  the
  6214.     PATH  command  in AUTOEXEC.BAT on your boot drive in  the  format
  6215.     ";\<directory>".   If  there  is  no PATH command in AUTOEXEC.BAT
  6216.     create one that  contains  the    root directory on your boot drive
  6217.     and the SEDT directory.  E.g.
  6218.  
  6219.         PATH C:\;C:\SEDT
  6220.  
  6221.         Add a command  to  create  an environment variable called
  6222.     SEDT that points to  the  directory  containing the SEDT files to
  6223.     AUTOEXEC.BAT on your boot drive.  E.g.
  6224.  
  6225.         SET SEDT=C:\SEDT\
  6226.  
  6227.         An example of a complete installation follows:
  6228.  
  6229.         A>C:
  6230.         C>MD \SEDT
  6231.         C>CD \SEDT
  6232.         C>COPY A:*.*
  6233.         CD \
  6234.         COPY CON: AUTOEXEC.BAT
  6235.         DATE
  6236.         TIME
  6237.         PATH C:\;C:\SEDT
  6238.         SET SEDT=C:\SEDT\^Z
  6239.         C>
  6240.  
  6241.         Using  this  installation procedure you can run Sedt from
  6242.     any disk or directory.
  6243.  
  6244.         When Sedt  cannot  use    more  RAM memory it will overflow
  6245.     onto a temporary  disk file.  If you have defined the environment
  6246.     variable TEMP Sedt will  use  the  value  if  it to determine the
  6247.     drive and directory on which  to  place  the temporary file.  The
  6248.     command "SET TEMP=D:\" will place the temporary  file in the root
  6249.     directory of drive D.
  6250.  
  6251.     
  6252.     Sedt Version 3.3 (233)
  6253.  
  6254.  
  6255.                     Appendix B
  6256.  
  6257.                    Installation
  6258.  
  6259.          Rainbow, IBM PC, IBM PC/XT, IBM PC/AT Without Hard Disk
  6260.  
  6261.  
  6262.         Your first action  should be to make a backup copy of the
  6263.     Sedt disk.  Use the backup copy from now on and only use the Sedt
  6264.     disk to create a new backup copy.
  6265.  
  6266.         When  you  use    Sedt  the default drive must be the drive
  6267.     with the Sedt backup disk in it.
  6268.     
  6269.     Sedt Version 3.3 (233)
  6270.  
  6271.  
  6272.                     Appendix B
  6273.  
  6274.  
  6275.                Installation Instructions
  6276.  
  6277.                       VMS
  6278.  
  6279.         Copy Sedt.Exe,    Sedt.Com, *.Edt and *.Gld to a directory.
  6280.     Define the logical  name  Sedt$Library to point to the directory,
  6281.     the          symbol        Se*dt:==$Sedt$Library:Sedt          and
  6282.     KSe*dt:==@Sedt$Library:Sedt.  You do not  need    write  access  to
  6283.     Sedt$Library.
  6284.  
  6285.         Define    the  logical  names
  6286.             Sedt$VT1XXkeys as Sedt$Library:VT1XXkeys.Edt
  6287.             Sedt$VT1XXhelp as Sedt$Library:VT1XXhelp.Edt
  6288.             Sedt$VT2XXkeys as Sedt$Library:VT2XXkeys.Edt
  6289.             Sedt$VT2XXhelp as Sedt$Library:VT2XXhelp.Edt
  6290.             Sedt$VK100keys as Sedt$Library:VK100keys.Edt
  6291.             Sedt$VK100help as Sedt$Library:VK100help.Edt
  6292.  
  6293.         Define the logical name Sedt$Dir to point to a    directory
  6294.     which you have write access to.  Saved rulers will  be    stored in
  6295.     this  directory.  Until you have saved ruler 0 in this    directory
  6296.     you  will  get the message "Could not find ruler file" every time
  6297.     you enter  Sedt.   Enter  ruler  mode,    define your default ruler
  6298.     settings and save them by typing Gold 0.
  6299.  
  6300.     Example:
  6301.         Assign Sys$Disk:[Mydir] Sedt$Library
  6302.         Assign Sys$Disk:[Mydir] Sedt$Dir
  6303.         Se*dt:==$Sedt$Library:Sedt
  6304.         Assign Sedt$Library:VT1XXkeys.Edt Sedt$VT1XXkeys
  6305.         Assign Sedt$Library:VT1XXhelp.Edt Sedt$VT1XXhelp
  6306.         Assign Sedt$Library:VT2XXkeys.Edt Sedt$VT2XXkeys
  6307.         Assign Sedt$Library:VT2XXhelp.Edt Sedt$VT2XXhelp
  6308.         Assign Sedt$Library:VK100keys.Edt Sedt$VK100keys
  6309.         Assign Sedt$Library:VK100help.Edt Sedt$VK100help
  6310.  
  6311.         Using  this  installation procedure you can run Sedt from
  6312.     any disk or directory.
  6313.     
  6314.     Sedt Version 3.3 (233)
  6315.  
  6316.  
  6317.                    Appendix C
  6318.  
  6319.                   Error Messages
  6320.  
  6321.         Error messages    fall  into  four  classes:    Fatal error
  6322.     messages that cause  Sedt to abort execution, and three levels of
  6323.     non-fatal errors.
  6324.  
  6325.         Fatal errors cause  Sedt  to abort the edit session.  Any
  6326.     journal  files    are closed  and  saved    so  that  when    you  have
  6327.     corrected the error condition you  will be able to recommence the
  6328.     edit session and recover up to the point of failure.
  6329.  
  6330.     Fatal errors:
  6331.  
  6332.     Attempt to get before beginning
  6333.         Internal Sedt  error.     This is caused by a bug in Sedt.
  6334.         Please report the  failure  and supply a copy of the data
  6335.         file and associated journal file.
  6336.  
  6337.     Could not open key definition file
  6338.         Sedt  could  not  fin  the  key  definition file  due  to
  6339.         improper installation or improper operation of Sedt .
  6340.  
  6341.     Error creating buffer file
  6342.         Sedt was unable to create a temporary file on disk due to
  6343.         a lack    of  disk  space available.  Correct the situation
  6344.         and restart the edit session for a recovery.
  6345.  
  6346.     Error reading data from buffer
  6347.         Internal Sedt error.  This is  caused  by  a bug in Sedt.
  6348.         Please report the failure and supply a    copy  of the data
  6349.         file and associated journal file.
  6350.  
  6351.     Error writing data from buffer
  6352.         Sedt was unable  to write to a temporary file on disk due
  6353.         to a lack of disk space available.  Correct the situation
  6354.         and restart the edit session for a recovery.
  6355.  
  6356.     More files than buffers
  6357.         You attempted to call Sedt  with a command that requested
  6358.         editing more than 4 different files.
  6359.  
  6360.     Too many file arguments
  6361.         For each buffer you can only  request  an  input  and  an
  6362.         output file.  You supplied more than  two  file arguments
  6363.         to the buffer.
  6364.  
  6365.         Other errors  are  non-fatal  and can optionally ring the
  6366.     bell to get your attention.  This is done with the :EL command.
  6367.