home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / system / sphinx.lzh / SPHINX2.5y / Docs / QuickReference.doc < prev    next >
Encoding:
Text File  |  1992-01-10  |  7.0 KB  |  180 lines

  1.  
  2.                   Sphinx.doc v2.5b
  3.          ⌐ 1991, Nicolas Dade. All Rights Reserved
  4.  permission is hereby granted for non-commercial duplication and distribution
  5.          doc file for the SPHINX: AmigaDOS device
  6.  last revised: January 8th, 1992
  7.  
  8. SPHINX uses the default keymap (you set this with SetKeyMap) to map the
  9. keyboard. In parenthesis I have given what SPHINX really looks for when it is
  10. not obvious.
  11.  
  12. control-key strokes are supported not because they are easier to use, but in
  13. order to be compatible with NEWCON:.
  14.  
  15. no key is allowed to repeat after it has been released. however, if you
  16. repeatedly press a key, every press will be acted upon.
  17.  
  18. S-  = Shift-
  19. A-  = Alternate-
  20. C-  = Control-
  21. RA- = Right Amiga-
  22. SA- = Shift + Alternate-
  23. SRA-= Shift + Right Amiga-
  24. LMB = Left Mouse Button
  25. NR  = No Repeat. this key is not allowed to repeat at all
  26. RAW = the key in interpreted at the raw key code stage in its most common form
  27.  
  28. RETURN/ENTER/C-M ($0d)  end of input, append a LF and make it available
  29. C-\ ($1c)               end of file, same actions as RETURN, but returns a
  30.              EOF
  31. C-J ($0a)               end of line, same actions as RETURN, but does not
  32.              make the line available
  33.  
  34. BACKSPACE/C-H ($08) RAW delete character to the left of cursor
  35. DELETE      ($7f)     RAW delete character to the right of cursor
  36. S-BS/C-U  ($08+shf/$15) delete all to the left of cursor
  37. S-DEL/C-K ($7f+shf/$0b) delete all to the right of cursor
  38. A-BS      ($08+alt) RAW delete (fraction of) word to the left of cursor,
  39.              or punctuation mark to the left
  40. A-DEL      ($7f+alt) RAW delete (fraction of) word to the right of cursor,
  41.              or punctuation mark to the right
  42. C-X      ($18)         reset inputs
  43.  
  44. RA-X/UNDO GG NR undo: if searching, cancel search and restore input buffer
  45.               if wording, cancel wording and restore input buffer
  46.               if literal, cancel literal
  47.               if just inserted, delete inserted text
  48.               else, undo the last block of text deleted;
  49.               gadget imagery is used as a status indicator
  50.  
  51. RIGHT ARROW RAW  move cursor one character to the right
  52. LEFT ARROW  RAW  move cursor one to the left
  53. S-RIGHT/C-Z RAW  move cursor to the end of input line
  54. S-LEFT/C-A  RAW  move cursor to the start of input line
  55. A-RIGHT (R+a) RAW usually move cursor one word to the right
  56. A-LEFT    (L+a) RAW usually move cursor one word to the left
  57. C-RIGHT (R+c) RAW same as A-RIGHT
  58. C-LEFT    (L+c) RAW same as A-LEFT
  59. C-W    ($17)     move cursor to the right to next tab stop
  60. UP ARROW      RAW look back at next older old input line
  61. DOWN ARROW    RAW look back at next newer old input line
  62. S-UP/C-R ($12) NR RAW search back in saved input for next string matching
  63.          search string
  64.         if the string is less than or MaxLitCmpChars long, then
  65.          search for a line that starts with that character,
  66.         else do a fragment comparision, looking for an input line
  67.          that has the same characters as the string in the same
  68.          order, but with any number of other characters in between
  69.         if the string is completely in capital letters, the
  70.         comparison(s) are case insensitive, else case sensational
  71. S-DOWN       RAW go to bottom: if searching and cursor is visible, cancel search
  72.  ($02)                       & restore input buffer
  73.                 else if cursor is visible, scroll cursor to top
  74.                  line
  75.                 else, scroll cursor to bottom line of window
  76. C-B        always cancel search & restore input buffer
  77.  
  78. RA-W         NR do word search through all text to finish word to the left
  79.          of cursor
  80.  
  81. C-S        toggle output stop
  82. SC-S        disable automatic scroll when cursor reaches bottom of wd
  83. C-G/C-Q     manual automatic-scroll enable and output enable
  84.  
  85. SA-UP (SU+a) RAW scroll back so that next previous input line is on top line
  86.           of window
  87. A-UP   (U+a) RAW scroll up ╜ window
  88. A-DOWN (D+a) RAW scroll down ╜ window
  89. C-UP   (U+c) RAW scroll up one line
  90. C-DOWN (D+c) RAW scroll down one line
  91.  
  92. RA-Z/ICONIZE GG NR iconify window(s); to deiconify, activate bar and press a
  93.             key or right mouse button
  94. RA-O        NR open/shrink window
  95. RA-]/SRA-]    NR window(s) to front
  96. RA-[/SRA-[    NR window(s) to back
  97.  
  98. RA-L         NR toggle the literal trigger: when the literal trigger is
  99.          loaded, the next keystroke is not interpreted, but is put
  100.          directly in the input buffer, thus a C-X can be put in the
  101.          input buffer by preceding it by RA-L
  102. SRA-L         NR toggle the literal trigger like RA-L, but if it is being set
  103.          then set it in such a way that it is not automatically
  104.          canceled when it is "used"; lock it until it is manually
  105.          released (with RA-L,SRA-L,UNDO)
  106.  
  107. RA-G         NR cycle through one-time clipping modes, or, if in a locked
  108.         mode, cancel that mode
  109. SRA-G         NR cycle through locked clipping modes, or, if in a locked mode
  110.         that has been used, cancel that mode
  111.  
  112. RA-I         NR insert from clipboard
  113. SRA-I         NR insert from insert file
  114. RA-P         NR toggle insert parsing
  115. RA-A         NR insert again the previous clipboard or private insertion
  116.         (file insertions are not saved for RA-A)
  117.  
  118. RA-R         NR put up an arp file requestor and insert the filename
  119. SRA-R         NR put up an arp file requestor and insert the path & filename
  120.  
  121. RA-C         NR open configuration window
  122.  
  123. SCROLL-GG    when clicked upon and when moved, redraws the window using
  124.         the location of the gadget to determine what line of saved
  125.         text is new top line
  126.  
  127. RA-F        free some memory by forgetting the oldest block of text
  128. SRA-F         NR free all the memory that can be freed (equivalent to holding
  129.         down RA-F until everything possible has been freed)
  130.  
  131. F1 to F10 RAW NR   go to previously marked spot n
  132. S-F1 to S-F10 RAW  mark current upperleft character in spot n
  133.         NOTE: F10 is special: it allows you to set a boundary below
  134.               which all automatic (even RA-F) freeing of text is not
  135.               allowed. this allows you to keep something useful from
  136.               being freed when you are about to do something that
  137.               would ordinarily cause it to be freed (i.e. typing
  138.               (type) a large file to the window)
  139.               when F10 is doing this, the Undo gadget shows a small
  140.               `10' the lower right corner, as a reminder
  141. A-F10 (F10+alt) RAW cancel F10 and its boundary, and allow the text to be
  142.               freed
  143.  
  144. C-Fn        RAW insert input string and enter line
  145.  
  146. C-C ($03)       signal the sender of a pending read, write or waitchar
  147. C-D ($04)       request, or if there are none the sender of the next packet
  148. C-E ($05)       recieved, the appropriate signal
  149. C-F ($06)
  150.  
  151. LMB on input buffer    move cursor to pointer
  152. LMB double click    clip word under pointer
  153. LMB dragged        define and clip text block
  154.  
  155.  
  156. gadgets:
  157.  +------------------+-+-+
  158.  |... .. ....        | | |
  159.  +------------------+-+-+
  160.  |.. ... .....          |I|ICONIZE GG (ghosted after DiskInfo is asked for)
  161.  |. ....... ..... ..  +-+
  162.  |... ..          | |
  163.  |.              |S|SCROLL GG
  164.  |..              | |
  165.  |.              +-+
  166.  |              |X|UNDO GG
  167.  |              +-+
  168.  |              | |
  169.  +--------------------+-+
  170.  
  171. Undo GG imagery is:
  172. if stop 10 defined, subscripted with a `10'
  173. if inserts are parsed, subscripted with a `P'
  174. if Searching or Literal, then a `S', a `L' or a script `L', depending on
  175.  whether this literal is locked,
  176. else clipping type (`X'=private,`C'=clipboard,`F'=file), which is scripted
  177.  if the mode is locked.
  178.  
  179.  
  180.