home *** CD-ROM | disk | FTP | other *** search
-
- Sphinx.doc v2.5b
- ⌐ 1991, Nicolas Dade. All Rights Reserved
- permission is hereby granted for non-commercial duplication and distribution
- doc file for the SPHINX: AmigaDOS device
- last revised: January 8th, 1992
-
- SPHINX uses the default keymap (you set this with SetKeyMap) to map the
- keyboard. In parenthesis I have given what SPHINX really looks for when it is
- not obvious.
-
- control-key strokes are supported not because they are easier to use, but in
- order to be compatible with NEWCON:.
-
- no key is allowed to repeat after it has been released. however, if you
- repeatedly press a key, every press will be acted upon.
-
- S- = Shift-
- A- = Alternate-
- C- = Control-
- RA- = Right Amiga-
- SA- = Shift + Alternate-
- SRA-= Shift + Right Amiga-
- LMB = Left Mouse Button
- NR = No Repeat. this key is not allowed to repeat at all
- RAW = the key in interpreted at the raw key code stage in its most common form
-
- RETURN/ENTER/C-M ($0d) end of input, append a LF and make it available
- C-\ ($1c) end of file, same actions as RETURN, but returns a
- EOF
- C-J ($0a) end of line, same actions as RETURN, but does not
- make the line available
-
- BACKSPACE/C-H ($08) RAW delete character to the left of cursor
- DELETE ($7f) RAW delete character to the right of cursor
- S-BS/C-U ($08+shf/$15) delete all to the left of cursor
- S-DEL/C-K ($7f+shf/$0b) delete all to the right of cursor
- A-BS ($08+alt) RAW delete (fraction of) word to the left of cursor,
- or punctuation mark to the left
- A-DEL ($7f+alt) RAW delete (fraction of) word to the right of cursor,
- or punctuation mark to the right
- C-X ($18) reset inputs
-
- RA-X/UNDO GG NR undo: if searching, cancel search and restore input buffer
- if wording, cancel wording and restore input buffer
- if literal, cancel literal
- if just inserted, delete inserted text
- else, undo the last block of text deleted;
- gadget imagery is used as a status indicator
-
- RIGHT ARROW RAW move cursor one character to the right
- LEFT ARROW RAW move cursor one to the left
- S-RIGHT/C-Z RAW move cursor to the end of input line
- S-LEFT/C-A RAW move cursor to the start of input line
- A-RIGHT (R+a) RAW usually move cursor one word to the right
- A-LEFT (L+a) RAW usually move cursor one word to the left
- C-RIGHT (R+c) RAW same as A-RIGHT
- C-LEFT (L+c) RAW same as A-LEFT
- C-W ($17) move cursor to the right to next tab stop
- UP ARROW RAW look back at next older old input line
- DOWN ARROW RAW look back at next newer old input line
- S-UP/C-R ($12) NR RAW search back in saved input for next string matching
- search string
- if the string is less than or MaxLitCmpChars long, then
- search for a line that starts with that character,
- else do a fragment comparision, looking for an input line
- that has the same characters as the string in the same
- order, but with any number of other characters in between
- if the string is completely in capital letters, the
- comparison(s) are case insensitive, else case sensational
- S-DOWN RAW go to bottom: if searching and cursor is visible, cancel search
- ($02) & restore input buffer
- else if cursor is visible, scroll cursor to top
- line
- else, scroll cursor to bottom line of window
- C-B always cancel search & restore input buffer
-
- RA-W NR do word search through all text to finish word to the left
- of cursor
-
- C-S toggle output stop
- SC-S disable automatic scroll when cursor reaches bottom of wd
- C-G/C-Q manual automatic-scroll enable and output enable
-
- SA-UP (SU+a) RAW scroll back so that next previous input line is on top line
- of window
- A-UP (U+a) RAW scroll up ╜ window
- A-DOWN (D+a) RAW scroll down ╜ window
- C-UP (U+c) RAW scroll up one line
- C-DOWN (D+c) RAW scroll down one line
-
- RA-Z/ICONIZE GG NR iconify window(s); to deiconify, activate bar and press a
- key or right mouse button
- RA-O NR open/shrink window
- RA-]/SRA-] NR window(s) to front
- RA-[/SRA-[ NR window(s) to back
-
- RA-L NR toggle the literal trigger: when the literal trigger is
- loaded, the next keystroke is not interpreted, but is put
- directly in the input buffer, thus a C-X can be put in the
- input buffer by preceding it by RA-L
- SRA-L NR toggle the literal trigger like RA-L, but if it is being set
- then set it in such a way that it is not automatically
- canceled when it is "used"; lock it until it is manually
- released (with RA-L,SRA-L,UNDO)
-
- RA-G NR cycle through one-time clipping modes, or, if in a locked
- mode, cancel that mode
- SRA-G NR cycle through locked clipping modes, or, if in a locked mode
- that has been used, cancel that mode
-
- RA-I NR insert from clipboard
- SRA-I NR insert from insert file
- RA-P NR toggle insert parsing
- RA-A NR insert again the previous clipboard or private insertion
- (file insertions are not saved for RA-A)
-
- RA-R NR put up an arp file requestor and insert the filename
- SRA-R NR put up an arp file requestor and insert the path & filename
-
- RA-C NR open configuration window
-
- SCROLL-GG when clicked upon and when moved, redraws the window using
- the location of the gadget to determine what line of saved
- text is new top line
-
- RA-F free some memory by forgetting the oldest block of text
- SRA-F NR free all the memory that can be freed (equivalent to holding
- down RA-F until everything possible has been freed)
-
- F1 to F10 RAW NR go to previously marked spot n
- S-F1 to S-F10 RAW mark current upperleft character in spot n
- NOTE: F10 is special: it allows you to set a boundary below
- which all automatic (even RA-F) freeing of text is not
- allowed. this allows you to keep something useful from
- being freed when you are about to do something that
- would ordinarily cause it to be freed (i.e. typing
- (type) a large file to the window)
- when F10 is doing this, the Undo gadget shows a small
- `10' the lower right corner, as a reminder
- A-F10 (F10+alt) RAW cancel F10 and its boundary, and allow the text to be
- freed
-
- C-Fn RAW insert input string and enter line
-
- C-C ($03) signal the sender of a pending read, write or waitchar
- C-D ($04) request, or if there are none the sender of the next packet
- C-E ($05) recieved, the appropriate signal
- C-F ($06)
-
- LMB on input buffer move cursor to pointer
- LMB double click clip word under pointer
- LMB dragged define and clip text block
-
-
- gadgets:
- +------------------+-+-+
- |... .. .... | | |
- +------------------+-+-+
- |.. ... ..... |I|ICONIZE GG (ghosted after DiskInfo is asked for)
- |. ....... ..... .. +-+
- |... .. | |
- |. |S|SCROLL GG
- |.. | |
- |. +-+
- | |X|UNDO GG
- | +-+
- | | |
- +--------------------+-+
-
- Undo GG imagery is:
- if stop 10 defined, subscripted with a `10'
- if inserts are parsed, subscripted with a `P'
- if Searching or Literal, then a `S', a `L' or a script `L', depending on
- whether this literal is locked,
- else clipping type (`X'=private,`C'=clipboard,`F'=file), which is scripted
- if the mode is locked.
-
-
-