home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / sedt_doc.zip / SEDTMAN.EDT < prev   
Text File  |  1990-07-14  |  204KB  |  6,490 lines

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