home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / sedt2.zip / HELP.EDT < prev    next >
Text File  |  1989-12-11  |  23KB  |  561 lines

  1.  
  2.  
  3.  
  4.  
  5.                             Sedt for OS/2 Version 1.0
  6.  
  7.                                EDT Style Help Menu
  8.                                    
  9.                 At any  point  type Backspace (<Ctrl> H) to go
  10.         up one level,  Return  to continue and go up one level at
  11.         the end, or a digit to make a menu selection.
  12.  
  13.                 0       Keyboard Diagram
  14.                 1       Keyboard Commands
  15.                 2       Internal Commands
  16.  
  17. 0
  18. %K
  19. 1
  20.  
  21.                     
  22.  
  23.  
  24.                             Sedt for OS/2 Version 1.0
  25.  
  26.                                 Keyboard Commands
  27.                                 
  28.                 0       Cursor Movement
  29.                 1       Deletion
  30.                 2       Insertion
  31.                 3       Selecting Text Ranges
  32.                 4       Text Formatting
  33.                 5       Session Control
  34.                 6       Key Definition
  35.                 7       Miscellaneous
  36.                 8       Ruler Definition Commands
  37.  
  38. 10
  39.  
  40.  C U R S O R   M O V E M E N T
  41.  
  42.         <%F35>: %C35%T35
  43.         <%F36>: %C35%T36
  44.         <%F71>: %C35%T71
  45.         <%F75>: %C35%T75
  46.         <%F85>: %C35%T85
  47.         <%F91>: %C35%T91
  48.         <%F12>: %C35%T12
  49.         <%F21>: %C35%T21
  50.         <%F25>: %C35%T25
  51.         <%F26>: %C35%T26
  52.         <%F27>: %C35%T27
  53.         <%F28>: %C35%T28
  54.         <%F29>: %C35%T29
  55.         <%F30>: %C35%T30
  56.         <%F31>: %C35%T31
  57.         <%F32>: %C35%T32
  58.         <%F33>: %C35%T33
  59.         <%F34>: %C35%T34
  60.         <%F35>: %C35%T35
  61.         <%F36>: %C35%T36
  62.         <%F38>: %C35%T38
  63.         <%F39>: %C35%T39
  64.         <%F40>: %C35%T40
  65.         <%F103>: %C35%T103
  66.         <%F109>: %C35%T109
  67.         <%F110>: %C35%T110
  68.         <%F111>: %C35%T111
  69.         <%F112>: %C35%T112
  70. 11
  71.  
  72.  D E L E T I O N
  73.  
  74.         <%F13>: %C35%T13
  75.         <%F62>: %C35%T62
  76.         <%F95>: %C35%T95
  77.         <%F23>: %C35%T23
  78.         <%F41>: %C35%T41
  79.         <%F42>: %C35%T42
  80.         <%F47>: %C35%T47
  81.         <%F115>: %C35%T115
  82. 12
  83.  
  84.  I N S E R T I O N
  85.  
  86.         <%F54>: %C35%T54
  87.         <%F58>: %C35%T58
  88.         <%F80>: %C35%T80
  89.         <%F82>: %C35%T82
  90.         <%F87>: %C35%T87
  91.         <%F11>: %C35%T11
  92.         <%F22>: %C35%T22
  93.         <%F113>: %C35%T113
  94.         <%F116>: %C35%T116
  95.         <%F123>: %C35%T123
  96.         <%F124>: %C35%T124
  97.         <%F127>: %C35%T127
  98. 13
  99.  
  100.  S E L E C T I N G   T E X T   R A N G E S
  101.  
  102.         <%F24>: %C35%T24
  103.         <%F106>: %C35%T106
  104.         <%F84>: %C35%T84
  105. 14
  106.  
  107.  T E X T   F O R M A T T I N G
  108.  
  109.         <%F50>: %C35%T50
  110.         <%F51>: %C35%T51
  111.         <%F52>: %C35%T52
  112.         <%F61>: %C35%T61
  113.         <%F76>: %C35%T76
  114.         <%F82>: %C35%T82
  115.         <%F84>: %C35%T84
  116.         <%F86>: %C35%T86
  117.         <%F83>: %C35%T83
  118.         <%F89>: %C35%T89
  119.         <%F96>: %C35%T96
  120.         <%F121>: %C35%T121
  121. 15
  122.  
  123.  S E S S I O N   C O N T R O L
  124.  
  125.         <%F63>: %C35%T63
  126.         <%F77>: %C35%T77
  127.         <%F78>: %C35%T78
  128.         <%F10>: %C35%T10
  129.         <%F8>: %C35%T8
  130.         <%F6>: %C35%T6
  131.         <%F93>: %C35%T93
  132.         <%F17>: %C35%T17
  133.         <%F18>: %C35%T18
  134.         <%F19>: %C35%T19
  135.         <%F20>: %C35%T20
  136. 16
  137.  
  138.  K E Y   D E F I N I T I O N
  139.  
  140.         <%F56>: %C35%T56
  141.         <%F66>: %C35%T66
  142.         <%F67>: %C35%T67
  143.         <%F101>: %C35%T101
  144.         <%F102>: %C35%T102
  145. 17
  146.  
  147.  M I S C E L L A N E O U S
  148.  
  149.         <%F57>: %C35%T57
  150.         <%F59>: %C35%T59
  151.         <%F60>: %C35%T60
  152.         <%F16>: %C35%T16
  153.         <%F74>: %C35%T74
  154.         <%F15>: %C35%T15
  155.         <%F92>: %C35%T92
  156.         <%F94>: %C35%T94
  157.         <%F4>: %C35%T4
  158.         <%F9>: %C35%T9
  159.         <%F40>: %C35%T40
  160.         <%F97>: %C35%T97
  161.         <%F10>: %C35%T10
  162.         <%F105>: %C35%T105
  163.         <%F114>: %C35%T114
  164.         <%F122>: %C35%T122
  165.         <%F128>: %C35%T128
  166. 18
  167.  
  168.  R U L E R   D E F I N I T I O N   C O M M A N D S
  169.  
  170.         <%F30> %C34%T30
  171.         <%F28> %C34%T28
  172.         - %C35Remove tab stop at current column
  173.         <Tab> %C35Move right to next tab position
  174.         <Ctrl> H %C35Move to column 1
  175.         T %C35Set a tab position at the current column
  176.         L %C35Set left margin
  177.         R %C35Set right margin for fill
  178.         J %C35Set right margin for justify
  179.         W %C35Set left margin for fill and justify
  180.         A %C35Set auto left margin mode
  181.         I %C35Set Tab indentation level
  182.         <Spacebar> %C35Remove all format controls at current column
  183.         <Digit> %C35Load saved ruler number Digit
  184.         <%F0> <Digit> %C35%T0
  185.         <Enter> %C35Return to edit mode
  186. 2
  187.  
  188.                     
  189.  
  190.  
  191.                             Sedt for OS/2 Version 1.0
  192.  
  193.                                 Internal Commands
  194.                                 
  195.                 0       Execution
  196.                 1       Tokens
  197.                 2       Prompts
  198.                 3       Conditionals
  199.                 4       State Control
  200.                 5       Movement Commands
  201.                 6       Action Commands
  202. 20
  203.  
  204.                              Sedt for OS/2 Version 1.0
  205.                                     Execution
  206.                                 
  207.         Key definitions  terminated  by  a period are executed immediatly
  208.         after the key is pressed.
  209.         
  210.         Key definitions not  terminated by a period are saved until a key
  211.         with a defition terminated by a period is pressed.
  212. 21
  213.  
  214.                              Sedt for OS/2 Version 1.0
  215.                                      Tokens
  216.  
  217.         Tokens  are  replaced  by  the  value  that  the  token  definies
  218.         immediatly before command execution.  Tokens replacement will not
  219.         happen in responses to prompts.
  220.         
  221.         %%%%              Replaced by a single %% character
  222.         %%#              The current value of the counter
  223.         %%A              Value of  the  environment  variable  SEDT or, on
  224.                         VMS, the string Sedt$Dir:
  225.         %%B              Next unseen broadcast message on VMS
  226.         %%C              Current  character  position
  227.         %%D              The device and directory of the  output  file  of
  228.                         the current buffer
  229.         %%E              Value  of  environment variable SEDT or, on  VMS,
  230.                         the string Sedt$Library:
  231.         %%F              Output file name of the current buffer
  232.         %%L              Current  line  number
  233.         %%N              Filename, excluding extention, of the output file
  234.                         of the current buffer
  235.         %%P              The contents of the paste buffer
  236.         %%T              The file type of the output file of the current
  237.                         buffer
  238.         %%W              The current cursor column
  239. 22
  240.  
  241.                              Sedt for OS/2 Version 1.0
  242.                                      Prompts
  243.                                 
  244.         If a key definition contains  one of the following characters:  ?
  245.         or ! the following actions will take place:
  246.  
  247.         ?? is replaced by ?
  248.  
  249.         !! is replaced by !
  250.  
  251.         ?<Delimiter><String><Delimiter> will prompt with <String> at  the
  252.                 bottom of the screen, read a string from the keyboard and
  253.                 replace the contruct with the string.
  254.  
  255.         !<Delimiter><String><Delimiter>  will prompt with <String> at the
  256.                 bottom of  the  screen,  wait for a key to be pressed and
  257.                 replace  the  construct   with  a  string  that  uniquely
  258.                 identifies the key.
  259. 23
  260.  
  261.                              Sedt for OS/2 Version 1.0
  262.                                   Conditionals
  263.                                 
  264.         ^C(<Commands>)  causes  <Commands>  to be executed  only  if  the
  265.                 current buffer contains unsaved changes.
  266.         
  267.         ^C(<Commands1>|<Commands2>)  causes <Commands1> to be executed if
  268.                 the  buffer  contains  unsaved changes and <Commands2> to
  269.                 executed if the buffer is unchanged.
  270.         
  271.         ^E(<Commands1>)(<Commands2>) causes  <Commands1>  to be executed.
  272.                 If any error  occurs  during  the  execution  the rest of
  273.                 <Commands1>  will  be skipped  and  <Commands2>  will  be
  274.                 executed.   <Commands2> string is  ignored  if  no  error
  275.                 occurs.
  276.         
  277.         ^E(<Commands1>)(<Commands2>|<Commands3>)        will      execute
  278.                 <Commands1>.  If an  error occurs the rest of <Commands1>
  279.                 will be skipped and then  <Commands2>  will  be executed,
  280.                 otherwise  <Commands3>  is  executed after completion  of
  281.                 <Commands1>.
  282.                 
  283.         ^S(<Commands>) causes  <Commands> to be executed only if there is
  284.                 a select region active.
  285.         
  286.         ^S(<Commands1>|<Commands2>) causes  <Commands1> to be executed if
  287.                 a select region is active.  If no select region is active
  288.                 <Commands2> will be executed>.  24
  289.  
  290.         ^ID(<commands>) Executes  <commands>  if the default direction is
  291.                 forward.
  292.         
  293.         ^ID(<commands1>|<commands2>) Executes <commands1>  if the default
  294.                 direction  is  forward and  <commands2>  if  the  default
  295.                 direction is reverse.
  296.  
  297.         ^IF(<commands>)  Executes <commands> if the cursor is allowed to
  298.                 move freely.
  299.                 
  300.         ^IF(<commands1>|<commands2>)  Executes <commands1> if the cursor
  301.                 is allowed to move freely and <commands2> if it is
  302.                 restricted to the length of lines in the file.
  303.  
  304.         ^II(<commands>)  Executes <commands> if characters  are  inserted
  305.                 wne typed.
  306.                 
  307.         ^II(<commands1>|<commands2>)    Executes   <commands1>  if  typed
  308.                 characters  are    inserted   and  <commands2>  if  typed
  309.                 characters replace existing text.
  310.  
  311.         ^IB(<commands>) Executes <commands> if cut operates in line mode.
  312.         
  313.         ^IB(<commands1>|<commands2>) Executes <commands1> if cut operates
  314.                 in line mode and  <commands2>  if  cut  operates in block
  315.                 mode.
  316.  
  317.         ^IT(<commands>) Executes <commands> if typed  tab  characters are
  318.                 expanded to spaces.
  319.         
  320.         ^IT(<commands1>|<commands2>)  Executes  <commands1>  if typed tab
  321.                 characters  are  expanded  to  spaces and <commands2>  if
  322.                 types tab characters are inserted.
  323.  
  324.         ^IU(<commands>)    Executes   <commands>  if  searches  are  case
  325.                 insensitive.
  326.         
  327.         ^IU(<commands1>|<commands2>) Executes <commands1> if searches are
  328.                 case insensitive and  <commands2>  if  searches  are case
  329.                 sensitive.  
  330.         ^IX(<commands>) Executes  <commands>  if function definitions are
  331.                 inserted in response to prompts.
  332.         
  333.         ^IX(<commands1>|<commands2>)  Executes  <commands1>  if  function
  334.                 defintitions  are inserted in  response  to  prompts  and
  335.                 <commands2> characters only are inserted.  
  336. 24
  337.  
  338.                              Sedt for OS/2 Version 1.0
  339.                                   State Control
  340.  
  341.         ^TD(<commands>)  Saves the direction flag and restores  it  after
  342.                 <commands> have been executed.
  343.         
  344.         ^TF(<commands>)  Saves the cursor behavior  toggle and restores it
  345.                 after <commands> have been executed.
  346.  
  347.         ^TI(<commands>)  Saves  the replace/insert mode flag and restores
  348.                 it after <commands> have been executed.
  349.         
  350.         ^TB(<commands>)  Saves  the  block/line mode flag and restores it
  351.                 after <commands> have been executed.
  352.         
  353.         ^TT(<commands>) Saves the the tab insert/expand flag and restores
  354.                 it after <commands> have been executed.
  355.  
  356.         ^TU(<commands>) Saves the  the case sensitivity flag and restores
  357.                 it after <commands> have been executed.  
  358.  
  359.         ^TX(<commands>)  Saves  the  the  state  on  inserting  functions
  360.                 definitions in response to prompts and  restores it after
  361.                 <commands> have been executed.  
  362. 25
  363.  
  364.                              Sedt for OS/2 Version 1.0
  365.                                 Movement Commands
  366.                                 
  367.         {<Count>}@AC            Absolute Character
  368.         {<Count>}@AL            Absolute Line
  369.         @BB                     Beginning of Buffer
  370.         @BM                     Matching bracketing character:'"<>[]{}()
  371.         @EB                     End of Buffer
  372.         <Count>@EL              End of Line
  373.         {+|-|<|>}{<Count>}@C    Character
  374.         {+|-|<|>}{<Count>}@F<Delimiter><String><Delimiter>
  375.                                 Find <String>
  376.         {+|-|<|>}{<Count>}@L    Line
  377.         {<Count>}@M             Mark
  378.         {+|-|<|>}{<Count>}@N    Next ocurrence of <String>
  379.         {+|-|<|>}{<Count>}@PAG  Page
  380.         {+|-|<|>}{<Count>}@PAR  Paragraph
  381.         {+|-|<|>}{<Count>}@SCR  Screen
  382.         {+|-|<|>}{<Count>}@SEN  Sentence
  383.         @SR                     Select Range
  384.         {+|-|<|>}{<Count>}@V    Vertical
  385.         {+|-|<|>}{<Count>}@W    Word
  386.         @XSR                    Select Range without clear
  387. 26
  388.  
  389.                              Sedt for OS/2 Version 1.0
  390.                                  Action Commands
  391.  
  392.         :A                      Advance as Default
  393.         :B                      Backward as Default
  394.         :CB                     Cursor at Bottom of Screen
  395.         :CC<@ command>          Change Case
  396.         :CD<@ command>          Change to Lower case
  397.         <Count>:CE              Change Case Edt Style
  398.         <Count>:CH              Insert ASCII Character
  399.         :CK                     Checkpoint buffer
  400.         :CL                     Center Line
  401.         :CM                     Cursor at Middle of Screen
  402.         :CNA                    Add number to counter
  403.         :CNG                    Get counter from buffer
  404.         <Count>:CNI             Increment or decrement counter
  405.         :CNP                    Insert value of counter in buffer
  406.         <Count>:CNS             Set counter value
  407.         :CS                     Save buffer context
  408.         :CT                     Cursor at Top of Screen
  409.         :CU<@ command>          Change to Upper Case
  410.         :CW                     Change to other window on screen
  411.         :D<@ command>           Delete
  412.         :EAP<@ command>         Delete and Append to Delete Buffer
  413.         <Count>:EF              Execute function number <Count>
  414.         :EK<Key>                Execute key
  415.         <Count>:EL              Set Error Level for Audible Warning
  416.         :ERC                    Clear edit region
  417.         :ERS<@ Command>         Set edit region
  418.         :FE<Delimiter><File Name><Delimiter>
  419.                                 Edit File
  420.         :FG<Delimiter><File Name><Delimiter>    
  421.                                 Get File
  422.         :FNL                    Use Larger Font
  423.         :FNS                    Use Smaller Font
  424.         :FS<Delimiter><File Name><Delimiter>    
  425.                                 Save File
  426.         :FT<@ command>          Fill
  427.         :FW<Delimiter><File Name><Delimiter>    
  428.                                 Write Buffer to File
  429.         :FX<Delimiter><File Name><Delimiter>    
  430.                                 Execute File
  431.         :GAP<@ command>         Get and Append to Delete Buffer
  432.         :GE<@ command>          Get
  433.         <Count>:GR              Get Ruler from Ruler Definition File
  434.         :H                      Help
  435.         :I<Delimiter><Any text><Delimiter>      
  436.                                 Insert Text
  437.         :KA<Char><Delimiter><Definition><Delimiter>
  438.                                 Define character key
  439.         :KF<Key><Delimiter><Definition><Delimiter>       
  440.                                 Define key
  441.         :KGA<Char><Delimiter><Definition><Delimiter>
  442.                                 Define gold character key
  443.         :KK<Key><Delimiter><Definition><Delimiter>
  444.                                 Define function key
  445.         :KGK<Key><Delimiter><Definition><Delimiter>
  446.                                 Define gold function key
  447.         <Count>:KN<Key>         Define key as function number
  448.         {<Count>}:LD            Decrease Indentation
  449.         {<Count>}:LI            Increase Indentation
  450.         :LK<Key><@ Command>     Load Key Definition from Buffer
  451.         {<Count>}:LNE<Key>      Execute Keystrokes Stored in Key
  452.         :LNL<Key>               Store Keystrokes in Key
  453.         :LNX                    End keystroke learning
  454.         :LS                     Set Indentation Level
  455.         {<Count>}:M             Mark cursor position
  456.         {<Count>}:NL            New line
  457.         {+|-|<|>}{<Count>}:NS   Substitute Next
  458.         :OE<Delimiter><Message><Delimiter>      
  459.                                 Output Error Message
  460.         {<Count>}:OL            Open Line
  461.         :OM<Delimiter><Message><Delimiter>      
  462.                                 Output Message
  463.         :OS                     Toggle Overstrike Mode
  464.         :OW                     Switch to Previous Buffer
  465.         :PD                     Insert Current Date
  466.         :PL<Delimiter><File name><Delimiter>    
  467.                                 Load Paste Buffer from File
  468.         :POPCH                  Restore buffer change flag
  469.         :PR<Delimiter><File name><Delimiter>    
  470.                                 Print Current Buffer
  471.         :PS<Delimiter><File name><Delimiter>    
  472.                                 Save Paste Buffer
  473.         :PT                     Insert Current Time
  474.         :PUSHCH                 Save buffer change flag
  475.         :Q                      Quit
  476.         :REP                    Replace
  477.         :RF                     Refresh Display
  478.         <Count>:RK<Key>         Redefine key as character
  479.         :RL                     Ruler
  480.         :RMCHA                  Clear character delete buffer
  481.         :RMHEL                  Clear help buffer
  482.         :RMLIN                  Clear line delete buffer
  483.         :RMPAG                  Clear page delete buffer
  484.         :RMPAR                  Clear paragraph delete buffer
  485.         :RMPAS                  Clear paste buffer
  486.         :RMSEA                  Clear search buffer
  487.         :RMSEN                  Clear sentence delete buffer
  488.         :RMSUB                  Clear substitute buffer
  489.         :RMUNK                  Clear unknown delete buffer
  490.         :RMWOR                  Clear word delete buffer
  491.         :RS                     Reset Select Range
  492.         :RTAB<@ command>        Replace tabs with spaces
  493.         :RUL<@ command>         Load Ruler from Entity
  494.         :RUS                    Save Ruler in Buffer
  495.         :SAVF<Delimiter><File name><Delimiter>
  496.                                 Save function definitions in file
  497.         :SAVK<Delimiter><File name><Delimiter>
  498.                                 Save key definitions in file
  499.         :SC                     Show Current Column
  500.         :SEL                    Select
  501.         :SETB                   Set block/line mode toggle
  502.         :SETD                   Set forward/reverse toggle
  503.         :SETF                   Set cursor behavior
  504.         :SETK                   Set typewriter key command execution
  505.         :SETR                   Set replace/insert mode toggle
  506.         :SETT                   Set tab insert/expand toggle
  507.         :SETU                   Set case sensitivity toggle
  508.         :SETX                   Set function definition toggle
  509.         :SI                     Send a shift in character
  510.         :SK<Key>                Save Key Definition in Buffer
  511.         :SL<@ command>          Load Search Buffer
  512.         :SO                     Send a shift out character
  513.         :STAB<@ command>        Replace multiple spaces with tabs
  514.         :STRP<@ command>        Strip trailing spaces from end of lines
  515.         {+|-|<|>}{<Count>}:SUB<Delimiter><Target><Delimiter><Object><Delimiter> 
  516.                                 Substitute
  517.         :SV                     Show Version
  518.         :SYQ<Delimiter><Command><Delimiter>
  519.                                 Spawn without clearing and refreshing screen
  520.         :SYR<Delimiter><New stdout><Delimiter><New stderr>
  521.                 <Delimiter><Command><Delimiter>
  522.                                 Spawn and redirect stdout and sterr
  523.         :SYS<Delimiter><Command><Delimiter>     
  524.                                 Spawn to Operating System
  525.         {<Count>}:TAB           Move to Next Tab Stop
  526.         {+|-|<|>}{<Count>}:TAD<@ command>       
  527.                                 Adjust Text by One Tab Stop
  528.         :TB                     Toggle Block Mode
  529.         :TC                     Toggle Control Character Display
  530.         :TD                     Toggle Direction
  531.         :TF                     Toggle cursor behavior
  532.         :TI                     Test for Input Pending
  533.         :TK                     Toggle typewriter key command execution
  534.         :TM                     Toggle Buffer Markers
  535.         :TP                     Toggle Cursor Line
  536.         :TR                     Toggle ruler display
  537.         :TS                     Toggle Automatic Screen Shifts
  538.         :TT                     Toggle Tab Expansion
  539.         :TU                     Toggle case sensitivity
  540.         :TX                     Toggle function definition toggle
  541.         {<Count>}:UC            Undelete Character
  542.         {<Count>}:UL            Undelete Line
  543.         :UM                     Undo Last Command
  544.         :UOFF                   Turn off screen updating
  545.         :UON                    Turn on screen updating
  546.         {<Count>}:UPAG          Undelete Page
  547.         {<Count>}:UPAR          Undelete Paragraph
  548.         :UPD                    Update Buffer Header Line
  549.         {<Count>}:USEN          Undelete Sentence
  550.         {<Count>}:USR           Paste
  551.         {<Count>}:UU            Undelete Unknown
  552.         {<Count>}:UW            Undelete Word
  553.         :WC                     Toggle Windows
  554.         :WD                     Toggle Width
  555.         <Count>:WI              Select Buffer
  556.         :X                      Exit
  557.         :YN<Delimiter><Text><Delimiter>
  558.                                 Prompt for confirmation
  559.         :Z                      Zap Buffer
  560. 
  561.