home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / sedt2.zip / SEDTMAN.EDT < prev   
Text File  |  1988-03-26  |  175KB  |  5,929 lines

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