home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Education Master 1994 (4th Edition)
/
EDUCATIONS_MASTER_4TH_EDITION.bin
/
files
/
texttors
/
qhelpc
/
qhlpc.exe
/
QHELPC.DAT
< prev
next >
Wrap
Text File
|
1993-03-01
|
27KB
|
848 lines
*───────────────────────────────────────────────────────────────────────┐
* QHelpC.Dat ... Config File for QEdit (R) Ver 2.15 01 Mar 93, Rhg │
*───────────────────────────────────────────────────────────────────────┘
* This file is ORDERED Alphebetically by Function
* QEdit's CONFIGURABLE KEYS
* This file is a listing of the QEdit's configurable keys
* and QHelpC's CUSTOM key assignments. It is an modified extract
* from the QCONFIG.DAT file supplied with the current version
* of QEdit (R) Advanced.
* OTHER CONFIGURATIONS
* Other Configurations of QHelp are available.
* See the README.BAT on the distribution disk.
* To install the QHelpC Key assignments you
* must run QEdit's Qconfig utility. Use this
* QHelpC.DAT file and the QHelpC.TXT file.
* Both of these files are provided with this
* QHelpC utility.
* ┌──────┐
* │ HELP │
* └──────┘
* CTRL H Invokes the Quick Help Menu of HOT KEY assignments
*
* There are two HOT KEYS used to access the QHelpC hypertext
* help utility in the TSR mode. One is to access QHelpC at the
* MAIN MENU, and the other is used for context sensitive help.
* ALT H QHelpC TSR to MAIN MENU ( or last help topic )
* ALT L QHelpC TSR ( contex sensitive help )
* F1 Is used to Invoke QHelpC as a shell ( non TSR mode )
* Other HOT KEYS are also assigned for the non TSR mode.
* See HELP KEYS or the macro assigments, later in this file.
* see also Help on QHelpC ( in QHelpC )
* see also QuickHelp ( in QHelpC )
* see also RESERVED KEYS ( in QHelpC )
* GENERAL INSTRUCTIONS
* Specify control-key commands via: ^f1 - This means Control-F1
* Specify alt-key commands via: @f1 - This means Alt-F1
* Specify shift-key commands via: #f1 - This means Shift-F1
* There is also a provision for "two key commands".
* For example, to make the Control-F1, Control-F2 sequence issue the
* exit command, try the following:
* ^f1_^f2 Exit
* The key here is that the commands must be separated by a '_'.
* Multiple commands and/or text may be entered for a single key. To do so,
* specify "MACROBegin" as the first command. To enter text, enclose the
* text in single or double quote marks. For example:
* f1 MACROBegin EditFile 'help.dat' Return
* This command would load the file 'help.dat'. Note the return command is
* issued after the text. This is required to terminate the QEdit prompt.
* Following is a macro that will run make and load the results into a window:
* MACROBegin EditFile 'errors.lst' Return Quit Dos 'make >errors.lst' Return
* Return HorizontalWindow EditFile 'errors.lst' Return
* Following macro will run Turbo C on the current file:
* MACROBegin GSave Dos 'tcc -y -M ' CurrentFilename Return
* Finally, you can also use the scancode to represent "special keys", as
* long as this key returns a ascii character code of 0.
* For example Alt-F9 returns an ascii character of 0 and a scan code of
* 112 decimal. To make Alt-F9 issue the EditFile command, you could:
* 112 EditFile
* or
* @f9 EditFile
* Either will work. This becomes especially useful if you have a macro
* processor and/or special keyboard that has extended keys that QEdit
* doesn't have names for. This gives you a method to use them.
* Note that the order of this file is NOT important. Arrange it however
* makes sense to you.
* See also:
* QEdit (R) Advanced Reference Guide ( Version 2.07, March 1989 )
* QEdit (R) Advanced Addendum ( Version 2.1, February 1990 )
* Edit (R) TSR Reference Guide ( Version 1.1, February 1990 )
* The QHelpC utility can also be used as a source listing of ALL QEdit
* commands, both the Advanced version and the TSR version. Use the INDEX
* and browse.
* NOTE:
* The remainder of this file, complete with HYPER LINKS, is repeated
* in the QHelpC utility. Type ... ' qhelpc configurable '
* ┌─────────────────────┐
* │ BLOCK Pop Down Menu │
* └─────────────────────┘
* ordered by Menu occurance
@b MACRO_begin main_menu 'b'
* BL ... mark Line
* changed @ ver 2.15 BH ... mark cHaracter was BC ... mark Character @ ver2.1
* BK ... mark Kolumn
* changed @ ver 2.15 BC ... Copy block was BO ... cOpy @ ver 2.1
* added @ ver 2.15 BM ... Move block
* BD ... Delete
* changed @ ver 2.15 BU ... Unmark was BN ... uNmark @ ver 2.1
* added @ ver 2.15 BB ... mark Begin
* added @ ver 2.15 BE ... mark End
* added @ ver 2.15 BO ... copyOver
* added @ ver 2.15 BF ... Fill
* added @ ver 2.15 BS ... Sort
* deleted @ ver 2.15 BA ... pAsteover
* deleted @ ver 2.15 BP ... Paste
* deleted @ ver 2.15 BU ... cUt
* CASE
* Lower Case ... Column Block
#f2 LOWER
* Upper Case ... Column Block
#f3 UPPER
* Change Case ... Column Block
#f4 FLIP
^f1 COPY_BLOCK
@c COPY_BLOCK
^b_c COPY_BLOCK
^k_c COPY_BLOCK
^f2 COPY_OVER_BLOCK
@z COPY_OVER_BLOCK
^o COPY_OVER_BLOCK
^b_o COPY_OVER_BLOCK
^z MACROBegin COPY_OVER_BLOCK LINE_DOWN
^f3 DELETE_BLOCK
@d DELETE_BLOCK
^b_d DELETE_BLOCK
^k_y DELETE_BLOCK
@a DROP_ANCHOR
^f4 MARK_BLOCK_BEGIN
^b_b MARK_BLOCK_BEGIN
^k_b MARK_BLOCK_BEGIN
^f5 MARK_BLOCK_END
^b_e MARK_BLOCK_END
^k_k MARK_BLOCK_END
^f7 MARK_CHARACTER
^f8 MARK_LINE
^l_m MARK_LINE
^f9 MARK_WORD
^k_w MARK_WORD
^f10 MOVE_BLOCK
@v MOVE_BLOCK
^v MOVE_BLOCK
^b_m MOVE_BLOCK
^k_v MOVE_BLOCK
@f3 UNMARK_BLOCK
@u UNMARK_BLOCK
^b_h UNMARK_BLOCK
^k_h UNMARK_BLOCK
* ───────────────────── COLUMN BLOCK COMMANDS
^f6 MARK_COLUMN
@k MARK_COLUMN
^b_k MARK_COLUMN
* Sort Column Block
#f1 SORT
* ───────────────────── BLOCK/SCRAP BUFFER
@f4 COPY
grey+ COPY
@F5 CUT
grey- CUT
@grey- MACROBegin GotoBlockBeg CUT PASTE FillBlock ' ' return UnMarkBlock
@f6 PASTE
grey* PASTE
@grey+ FillBlock
@f7 PASTE_OVER
^prtsc PASTE_OVER
* ───────────────────── BLOCK/SCRATCH BUFFER
@f8 APPEND_SCRBUFF
^grey+ APPEND_SCRBUFF
@F9 GET_SCRBUFF
^grey* GET_SCRBUFF
@F10 STORE_SCRBUFF
^grey- STORE_SCRBUFF
* ───────────────────── CURSOR MOVEMENT
^pgup BEG_FILE
home BEG_LINE
^home BEG_SCREEN
cursorup CURSOR_UP
cursordown CURSOR_DOWN
cursorleft CURSOR_LEFT
cursorright CURSOR_RIGHT
end END_LINE
^pgdn END_FILE
^end END_SCREEN
^q_e END_PARA
^g_b GOTO_BLOCK_BEG
^q_b GOTO_BLOCK_BEG
^g_e GOTO_BLOCK_END
^q_k GOTO_BLOCK_END
^g_c GOTO_COLUMN
greyenter GOTO_COLUMN
^j GOTO_LINE
^g_l GOTO_LINE
^greyenter GOTO_LINE
@greypgdn HALF_PG_DN
@greypgup HALF_PG_UP
@greyend LINE_DOWN
^cursordown LINE_DOWN
^x LINE_DOWN
@greyhome LINE_UP
^cursorup LINE_UP
^g_n NEXT_PARA
pgdn PAGE_DOWN
pgup PAGE_UP
^g_p PREV_PARA
^q_p PREV_POSITION
tab TAB_RT
#tab TAB_LT
@tab WORD_LEFT
^cursorleft WORD_LEFT
^cursorright WORD_RIGHT
^tab WORD_RIGHT
* ───────────────────── SCROLL
^s_b MAKE_BOT_OF_SCREEN
^s_c MAKE_CTR_OF_SCREEN
^s_t MAKE_TOP_OF_SCREEN
@greycursordown SCROLL_UP
@greycursorup SCROLL_DOWN
@greycursorleft SCREEN_LEFT
@greycursorright SCREEN_RIGHT
* Shift Line or Marked Block
^s_l SHIFT_LEFT
^s_r SHIFT_RIGHT
* ┌─────────────────────┐
* │ EDIT Pop Down Menus │
* └─────────────────────┘
* ordered by Menu occurance
@e MACRO_begin main_menu 'e'
* EA ... Addline
* ED ... Deleteline
* added @ ver 2.15 EE ... delete to End of line
* EI ... Insertline
* EJ ... Joinline
* ES ... Splitline
* added @ ver 2.15 EU ... Undelete
* ───────────────────── EDIT HOT KEYS
backspace BACKSPACE
^n ADD_LINE
f2 ADD_LINE
f3 ALIGN
del del_ch
f5 DEL_LINE
^y DEL_LINE
^del DEL_LINE
f6 DEL_to_EOL
^e DEL_to_EOL
#del DEL_to_EOL
^backspace DEL_LT_WORD
@t DEL_RT_WORD
f7 DUP_LINE
^l_d DUP_LINE
@g GET_PREV
f8 INSERT_LINE
@i INSERT_LINE
^i INSERT_LINE
f9 JOIN_LINE
@j JOIN_LINE
#f11 LITERAL
^p LITERAL
enter RETURN
^- SHOW_ENTRY_SCREEN
f10 SPLIT_LINE
^l_s SPLIT_LINE
@f1 UNDO_CURSORLINE
^l_u UNDO_CURSORLINE
@f2 UnKill
^u UnKill
* ┌─────────────────────┐
* │ FILE Pop Down Menu │
* └─────────────────────┘
* ordered by Menu occurance
@f MACRO_begin main_menu 'f'
* FL ... Load
* FF ... File
* FQ ... Quitfile
* FS ... Save
* FN ... Next
* FP ... Prev
* FR ... Read
* FC ... Changename
* FW ... Writeblock
* FG ... Globalfile
* changed @ ver 2.15 FO ... Os shell was FD ... Dos in ver 2.1
* added @ ver 2.15 FT ... lisT
* ───────────────────── FILE HOT KEYS
^d DOS
^f_e EDIT_FILE
^k_d eXit
^k_x FILE
@x G_EXIT
^f_g G_FILE
^q_q G_Pquit
@y G_SAVE
^k_z KILL_FILE
^f_x NewFile
^f_n NEXT_FILE
@n NEXT_FILE
^k_q P_QUIT
^f_p PREV_FILE
^k_p PREV_FILE
^f11 READ_BLOCK
@r READ_BLOCK
^b_r READ_BLOCK
^k_s SAVE_FILE
^f12 WRITE_BLOCK
^b_w WRITE_BLOCK
* ┌───────────────────────────────────┐
* │ SEARCH Pop Down Menu │
* └───────────────────────────────────┘
* ordered by Menu occurance
@s MACRO_begin main_menu 's'
* no change @ ver 2.15
* SF ... Find
* SR ... Replace
* SA ... Again
* ───────────────────── FIND HOT KEYS
#f5 FIND
^q_f FIND
#f6 FIND_REPLACE
^q_r FIND_REPLACE
#f7 REPEAT_FIND
^a REPEAT_FIND
^q_a REPEAT_FIND
* ┌──────┐
* │ HELP │
* └──────┘
* QEdit .. Internal
^h Quick_Help
* Reference, Only ... assigned above
* @H TSR HELP
* @L TSR Contex HELP
* HERE, down for QHelpC ... non resident mode
*
* MAIN MENU
f1 MACRO_BEGIN dos 'QhS MM' return return
* Function Keys
@0 MACRO_begin dos 'QhS K0' return return
* File Pop Down Menu
@1 MACRO_begin dos 'QhS K1' return return
* Window Pop Down Menu
@2 MACRO_begin dos 'QhS K2' return return
* Block Pop Down Menu
@3 MACRO_begin dos 'QhS K3' return return
* Search Pop Down Menu
@4 MACRO_begin dos 'QhS K4' return return
* Print Pop Down Menu
@5 MACRO_begin dos 'QhS K5' return return
* MACRO Pop Down Menu
@6 MACRO_begin dos 'QhS K6' return return
* Edit Pop Down Menu
@7 MACRO_begin dos 'QhS K7 return return
* Other Pop Down Menu
@8 MACRO_begin dos 'QhS K8' return return
* Quit Pop Down Menu
@9 MACRO_begin dos 'QhS K9' return return
* Cursor
@- MACRO_begin dos 'QhS KC' return return
* Misc
@= MACRO_begin dos 'QhS KM' return return
* Tabs
@[ MACRO_begin dos 'QhS KT' return return
* Toggles
@] MACRO_begin dos 'QhS KG' return return
*
* HERE, up for QHelpC ... non resident mode
* ┌──────────────────────┐
* │ MACRO Pop Down Menu │
* └──────────────────────┘
* ordered by Menu occurance
@m MACRO_begin main_menu 'm'
* MM ... Macro record
* MR ... Read macro
* MW ... Write macro
* added @ ver 2.15 ME ... Execute scrap
* ───────────────────── MACRO HOT KEYS
^c CURRENT_FILENAME
^enter EXECUTE_SCRAP
^ins MACRO_READ
^m MACRO_RECORD
@enter MACRO_WRITE
* ┌─────────────────────┐
* │ OTHER Pop Down Menu │
* └─────────────────────┘
* ordered by Menu occurance
@o MACRO_begin main_menu 'o'
* OA ... set Autoindent [ off/on ]
* OI ... set Insert [ on/off ]
* OW ... set Wordwrap [ on/off ]
* OP ... set Ptabwidth
* OC ... set Ctabwidth
* OR ... set Right margin
* OB ... set Backups [ off/on ]
* OE ... set Enter matching [ on/off ]
* OS ... set Swap [ on/off ]
* added @ ver 2.15 OT ... ascii charT
* ───────────────────── Other HOT KEYS
f4 CENTER_LINE
centercursor CENTER_LINE
^l_c CENTER_LINE
escape ESCAPE
@escape ESCAPE
f11 INSERT_DATE
#ins INSERT_DATE
@greyins INSERT_TIME
@f11 INSERT_TIME
^[ MATCH
^] MATCH
@f12 RepeatCmd
^r RepeatCmd
#f10 SHELL
^w WRAP_PARA
* ┌─────────────────────┐
* │ PRINT Pop Down Menu │
* └─────────────────────┘
* ordered by Menu occurance
@p MACRO_begin main_menu 'p'
* no change @ ver 2.15
* PA ... print All
* PB ... print Block
* PF ... send Formfeed
* PL ... set print Left margin
* PP ... set print Page length
* PT ... set print Top margin
* PO ... set print bOttom margin
* ┌─────────────────────┐
* │ QUIT Pop Down Menu │
* └─────────────────────┘
* ordered by Menu occurance
@q MACRO_begin main_menu 'q'
* QQ ... Quit all files
* changed ver 2.15 QX ... eXit all files was QE ... Exit all files
* ───────────────────── Toggle HOT KEYS
#f9 TOGGLE_BOX_DRAW
#f8 TOGGLE_BOX_TYPE
#f12 TOGGLE_EGA43
ins TOGGLE_INSERT
^t_i TOGGLE_INDENT
^t_s TOGGLE_SMART_TABS
^t_e TOGGLE_TABS_EXPAND
^t_o TOGGLE_TABS_OUT
f12 TOGGLE_WORDWRAP
* ┌──────────────────────┐
* │ WINDOW Pop Down Menu │
* └──────────────────────┘
* ordered by Menu occurance
@w MACRO_begin main_menu 'w'
* no change @ ver 2.15
* WC ... Close
* WS ... Split
* WN ... Next
* WO ... One
* WP ... Prev
* WZ ... Zoom
* WR ... Resize
* Spare Keys
* SPECIAL KEYS
`
~
/
* CONTROL KEYS
* ^centercursor reserved for Q TSR HOT KEY
^\
* ^2 reserved for Q TSR GoBack
* ^6 reserved for Q TSR Purge
* ALT KEYS
* other enhanced only keys
* @grey* reserved for Q TSR GRABBER
@greydel
@,
@.
@;
@`
@'
* AsciiChart NOT assigned ( see Other Menu )
* FirstNonWhite NOT assigned
* List_File NOT assigned ( see File Menu )
* GrowWindow NOT assigned ( replaced by Resize @ Version 2.10 )
* HorizontalWindow NOT assigned ( replaced by Split @ Version 2.10 )
* ShrinkWindow NOT assigned ( replaced by Resize @ Version 2.10 )
* QUIT do NOT ASSIGN
* III VERSION 2.15 - RELEASE NOTES - AUGUST, 1991
* ================================================
* New Commands in QEdit Advanced 2.15 (See explanations later in this file)
* -------------------------------------------------------------------------
* AsciiChart also OTHER menu command ( @OT )
* FirstNonWhite
* ListFiles also FILE menu command ( @FT )
* isBegLine for macro use
* isCursorInBlock for macro use
* isEmptyLine for macro use
* isEndLine for macro use
* isFirstLine for macro use
* isLastLine for macro use
* RestoreSettings for macro use
* SaveSettings for macro use
* SetAutoIndentMode for macro use
* SetInsMode for macro use
* SetScreenOff for macro use
* SetScreenOn for macro use
* SetSoundOff for macro use
* SetSoundOn for macro use
* SetWordWrapMode for macro use
* Additions to the Menus (command names are in []):
* -------------------------------------------------
* File menu:
* "lisT" - invokes the new [ListFiles] command
* Block menu:
* "copyOver" - invokes the [CopyOverBlock] command
* "Fill" - invokes [FillBlock] command
* "Sort" - invokes the [Sort] (block) command (a column
* block must be marked)
* Macro menu:
* "Execute scrap" - invokes the [ExecuteScrap] (macro) command
* Other menu:
* "ascii charT" - invokes the new [AsciiChart] command
* General Commands:
* -----------------
* [AsciiChart]
* Displays a scrollable ASCII chart on the screen.
* [ListFiles]
* Displays a list of the currently loaded files. To switch to another
* file, move the cursor to the appropriate file and press <Enter>. To
* keep editing the current file, press <Escape>.
* [FirstNonWhite]
* Intended as a replacement and/or supplement to the [BegLine] command.
* Places the cursor at the first non-white character on the line, or
* column 1 if the line doesn't have any non-white characters. "White"
* characters are tabs or spaces. A useful macro would be:
* Home MacroBegin BegLine JTrue done: FirstNonWhite done:
* (Explanation: If already at the start of a line, go to the first
* non-white character on the line; otherwise, if not already at the start
* of a line, go to the start of the line.
* Advanced Macro Commands:
* ------------------------
* The following new commands are intended for QEdit macro writers, to make
* certain kinds of macros easier to write.
* - This group of macro commands force the indicated mode or setting. If
* the setting was already in that condition, they set QEdit's result
* code to TRUE; otherwise, they set it to FALSE.
* In many cases, macros can behave differently based on the currently
* set QEdit modes. The following 3 new commands give you some control
* in establishing the proper environment so that your macro will always
* work as intended.
* [SetInsMode]
* Sets Insert mode on. To set Insert mode off (that is, set overwrite
* mode on), do the following:
* SetInsMode ToggleInsert
* [SetAutoIndentMode]
* Sets AutoIndent mode on. To set AutoIndent mode off, do the
* following:
* SetAutoIndentMode ToggleIndent
* [SetWordWrapMode]
* Sets WordWrap mode on. To set WordWrap mode off, do the following:
* SetWordWrapMode ToggleWordWrap
* - The [Find] command sounds a tone when the search string cannot be
* found. This can be irritating in a long-running macro, that may
* possibly execute hundreds of finds that fail. The following commands
* allow you to selectively turn the sound on and off.
* [SetSoundOn]
* Sets sound on.
* [SetSoundOff]
* Sets sound off.
* - Most macros execute dozens of QEdit commands, possibly hundreds of
* times. This can cause the screen to flash rapidly as the macro runs.
* Not only is this somewhat disconcerting to watch, it actully slows
* down the speed of some macros. The following commands allow you to
* temporarily suspend or resume screen updating, while a macro is
* running.
* [SetScreenOn]
* Turns screen updating on.
* [SetScreenOff]
* Turns screen updating off. You must turn screen updating back on
* before your macro prompts for input, or if there is some output from
* the macro that you want displayed on the screen.
* NOTE: QEdit will AUTOMATICALLY turn screen updating back on when the
* macro is finished executing. Thus, it is not necessary to issue the
* SetScreenOn command at the end of the macro.
* - Many times, it would be nice for a macro to force a few settings, do
* its assigned task, and then restore the original settings. The
* following commands allow you to do just that. Note that each time
* [SaveSettings] is executed, the previous settings saved with
* [SaveSettings] are overwritten.
* [SaveSettings]
* Saves the current settings of: Insert, AutoIndent, WordWrap, Sound,
* and Screen Updating.
* [RestoreSettings]
* Restores the saved settings, listed above.
* - The following commands set QEdit's result code to TRUE or FALSE based
* on the condition being tested. These commands make certain types of
* macro tests easier and reliable.
* [isBegLine]
* Returns TRUE if the cursor is at column 1; otherwise, FALSE is
* returned.
* [isEndLine]
* Returns TRUE if the cursor is past the last non-white character on
* the current line; otherwise, FALSE is returned, including the case
* when the cursor is on an empty line.
* [isEmptyLine]
* Returns TRUE if the current line is empty or contains only white
* space; otherwise, FALSE is returned.
* [isLastLine]
* Returns TRUE if the cursor is on the last line of the currently
* edited file; otherwise, FALSE is returned.
* [isFirstLine]
* Returns TRUE if the cursor is on the first line of the currently
* edited file; otherwise, FALSE is returned.
* [isCursorInBlock]
* Returns TRUE if the cursor is inside a marked block; otherwise, FALSE
* is returned.
* - In order to tie a few of these concepts together, we present a simple
* macro to delete all the blank lines in a marked block. The cursor
* should be at the beginning of the block when the macro is invoked.
* shift f9 MacroBegin
* SetScreenOff * turn off screen for speed
* begin: isCursorInBlock jFalse done: * exit if not in block
* isEmptyLine jFalse next: * skip if not empty line
* isLastLine jTrue last: * special handling for last line
* DelLine jump begin: * delete empty lines
* next: CursorDown jTrue begin: * try next line
* jump done: *
* last: DelLine * delete the last line
* done: * that's all, folks!