Home » Archimedes archive » Archimedes World » AW-1994-06-Disc2.adf » Disk2Jun94 » !AWJune94/Goodies/Zap/!Zap/Docs/Commands
!AWJune94/Goodies/Zap/!Zap/Docs/Commands
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Archimedes World » AW-1994-06-Disc2.adf » Disk2Jun94 |
Filename: | !AWJune94/Goodies/Zap/!Zap/Docs/Commands |
Read OK: | ✔ |
File size: | 4B3D bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
************************************************************************* * >Commands List of valid Zap commands * ************************************************************************* This file gives details of all the commands defined in the modules Zap and ZapBasic. It also gives extra details of the format commands must by typed in in the keys file and at the command prompt (the Ctrl-Escape prompt). The file E-Command gives technical details on how to write commands, and add tables of commands. Also read section C of the file ReadMe. Command names are not case sensitive when typed into the keys file. Each command can take a parameter. The four types of parameter will be indicated after the command in the following way: WIBBLE Command Wibble takes no parameter WIBBLE <byte> Command Wibble takes a single byte WIBBLE <word> Command Wibble takes a word (4 bytes) WIBBLE <string> Command Wibble takes a string argument When you type the command into the keys file, or at the 'Command:' prompt, you type the command name, followed by a space and its parameter. Byte and word parameters must be preceded by an '&' if in hex. String parameters must be in double quotes. Double quotes can be included in strings by doubling them up. An error is given if the parameter you place after the command does not match the type of the command. There are several special cases: 1 If the command takes a string parameter, but you omit the string, then a minibuffer will be opened for you to type the string into when the command is executed. For example, see the command SEARCHFORWARD (Ctrl-S). 2 If the command takes a byte or word parameter and you specify 'n' as the parameter, then the keynumber of the key you bind the command to is substituted for the 'n'. For example, see the command CHAR. 3 The '*' command. This is used for duplicating a range keypad entries. The format of the command is *n where n is optional. 'n' is the key code (or first key code of a list) of the key (or keys) to copy. It is of the form &yy0xxx where yy is the keymap number and xxx the key number. The default value of n is the current key being bound in keymap 0 (ie with yy set to 00). Eg the line "&20170-&2017F *&40" will cause keys &170-&17F in keymap 2 to have their definitions copied from keys &40-&4F of keymap 0. 4 If you type a command into a keys file and it doesn't exist, then no error will be given. This is so you can put commands in your keys file for extension modes that may not always be loaded. However, if a command does exist but its parameters are incorrect, then an error will be given. 5 If you define a key twice, then the later one will be used. Ie, the keys file is read sequentially and new definitions overwrite the old ones. Commands can be chained together by use of the separator ':' as in BASIC. You may NOT chain together commands which use the minibuffer (ie commands which take a string as parameter but with the string unspecified). The two commands BASEMAP and KEYMAP provide a means of swapping from one keymap to another and for providing multiple key press commands as you get in Emacs. See the Emacs keymap for examples of their use. Examples: (1) &020-7E CHAR n (2) &013 SEARCHFORWARD (3) &131 BASEMAP 1 (4) &10018 KEYMAP 2 (5) &10150-&101FF * (6) &132 INSERT "Hello" : UP : RIGHT (7) &133 insert " ""hello"" " In (1), key &20 (space) is assigned the command CHAR &20, key &21 (!) is assigned the command CHAR &21 etc. In (2), no string is given after SEARCHFORWARD, so you are prompted for it when you press cS. (3) Ensures all further keypresses are looked up in keymap 1, thus switching to Emacs emulation mode. (4) Switches to keymap 2 for the next key press only, thus allowing for two-key commands beginning with ctrl-X. In (5), keys &150-&1FF in keymap 1 are assigned to the same commands they have in keymap 0. (6) inserts the string "Hello" into the file and then moves up then right. Below is a list of all commands provided by the Zap or ZapBasic modules. They are in alphabetical order. **************** * Command list * **************** ADDRESS Shows line numbers in address format by changing b8-b9 of w_format. ASSEMBLE <string> Assembles the instruction given by string, placing it at the cursor position (and using this position to determine the assembly address for BLs etc). It does this by spawning a small (self modifying) basic program and using the operating system variables Zap$Temp and Zap$TempNum to pass arguments. AUTOINDENT Toggles auto indent on and off (b16 of w_flags) BASEMAP <word> This command switches the key basemap to the given keymap number. All further keypresses will use this keymap. It acts by writing variables key_basemap and key_current (see E-Vars). BASIC Calls the extension mode entry point e_basic. This is mode dependant and used by ZapBasic to drop the user into Basic with the program loaded at PAGE. BEEP Does a VDU 7. BINDTOKEY <string> This call evaluates <string> to a number and then binds the currently learnt sequence to that (zap internal) key code. When used via the minibuffer, a key press causes the code for that key to be inserted into the minibuffer. The only exception is the escape key which will abort. However, BINDTOKEY "&1B" will work if you really need to rebind the escape key. CANCEL Cancel current Yank/Search as you type operations. In a search as you type operation the cursor is moved back to its starting point. CDOWN Advances cursor offset to end of file, leaving a marker at the previous position. CHAR <byte> Inserts the given byte into the file. It does this by calling the mode entry point e_char. Multiple presses are buffered (as with all <byte> parameter commands) and passed to the command as one list. CLEARSEL Clears any selected regions by calling Zap_ClearSel. CLEFT Moves to start of line using the mode entry point e_cminus. CLOSEOTHER Closes the next window in sequence (the window which would be swapped to by SWAPWINDOW). If only two windows are open then the other window is closed. CLOSEPRINTER Closes 'printer:$' filer window via *Filer_CloseDir. CLOSEWINDOW Closes the current window. If successful (ie no Save/Discard box), then it places the cursor in the next window. COLUMNTAB Set tab mode to column tab by changing b9-10 of w_flags. COMMAND <string> Executes the command (or colon separated list of commands) given in the string, as if they were typed into the keys file. It uses Zap_ProcessCommand to do this. COMPILE Calls the extension mode entry point e_compile. Basic uses this to save a program to disc and then chain it. A C-mode should cause it to run the compiler etc. COPY Initiates copy mode/copies characters. Uses the mode entry point e_copy to copy the data. It switches the cursor to mode 2. COPYSEL Copies the selected region to input caret position. CRIGHT Moves to end of line using the mode entry point e_cminus. CUP Moves to the start of a file, leaving a marker at the old offset. CUT Deletes the selected region. This is permanent if the undo buffer is off, or the data can be pasted/yanked back if it is on using YANK. You may yank across files, but note that when a file is deleted, all the yank regions associated with the file are also deleted. DATE <string> Here the string is in the format required by OS_ConvertDateAndTime (eg %MI for minutes etc). The string is converted by the above SWI with the current time substituted and then inserted into the file. DEFAULTMAP Changes the key basemap to the default value (as specified in the 'keys' file.) DELETE Deletes characters backward by calling mode entry point e_delete with R7=0. DELETENEXT Deletes characters forward by calling mode entry point e_delete with R7=1. DELLINE Deletes line by calling e_lineprev and e_linenext to find the line limits. The line is added to the yank buffer. Cumulative deletes are concatenated in the yank buffer. DELTOEND Deletes to end of line by calling e_lineend to find the line end. The line is added to the yank buffer. Cumulative deletes are concatenated in the yank buffer. DELTOSTART Deletes to start of line by calling e_linestart to find the line start. DOWN Moves cursor down a line. DUMPFILE Creates a text image of the current display for this file. EDITTAB Sets !Edit type tab mode by changing b9-10 of w_flags. EMACS Switches to Emacs key map (ie does a BASEMAP 1). ESCAPE Cancel modes: copy mode/yank mode/select area mode/search as you type. The text is left in its current state. If you wish to undo the last action then use CANCEL (ctrl G) to cancel the mode. EXECUTE Execute last learnt sequence. FASTUNDO Undo the last operation taking the fastest route in the undo tree. For example if you do a,b,undo,c,fastundo,fastundo then it will delete the 'a' as opposed to inserting the 'b'. FINDFILE <string> Opens a buffer on the indicated file (should be a full path name). FINDFILEREADONLY <string> As for FINDFILE but puts in read only mode when file loaded. FONTOTHERFAST Switches to anti-aliased font with fast redraw (b17,20,21 of w_flags). FONTOTHERVDU Switches to anti-aliased font drawn by Font_Paint (b17,20,21 of w_flags). FONTSYSTEM1DPP Switches to system font at 1 dot per pixel (b17,20,21 of w_flags). FONTSYSTEMSCALED Switches to system font scaled vertically for double pixel mode (b17,20,21 of w_flags) FONTSYSTEMVDU Switches to system font drawn by VDU queue rather than my code (b17,20,21 of w_flags). Use mode 22 to see the difference. FORMATTEXT This will format the text from the given cursor position to the paragraph end. A paragraph end is taken to be a return character followed by a white space character (ie return,space or tab). FULLUNDO Undo the last operation taking the slowest route in the undo tree. For example if you do a,b,undo,c,fastundo,fastundo then it will insert the 'b' as opposed to deleting the 'a'. Compare this with Fast undo. GOTO Bring up the goto dialogue box. HELP Import the !Help file. HEXASCII Toggle hex/ascii entry mode (b5 of the w_flags). Byte mode uses this for deciding whether 'F' is the letter F or the hex digit F. INDENT Indents the currently selected region by the string given in the menu option selection.indent. If this evaluates to a number then indents by that number of spaces. INDIRECT Jump to the address contained at the word at the current cursor posn (leaving a marker behind as with any Jumps). INSERT <string> Inserts the string into the file at the given offset. It calls the mode entry point e_char to do this. INSERTDATE Insert the current date using the format in the keys file (var &300). INSERTGS <string> Inserts the string into the file as for INSERT. However, the string is GS-Trans'ed first thus enabling you to include control codes and OS variables. As with INSERT, the mode entry point e_char is used. INSERTTIME Insert the current time using the format in the keys file (var &301). JOINLINE Call the extension mode entry point e_joinline to join line following the current line to the end of the current line. KEEPREGION Copies the selected region to the yank buffer (Emacs kill ring) and then clears the selection. This is the equivalent of Emacs Meta-W. KEYMAP <word> Change the keymap number BUT only for the next key press. The keymap number will then revert to whatever the BASEMAP number has been set to (unless the next key command is also a KEYMAP!) Using this command you can cause a string of keys to execute a command. LASTMARK Jump to the previous mark in the market buffer. LASTMATCH Move to the previous match after using the Search window. LASTSECTOR Move to the last sector on an (unaltered) file read from disc. LASTTRACK Move to the last track on a file read from disc. LEARN Start/stop learn key sequence. Subsequent characters will be learnt producing a beep each time to remind the user. Execute LEARN again to stop the sequence. Note that all command passed to Zap_ProcessCommand with R2=0 or R2=1 will be learnt. If R2>1 then the command will not be learnt. LEFT Move cursor left by calling mode entry point e_minus. LINEEDIT Toggles line edit mode on and off (b14 of w_flags) LINEWRAP Toggles line wrap mode on and off using b26 of w_flags. LISTFNS Lists function definitions for the given mode. (via e_listfns). LOGICAL Set logical line numbers by changing b8-b9,b11 of w_format. MAKEDEFAULT This saves the windows options as the current default options. Hence if you do a 'save options' after this, then the windows options will become the configured options. MINIMISEMEMORY Contacts heap by as much as possible. I'm afraid it's an Acorn OS_Heap type heap so this won't usually do much. MODE <byte> Change the current display mode to the given number. MODE0-MODE15 Set the current mode for the given window. This also restores the line number status last used by that mode. These commands are needed in addition to the MODE command as commands assigned to menu entries cannot take parameters. MOVESEL Move the selected area to current cursor offset. MULTICOMMAND <data> This command cannot be typed into the keys file as it takes a data block as parameter. It is used internally to execute a list of command (eg a learnt sequence). The data block is a -1 terminated list of entries of the form given below. Note that all the data for the commands to be executed is stored within the data block except for data type 4 (other multicommands). #0 Command address #4 Data length/number of times (R1 on command entry) #8 Command data. Depends on the type of the command (see E-command): 0 No data 1 List of #4 bytes then align 2 List of #4 words 3 0 terminated string then align 4 Pointer to the data block NEWVIEW Open a new window on this file (copying the old window mode and format). NEXTMARK Jump to next mark in the marker buffer. NEXTMATCH Move to the next match after using the Search Box. NEXTSECTOR Move to the next sector on a file read from disc. NEXTTRACK Move to the next track on a file read from disc. NOLINENOS Switch off line numbers by clearing b8 of w_format. NONSTANDARD Toggles non standard editing on and off (b15 of w_flags). NULL Do nothing, but prevents key from being passed on via Wimp_ProcessKey. OPENPRINTER Open a filer window on printer:$ via *Filer_OpenDir. OUTDENT Outdents the selected region (by the length of the current indent string). PASTE Pastes the last cut region repeatedly. Use YANK to cycle through previously deleted regions. PHYSICAL Switch on physical line numbers by changing b8-b9,b11 of w_format. PRINTFILE Open the fancy print window. QUICKPRINT Open the quick print window. QUICKSAVE Save the file directly to disc with no prompt. QUIT Kill Zap. QUOTE Causes the next key which is typed to be sent to the CHAR command. Hence the next key is inserted into the file, instead of having the command associated to that key executed. READONLY Toggle the read only state of a file (b8 of f_flags). REDO Redo the last undone operation whether full or fast. RENUMBER This calls e_renumber and is thus mode independent. ZapBasic uses it to renumber a file. REPLACE Open the Search & Replace window. RETURN Cancel split cursor copying and then call e_return to perform the return action for the current mode. RETURNNOINDENT This acts as the return function except that it clears the auto indent flag across the call to e_return thus giving a single return without auto indent. RIGHT Move cursor right using mode entry point e_plus. RUN Call e_run mode entry point. ZapBasic uses this to Run a file at PAGE. RUNANDQUIT Call e_runandquit mode entry point. ZapBasic runs the file at PAGE and then quits. SAVE Open save box. SAVESEL Open save selection box. SAVEANDRUN Call e_saveandrun mode entry point. ZapBasic save the file, chains it from disc and then quits. SAVEFILE <string> Save the buffer with filename <string>. This differs from WRITEFILE in that if <string> is omitted, then the file will be saved with its current name, if this is a full path name, and the minibuffer will not be opened. SCDOWN Move down display one line (without moving cursor). SCLEFT Move to left of display one character (without moving cursor). SCRIGHT Move to right of display one character (without moving cursor). SCUP Move up display one line (without moving cursor). SDOWN Move down a page. SEARCHBACK <string> Searches backwards for string and then places the cursor at then end of the match (if found). SEARCHBUF Open Search window with output to buffer option set. SEARCHCUR Open Search window with output to cursor option set. SEARCHFORWARD <string> Searches forwards for string and then places the cursor at then end of the match (if found). SELECTBUFFER Select entire buffer. SELREGION Start selection of region by cursor movement. This sets the cursor mode to 4. SETWIDTH <string> This evaluates <string> to a number and then sets the width of the mode to this number by calling the mode entry point e_setwidth. SLEFT Move cursor back a word by calling e_sminus. SPLITLINE Split line at current cursor posn by calling e_splitline. SRIGHT Move cursor forward a word by calling e_splus. SUP Move up a page. SUSPEND Brings up the command line (same as F12). SWAPCASE Swap case of next character/selected region if there is one. SWAPCHARS Swap characters either side of cursor. SWAPWINDOW Swap window. If possible it swaps to the last used window on the current file using the marker buffer to determine this. Otherwise it swaps to the next file in the order files are stored within zap. SWITCHTAB This toggles the TAB mode for a file (w_flags b9-b10) between UNIX and TRUETAB modes. TAB Calls e_tab so that the mode can enter the tab as it wishes. TABDISPLAYARROW Displays tabs as an arrow followed by spaces (b12-13 of w_format). TABDISPLAYDASHES Displays tabs as dashes leading to an arrow (b12-13 of w_format). TABDISPLAYNONE Displays tabs as the character 9, (b12-13 of w_format). TABDISPLAYSPACES Displays tabs as spaces (b12-13 of w_format). TABSASSPACES Toggles b11 of w_flags which governs whether spaces or tab characters are used for edit/column tabs. TOBACK Moves the window to the back of the window stack via Zap_OpenWindow 4. TOFRONT Moves the window to the front of the window stack via Zap_OpenWindow 3. TOGGLEHEX Toggle hex/decimal display of line numbers (b10 of w_format). TOGGLEINSERT Toggle insert/overwrite modes (b1 w_flags). TOGGLEMARK Insert/delete mark from marker buffer at current marker offset. TOGGLEWIND Toggles the window size. The not-fully-open size is stored in the variables w_togminx to w_togmaxy. UNIVERSALARG <string> This command evaluates the string to a number and then calls the next executed command (executed via Zap_ProcessCommand) that number of times. UNIXTAB Switches to unix tab mode by clearing b9-10 of w_flags. UP Move cursor up a line. WORDWRAP Toggle wordwrap mode on/off (toggles b13 w_flags) WRITEFILE <string> Saves the buffer with filename <string>. Also see SAVEFILE. YANK Paste last cut region from undo buffer to current cursor position. On repeated action it pastes previously cut regions in a cyclic manor.
00000000 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000040 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 2a 20 3e 43 6f 6d |*********.* >Com| 00000050 6d 61 6e 64 73 09 4c 69 73 74 20 6f 66 20 76 61 |mands.List of va| 00000060 6c 69 64 20 5a 61 70 20 63 6f 6d 6d 61 6e 64 73 |lid Zap commands| 00000070 09 09 09 09 2a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |....*.**********| 00000080 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 000000b0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a |***************.| 000000c0 0a 54 68 69 73 20 66 69 6c 65 20 67 69 76 65 73 |.This file gives| 000000d0 20 64 65 74 61 69 6c 73 20 6f 66 20 61 6c 6c 20 | details of all | 000000e0 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 64 65 66 |the commands def| 000000f0 69 6e 65 64 20 69 6e 20 74 68 65 20 6d 6f 64 75 |ined in the modu| 00000100 6c 65 73 20 5a 61 70 20 61 6e 64 0a 5a 61 70 42 |les Zap and.ZapB| 00000110 61 73 69 63 2e 20 49 74 20 61 6c 73 6f 20 67 69 |asic. It also gi| 00000120 76 65 73 20 65 78 74 72 61 20 64 65 74 61 69 6c |ves extra detail| 00000130 73 20 6f 66 20 74 68 65 20 66 6f 72 6d 61 74 20 |s of the format | 00000140 63 6f 6d 6d 61 6e 64 73 20 6d 75 73 74 20 62 79 |commands must by| 00000150 20 74 79 70 65 64 20 69 6e 0a 69 6e 20 74 68 65 | typed in.in the| 00000160 20 6b 65 79 73 20 66 69 6c 65 20 61 6e 64 20 61 | keys file and a| 00000170 74 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 70 72 |t the command pr| 00000180 6f 6d 70 74 20 28 74 68 65 20 43 74 72 6c 2d 45 |ompt (the Ctrl-E| 00000190 73 63 61 70 65 20 70 72 6f 6d 70 74 29 2e 20 54 |scape prompt). T| 000001a0 68 65 20 66 69 6c 65 0a 45 2d 43 6f 6d 6d 61 6e |he file.E-Comman| 000001b0 64 20 67 69 76 65 73 20 74 65 63 68 6e 69 63 61 |d gives technica| 000001c0 6c 20 64 65 74 61 69 6c 73 20 6f 6e 20 68 6f 77 |l details on how| 000001d0 20 74 6f 20 77 72 69 74 65 20 63 6f 6d 6d 61 6e | to write comman| 000001e0 64 73 2c 20 61 6e 64 20 61 64 64 20 74 61 62 6c |ds, and add tabl| 000001f0 65 73 20 6f 66 0a 63 6f 6d 6d 61 6e 64 73 2e 20 |es of.commands. | 00000200 41 6c 73 6f 20 72 65 61 64 20 73 65 63 74 69 6f |Also read sectio| 00000210 6e 20 43 20 6f 66 20 74 68 65 20 66 69 6c 65 20 |n C of the file | 00000220 52 65 61 64 4d 65 2e 20 43 6f 6d 6d 61 6e 64 20 |ReadMe. Command | 00000230 6e 61 6d 65 73 20 61 72 65 20 6e 6f 74 20 63 61 |names are not ca| 00000240 73 65 0a 73 65 6e 73 69 74 69 76 65 20 77 68 65 |se.sensitive whe| 00000250 6e 20 74 79 70 65 64 20 69 6e 74 6f 20 74 68 65 |n typed into the| 00000260 20 6b 65 79 73 20 66 69 6c 65 2e 0a 0a 45 61 63 | keys file...Eac| 00000270 68 20 63 6f 6d 6d 61 6e 64 20 63 61 6e 20 74 61 |h command can ta| 00000280 6b 65 20 61 20 70 61 72 61 6d 65 74 65 72 2e 20 |ke a parameter. | 00000290 54 68 65 20 66 6f 75 72 20 74 79 70 65 73 20 6f |The four types o| 000002a0 66 20 70 61 72 61 6d 65 74 65 72 20 77 69 6c 6c |f parameter will| 000002b0 20 62 65 0a 69 6e 64 69 63 61 74 65 64 20 61 66 | be.indicated af| 000002c0 74 65 72 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 |ter the command | 000002d0 69 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 |in the following| 000002e0 20 77 61 79 3a 0a 0a 09 57 49 42 42 4c 45 09 09 | way:...WIBBLE..| 000002f0 09 43 6f 6d 6d 61 6e 64 20 57 69 62 62 6c 65 20 |.Command Wibble | 00000300 74 61 6b 65 73 20 6e 6f 20 70 61 72 61 6d 65 74 |takes no paramet| 00000310 65 72 0a 09 57 49 42 42 4c 45 20 3c 62 79 74 65 |er..WIBBLE <byte| 00000320 3e 09 09 43 6f 6d 6d 61 6e 64 20 57 69 62 62 6c |>..Command Wibbl| 00000330 65 20 74 61 6b 65 73 20 61 20 73 69 6e 67 6c 65 |e takes a single| 00000340 20 62 79 74 65 0a 09 57 49 42 42 4c 45 20 3c 77 | byte..WIBBLE <w| 00000350 6f 72 64 3e 09 09 43 6f 6d 6d 61 6e 64 20 57 69 |ord>..Command Wi| 00000360 62 62 6c 65 20 74 61 6b 65 73 20 61 20 77 6f 72 |bble takes a wor| 00000370 64 20 28 34 20 62 79 74 65 73 29 0a 09 57 49 42 |d (4 bytes)..WIB| 00000380 42 4c 45 20 3c 73 74 72 69 6e 67 3e 09 09 43 6f |BLE <string>..Co| 00000390 6d 6d 61 6e 64 20 57 69 62 62 6c 65 20 74 61 6b |mmand Wibble tak| 000003a0 65 73 20 61 20 73 74 72 69 6e 67 20 61 72 67 75 |es a string argu| 000003b0 6d 65 6e 74 0a 09 0a 57 68 65 6e 20 79 6f 75 20 |ment...When you | 000003c0 74 79 70 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 |type the command| 000003d0 20 69 6e 74 6f 20 74 68 65 20 6b 65 79 73 20 66 | into the keys f| 000003e0 69 6c 65 2c 20 6f 72 20 61 74 20 74 68 65 20 27 |ile, or at the '| 000003f0 43 6f 6d 6d 61 6e 64 3a 27 20 70 72 6f 6d 70 74 |Command:' prompt| 00000400 2c 0a 79 6f 75 20 74 79 70 65 20 74 68 65 20 63 |,.you type the c| 00000410 6f 6d 6d 61 6e 64 20 6e 61 6d 65 2c 20 66 6f 6c |ommand name, fol| 00000420 6c 6f 77 65 64 20 62 79 20 61 20 73 70 61 63 65 |lowed by a space| 00000430 20 61 6e 64 20 69 74 73 20 70 61 72 61 6d 65 74 | and its paramet| 00000440 65 72 2e 20 42 79 74 65 20 61 6e 64 0a 77 6f 72 |er. Byte and.wor| 00000450 64 20 70 61 72 61 6d 65 74 65 72 73 20 6d 75 73 |d parameters mus| 00000460 74 20 62 65 20 70 72 65 63 65 64 65 64 20 62 79 |t be preceded by| 00000470 20 61 6e 20 27 26 27 20 69 66 20 69 6e 20 68 65 | an '&' if in he| 00000480 78 2e 20 53 74 72 69 6e 67 20 70 61 72 61 6d 65 |x. String parame| 00000490 74 65 72 73 20 6d 75 73 74 0a 62 65 20 69 6e 20 |ters must.be in | 000004a0 64 6f 75 62 6c 65 20 71 75 6f 74 65 73 2e 20 44 |double quotes. D| 000004b0 6f 75 62 6c 65 20 71 75 6f 74 65 73 20 63 61 6e |ouble quotes can| 000004c0 20 62 65 20 69 6e 63 6c 75 64 65 64 20 69 6e 20 | be included in | 000004d0 73 74 72 69 6e 67 73 20 62 79 20 64 6f 75 62 6c |strings by doubl| 000004e0 69 6e 67 0a 74 68 65 6d 20 75 70 2e 20 41 6e 20 |ing.them up. An | 000004f0 65 72 72 6f 72 20 69 73 20 67 69 76 65 6e 20 69 |error is given i| 00000500 66 20 74 68 65 20 70 61 72 61 6d 65 74 65 72 20 |f the parameter | 00000510 79 6f 75 20 70 6c 61 63 65 20 61 66 74 65 72 20 |you place after | 00000520 74 68 65 20 63 6f 6d 6d 61 6e 64 20 64 6f 65 73 |the command does| 00000530 0a 6e 6f 74 20 6d 61 74 63 68 20 74 68 65 20 74 |.not match the t| 00000540 79 70 65 20 6f 66 20 74 68 65 20 63 6f 6d 6d 61 |ype of the comma| 00000550 6e 64 2e 20 54 68 65 72 65 20 61 72 65 20 73 65 |nd. There are se| 00000560 76 65 72 61 6c 20 73 70 65 63 69 61 6c 20 63 61 |veral special ca| 00000570 73 65 73 3a 0a 0a 20 31 20 49 66 20 74 68 65 20 |ses:.. 1 If the | 00000580 63 6f 6d 6d 61 6e 64 20 74 61 6b 65 73 20 61 20 |command takes a | 00000590 73 74 72 69 6e 67 20 70 61 72 61 6d 65 74 65 72 |string parameter| 000005a0 2c 20 62 75 74 20 79 6f 75 20 6f 6d 69 74 20 74 |, but you omit t| 000005b0 68 65 20 73 74 72 69 6e 67 2c 20 74 68 65 6e 20 |he string, then | 000005c0 61 0a 20 20 20 6d 69 6e 69 62 75 66 66 65 72 20 |a. minibuffer | 000005d0 77 69 6c 6c 20 62 65 20 6f 70 65 6e 65 64 20 66 |will be opened f| 000005e0 6f 72 20 79 6f 75 20 74 6f 20 74 79 70 65 20 74 |or you to type t| 000005f0 68 65 20 73 74 72 69 6e 67 20 69 6e 74 6f 20 77 |he string into w| 00000600 68 65 6e 20 74 68 65 20 63 6f 6d 6d 61 6e 64 0a |hen the command.| 00000610 20 20 20 69 73 20 65 78 65 63 75 74 65 64 2e 20 | is executed. | 00000620 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 73 65 65 |For example, see| 00000630 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 53 45 41 | the command SEA| 00000640 52 43 48 46 4f 52 57 41 52 44 20 28 43 74 72 6c |RCHFORWARD (Ctrl| 00000650 2d 53 29 2e 0a 20 20 20 0a 20 32 20 49 66 20 74 |-S).. . 2 If t| 00000660 68 65 20 63 6f 6d 6d 61 6e 64 20 74 61 6b 65 73 |he command takes| 00000670 20 61 20 62 79 74 65 20 6f 72 20 77 6f 72 64 20 | a byte or word | 00000680 70 61 72 61 6d 65 74 65 72 20 61 6e 64 20 79 6f |parameter and yo| 00000690 75 20 73 70 65 63 69 66 79 20 27 6e 27 20 61 73 |u specify 'n' as| 000006a0 20 74 68 65 0a 20 20 20 70 61 72 61 6d 65 74 65 | the. paramete| 000006b0 72 2c 20 74 68 65 6e 20 74 68 65 20 6b 65 79 6e |r, then the keyn| 000006c0 75 6d 62 65 72 20 6f 66 20 74 68 65 20 6b 65 79 |umber of the key| 000006d0 20 79 6f 75 20 62 69 6e 64 20 74 68 65 20 63 6f | you bind the co| 000006e0 6d 6d 61 6e 64 20 74 6f 20 69 73 0a 20 20 20 73 |mmand to is. s| 000006f0 75 62 73 74 69 74 75 74 65 64 20 66 6f 72 20 74 |ubstituted for t| 00000700 68 65 20 27 6e 27 2e 20 46 6f 72 20 65 78 61 6d |he 'n'. For exam| 00000710 70 6c 65 2c 20 73 65 65 20 74 68 65 20 63 6f 6d |ple, see the com| 00000720 6d 61 6e 64 20 43 48 41 52 2e 0a 20 20 20 0a 20 |mand CHAR.. . | 00000730 33 20 54 68 65 20 27 2a 27 20 63 6f 6d 6d 61 6e |3 The '*' comman| 00000740 64 2e 20 54 68 69 73 20 69 73 20 75 73 65 64 20 |d. This is used | 00000750 66 6f 72 20 64 75 70 6c 69 63 61 74 69 6e 67 20 |for duplicating | 00000760 61 20 72 61 6e 67 65 20 6b 65 79 70 61 64 20 65 |a range keypad e| 00000770 6e 74 72 69 65 73 2e 0a 20 20 20 54 68 65 20 66 |ntries.. The f| 00000780 6f 72 6d 61 74 20 6f 66 20 74 68 65 20 63 6f 6d |ormat of the com| 00000790 6d 61 6e 64 20 69 73 20 2a 6e 20 77 68 65 72 65 |mand is *n where| 000007a0 20 6e 20 69 73 20 6f 70 74 69 6f 6e 61 6c 2e 20 | n is optional. | 000007b0 27 6e 27 20 69 73 20 74 68 65 20 6b 65 79 20 63 |'n' is the key c| 000007c0 6f 64 65 0a 20 20 20 28 6f 72 20 66 69 72 73 74 |ode. (or first| 000007d0 20 6b 65 79 20 63 6f 64 65 20 6f 66 20 61 20 6c | key code of a l| 000007e0 69 73 74 29 20 6f 66 20 74 68 65 20 6b 65 79 20 |ist) of the key | 000007f0 28 6f 72 20 6b 65 79 73 29 20 74 6f 20 63 6f 70 |(or keys) to cop| 00000800 79 2e 0a 20 20 20 49 74 20 69 73 20 6f 66 20 74 |y.. It is of t| 00000810 68 65 20 66 6f 72 6d 20 26 79 79 30 78 78 78 20 |he form &yy0xxx | 00000820 77 68 65 72 65 20 79 79 20 69 73 20 74 68 65 20 |where yy is the | 00000830 6b 65 79 6d 61 70 20 6e 75 6d 62 65 72 20 61 6e |keymap number an| 00000840 64 20 78 78 78 20 74 68 65 20 6b 65 79 0a 20 20 |d xxx the key. | 00000850 20 6e 75 6d 62 65 72 2e 20 54 68 65 20 64 65 66 | number. The def| 00000860 61 75 6c 74 20 76 61 6c 75 65 20 6f 66 20 6e 20 |ault value of n | 00000870 69 73 20 74 68 65 20 63 75 72 72 65 6e 74 20 6b |is the current k| 00000880 65 79 20 62 65 69 6e 67 20 62 6f 75 6e 64 20 69 |ey being bound i| 00000890 6e 20 6b 65 79 6d 61 70 0a 20 20 20 30 20 28 69 |n keymap. 0 (i| 000008a0 65 20 77 69 74 68 20 79 79 20 73 65 74 20 74 6f |e with yy set to| 000008b0 20 30 30 29 2e 0a 20 20 20 45 67 20 74 68 65 20 | 00).. Eg the | 000008c0 6c 69 6e 65 20 20 22 26 32 30 31 37 30 2d 26 32 |line "&20170-&2| 000008d0 30 31 37 46 09 2a 26 34 30 22 20 20 77 69 6c 6c |017F.*&40" will| 000008e0 20 63 61 75 73 65 20 6b 65 79 73 20 26 31 37 30 | cause keys &170| 000008f0 2d 26 31 37 46 20 69 6e 20 6b 65 79 6d 61 70 0a |-&17F in keymap.| 00000900 20 20 20 32 20 74 6f 20 68 61 76 65 20 74 68 65 | 2 to have the| 00000910 69 72 20 64 65 66 69 6e 69 74 69 6f 6e 73 20 63 |ir definitions c| 00000920 6f 70 69 65 64 20 66 72 6f 6d 20 6b 65 79 73 20 |opied from keys | 00000930 26 34 30 2d 26 34 46 20 6f 66 20 6b 65 79 6d 61 |&40-&4F of keyma| 00000940 70 20 30 2e 0a 20 20 20 0a 20 34 20 49 66 20 79 |p 0.. . 4 If y| 00000950 6f 75 20 74 79 70 65 20 61 20 63 6f 6d 6d 61 6e |ou type a comman| 00000960 64 20 69 6e 74 6f 20 61 20 6b 65 79 73 20 66 69 |d into a keys fi| 00000970 6c 65 20 61 6e 64 20 69 74 20 64 6f 65 73 6e 27 |le and it doesn'| 00000980 74 20 65 78 69 73 74 2c 20 74 68 65 6e 20 6e 6f |t exist, then no| 00000990 20 65 72 72 6f 72 0a 20 20 20 77 69 6c 6c 20 62 | error. will b| 000009a0 65 20 67 69 76 65 6e 2e 20 54 68 69 73 20 69 73 |e given. This is| 000009b0 20 73 6f 20 79 6f 75 20 63 61 6e 20 70 75 74 20 | so you can put | 000009c0 63 6f 6d 6d 61 6e 64 73 20 69 6e 20 79 6f 75 72 |commands in your| 000009d0 20 6b 65 79 73 20 66 69 6c 65 20 66 6f 72 0a 20 | keys file for. | 000009e0 20 20 65 78 74 65 6e 73 69 6f 6e 20 6d 6f 64 65 | extension mode| 000009f0 73 20 74 68 61 74 20 6d 61 79 20 6e 6f 74 20 61 |s that may not a| 00000a00 6c 77 61 79 73 20 62 65 20 6c 6f 61 64 65 64 2e |lways be loaded.| 00000a10 20 48 6f 77 65 76 65 72 2c 20 69 66 20 61 20 63 | However, if a c| 00000a20 6f 6d 6d 61 6e 64 20 64 6f 65 73 0a 20 20 20 65 |ommand does. e| 00000a30 78 69 73 74 20 62 75 74 20 69 74 73 20 70 61 72 |xist but its par| 00000a40 61 6d 65 74 65 72 73 20 61 72 65 20 69 6e 63 6f |ameters are inco| 00000a50 72 72 65 63 74 2c 20 74 68 65 6e 20 61 6e 20 65 |rrect, then an e| 00000a60 72 72 6f 72 20 77 69 6c 6c 20 62 65 20 67 69 76 |rror will be giv| 00000a70 65 6e 2e 0a 20 20 20 0a 20 35 20 49 66 20 79 6f |en.. . 5 If yo| 00000a80 75 20 64 65 66 69 6e 65 20 61 20 6b 65 79 20 74 |u define a key t| 00000a90 77 69 63 65 2c 20 74 68 65 6e 20 74 68 65 20 6c |wice, then the l| 00000aa0 61 74 65 72 20 6f 6e 65 20 77 69 6c 6c 20 62 65 |ater one will be| 00000ab0 20 75 73 65 64 2e 20 49 65 2c 20 74 68 65 20 6b | used. Ie, the k| 00000ac0 65 79 73 0a 20 20 20 66 69 6c 65 20 69 73 20 72 |eys. file is r| 00000ad0 65 61 64 20 73 65 71 75 65 6e 74 69 61 6c 6c 79 |ead sequentially| 00000ae0 20 61 6e 64 20 6e 65 77 20 64 65 66 69 6e 69 74 | and new definit| 00000af0 69 6f 6e 73 20 6f 76 65 72 77 72 69 74 65 20 74 |ions overwrite t| 00000b00 68 65 20 6f 6c 64 20 6f 6e 65 73 2e 0a 0a 43 6f |he old ones...Co| 00000b10 6d 6d 61 6e 64 73 20 63 61 6e 20 62 65 20 63 68 |mmands can be ch| 00000b20 61 69 6e 65 64 20 74 6f 67 65 74 68 65 72 20 62 |ained together b| 00000b30 79 20 75 73 65 20 6f 66 20 74 68 65 20 73 65 70 |y use of the sep| 00000b40 61 72 61 74 6f 72 20 27 3a 27 20 61 73 20 69 6e |arator ':' as in| 00000b50 20 42 41 53 49 43 2e 20 59 6f 75 0a 6d 61 79 20 | BASIC. You.may | 00000b60 4e 4f 54 20 63 68 61 69 6e 20 74 6f 67 65 74 68 |NOT chain togeth| 00000b70 65 72 20 63 6f 6d 6d 61 6e 64 73 20 77 68 69 63 |er commands whic| 00000b80 68 20 75 73 65 20 74 68 65 20 6d 69 6e 69 62 75 |h use the minibu| 00000b90 66 66 65 72 20 28 69 65 20 63 6f 6d 6d 61 6e 64 |ffer (ie command| 00000ba0 73 20 77 68 69 63 68 0a 74 61 6b 65 20 61 20 73 |s which.take a s| 00000bb0 74 72 69 6e 67 20 61 73 20 70 61 72 61 6d 65 74 |tring as paramet| 00000bc0 65 72 20 62 75 74 20 77 69 74 68 20 74 68 65 20 |er but with the | 00000bd0 73 74 72 69 6e 67 20 75 6e 73 70 65 63 69 66 69 |string unspecifi| 00000be0 65 64 29 2e 20 54 68 65 20 74 77 6f 20 63 6f 6d |ed). The two com| 00000bf0 6d 61 6e 64 73 0a 42 41 53 45 4d 41 50 20 61 6e |mands.BASEMAP an| 00000c00 64 20 4b 45 59 4d 41 50 20 70 72 6f 76 69 64 65 |d KEYMAP provide| 00000c10 20 61 20 6d 65 61 6e 73 20 6f 66 20 73 77 61 70 | a means of swap| 00000c20 70 69 6e 67 20 66 72 6f 6d 20 6f 6e 65 20 6b 65 |ping from one ke| 00000c30 79 6d 61 70 20 74 6f 20 61 6e 6f 74 68 65 72 20 |ymap to another | 00000c40 61 6e 64 0a 66 6f 72 20 70 72 6f 76 69 64 69 6e |and.for providin| 00000c50 67 20 6d 75 6c 74 69 70 6c 65 20 6b 65 79 20 70 |g multiple key p| 00000c60 72 65 73 73 20 63 6f 6d 6d 61 6e 64 73 20 61 73 |ress commands as| 00000c70 20 79 6f 75 20 67 65 74 20 69 6e 20 45 6d 61 63 | you get in Emac| 00000c80 73 2e 20 53 65 65 20 74 68 65 20 45 6d 61 63 73 |s. See the Emacs| 00000c90 0a 6b 65 79 6d 61 70 20 66 6f 72 20 65 78 61 6d |.keymap for exam| 00000ca0 70 6c 65 73 20 6f 66 20 74 68 65 69 72 20 75 73 |ples of their us| 00000cb0 65 2e 0a 0a 45 78 61 6d 70 6c 65 73 3a 0a 0a 20 |e...Examples:.. | 00000cc0 28 31 29 09 26 30 32 30 2d 37 45 09 09 43 48 41 |(1).&020-7E..CHA| 00000cd0 52 20 6e 0a 20 28 32 29 09 26 30 31 33 09 09 53 |R n. (2).&013..S| 00000ce0 45 41 52 43 48 46 4f 52 57 41 52 44 0a 20 28 33 |EARCHFORWARD. (3| 00000cf0 29 09 26 31 33 31 09 09 42 41 53 45 4d 41 50 20 |).&131..BASEMAP | 00000d00 31 0a 20 28 34 29 09 26 31 30 30 31 38 09 09 4b |1. (4).&10018..K| 00000d10 45 59 4d 41 50 20 32 0a 20 28 35 29 09 26 31 30 |EYMAP 2. (5).&10| 00000d20 31 35 30 2d 26 31 30 31 46 46 09 2a 0a 20 28 36 |150-&101FF.*. (6| 00000d30 29 20 20 20 20 26 31 33 32 09 09 49 4e 53 45 52 |) &132..INSER| 00000d40 54 20 22 48 65 6c 6c 6f 22 20 3a 20 55 50 20 3a |T "Hello" : UP :| 00000d50 20 52 49 47 48 54 0a 20 28 37 29 09 26 31 33 33 | RIGHT. (7).&133| 00000d60 09 09 69 6e 73 65 72 74 20 22 20 22 22 68 65 6c |..insert " ""hel| 00000d70 6c 6f 22 22 20 22 0a 20 0a 49 6e 20 28 31 29 2c |lo"" ". .In (1),| 00000d80 20 6b 65 79 20 26 32 30 20 28 73 70 61 63 65 29 | key &20 (space)| 00000d90 20 69 73 20 61 73 73 69 67 6e 65 64 20 74 68 65 | is assigned the| 00000da0 20 63 6f 6d 6d 61 6e 64 20 43 48 41 52 20 26 32 | command CHAR &2| 00000db0 30 2c 20 6b 65 79 20 26 32 31 20 28 21 29 20 69 |0, key &21 (!) i| 00000dc0 73 0a 61 73 73 69 67 6e 65 64 20 74 68 65 20 63 |s.assigned the c| 00000dd0 6f 6d 6d 61 6e 64 20 43 48 41 52 20 26 32 31 20 |ommand CHAR &21 | 00000de0 65 74 63 2e 20 49 6e 20 28 32 29 2c 20 6e 6f 20 |etc. In (2), no | 00000df0 73 74 72 69 6e 67 20 69 73 20 67 69 76 65 6e 20 |string is given | 00000e00 61 66 74 65 72 0a 53 45 41 52 43 48 46 4f 52 57 |after.SEARCHFORW| 00000e10 41 52 44 2c 20 73 6f 20 79 6f 75 20 61 72 65 20 |ARD, so you are | 00000e20 70 72 6f 6d 70 74 65 64 20 66 6f 72 20 69 74 20 |prompted for it | 00000e30 77 68 65 6e 20 79 6f 75 20 70 72 65 73 73 20 63 |when you press c| 00000e40 53 2e 20 28 33 29 20 45 6e 73 75 72 65 73 20 61 |S. (3) Ensures a| 00000e50 6c 6c 0a 66 75 72 74 68 65 72 20 6b 65 79 70 72 |ll.further keypr| 00000e60 65 73 73 65 73 20 61 72 65 20 6c 6f 6f 6b 65 64 |esses are looked| 00000e70 20 75 70 20 69 6e 20 6b 65 79 6d 61 70 20 31 2c | up in keymap 1,| 00000e80 20 74 68 75 73 20 73 77 69 74 63 68 69 6e 67 20 | thus switching | 00000e90 74 6f 20 45 6d 61 63 73 0a 65 6d 75 6c 61 74 69 |to Emacs.emulati| 00000ea0 6f 6e 20 6d 6f 64 65 2e 20 28 34 29 20 53 77 69 |on mode. (4) Swi| 00000eb0 74 63 68 65 73 20 74 6f 20 6b 65 79 6d 61 70 20 |tches to keymap | 00000ec0 32 20 66 6f 72 20 74 68 65 20 6e 65 78 74 20 6b |2 for the next k| 00000ed0 65 79 20 70 72 65 73 73 20 6f 6e 6c 79 2c 20 74 |ey press only, t| 00000ee0 68 75 73 0a 61 6c 6c 6f 77 69 6e 67 20 66 6f 72 |hus.allowing for| 00000ef0 20 74 77 6f 2d 6b 65 79 20 63 6f 6d 6d 61 6e 64 | two-key command| 00000f00 73 20 62 65 67 69 6e 6e 69 6e 67 20 77 69 74 68 |s beginning with| 00000f10 20 63 74 72 6c 2d 58 2e 20 49 6e 20 28 35 29 2c | ctrl-X. In (5),| 00000f20 20 6b 65 79 73 20 26 31 35 30 2d 26 31 46 46 0a | keys &150-&1FF.| 00000f30 69 6e 20 6b 65 79 6d 61 70 20 31 20 61 72 65 20 |in keymap 1 are | 00000f40 61 73 73 69 67 6e 65 64 20 74 6f 20 74 68 65 20 |assigned to the | 00000f50 73 61 6d 65 20 63 6f 6d 6d 61 6e 64 73 20 74 68 |same commands th| 00000f60 65 79 20 68 61 76 65 20 69 6e 20 6b 65 79 6d 61 |ey have in keyma| 00000f70 70 20 30 2e 20 28 36 29 0a 69 6e 73 65 72 74 73 |p 0. (6).inserts| 00000f80 20 74 68 65 20 73 74 72 69 6e 67 20 22 48 65 6c | the string "Hel| 00000f90 6c 6f 22 20 69 6e 74 6f 20 74 68 65 20 66 69 6c |lo" into the fil| 00000fa0 65 20 61 6e 64 20 74 68 65 6e 20 6d 6f 76 65 73 |e and then moves| 00000fb0 20 75 70 20 74 68 65 6e 20 72 69 67 68 74 2e 0a | up then right..| 00000fc0 0a 42 65 6c 6f 77 20 69 73 20 61 20 6c 69 73 74 |.Below is a list| 00000fd0 20 6f 66 20 61 6c 6c 20 63 6f 6d 6d 61 6e 64 73 | of all commands| 00000fe0 20 70 72 6f 76 69 64 65 64 20 62 79 20 74 68 65 | provided by the| 00000ff0 20 5a 61 70 20 6f 72 20 5a 61 70 42 61 73 69 63 | Zap or ZapBasic| 00001000 20 6d 6f 64 75 6c 65 73 2e 20 54 68 65 79 0a 61 | modules. They.a| 00001010 72 65 20 69 6e 20 61 6c 70 68 61 62 65 74 69 63 |re in alphabetic| 00001020 61 6c 20 6f 72 64 65 72 2e 0a 0a 09 09 09 2a 2a |al order......**| 00001030 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 09 |**************..| 00001040 09 09 2a 20 43 6f 6d 6d 61 6e 64 20 6c 69 73 74 |..* Command list| 00001050 20 2a 0a 09 09 09 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | *....**********| 00001060 2a 2a 2a 2a 2a 2a 0a 0a 41 44 44 52 45 53 53 0a |******..ADDRESS.| 00001070 53 68 6f 77 73 20 6c 69 6e 65 20 6e 75 6d 62 65 |Shows line numbe| 00001080 72 73 20 69 6e 20 61 64 64 72 65 73 73 20 66 6f |rs in address fo| 00001090 72 6d 61 74 20 62 79 20 63 68 61 6e 67 69 6e 67 |rmat by changing| 000010a0 20 62 38 2d 62 39 20 6f 66 20 77 5f 66 6f 72 6d | b8-b9 of w_form| 000010b0 61 74 2e 0a 0a 41 53 53 45 4d 42 4c 45 20 3c 73 |at...ASSEMBLE <s| 000010c0 74 72 69 6e 67 3e 0a 41 73 73 65 6d 62 6c 65 73 |tring>.Assembles| 000010d0 20 74 68 65 20 69 6e 73 74 72 75 63 74 69 6f 6e | the instruction| 000010e0 20 67 69 76 65 6e 20 62 79 20 73 74 72 69 6e 67 | given by string| 000010f0 2c 20 70 6c 61 63 69 6e 67 20 69 74 20 61 74 20 |, placing it at | 00001100 74 68 65 20 63 75 72 73 6f 72 20 70 6f 73 69 74 |the cursor posit| 00001110 69 6f 6e 0a 28 61 6e 64 20 75 73 69 6e 67 20 74 |ion.(and using t| 00001120 68 69 73 20 70 6f 73 69 74 69 6f 6e 20 74 6f 20 |his position to | 00001130 64 65 74 65 72 6d 69 6e 65 20 74 68 65 20 61 73 |determine the as| 00001140 73 65 6d 62 6c 79 20 61 64 64 72 65 73 73 20 66 |sembly address f| 00001150 6f 72 20 42 4c 73 20 65 74 63 29 2e 20 49 74 0a |or BLs etc). It.| 00001160 64 6f 65 73 20 74 68 69 73 20 62 79 20 73 70 61 |does this by spa| 00001170 77 6e 69 6e 67 20 61 20 73 6d 61 6c 6c 20 28 73 |wning a small (s| 00001180 65 6c 66 20 6d 6f 64 69 66 79 69 6e 67 29 20 62 |elf modifying) b| 00001190 61 73 69 63 20 70 72 6f 67 72 61 6d 20 61 6e 64 |asic program and| 000011a0 20 75 73 69 6e 67 20 74 68 65 0a 6f 70 65 72 61 | using the.opera| 000011b0 74 69 6e 67 20 73 79 73 74 65 6d 20 76 61 72 69 |ting system vari| 000011c0 61 62 6c 65 73 20 5a 61 70 24 54 65 6d 70 20 61 |ables Zap$Temp a| 000011d0 6e 64 20 5a 61 70 24 54 65 6d 70 4e 75 6d 20 74 |nd Zap$TempNum t| 000011e0 6f 20 70 61 73 73 20 61 72 67 75 6d 65 6e 74 73 |o pass arguments| 000011f0 2e 0a 0a 41 55 54 4f 49 4e 44 45 4e 54 0a 54 6f |...AUTOINDENT.To| 00001200 67 67 6c 65 73 20 61 75 74 6f 20 69 6e 64 65 6e |ggles auto inden| 00001210 74 20 6f 6e 20 61 6e 64 20 6f 66 66 20 28 62 31 |t on and off (b1| 00001220 36 20 6f 66 20 77 5f 66 6c 61 67 73 29 0a 0a 42 |6 of w_flags)..B| 00001230 41 53 45 4d 41 50 20 3c 77 6f 72 64 3e 0a 54 68 |ASEMAP <word>.Th| 00001240 69 73 20 63 6f 6d 6d 61 6e 64 20 73 77 69 74 63 |is command switc| 00001250 68 65 73 20 74 68 65 20 6b 65 79 20 62 61 73 65 |hes the key base| 00001260 6d 61 70 20 74 6f 20 74 68 65 20 67 69 76 65 6e |map to the given| 00001270 20 6b 65 79 6d 61 70 20 6e 75 6d 62 65 72 2e 20 | keymap number. | 00001280 41 6c 6c 20 66 75 72 74 68 65 72 0a 6b 65 79 70 |All further.keyp| 00001290 72 65 73 73 65 73 20 77 69 6c 6c 20 75 73 65 20 |resses will use | 000012a0 74 68 69 73 20 6b 65 79 6d 61 70 2e 20 49 74 20 |this keymap. It | 000012b0 61 63 74 73 20 62 79 20 77 72 69 74 69 6e 67 20 |acts by writing | 000012c0 76 61 72 69 61 62 6c 65 73 20 6b 65 79 5f 62 61 |variables key_ba| 000012d0 73 65 6d 61 70 20 61 6e 64 0a 6b 65 79 5f 63 75 |semap and.key_cu| 000012e0 72 72 65 6e 74 20 28 73 65 65 20 45 2d 56 61 72 |rrent (see E-Var| 000012f0 73 29 2e 0a 0a 42 41 53 49 43 0a 43 61 6c 6c 73 |s)...BASIC.Calls| 00001300 20 74 68 65 20 65 78 74 65 6e 73 69 6f 6e 20 6d | the extension m| 00001310 6f 64 65 20 65 6e 74 72 79 20 70 6f 69 6e 74 20 |ode entry point | 00001320 65 5f 62 61 73 69 63 2e 20 54 68 69 73 20 69 73 |e_basic. This is| 00001330 20 6d 6f 64 65 20 64 65 70 65 6e 64 61 6e 74 20 | mode dependant | 00001340 61 6e 64 20 75 73 65 64 0a 62 79 20 5a 61 70 42 |and used.by ZapB| 00001350 61 73 69 63 20 74 6f 20 64 72 6f 70 20 74 68 65 |asic to drop the| 00001360 20 75 73 65 72 20 69 6e 74 6f 20 42 61 73 69 63 | user into Basic| 00001370 20 77 69 74 68 20 74 68 65 20 70 72 6f 67 72 61 | with the progra| 00001380 6d 20 6c 6f 61 64 65 64 20 61 74 20 50 41 47 45 |m loaded at PAGE| 00001390 2e 0a 0a 42 45 45 50 0a 44 6f 65 73 20 61 20 56 |...BEEP.Does a V| 000013a0 44 55 20 37 2e 0a 0a 42 49 4e 44 54 4f 4b 45 59 |DU 7...BINDTOKEY| 000013b0 20 3c 73 74 72 69 6e 67 3e 0a 54 68 69 73 20 63 | <string>.This c| 000013c0 61 6c 6c 20 65 76 61 6c 75 61 74 65 73 20 3c 73 |all evaluates <s| 000013d0 74 72 69 6e 67 3e 20 74 6f 20 61 20 6e 75 6d 62 |tring> to a numb| 000013e0 65 72 20 61 6e 64 20 74 68 65 6e 20 62 69 6e 64 |er and then bind| 000013f0 73 20 74 68 65 20 63 75 72 72 65 6e 74 6c 79 20 |s the currently | 00001400 6c 65 61 72 6e 74 0a 73 65 71 75 65 6e 63 65 20 |learnt.sequence | 00001410 74 6f 20 74 68 61 74 20 28 7a 61 70 20 69 6e 74 |to that (zap int| 00001420 65 72 6e 61 6c 29 20 6b 65 79 20 63 6f 64 65 2e |ernal) key code.| 00001430 20 57 68 65 6e 20 75 73 65 64 20 76 69 61 20 74 | When used via t| 00001440 68 65 20 6d 69 6e 69 62 75 66 66 65 72 2c 20 61 |he minibuffer, a| 00001450 20 6b 65 79 0a 70 72 65 73 73 20 63 61 75 73 65 | key.press cause| 00001460 73 20 74 68 65 20 63 6f 64 65 20 66 6f 72 20 74 |s the code for t| 00001470 68 61 74 20 6b 65 79 20 74 6f 20 62 65 20 69 6e |hat key to be in| 00001480 73 65 72 74 65 64 20 69 6e 74 6f 20 74 68 65 20 |serted into the | 00001490 6d 69 6e 69 62 75 66 66 65 72 2e 20 54 68 65 0a |minibuffer. The.| 000014a0 6f 6e 6c 79 20 65 78 63 65 70 74 69 6f 6e 20 69 |only exception i| 000014b0 73 20 74 68 65 20 65 73 63 61 70 65 20 6b 65 79 |s the escape key| 000014c0 20 77 68 69 63 68 20 77 69 6c 6c 20 61 62 6f 72 | which will abor| 000014d0 74 2e 20 48 6f 77 65 76 65 72 2c 20 42 49 4e 44 |t. However, BIND| 000014e0 54 4f 4b 45 59 20 22 26 31 42 22 0a 77 69 6c 6c |TOKEY "&1B".will| 000014f0 20 77 6f 72 6b 20 69 66 20 79 6f 75 20 72 65 61 | work if you rea| 00001500 6c 6c 79 20 6e 65 65 64 20 74 6f 20 72 65 62 69 |lly need to rebi| 00001510 6e 64 20 74 68 65 20 65 73 63 61 70 65 20 6b 65 |nd the escape ke| 00001520 79 2e 0a 0a 43 41 4e 43 45 4c 0a 43 61 6e 63 65 |y...CANCEL.Cance| 00001530 6c 20 63 75 72 72 65 6e 74 20 59 61 6e 6b 2f 53 |l current Yank/S| 00001540 65 61 72 63 68 20 61 73 20 79 6f 75 20 74 79 70 |earch as you typ| 00001550 65 20 6f 70 65 72 61 74 69 6f 6e 73 2e 20 49 6e |e operations. In| 00001560 20 61 20 73 65 61 72 63 68 20 61 73 20 79 6f 75 | a search as you| 00001570 20 74 79 70 65 0a 6f 70 65 72 61 74 69 6f 6e 20 | type.operation | 00001580 74 68 65 20 63 75 72 73 6f 72 20 69 73 20 6d 6f |the cursor is mo| 00001590 76 65 64 20 62 61 63 6b 20 74 6f 20 69 74 73 20 |ved back to its | 000015a0 73 74 61 72 74 69 6e 67 20 70 6f 69 6e 74 2e 0a |starting point..| 000015b0 0a 43 44 4f 57 4e 0a 41 64 76 61 6e 63 65 73 20 |.CDOWN.Advances | 000015c0 63 75 72 73 6f 72 20 6f 66 66 73 65 74 20 74 6f |cursor offset to| 000015d0 20 65 6e 64 20 6f 66 20 66 69 6c 65 2c 20 6c 65 | end of file, le| 000015e0 61 76 69 6e 67 20 61 20 6d 61 72 6b 65 72 20 61 |aving a marker a| 000015f0 74 20 74 68 65 20 70 72 65 76 69 6f 75 73 0a 70 |t the previous.p| 00001600 6f 73 69 74 69 6f 6e 2e 0a 0a 43 48 41 52 20 3c |osition...CHAR <| 00001610 62 79 74 65 3e 0a 49 6e 73 65 72 74 73 20 74 68 |byte>.Inserts th| 00001620 65 20 67 69 76 65 6e 20 62 79 74 65 20 69 6e 74 |e given byte int| 00001630 6f 20 74 68 65 20 66 69 6c 65 2e 20 49 74 20 64 |o the file. It d| 00001640 6f 65 73 20 74 68 69 73 20 62 79 20 63 61 6c 6c |oes this by call| 00001650 69 6e 67 20 74 68 65 20 6d 6f 64 65 20 65 6e 74 |ing the mode ent| 00001660 72 79 0a 70 6f 69 6e 74 20 65 5f 63 68 61 72 2e |ry.point e_char.| 00001670 20 4d 75 6c 74 69 70 6c 65 20 70 72 65 73 73 65 | Multiple presse| 00001680 73 20 61 72 65 20 62 75 66 66 65 72 65 64 20 28 |s are buffered (| 00001690 61 73 20 77 69 74 68 20 61 6c 6c 20 3c 62 79 74 |as with all <byt| 000016a0 65 3e 20 70 61 72 61 6d 65 74 65 72 0a 63 6f 6d |e> parameter.com| 000016b0 6d 61 6e 64 73 29 20 61 6e 64 20 70 61 73 73 65 |mands) and passe| 000016c0 64 20 74 6f 20 74 68 65 20 63 6f 6d 6d 61 6e 64 |d to the command| 000016d0 20 61 73 20 6f 6e 65 20 6c 69 73 74 2e 0a 0a 43 | as one list...C| 000016e0 4c 45 41 52 53 45 4c 0a 43 6c 65 61 72 73 20 61 |LEARSEL.Clears a| 000016f0 6e 79 20 73 65 6c 65 63 74 65 64 20 72 65 67 69 |ny selected regi| 00001700 6f 6e 73 20 62 79 20 63 61 6c 6c 69 6e 67 20 5a |ons by calling Z| 00001710 61 70 5f 43 6c 65 61 72 53 65 6c 2e 0a 0a 43 4c |ap_ClearSel...CL| 00001720 45 46 54 0a 4d 6f 76 65 73 20 74 6f 20 73 74 61 |EFT.Moves to sta| 00001730 72 74 20 6f 66 20 6c 69 6e 65 20 75 73 69 6e 67 |rt of line using| 00001740 20 74 68 65 20 6d 6f 64 65 20 65 6e 74 72 79 20 | the mode entry | 00001750 70 6f 69 6e 74 20 65 5f 63 6d 69 6e 75 73 2e 0a |point e_cminus..| 00001760 0a 43 4c 4f 53 45 4f 54 48 45 52 0a 43 6c 6f 73 |.CLOSEOTHER.Clos| 00001770 65 73 20 74 68 65 20 6e 65 78 74 20 77 69 6e 64 |es the next wind| 00001780 6f 77 20 69 6e 20 73 65 71 75 65 6e 63 65 20 28 |ow in sequence (| 00001790 74 68 65 20 77 69 6e 64 6f 77 20 77 68 69 63 68 |the window which| 000017a0 20 77 6f 75 6c 64 20 62 65 20 73 77 61 70 70 65 | would be swappe| 000017b0 64 20 74 6f 20 62 79 0a 53 57 41 50 57 49 4e 44 |d to by.SWAPWIND| 000017c0 4f 57 29 2e 20 49 66 20 6f 6e 6c 79 20 74 77 6f |OW). If only two| 000017d0 20 77 69 6e 64 6f 77 73 20 61 72 65 20 6f 70 65 | windows are ope| 000017e0 6e 20 74 68 65 6e 20 74 68 65 20 6f 74 68 65 72 |n then the other| 000017f0 20 77 69 6e 64 6f 77 20 69 73 20 63 6c 6f 73 65 | window is close| 00001800 64 2e 0a 0a 43 4c 4f 53 45 50 52 49 4e 54 45 52 |d...CLOSEPRINTER| 00001810 0a 43 6c 6f 73 65 73 20 27 70 72 69 6e 74 65 72 |.Closes 'printer| 00001820 3a 24 27 20 66 69 6c 65 72 20 77 69 6e 64 6f 77 |:$' filer window| 00001830 20 76 69 61 20 2a 46 69 6c 65 72 5f 43 6c 6f 73 | via *Filer_Clos| 00001840 65 44 69 72 2e 0a 0a 43 4c 4f 53 45 57 49 4e 44 |eDir...CLOSEWIND| 00001850 4f 57 0a 43 6c 6f 73 65 73 20 74 68 65 20 63 75 |OW.Closes the cu| 00001860 72 72 65 6e 74 20 77 69 6e 64 6f 77 2e 20 49 66 |rrent window. If| 00001870 20 73 75 63 63 65 73 73 66 75 6c 20 28 69 65 20 | successful (ie | 00001880 6e 6f 20 53 61 76 65 2f 44 69 73 63 61 72 64 20 |no Save/Discard | 00001890 62 6f 78 29 2c 20 74 68 65 6e 20 69 74 0a 70 6c |box), then it.pl| 000018a0 61 63 65 73 20 74 68 65 20 63 75 72 73 6f 72 20 |aces the cursor | 000018b0 69 6e 20 74 68 65 20 6e 65 78 74 20 77 69 6e 64 |in the next wind| 000018c0 6f 77 2e 0a 0a 43 4f 4c 55 4d 4e 54 41 42 0a 53 |ow...COLUMNTAB.S| 000018d0 65 74 20 74 61 62 20 6d 6f 64 65 20 74 6f 20 63 |et tab mode to c| 000018e0 6f 6c 75 6d 6e 20 74 61 62 20 62 79 20 63 68 61 |olumn tab by cha| 000018f0 6e 67 69 6e 67 20 62 39 2d 31 30 20 6f 66 20 77 |nging b9-10 of w| 00001900 5f 66 6c 61 67 73 2e 0a 0a 43 4f 4d 4d 41 4e 44 |_flags...COMMAND| 00001910 20 3c 73 74 72 69 6e 67 3e 0a 45 78 65 63 75 74 | <string>.Execut| 00001920 65 73 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 28 |es the command (| 00001930 6f 72 20 63 6f 6c 6f 6e 20 73 65 70 61 72 61 74 |or colon separat| 00001940 65 64 20 6c 69 73 74 20 6f 66 20 63 6f 6d 6d 61 |ed list of comma| 00001950 6e 64 73 29 20 67 69 76 65 6e 20 69 6e 20 74 68 |nds) given in th| 00001960 65 0a 73 74 72 69 6e 67 2c 20 61 73 20 69 66 20 |e.string, as if | 00001970 74 68 65 79 20 77 65 72 65 20 74 79 70 65 64 20 |they were typed | 00001980 69 6e 74 6f 20 74 68 65 20 6b 65 79 73 20 66 69 |into the keys fi| 00001990 6c 65 2e 20 49 74 20 75 73 65 73 20 5a 61 70 5f |le. It uses Zap_| 000019a0 50 72 6f 63 65 73 73 43 6f 6d 6d 61 6e 64 0a 74 |ProcessCommand.t| 000019b0 6f 20 64 6f 20 74 68 69 73 2e 0a 0a 43 4f 4d 50 |o do this...COMP| 000019c0 49 4c 45 0a 43 61 6c 6c 73 20 74 68 65 20 65 78 |ILE.Calls the ex| 000019d0 74 65 6e 73 69 6f 6e 20 6d 6f 64 65 20 65 6e 74 |tension mode ent| 000019e0 72 79 20 70 6f 69 6e 74 20 65 5f 63 6f 6d 70 69 |ry point e_compi| 000019f0 6c 65 2e 20 42 61 73 69 63 20 75 73 65 73 20 74 |le. Basic uses t| 00001a00 68 69 73 20 74 6f 20 73 61 76 65 20 61 0a 70 72 |his to save a.pr| 00001a10 6f 67 72 61 6d 20 74 6f 20 64 69 73 63 20 61 6e |ogram to disc an| 00001a20 64 20 74 68 65 6e 20 63 68 61 69 6e 20 69 74 2e |d then chain it.| 00001a30 20 41 20 43 2d 6d 6f 64 65 20 73 68 6f 75 6c 64 | A C-mode should| 00001a40 20 63 61 75 73 65 20 69 74 20 74 6f 20 72 75 6e | cause it to run| 00001a50 20 74 68 65 0a 63 6f 6d 70 69 6c 65 72 20 65 74 | the.compiler et| 00001a60 63 2e 0a 0a 43 4f 50 59 0a 49 6e 69 74 69 61 74 |c...COPY.Initiat| 00001a70 65 73 20 63 6f 70 79 20 6d 6f 64 65 2f 63 6f 70 |es copy mode/cop| 00001a80 69 65 73 20 63 68 61 72 61 63 74 65 72 73 2e 20 |ies characters. | 00001a90 55 73 65 73 20 74 68 65 20 6d 6f 64 65 20 65 6e |Uses the mode en| 00001aa0 74 72 79 20 70 6f 69 6e 74 20 65 5f 63 6f 70 79 |try point e_copy| 00001ab0 20 74 6f 0a 63 6f 70 79 20 74 68 65 20 64 61 74 | to.copy the dat| 00001ac0 61 2e 20 49 74 20 73 77 69 74 63 68 65 73 20 74 |a. It switches t| 00001ad0 68 65 20 63 75 72 73 6f 72 20 74 6f 20 6d 6f 64 |he cursor to mod| 00001ae0 65 20 32 2e 0a 0a 43 4f 50 59 53 45 4c 0a 43 6f |e 2...COPYSEL.Co| 00001af0 70 69 65 73 20 74 68 65 20 73 65 6c 65 63 74 65 |pies the selecte| 00001b00 64 20 72 65 67 69 6f 6e 20 74 6f 20 69 6e 70 75 |d region to inpu| 00001b10 74 20 63 61 72 65 74 20 70 6f 73 69 74 69 6f 6e |t caret position| 00001b20 2e 0a 0a 43 52 49 47 48 54 0a 4d 6f 76 65 73 20 |...CRIGHT.Moves | 00001b30 74 6f 20 65 6e 64 20 6f 66 20 6c 69 6e 65 20 75 |to end of line u| 00001b40 73 69 6e 67 20 74 68 65 20 6d 6f 64 65 20 65 6e |sing the mode en| 00001b50 74 72 79 20 70 6f 69 6e 74 20 65 5f 63 6d 69 6e |try point e_cmin| 00001b60 75 73 2e 0a 0a 43 55 50 0a 4d 6f 76 65 73 20 74 |us...CUP.Moves t| 00001b70 6f 20 74 68 65 20 73 74 61 72 74 20 6f 66 20 61 |o the start of a| 00001b80 20 66 69 6c 65 2c 20 6c 65 61 76 69 6e 67 20 61 | file, leaving a| 00001b90 20 6d 61 72 6b 65 72 20 61 74 20 74 68 65 20 6f | marker at the o| 00001ba0 6c 64 20 6f 66 66 73 65 74 2e 0a 0a 43 55 54 0a |ld offset...CUT.| 00001bb0 44 65 6c 65 74 65 73 20 74 68 65 20 73 65 6c 65 |Deletes the sele| 00001bc0 63 74 65 64 20 72 65 67 69 6f 6e 2e 20 54 68 69 |cted region. Thi| 00001bd0 73 20 69 73 20 70 65 72 6d 61 6e 65 6e 74 20 69 |s is permanent i| 00001be0 66 20 74 68 65 20 75 6e 64 6f 20 62 75 66 66 65 |f the undo buffe| 00001bf0 72 20 69 73 20 6f 66 66 2c 20 6f 72 0a 74 68 65 |r is off, or.the| 00001c00 20 64 61 74 61 20 63 61 6e 20 62 65 20 70 61 73 | data can be pas| 00001c10 74 65 64 2f 79 61 6e 6b 65 64 20 62 61 63 6b 20 |ted/yanked back | 00001c20 69 66 20 69 74 20 69 73 20 6f 6e 20 75 73 69 6e |if it is on usin| 00001c30 67 20 59 41 4e 4b 2e 20 59 6f 75 20 6d 61 79 20 |g YANK. You may | 00001c40 79 61 6e 6b 0a 61 63 72 6f 73 73 20 66 69 6c 65 |yank.across file| 00001c50 73 2c 20 62 75 74 20 6e 6f 74 65 20 74 68 61 74 |s, but note that| 00001c60 20 77 68 65 6e 20 61 20 66 69 6c 65 20 69 73 20 | when a file is | 00001c70 64 65 6c 65 74 65 64 2c 20 61 6c 6c 20 74 68 65 |deleted, all the| 00001c80 20 79 61 6e 6b 20 72 65 67 69 6f 6e 73 0a 61 73 | yank regions.as| 00001c90 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 68 |sociated with th| 00001ca0 65 20 66 69 6c 65 20 61 72 65 20 61 6c 73 6f 20 |e file are also | 00001cb0 64 65 6c 65 74 65 64 2e 0a 0a 44 41 54 45 20 3c |deleted...DATE <| 00001cc0 73 74 72 69 6e 67 3e 0a 48 65 72 65 20 74 68 65 |string>.Here the| 00001cd0 20 73 74 72 69 6e 67 20 69 73 20 69 6e 20 74 68 | string is in th| 00001ce0 65 20 66 6f 72 6d 61 74 20 72 65 71 75 69 72 65 |e format require| 00001cf0 64 20 62 79 20 4f 53 5f 43 6f 6e 76 65 72 74 44 |d by OS_ConvertD| 00001d00 61 74 65 41 6e 64 54 69 6d 65 20 28 65 67 20 25 |ateAndTime (eg %| 00001d10 4d 49 0a 66 6f 72 20 6d 69 6e 75 74 65 73 20 65 |MI.for minutes e| 00001d20 74 63 29 2e 20 54 68 65 20 73 74 72 69 6e 67 20 |tc). The string | 00001d30 69 73 20 63 6f 6e 76 65 72 74 65 64 20 62 79 20 |is converted by | 00001d40 74 68 65 20 61 62 6f 76 65 20 53 57 49 20 77 69 |the above SWI wi| 00001d50 74 68 20 74 68 65 20 63 75 72 72 65 6e 74 0a 74 |th the current.t| 00001d60 69 6d 65 20 73 75 62 73 74 69 74 75 74 65 64 20 |ime substituted | 00001d70 61 6e 64 20 74 68 65 6e 20 69 6e 73 65 72 74 65 |and then inserte| 00001d80 64 20 69 6e 74 6f 20 74 68 65 20 66 69 6c 65 2e |d into the file.| 00001d90 0a 0a 44 45 46 41 55 4c 54 4d 41 50 0a 43 68 61 |..DEFAULTMAP.Cha| 00001da0 6e 67 65 73 20 74 68 65 20 6b 65 79 20 62 61 73 |nges the key bas| 00001db0 65 6d 61 70 20 74 6f 20 74 68 65 20 64 65 66 61 |emap to the defa| 00001dc0 75 6c 74 20 76 61 6c 75 65 20 28 61 73 20 73 70 |ult value (as sp| 00001dd0 65 63 69 66 69 65 64 20 69 6e 20 74 68 65 20 27 |ecified in the '| 00001de0 6b 65 79 73 27 0a 66 69 6c 65 2e 29 0a 0a 44 45 |keys'.file.)..DE| 00001df0 4c 45 54 45 0a 44 65 6c 65 74 65 73 20 63 68 61 |LETE.Deletes cha| 00001e00 72 61 63 74 65 72 73 20 62 61 63 6b 77 61 72 64 |racters backward| 00001e10 20 62 79 20 63 61 6c 6c 69 6e 67 20 6d 6f 64 65 | by calling mode| 00001e20 20 65 6e 74 72 79 20 70 6f 69 6e 74 20 65 5f 64 | entry point e_d| 00001e30 65 6c 65 74 65 20 77 69 74 68 20 52 37 3d 30 2e |elete with R7=0.| 00001e40 0a 0a 44 45 4c 45 54 45 4e 45 58 54 0a 44 65 6c |..DELETENEXT.Del| 00001e50 65 74 65 73 20 63 68 61 72 61 63 74 65 72 73 20 |etes characters | 00001e60 66 6f 72 77 61 72 64 20 62 79 20 63 61 6c 6c 69 |forward by calli| 00001e70 6e 67 20 6d 6f 64 65 20 65 6e 74 72 79 20 70 6f |ng mode entry po| 00001e80 69 6e 74 20 65 5f 64 65 6c 65 74 65 20 77 69 74 |int e_delete wit| 00001e90 68 20 52 37 3d 31 2e 0a 0a 44 45 4c 4c 49 4e 45 |h R7=1...DELLINE| 00001ea0 0a 44 65 6c 65 74 65 73 20 6c 69 6e 65 20 62 79 |.Deletes line by| 00001eb0 20 63 61 6c 6c 69 6e 67 20 65 5f 6c 69 6e 65 70 | calling e_linep| 00001ec0 72 65 76 20 61 6e 64 20 65 5f 6c 69 6e 65 6e 65 |rev and e_linene| 00001ed0 78 74 20 74 6f 20 66 69 6e 64 20 74 68 65 20 6c |xt to find the l| 00001ee0 69 6e 65 20 6c 69 6d 69 74 73 2e 0a 54 68 65 20 |ine limits..The | 00001ef0 6c 69 6e 65 20 69 73 20 61 64 64 65 64 20 74 6f |line is added to| 00001f00 20 74 68 65 20 79 61 6e 6b 20 62 75 66 66 65 72 | the yank buffer| 00001f10 2e 20 43 75 6d 75 6c 61 74 69 76 65 20 64 65 6c |. Cumulative del| 00001f20 65 74 65 73 20 61 72 65 20 63 6f 6e 63 61 74 65 |etes are concate| 00001f30 6e 61 74 65 64 20 69 6e 0a 74 68 65 20 79 61 6e |nated in.the yan| 00001f40 6b 20 62 75 66 66 65 72 2e 0a 0a 44 45 4c 54 4f |k buffer...DELTO| 00001f50 45 4e 44 0a 44 65 6c 65 74 65 73 20 74 6f 20 65 |END.Deletes to e| 00001f60 6e 64 20 6f 66 20 6c 69 6e 65 20 62 79 20 63 61 |nd of line by ca| 00001f70 6c 6c 69 6e 67 20 65 5f 6c 69 6e 65 65 6e 64 20 |lling e_lineend | 00001f80 74 6f 20 66 69 6e 64 20 74 68 65 20 6c 69 6e 65 |to find the line| 00001f90 20 65 6e 64 2e 20 54 68 65 20 6c 69 6e 65 20 69 | end. The line i| 00001fa0 73 0a 61 64 64 65 64 20 74 6f 20 74 68 65 20 79 |s.added to the y| 00001fb0 61 6e 6b 20 62 75 66 66 65 72 2e 20 43 75 6d 75 |ank buffer. Cumu| 00001fc0 6c 61 74 69 76 65 20 64 65 6c 65 74 65 73 20 61 |lative deletes a| 00001fd0 72 65 20 63 6f 6e 63 61 74 65 6e 61 74 65 64 20 |re concatenated | 00001fe0 69 6e 20 74 68 65 20 79 61 6e 6b 0a 62 75 66 66 |in the yank.buff| 00001ff0 65 72 2e 0a 0a 44 45 4c 54 4f 53 54 41 52 54 0a |er...DELTOSTART.| 00002000 44 65 6c 65 74 65 73 20 74 6f 20 73 74 61 72 74 |Deletes to start| 00002010 20 6f 66 20 6c 69 6e 65 20 62 79 20 63 61 6c 6c | of line by call| 00002020 69 6e 67 20 65 5f 6c 69 6e 65 73 74 61 72 74 20 |ing e_linestart | 00002030 74 6f 20 66 69 6e 64 20 74 68 65 20 6c 69 6e 65 |to find the line| 00002040 20 73 74 61 72 74 2e 0a 0a 44 4f 57 4e 0a 4d 6f | start...DOWN.Mo| 00002050 76 65 73 20 63 75 72 73 6f 72 20 64 6f 77 6e 20 |ves cursor down | 00002060 61 20 6c 69 6e 65 2e 0a 0a 44 55 4d 50 46 49 4c |a line...DUMPFIL| 00002070 45 0a 43 72 65 61 74 65 73 20 61 20 74 65 78 74 |E.Creates a text| 00002080 20 69 6d 61 67 65 20 6f 66 20 74 68 65 20 63 75 | image of the cu| 00002090 72 72 65 6e 74 20 64 69 73 70 6c 61 79 20 66 6f |rrent display fo| 000020a0 72 20 74 68 69 73 20 66 69 6c 65 2e 0a 0a 45 44 |r this file...ED| 000020b0 49 54 54 41 42 0a 53 65 74 73 20 21 45 64 69 74 |ITTAB.Sets !Edit| 000020c0 20 74 79 70 65 20 74 61 62 20 6d 6f 64 65 20 62 | type tab mode b| 000020d0 79 20 63 68 61 6e 67 69 6e 67 20 62 39 2d 31 30 |y changing b9-10| 000020e0 20 6f 66 20 77 5f 66 6c 61 67 73 2e 0a 0a 45 4d | of w_flags...EM| 000020f0 41 43 53 0a 53 77 69 74 63 68 65 73 20 74 6f 20 |ACS.Switches to | 00002100 45 6d 61 63 73 20 6b 65 79 20 6d 61 70 20 28 69 |Emacs key map (i| 00002110 65 20 64 6f 65 73 20 61 20 42 41 53 45 4d 41 50 |e does a BASEMAP| 00002120 20 31 29 2e 0a 0a 45 53 43 41 50 45 0a 43 61 6e | 1)...ESCAPE.Can| 00002130 63 65 6c 20 6d 6f 64 65 73 3a 20 63 6f 70 79 20 |cel modes: copy | 00002140 6d 6f 64 65 2f 79 61 6e 6b 20 6d 6f 64 65 2f 73 |mode/yank mode/s| 00002150 65 6c 65 63 74 20 61 72 65 61 20 6d 6f 64 65 2f |elect area mode/| 00002160 73 65 61 72 63 68 20 61 73 20 79 6f 75 20 74 79 |search as you ty| 00002170 70 65 2e 20 54 68 65 0a 74 65 78 74 20 69 73 20 |pe. The.text is | 00002180 6c 65 66 74 20 69 6e 20 69 74 73 20 63 75 72 72 |left in its curr| 00002190 65 6e 74 20 73 74 61 74 65 2e 20 49 66 20 79 6f |ent state. If yo| 000021a0 75 20 77 69 73 68 20 74 6f 20 75 6e 64 6f 20 74 |u wish to undo t| 000021b0 68 65 20 6c 61 73 74 20 61 63 74 69 6f 6e 20 74 |he last action t| 000021c0 68 65 6e 0a 75 73 65 20 43 41 4e 43 45 4c 20 28 |hen.use CANCEL (| 000021d0 63 74 72 6c 20 47 29 20 74 6f 20 63 61 6e 63 65 |ctrl G) to cance| 000021e0 6c 20 74 68 65 20 6d 6f 64 65 2e 0a 0a 45 58 45 |l the mode...EXE| 000021f0 43 55 54 45 0a 45 78 65 63 75 74 65 20 6c 61 73 |CUTE.Execute las| 00002200 74 20 6c 65 61 72 6e 74 20 73 65 71 75 65 6e 63 |t learnt sequenc| 00002210 65 2e 0a 0a 46 41 53 54 55 4e 44 4f 0a 55 6e 64 |e...FASTUNDO.Und| 00002220 6f 20 74 68 65 20 6c 61 73 74 20 6f 70 65 72 61 |o the last opera| 00002230 74 69 6f 6e 20 74 61 6b 69 6e 67 20 74 68 65 20 |tion taking the | 00002240 66 61 73 74 65 73 74 20 72 6f 75 74 65 20 69 6e |fastest route in| 00002250 20 74 68 65 20 75 6e 64 6f 20 74 72 65 65 2e 20 | the undo tree. | 00002260 46 6f 72 0a 65 78 61 6d 70 6c 65 20 69 66 20 79 |For.example if y| 00002270 6f 75 20 64 6f 20 61 2c 62 2c 75 6e 64 6f 2c 63 |ou do a,b,undo,c| 00002280 2c 66 61 73 74 75 6e 64 6f 2c 66 61 73 74 75 6e |,fastundo,fastun| 00002290 64 6f 20 74 68 65 6e 20 69 74 20 77 69 6c 6c 20 |do then it will | 000022a0 64 65 6c 65 74 65 20 74 68 65 20 27 61 27 20 61 |delete the 'a' a| 000022b0 73 0a 6f 70 70 6f 73 65 64 20 74 6f 20 69 6e 73 |s.opposed to ins| 000022c0 65 72 74 69 6e 67 20 74 68 65 20 27 62 27 2e 0a |erting the 'b'..| 000022d0 0a 46 49 4e 44 46 49 4c 45 20 3c 73 74 72 69 6e |.FINDFILE <strin| 000022e0 67 3e 0a 4f 70 65 6e 73 20 61 20 62 75 66 66 65 |g>.Opens a buffe| 000022f0 72 20 6f 6e 20 74 68 65 20 69 6e 64 69 63 61 74 |r on the indicat| 00002300 65 64 20 66 69 6c 65 20 28 73 68 6f 75 6c 64 20 |ed file (should | 00002310 62 65 20 61 20 66 75 6c 6c 20 70 61 74 68 20 6e |be a full path n| 00002320 61 6d 65 29 2e 0a 0a 46 49 4e 44 46 49 4c 45 52 |ame)...FINDFILER| 00002330 45 41 44 4f 4e 4c 59 20 3c 73 74 72 69 6e 67 3e |EADONLY <string>| 00002340 0a 41 73 20 66 6f 72 20 46 49 4e 44 46 49 4c 45 |.As for FINDFILE| 00002350 20 62 75 74 20 70 75 74 73 20 69 6e 20 72 65 61 | but puts in rea| 00002360 64 20 6f 6e 6c 79 20 6d 6f 64 65 20 77 68 65 6e |d only mode when| 00002370 20 66 69 6c 65 20 6c 6f 61 64 65 64 2e 0a 0a 46 | file loaded...F| 00002380 4f 4e 54 4f 54 48 45 52 46 41 53 54 0a 53 77 69 |ONTOTHERFAST.Swi| 00002390 74 63 68 65 73 20 74 6f 20 61 6e 74 69 2d 61 6c |tches to anti-al| 000023a0 69 61 73 65 64 20 66 6f 6e 74 20 77 69 74 68 20 |iased font with | 000023b0 66 61 73 74 20 72 65 64 72 61 77 20 28 62 31 37 |fast redraw (b17| 000023c0 2c 32 30 2c 32 31 20 6f 66 20 77 5f 66 6c 61 67 |,20,21 of w_flag| 000023d0 73 29 2e 0a 0a 46 4f 4e 54 4f 54 48 45 52 56 44 |s)...FONTOTHERVD| 000023e0 55 0a 53 77 69 74 63 68 65 73 20 74 6f 20 61 6e |U.Switches to an| 000023f0 74 69 2d 61 6c 69 61 73 65 64 20 66 6f 6e 74 20 |ti-aliased font | 00002400 64 72 61 77 6e 20 62 79 20 46 6f 6e 74 5f 50 61 |drawn by Font_Pa| 00002410 69 6e 74 20 28 62 31 37 2c 32 30 2c 32 31 20 6f |int (b17,20,21 o| 00002420 66 20 77 5f 66 6c 61 67 73 29 2e 0a 0a 46 4f 4e |f w_flags)...FON| 00002430 54 53 59 53 54 45 4d 31 44 50 50 0a 53 77 69 74 |TSYSTEM1DPP.Swit| 00002440 63 68 65 73 20 74 6f 20 73 79 73 74 65 6d 20 66 |ches to system f| 00002450 6f 6e 74 20 61 74 20 31 20 64 6f 74 20 70 65 72 |ont at 1 dot per| 00002460 20 70 69 78 65 6c 20 28 62 31 37 2c 32 30 2c 32 | pixel (b17,20,2| 00002470 31 20 6f 66 20 77 5f 66 6c 61 67 73 29 2e 0a 0a |1 of w_flags)...| 00002480 46 4f 4e 54 53 59 53 54 45 4d 53 43 41 4c 45 44 |FONTSYSTEMSCALED| 00002490 0a 53 77 69 74 63 68 65 73 20 74 6f 20 73 79 73 |.Switches to sys| 000024a0 74 65 6d 20 66 6f 6e 74 20 73 63 61 6c 65 64 20 |tem font scaled | 000024b0 76 65 72 74 69 63 61 6c 6c 79 20 66 6f 72 20 64 |vertically for d| 000024c0 6f 75 62 6c 65 20 70 69 78 65 6c 20 6d 6f 64 65 |ouble pixel mode| 000024d0 20 20 28 62 31 37 2c 32 30 2c 32 31 0a 6f 66 20 | (b17,20,21.of | 000024e0 77 5f 66 6c 61 67 73 29 0a 0a 46 4f 4e 54 53 59 |w_flags)..FONTSY| 000024f0 53 54 45 4d 56 44 55 0a 53 77 69 74 63 68 65 73 |STEMVDU.Switches| 00002500 20 74 6f 20 73 79 73 74 65 6d 20 66 6f 6e 74 20 | to system font | 00002510 64 72 61 77 6e 20 62 79 20 56 44 55 20 71 75 65 |drawn by VDU que| 00002520 75 65 20 72 61 74 68 65 72 20 74 68 61 6e 20 6d |ue rather than m| 00002530 79 20 63 6f 64 65 20 28 62 31 37 2c 32 30 2c 32 |y code (b17,20,2| 00002540 31 0a 6f 66 20 77 5f 66 6c 61 67 73 29 2e 20 55 |1.of w_flags). U| 00002550 73 65 20 6d 6f 64 65 20 32 32 20 74 6f 20 73 65 |se mode 22 to se| 00002560 65 20 74 68 65 20 64 69 66 66 65 72 65 6e 63 65 |e the difference| 00002570 2e 0a 0a 46 4f 52 4d 41 54 54 45 58 54 0a 54 68 |...FORMATTEXT.Th| 00002580 69 73 20 77 69 6c 6c 20 66 6f 72 6d 61 74 20 74 |is will format t| 00002590 68 65 20 74 65 78 74 20 66 72 6f 6d 20 74 68 65 |he text from the| 000025a0 20 67 69 76 65 6e 20 63 75 72 73 6f 72 20 70 6f | given cursor po| 000025b0 73 69 74 69 6f 6e 20 74 6f 20 74 68 65 20 70 61 |sition to the pa| 000025c0 72 61 67 72 61 70 68 0a 65 6e 64 2e 20 41 20 70 |ragraph.end. A p| 000025d0 61 72 61 67 72 61 70 68 20 65 6e 64 20 69 73 20 |aragraph end is | 000025e0 74 61 6b 65 6e 20 74 6f 20 62 65 20 61 20 72 65 |taken to be a re| 000025f0 74 75 72 6e 20 63 68 61 72 61 63 74 65 72 20 66 |turn character f| 00002600 6f 6c 6c 6f 77 65 64 20 62 79 20 61 20 77 68 69 |ollowed by a whi| 00002610 74 65 0a 73 70 61 63 65 20 63 68 61 72 61 63 74 |te.space charact| 00002620 65 72 20 28 69 65 20 72 65 74 75 72 6e 2c 73 70 |er (ie return,sp| 00002630 61 63 65 20 6f 72 20 74 61 62 29 2e 0a 0a 46 55 |ace or tab)...FU| 00002640 4c 4c 55 4e 44 4f 0a 55 6e 64 6f 20 74 68 65 20 |LLUNDO.Undo the | 00002650 6c 61 73 74 20 6f 70 65 72 61 74 69 6f 6e 20 74 |last operation t| 00002660 61 6b 69 6e 67 20 74 68 65 20 73 6c 6f 77 65 73 |aking the slowes| 00002670 74 20 72 6f 75 74 65 20 69 6e 20 74 68 65 20 75 |t route in the u| 00002680 6e 64 6f 20 74 72 65 65 2e 20 46 6f 72 0a 65 78 |ndo tree. For.ex| 00002690 61 6d 70 6c 65 20 69 66 20 79 6f 75 20 64 6f 20 |ample if you do | 000026a0 61 2c 62 2c 75 6e 64 6f 2c 63 2c 66 61 73 74 75 |a,b,undo,c,fastu| 000026b0 6e 64 6f 2c 66 61 73 74 75 6e 64 6f 20 74 68 65 |ndo,fastundo the| 000026c0 6e 20 69 74 20 77 69 6c 6c 20 69 6e 73 65 72 74 |n it will insert| 000026d0 20 74 68 65 20 27 62 27 20 61 73 0a 6f 70 70 6f | the 'b' as.oppo| 000026e0 73 65 64 20 74 6f 20 64 65 6c 65 74 69 6e 67 20 |sed to deleting | 000026f0 74 68 65 20 27 61 27 2e 20 43 6f 6d 70 61 72 65 |the 'a'. Compare| 00002700 20 74 68 69 73 20 77 69 74 68 20 46 61 73 74 20 | this with Fast | 00002710 75 6e 64 6f 2e 0a 0a 47 4f 54 4f 0a 42 72 69 6e |undo...GOTO.Brin| 00002720 67 20 75 70 20 74 68 65 20 67 6f 74 6f 20 64 69 |g up the goto di| 00002730 61 6c 6f 67 75 65 20 62 6f 78 2e 0a 0a 48 45 4c |alogue box...HEL| 00002740 50 0a 49 6d 70 6f 72 74 20 74 68 65 20 21 48 65 |P.Import the !He| 00002750 6c 70 20 66 69 6c 65 2e 0a 0a 48 45 58 41 53 43 |lp file...HEXASC| 00002760 49 49 0a 54 6f 67 67 6c 65 20 68 65 78 2f 61 73 |II.Toggle hex/as| 00002770 63 69 69 20 65 6e 74 72 79 20 6d 6f 64 65 20 28 |cii entry mode (| 00002780 62 35 20 6f 66 20 74 68 65 20 77 5f 66 6c 61 67 |b5 of the w_flag| 00002790 73 29 2e 20 42 79 74 65 20 6d 6f 64 65 20 75 73 |s). Byte mode us| 000027a0 65 73 20 74 68 69 73 20 66 6f 72 0a 64 65 63 69 |es this for.deci| 000027b0 64 69 6e 67 20 77 68 65 74 68 65 72 20 27 46 27 |ding whether 'F'| 000027c0 20 69 73 20 74 68 65 20 6c 65 74 74 65 72 20 46 | is the letter F| 000027d0 20 6f 72 20 74 68 65 20 68 65 78 20 64 69 67 69 | or the hex digi| 000027e0 74 20 46 2e 0a 0a 49 4e 44 45 4e 54 0a 49 6e 64 |t F...INDENT.Ind| 000027f0 65 6e 74 73 20 74 68 65 20 63 75 72 72 65 6e 74 |ents the current| 00002800 6c 79 20 73 65 6c 65 63 74 65 64 20 72 65 67 69 |ly selected regi| 00002810 6f 6e 20 62 79 20 74 68 65 20 73 74 72 69 6e 67 |on by the string| 00002820 20 67 69 76 65 6e 20 69 6e 20 74 68 65 20 6d 65 | given in the me| 00002830 6e 75 20 6f 70 74 69 6f 6e 0a 73 65 6c 65 63 74 |nu option.select| 00002840 69 6f 6e 2e 69 6e 64 65 6e 74 2e 20 49 66 20 74 |ion.indent. If t| 00002850 68 69 73 20 65 76 61 6c 75 61 74 65 73 20 74 6f |his evaluates to| 00002860 20 61 20 6e 75 6d 62 65 72 20 74 68 65 6e 20 69 | a number then i| 00002870 6e 64 65 6e 74 73 20 62 79 20 74 68 61 74 20 6e |ndents by that n| 00002880 75 6d 62 65 72 0a 6f 66 20 73 70 61 63 65 73 2e |umber.of spaces.| 00002890 0a 0a 49 4e 44 49 52 45 43 54 0a 4a 75 6d 70 20 |..INDIRECT.Jump | 000028a0 74 6f 20 74 68 65 20 61 64 64 72 65 73 73 20 63 |to the address c| 000028b0 6f 6e 74 61 69 6e 65 64 20 61 74 20 74 68 65 20 |ontained at the | 000028c0 77 6f 72 64 20 61 74 20 74 68 65 20 63 75 72 72 |word at the curr| 000028d0 65 6e 74 20 63 75 72 73 6f 72 20 70 6f 73 6e 20 |ent cursor posn | 000028e0 28 6c 65 61 76 69 6e 67 0a 61 20 6d 61 72 6b 65 |(leaving.a marke| 000028f0 72 20 62 65 68 69 6e 64 20 61 73 20 77 69 74 68 |r behind as with| 00002900 20 61 6e 79 20 4a 75 6d 70 73 29 2e 0a 0a 49 4e | any Jumps)...IN| 00002910 53 45 52 54 20 3c 73 74 72 69 6e 67 3e 0a 49 6e |SERT <string>.In| 00002920 73 65 72 74 73 20 74 68 65 20 73 74 72 69 6e 67 |serts the string| 00002930 20 69 6e 74 6f 20 74 68 65 20 66 69 6c 65 20 61 | into the file a| 00002940 74 20 74 68 65 20 67 69 76 65 6e 20 6f 66 66 73 |t the given offs| 00002950 65 74 2e 20 49 74 20 63 61 6c 6c 73 20 74 68 65 |et. It calls the| 00002960 20 6d 6f 64 65 20 65 6e 74 72 79 0a 70 6f 69 6e | mode entry.poin| 00002970 74 20 65 5f 63 68 61 72 20 74 6f 20 64 6f 20 74 |t e_char to do t| 00002980 68 69 73 2e 0a 0a 49 4e 53 45 52 54 44 41 54 45 |his...INSERTDATE| 00002990 0a 49 6e 73 65 72 74 20 74 68 65 20 63 75 72 72 |.Insert the curr| 000029a0 65 6e 74 20 64 61 74 65 20 75 73 69 6e 67 20 74 |ent date using t| 000029b0 68 65 20 66 6f 72 6d 61 74 20 69 6e 20 74 68 65 |he format in the| 000029c0 20 6b 65 79 73 20 66 69 6c 65 20 28 76 61 72 20 | keys file (var | 000029d0 26 33 30 30 29 2e 0a 0a 49 4e 53 45 52 54 47 53 |&300)...INSERTGS| 000029e0 20 3c 73 74 72 69 6e 67 3e 0a 49 6e 73 65 72 74 | <string>.Insert| 000029f0 73 20 74 68 65 20 73 74 72 69 6e 67 20 69 6e 74 |s the string int| 00002a00 6f 20 74 68 65 20 66 69 6c 65 20 61 73 20 66 6f |o the file as fo| 00002a10 72 20 49 4e 53 45 52 54 2e 20 48 6f 77 65 76 65 |r INSERT. Howeve| 00002a20 72 2c 20 74 68 65 20 73 74 72 69 6e 67 20 69 73 |r, the string is| 00002a30 0a 47 53 2d 54 72 61 6e 73 27 65 64 20 66 69 72 |.GS-Trans'ed fir| 00002a40 73 74 20 74 68 75 73 20 65 6e 61 62 6c 69 6e 67 |st thus enabling| 00002a50 20 79 6f 75 20 74 6f 20 69 6e 63 6c 75 64 65 20 | you to include | 00002a60 63 6f 6e 74 72 6f 6c 20 63 6f 64 65 73 20 61 6e |control codes an| 00002a70 64 20 4f 53 0a 76 61 72 69 61 62 6c 65 73 2e 20 |d OS.variables. | 00002a80 41 73 20 77 69 74 68 20 49 4e 53 45 52 54 2c 20 |As with INSERT, | 00002a90 74 68 65 20 6d 6f 64 65 20 65 6e 74 72 79 20 70 |the mode entry p| 00002aa0 6f 69 6e 74 20 65 5f 63 68 61 72 20 69 73 20 75 |oint e_char is u| 00002ab0 73 65 64 2e 0a 0a 49 4e 53 45 52 54 54 49 4d 45 |sed...INSERTTIME| 00002ac0 0a 49 6e 73 65 72 74 20 74 68 65 20 63 75 72 72 |.Insert the curr| 00002ad0 65 6e 74 20 74 69 6d 65 20 75 73 69 6e 67 20 74 |ent time using t| 00002ae0 68 65 20 66 6f 72 6d 61 74 20 69 6e 20 74 68 65 |he format in the| 00002af0 20 6b 65 79 73 20 66 69 6c 65 20 28 76 61 72 20 | keys file (var | 00002b00 26 33 30 31 29 2e 0a 0a 4a 4f 49 4e 4c 49 4e 45 |&301)...JOINLINE| 00002b10 0a 43 61 6c 6c 20 74 68 65 20 65 78 74 65 6e 73 |.Call the extens| 00002b20 69 6f 6e 20 6d 6f 64 65 20 65 6e 74 72 79 20 70 |ion mode entry p| 00002b30 6f 69 6e 74 20 65 5f 6a 6f 69 6e 6c 69 6e 65 20 |oint e_joinline | 00002b40 74 6f 20 6a 6f 69 6e 20 6c 69 6e 65 20 66 6f 6c |to join line fol| 00002b50 6c 6f 77 69 6e 67 20 74 68 65 0a 63 75 72 72 65 |lowing the.curre| 00002b60 6e 74 20 6c 69 6e 65 20 74 6f 20 74 68 65 20 65 |nt line to the e| 00002b70 6e 64 20 6f 66 20 74 68 65 20 63 75 72 72 65 6e |nd of the curren| 00002b80 74 20 6c 69 6e 65 2e 0a 0a 4b 45 45 50 52 45 47 |t line...KEEPREG| 00002b90 49 4f 4e 0a 43 6f 70 69 65 73 20 74 68 65 20 73 |ION.Copies the s| 00002ba0 65 6c 65 63 74 65 64 20 72 65 67 69 6f 6e 20 74 |elected region t| 00002bb0 6f 20 74 68 65 20 79 61 6e 6b 20 62 75 66 66 65 |o the yank buffe| 00002bc0 72 20 28 45 6d 61 63 73 20 6b 69 6c 6c 20 72 69 |r (Emacs kill ri| 00002bd0 6e 67 29 20 61 6e 64 20 74 68 65 6e 0a 63 6c 65 |ng) and then.cle| 00002be0 61 72 73 20 74 68 65 20 73 65 6c 65 63 74 69 6f |ars the selectio| 00002bf0 6e 2e 20 54 68 69 73 20 69 73 20 74 68 65 20 65 |n. This is the e| 00002c00 71 75 69 76 61 6c 65 6e 74 20 6f 66 20 45 6d 61 |quivalent of Ema| 00002c10 63 73 20 4d 65 74 61 2d 57 2e 0a 0a 4b 45 59 4d |cs Meta-W...KEYM| 00002c20 41 50 20 3c 77 6f 72 64 3e 0a 43 68 61 6e 67 65 |AP <word>.Change| 00002c30 20 74 68 65 20 6b 65 79 6d 61 70 20 6e 75 6d 62 | the keymap numb| 00002c40 65 72 20 42 55 54 20 6f 6e 6c 79 20 66 6f 72 20 |er BUT only for | 00002c50 74 68 65 20 6e 65 78 74 20 6b 65 79 20 70 72 65 |the next key pre| 00002c60 73 73 2e 20 54 68 65 20 6b 65 79 6d 61 70 0a 6e |ss. The keymap.n| 00002c70 75 6d 62 65 72 20 77 69 6c 6c 20 74 68 65 6e 20 |umber will then | 00002c80 72 65 76 65 72 74 20 74 6f 20 77 68 61 74 65 76 |revert to whatev| 00002c90 65 72 20 74 68 65 20 42 41 53 45 4d 41 50 20 6e |er the BASEMAP n| 00002ca0 75 6d 62 65 72 20 68 61 73 20 62 65 65 6e 20 73 |umber has been s| 00002cb0 65 74 20 74 6f 0a 28 75 6e 6c 65 73 73 20 74 68 |et to.(unless th| 00002cc0 65 20 6e 65 78 74 20 6b 65 79 20 63 6f 6d 6d 61 |e next key comma| 00002cd0 6e 64 20 69 73 20 61 6c 73 6f 20 61 20 4b 45 59 |nd is also a KEY| 00002ce0 4d 41 50 21 29 20 55 73 69 6e 67 20 74 68 69 73 |MAP!) Using this| 00002cf0 20 63 6f 6d 6d 61 6e 64 20 79 6f 75 20 63 61 6e | command you can| 00002d00 0a 63 61 75 73 65 20 61 20 73 74 72 69 6e 67 20 |.cause a string | 00002d10 6f 66 20 6b 65 79 73 20 74 6f 20 65 78 65 63 75 |of keys to execu| 00002d20 74 65 20 61 20 63 6f 6d 6d 61 6e 64 2e 0a 0a 4c |te a command...L| 00002d30 41 53 54 4d 41 52 4b 0a 4a 75 6d 70 20 74 6f 20 |ASTMARK.Jump to | 00002d40 74 68 65 20 70 72 65 76 69 6f 75 73 20 6d 61 72 |the previous mar| 00002d50 6b 20 69 6e 20 74 68 65 20 6d 61 72 6b 65 74 20 |k in the market | 00002d60 62 75 66 66 65 72 2e 0a 0a 4c 41 53 54 4d 41 54 |buffer...LASTMAT| 00002d70 43 48 0a 4d 6f 76 65 20 74 6f 20 74 68 65 20 70 |CH.Move to the p| 00002d80 72 65 76 69 6f 75 73 20 6d 61 74 63 68 20 61 66 |revious match af| 00002d90 74 65 72 20 75 73 69 6e 67 20 74 68 65 20 53 65 |ter using the Se| 00002da0 61 72 63 68 20 77 69 6e 64 6f 77 2e 0a 0a 4c 41 |arch window...LA| 00002db0 53 54 53 45 43 54 4f 52 0a 4d 6f 76 65 20 74 6f |STSECTOR.Move to| 00002dc0 20 74 68 65 20 6c 61 73 74 20 73 65 63 74 6f 72 | the last sector| 00002dd0 20 6f 6e 20 61 6e 20 28 75 6e 61 6c 74 65 72 65 | on an (unaltere| 00002de0 64 29 20 66 69 6c 65 20 72 65 61 64 20 66 72 6f |d) file read fro| 00002df0 6d 20 64 69 73 63 2e 0a 0a 4c 41 53 54 54 52 41 |m disc...LASTTRA| 00002e00 43 4b 0a 4d 6f 76 65 20 74 6f 20 74 68 65 20 6c |CK.Move to the l| 00002e10 61 73 74 20 74 72 61 63 6b 20 6f 6e 20 61 20 66 |ast track on a f| 00002e20 69 6c 65 20 72 65 61 64 20 66 72 6f 6d 20 64 69 |ile read from di| 00002e30 73 63 2e 0a 0a 4c 45 41 52 4e 0a 53 74 61 72 74 |sc...LEARN.Start| 00002e40 2f 73 74 6f 70 20 6c 65 61 72 6e 20 6b 65 79 20 |/stop learn key | 00002e50 73 65 71 75 65 6e 63 65 2e 20 53 75 62 73 65 71 |sequence. Subseq| 00002e60 75 65 6e 74 20 63 68 61 72 61 63 74 65 72 73 20 |uent characters | 00002e70 77 69 6c 6c 20 62 65 20 6c 65 61 72 6e 74 20 70 |will be learnt p| 00002e80 72 6f 64 75 63 69 6e 67 0a 61 20 62 65 65 70 20 |roducing.a beep | 00002e90 65 61 63 68 20 74 69 6d 65 20 74 6f 20 72 65 6d |each time to rem| 00002ea0 69 6e 64 20 74 68 65 20 75 73 65 72 2e 20 45 78 |ind the user. Ex| 00002eb0 65 63 75 74 65 20 4c 45 41 52 4e 20 61 67 61 69 |ecute LEARN agai| 00002ec0 6e 20 74 6f 20 73 74 6f 70 20 74 68 65 0a 73 65 |n to stop the.se| 00002ed0 71 75 65 6e 63 65 2e 20 4e 6f 74 65 20 74 68 61 |quence. Note tha| 00002ee0 74 20 61 6c 6c 20 63 6f 6d 6d 61 6e 64 20 70 61 |t all command pa| 00002ef0 73 73 65 64 20 74 6f 20 5a 61 70 5f 50 72 6f 63 |ssed to Zap_Proc| 00002f00 65 73 73 43 6f 6d 6d 61 6e 64 20 77 69 74 68 20 |essCommand with | 00002f10 52 32 3d 30 20 6f 72 0a 52 32 3d 31 20 77 69 6c |R2=0 or.R2=1 wil| 00002f20 6c 20 62 65 20 6c 65 61 72 6e 74 2e 20 49 66 20 |l be learnt. If | 00002f30 52 32 3e 31 20 74 68 65 6e 20 74 68 65 20 63 6f |R2>1 then the co| 00002f40 6d 6d 61 6e 64 20 77 69 6c 6c 20 6e 6f 74 20 62 |mmand will not b| 00002f50 65 20 6c 65 61 72 6e 74 2e 0a 0a 4c 45 46 54 0a |e learnt...LEFT.| 00002f60 4d 6f 76 65 20 63 75 72 73 6f 72 20 6c 65 66 74 |Move cursor left| 00002f70 20 62 79 20 63 61 6c 6c 69 6e 67 20 6d 6f 64 65 | by calling mode| 00002f80 20 65 6e 74 72 79 20 70 6f 69 6e 74 20 65 5f 6d | entry point e_m| 00002f90 69 6e 75 73 2e 0a 0a 4c 49 4e 45 45 44 49 54 0a |inus...LINEEDIT.| 00002fa0 54 6f 67 67 6c 65 73 20 6c 69 6e 65 20 65 64 69 |Toggles line edi| 00002fb0 74 20 6d 6f 64 65 20 6f 6e 20 61 6e 64 20 6f 66 |t mode on and of| 00002fc0 66 20 28 62 31 34 20 6f 66 20 77 5f 66 6c 61 67 |f (b14 of w_flag| 00002fd0 73 29 0a 0a 4c 49 4e 45 57 52 41 50 0a 54 6f 67 |s)..LINEWRAP.Tog| 00002fe0 67 6c 65 73 20 6c 69 6e 65 20 77 72 61 70 20 6d |gles line wrap m| 00002ff0 6f 64 65 20 6f 6e 20 61 6e 64 20 6f 66 66 20 75 |ode on and off u| 00003000 73 69 6e 67 20 62 32 36 20 6f 66 20 77 5f 66 6c |sing b26 of w_fl| 00003010 61 67 73 2e 0a 0a 4c 49 53 54 46 4e 53 0a 4c 69 |ags...LISTFNS.Li| 00003020 73 74 73 20 66 75 6e 63 74 69 6f 6e 20 64 65 66 |sts function def| 00003030 69 6e 69 74 69 6f 6e 73 20 66 6f 72 20 74 68 65 |initions for the| 00003040 20 67 69 76 65 6e 20 6d 6f 64 65 2e 20 28 76 69 | given mode. (vi| 00003050 61 20 65 5f 6c 69 73 74 66 6e 73 29 2e 0a 0a 4c |a e_listfns)...L| 00003060 4f 47 49 43 41 4c 0a 53 65 74 20 6c 6f 67 69 63 |OGICAL.Set logic| 00003070 61 6c 20 6c 69 6e 65 20 6e 75 6d 62 65 72 73 20 |al line numbers | 00003080 62 79 20 63 68 61 6e 67 69 6e 67 20 62 38 2d 62 |by changing b8-b| 00003090 39 2c 62 31 31 20 6f 66 20 77 5f 66 6f 72 6d 61 |9,b11 of w_forma| 000030a0 74 2e 0a 0a 4d 41 4b 45 44 45 46 41 55 4c 54 0a |t...MAKEDEFAULT.| 000030b0 54 68 69 73 20 73 61 76 65 73 20 74 68 65 20 77 |This saves the w| 000030c0 69 6e 64 6f 77 73 20 6f 70 74 69 6f 6e 73 20 61 |indows options a| 000030d0 73 20 74 68 65 20 63 75 72 72 65 6e 74 20 64 65 |s the current de| 000030e0 66 61 75 6c 74 20 6f 70 74 69 6f 6e 73 2e 20 48 |fault options. H| 000030f0 65 6e 63 65 20 69 66 20 79 6f 75 0a 64 6f 20 61 |ence if you.do a| 00003100 20 27 73 61 76 65 20 6f 70 74 69 6f 6e 73 27 20 | 'save options' | 00003110 61 66 74 65 72 20 74 68 69 73 2c 20 74 68 65 6e |after this, then| 00003120 20 74 68 65 20 77 69 6e 64 6f 77 73 20 6f 70 74 | the windows opt| 00003130 69 6f 6e 73 20 77 69 6c 6c 20 62 65 63 6f 6d 65 |ions will become| 00003140 20 74 68 65 0a 63 6f 6e 66 69 67 75 72 65 64 20 | the.configured | 00003150 6f 70 74 69 6f 6e 73 2e 0a 0a 4d 49 4e 49 4d 49 |options...MINIMI| 00003160 53 45 4d 45 4d 4f 52 59 0a 43 6f 6e 74 61 63 74 |SEMEMORY.Contact| 00003170 73 20 68 65 61 70 20 62 79 20 61 73 20 6d 75 63 |s heap by as muc| 00003180 68 20 61 73 20 70 6f 73 73 69 62 6c 65 2e 20 49 |h as possible. I| 00003190 27 6d 20 61 66 72 61 69 64 20 69 74 27 73 20 61 |'m afraid it's a| 000031a0 6e 20 41 63 6f 72 6e 20 4f 53 5f 48 65 61 70 20 |n Acorn OS_Heap | 000031b0 74 79 70 65 0a 68 65 61 70 20 73 6f 20 74 68 69 |type.heap so thi| 000031c0 73 20 77 6f 6e 27 74 20 75 73 75 61 6c 6c 79 20 |s won't usually | 000031d0 64 6f 20 6d 75 63 68 2e 0a 0a 4d 4f 44 45 20 3c |do much...MODE <| 000031e0 62 79 74 65 3e 0a 43 68 61 6e 67 65 20 74 68 65 |byte>.Change the| 000031f0 20 63 75 72 72 65 6e 74 20 64 69 73 70 6c 61 79 | current display| 00003200 20 6d 6f 64 65 20 74 6f 20 74 68 65 20 67 69 76 | mode to the giv| 00003210 65 6e 20 6e 75 6d 62 65 72 2e 20 0a 0a 4d 4f 44 |en number. ..MOD| 00003220 45 30 2d 4d 4f 44 45 31 35 0a 53 65 74 20 74 68 |E0-MODE15.Set th| 00003230 65 20 63 75 72 72 65 6e 74 20 6d 6f 64 65 20 66 |e current mode f| 00003240 6f 72 20 74 68 65 20 67 69 76 65 6e 20 77 69 6e |or the given win| 00003250 64 6f 77 2e 20 54 68 69 73 20 61 6c 73 6f 20 72 |dow. This also r| 00003260 65 73 74 6f 72 65 73 20 74 68 65 20 6c 69 6e 65 |estores the line| 00003270 20 6e 75 6d 62 65 72 0a 73 74 61 74 75 73 20 6c | number.status l| 00003280 61 73 74 20 75 73 65 64 20 62 79 20 74 68 61 74 |ast used by that| 00003290 20 6d 6f 64 65 2e 20 54 68 65 73 65 20 63 6f 6d | mode. These com| 000032a0 6d 61 6e 64 73 20 61 72 65 20 6e 65 65 64 65 64 |mands are needed| 000032b0 20 69 6e 20 61 64 64 69 74 69 6f 6e 20 74 6f 20 | in addition to | 000032c0 74 68 65 0a 4d 4f 44 45 20 63 6f 6d 6d 61 6e 64 |the.MODE command| 000032d0 20 61 73 20 63 6f 6d 6d 61 6e 64 73 20 61 73 73 | as commands ass| 000032e0 69 67 6e 65 64 20 74 6f 20 6d 65 6e 75 20 65 6e |igned to menu en| 000032f0 74 72 69 65 73 20 63 61 6e 6e 6f 74 20 74 61 6b |tries cannot tak| 00003300 65 20 70 61 72 61 6d 65 74 65 72 73 2e 0a 0a 4d |e parameters...M| 00003310 4f 56 45 53 45 4c 0a 4d 6f 76 65 20 74 68 65 20 |OVESEL.Move the | 00003320 73 65 6c 65 63 74 65 64 20 61 72 65 61 20 74 6f |selected area to| 00003330 20 63 75 72 72 65 6e 74 20 63 75 72 73 6f 72 20 | current cursor | 00003340 6f 66 66 73 65 74 2e 0a 0a 4d 55 4c 54 49 43 4f |offset...MULTICO| 00003350 4d 4d 41 4e 44 20 3c 64 61 74 61 3e 0a 54 68 69 |MMAND <data>.Thi| 00003360 73 20 63 6f 6d 6d 61 6e 64 20 63 61 6e 6e 6f 74 |s command cannot| 00003370 20 62 65 20 74 79 70 65 64 20 69 6e 74 6f 20 74 | be typed into t| 00003380 68 65 20 6b 65 79 73 20 66 69 6c 65 20 61 73 20 |he keys file as | 00003390 69 74 20 74 61 6b 65 73 20 61 20 64 61 74 61 20 |it takes a data | 000033a0 62 6c 6f 63 6b 20 61 73 0a 70 61 72 61 6d 65 74 |block as.paramet| 000033b0 65 72 2e 20 49 74 20 69 73 20 75 73 65 64 20 69 |er. It is used i| 000033c0 6e 74 65 72 6e 61 6c 6c 79 20 74 6f 20 65 78 65 |nternally to exe| 000033d0 63 75 74 65 20 61 20 6c 69 73 74 20 6f 66 20 63 |cute a list of c| 000033e0 6f 6d 6d 61 6e 64 20 28 65 67 20 61 20 6c 65 61 |ommand (eg a lea| 000033f0 72 6e 74 0a 73 65 71 75 65 6e 63 65 29 2e 20 54 |rnt.sequence). T| 00003400 68 65 20 64 61 74 61 20 62 6c 6f 63 6b 20 69 73 |he data block is| 00003410 20 61 20 2d 31 20 74 65 72 6d 69 6e 61 74 65 64 | a -1 terminated| 00003420 20 6c 69 73 74 20 6f 66 20 65 6e 74 72 69 65 73 | list of entries| 00003430 20 6f 66 20 74 68 65 20 66 6f 72 6d 0a 67 69 76 | of the form.giv| 00003440 65 6e 20 62 65 6c 6f 77 2e 20 4e 6f 74 65 20 74 |en below. Note t| 00003450 68 61 74 20 61 6c 6c 20 74 68 65 20 64 61 74 61 |hat all the data| 00003460 20 66 6f 72 20 74 68 65 20 63 6f 6d 6d 61 6e 64 | for the command| 00003470 73 20 74 6f 20 62 65 20 65 78 65 63 75 74 65 64 |s to be executed| 00003480 20 69 73 20 73 74 6f 72 65 64 0a 77 69 74 68 69 | is stored.withi| 00003490 6e 20 74 68 65 20 64 61 74 61 20 62 6c 6f 63 6b |n the data block| 000034a0 20 65 78 63 65 70 74 20 66 6f 72 20 64 61 74 61 | except for data| 000034b0 20 74 79 70 65 20 34 20 28 6f 74 68 65 72 20 6d | type 4 (other m| 000034c0 75 6c 74 69 63 6f 6d 6d 61 6e 64 73 29 2e 0a 09 |ulticommands)...| 000034d0 23 30 20 43 6f 6d 6d 61 6e 64 20 61 64 64 72 65 |#0 Command addre| 000034e0 73 73 0a 09 23 34 20 44 61 74 61 20 6c 65 6e 67 |ss..#4 Data leng| 000034f0 74 68 2f 6e 75 6d 62 65 72 20 6f 66 20 74 69 6d |th/number of tim| 00003500 65 73 20 28 52 31 20 6f 6e 20 63 6f 6d 6d 61 6e |es (R1 on comman| 00003510 64 20 65 6e 74 72 79 29 0a 09 23 38 20 43 6f 6d |d entry)..#8 Com| 00003520 6d 61 6e 64 20 64 61 74 61 2e 20 44 65 70 65 6e |mand data. Depen| 00003530 64 73 20 6f 6e 20 74 68 65 20 74 79 70 65 20 6f |ds on the type o| 00003540 66 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 28 73 |f the command (s| 00003550 65 65 20 45 2d 63 6f 6d 6d 61 6e 64 29 3a 0a 09 |ee E-command):..| 00003560 09 30 20 4e 6f 20 64 61 74 61 0a 09 09 31 20 4c |.0 No data...1 L| 00003570 69 73 74 20 6f 66 20 23 34 20 62 79 74 65 73 20 |ist of #4 bytes | 00003580 74 68 65 6e 20 61 6c 69 67 6e 0a 09 09 32 20 4c |then align...2 L| 00003590 69 73 74 20 6f 66 20 23 34 20 77 6f 72 64 73 0a |ist of #4 words.| 000035a0 09 09 33 20 30 20 74 65 72 6d 69 6e 61 74 65 64 |..3 0 terminated| 000035b0 20 73 74 72 69 6e 67 20 74 68 65 6e 20 61 6c 69 | string then ali| 000035c0 67 6e 0a 09 09 34 20 50 6f 69 6e 74 65 72 20 74 |gn...4 Pointer t| 000035d0 6f 20 74 68 65 20 64 61 74 61 20 62 6c 6f 63 6b |o the data block| 000035e0 20 0a 0a 4e 45 57 56 49 45 57 0a 4f 70 65 6e 20 | ..NEWVIEW.Open | 000035f0 61 20 6e 65 77 20 77 69 6e 64 6f 77 20 6f 6e 20 |a new window on | 00003600 74 68 69 73 20 66 69 6c 65 20 28 63 6f 70 79 69 |this file (copyi| 00003610 6e 67 20 74 68 65 20 6f 6c 64 20 77 69 6e 64 6f |ng the old windo| 00003620 77 20 6d 6f 64 65 20 61 6e 64 20 66 6f 72 6d 61 |w mode and forma| 00003630 74 29 2e 0a 0a 4e 45 58 54 4d 41 52 4b 0a 4a 75 |t)...NEXTMARK.Ju| 00003640 6d 70 20 74 6f 20 6e 65 78 74 20 6d 61 72 6b 20 |mp to next mark | 00003650 69 6e 20 74 68 65 20 6d 61 72 6b 65 72 20 62 75 |in the marker bu| 00003660 66 66 65 72 2e 0a 0a 4e 45 58 54 4d 41 54 43 48 |ffer...NEXTMATCH| 00003670 0a 4d 6f 76 65 20 74 6f 20 74 68 65 20 6e 65 78 |.Move to the nex| 00003680 74 20 6d 61 74 63 68 20 61 66 74 65 72 20 75 73 |t match after us| 00003690 69 6e 67 20 74 68 65 20 53 65 61 72 63 68 20 42 |ing the Search B| 000036a0 6f 78 2e 0a 0a 4e 45 58 54 53 45 43 54 4f 52 0a |ox...NEXTSECTOR.| 000036b0 4d 6f 76 65 20 74 6f 20 74 68 65 20 6e 65 78 74 |Move to the next| 000036c0 20 73 65 63 74 6f 72 20 6f 6e 20 61 20 66 69 6c | sector on a fil| 000036d0 65 20 72 65 61 64 20 66 72 6f 6d 20 64 69 73 63 |e read from disc| 000036e0 2e 0a 0a 4e 45 58 54 54 52 41 43 4b 0a 4d 6f 76 |...NEXTTRACK.Mov| 000036f0 65 20 74 6f 20 74 68 65 20 6e 65 78 74 20 74 72 |e to the next tr| 00003700 61 63 6b 20 6f 6e 20 61 20 66 69 6c 65 20 72 65 |ack on a file re| 00003710 61 64 20 66 72 6f 6d 20 64 69 73 63 2e 0a 0a 4e |ad from disc...N| 00003720 4f 4c 49 4e 45 4e 4f 53 0a 53 77 69 74 63 68 20 |OLINENOS.Switch | 00003730 6f 66 66 20 6c 69 6e 65 20 6e 75 6d 62 65 72 73 |off line numbers| 00003740 20 62 79 20 63 6c 65 61 72 69 6e 67 20 62 38 20 | by clearing b8 | 00003750 6f 66 20 77 5f 66 6f 72 6d 61 74 2e 0a 0a 4e 4f |of w_format...NO| 00003760 4e 53 54 41 4e 44 41 52 44 0a 54 6f 67 67 6c 65 |NSTANDARD.Toggle| 00003770 73 20 6e 6f 6e 20 73 74 61 6e 64 61 72 64 20 65 |s non standard e| 00003780 64 69 74 69 6e 67 20 6f 6e 20 61 6e 64 20 6f 66 |diting on and of| 00003790 66 20 28 62 31 35 20 6f 66 20 77 5f 66 6c 61 67 |f (b15 of w_flag| 000037a0 73 29 2e 0a 0a 4e 55 4c 4c 0a 44 6f 20 6e 6f 74 |s)...NULL.Do not| 000037b0 68 69 6e 67 2c 20 62 75 74 20 70 72 65 76 65 6e |hing, but preven| 000037c0 74 73 20 6b 65 79 20 66 72 6f 6d 20 62 65 69 6e |ts key from bein| 000037d0 67 20 70 61 73 73 65 64 20 6f 6e 20 76 69 61 20 |g passed on via | 000037e0 57 69 6d 70 5f 50 72 6f 63 65 73 73 4b 65 79 2e |Wimp_ProcessKey.| 000037f0 0a 0a 4f 50 45 4e 50 52 49 4e 54 45 52 0a 4f 70 |..OPENPRINTER.Op| 00003800 65 6e 20 61 20 66 69 6c 65 72 20 77 69 6e 64 6f |en a filer windo| 00003810 77 20 6f 6e 20 70 72 69 6e 74 65 72 3a 24 20 76 |w on printer:$ v| 00003820 69 61 20 2a 46 69 6c 65 72 5f 4f 70 65 6e 44 69 |ia *Filer_OpenDi| 00003830 72 2e 0a 0a 4f 55 54 44 45 4e 54 0a 4f 75 74 64 |r...OUTDENT.Outd| 00003840 65 6e 74 73 20 74 68 65 20 73 65 6c 65 63 74 65 |ents the selecte| 00003850 64 20 72 65 67 69 6f 6e 20 28 62 79 20 74 68 65 |d region (by the| 00003860 20 6c 65 6e 67 74 68 20 6f 66 20 74 68 65 20 63 | length of the c| 00003870 75 72 72 65 6e 74 20 69 6e 64 65 6e 74 20 73 74 |urrent indent st| 00003880 72 69 6e 67 29 2e 0a 0a 50 41 53 54 45 0a 50 61 |ring)...PASTE.Pa| 00003890 73 74 65 73 20 74 68 65 20 6c 61 73 74 20 63 75 |stes the last cu| 000038a0 74 20 72 65 67 69 6f 6e 20 72 65 70 65 61 74 65 |t region repeate| 000038b0 64 6c 79 2e 20 55 73 65 20 59 41 4e 4b 20 74 6f |dly. Use YANK to| 000038c0 20 63 79 63 6c 65 20 74 68 72 6f 75 67 68 20 70 | cycle through p| 000038d0 72 65 76 69 6f 75 73 6c 79 0a 64 65 6c 65 74 65 |reviously.delete| 000038e0 64 20 72 65 67 69 6f 6e 73 2e 0a 0a 50 48 59 53 |d regions...PHYS| 000038f0 49 43 41 4c 0a 53 77 69 74 63 68 20 6f 6e 20 70 |ICAL.Switch on p| 00003900 68 79 73 69 63 61 6c 20 6c 69 6e 65 20 6e 75 6d |hysical line num| 00003910 62 65 72 73 20 62 79 20 63 68 61 6e 67 69 6e 67 |bers by changing| 00003920 20 62 38 2d 62 39 2c 62 31 31 20 6f 66 20 77 5f | b8-b9,b11 of w_| 00003930 66 6f 72 6d 61 74 2e 0a 0a 50 52 49 4e 54 46 49 |format...PRINTFI| 00003940 4c 45 0a 4f 70 65 6e 20 74 68 65 20 66 61 6e 63 |LE.Open the fanc| 00003950 79 20 70 72 69 6e 74 20 77 69 6e 64 6f 77 2e 0a |y print window..| 00003960 0a 51 55 49 43 4b 50 52 49 4e 54 0a 4f 70 65 6e |.QUICKPRINT.Open| 00003970 20 74 68 65 20 71 75 69 63 6b 20 70 72 69 6e 74 | the quick print| 00003980 20 77 69 6e 64 6f 77 2e 0a 0a 51 55 49 43 4b 53 | window...QUICKS| 00003990 41 56 45 0a 53 61 76 65 20 74 68 65 20 66 69 6c |AVE.Save the fil| 000039a0 65 20 64 69 72 65 63 74 6c 79 20 74 6f 20 64 69 |e directly to di| 000039b0 73 63 20 77 69 74 68 20 6e 6f 20 70 72 6f 6d 70 |sc with no promp| 000039c0 74 2e 0a 0a 51 55 49 54 0a 4b 69 6c 6c 20 5a 61 |t...QUIT.Kill Za| 000039d0 70 2e 0a 0a 51 55 4f 54 45 0a 43 61 75 73 65 73 |p...QUOTE.Causes| 000039e0 20 74 68 65 20 6e 65 78 74 20 6b 65 79 20 77 68 | the next key wh| 000039f0 69 63 68 20 69 73 20 74 79 70 65 64 20 74 6f 20 |ich is typed to | 00003a00 62 65 20 73 65 6e 74 20 74 6f 20 74 68 65 20 43 |be sent to the C| 00003a10 48 41 52 20 63 6f 6d 6d 61 6e 64 2e 20 48 65 6e |HAR command. Hen| 00003a20 63 65 20 74 68 65 0a 6e 65 78 74 20 6b 65 79 20 |ce the.next key | 00003a30 69 73 20 69 6e 73 65 72 74 65 64 20 69 6e 74 6f |is inserted into| 00003a40 20 74 68 65 20 66 69 6c 65 2c 20 69 6e 73 74 65 | the file, inste| 00003a50 61 64 20 6f 66 20 68 61 76 69 6e 67 20 74 68 65 |ad of having the| 00003a60 20 63 6f 6d 6d 61 6e 64 20 61 73 73 6f 63 69 61 | command associa| 00003a70 74 65 64 0a 74 6f 20 74 68 61 74 20 6b 65 79 20 |ted.to that key | 00003a80 65 78 65 63 75 74 65 64 2e 0a 0a 52 45 41 44 4f |executed...READO| 00003a90 4e 4c 59 0a 54 6f 67 67 6c 65 20 74 68 65 20 72 |NLY.Toggle the r| 00003aa0 65 61 64 20 6f 6e 6c 79 20 73 74 61 74 65 20 6f |ead only state o| 00003ab0 66 20 61 20 66 69 6c 65 20 28 62 38 20 6f 66 20 |f a file (b8 of | 00003ac0 66 5f 66 6c 61 67 73 29 2e 0a 0a 52 45 44 4f 0a |f_flags)...REDO.| 00003ad0 52 65 64 6f 20 74 68 65 20 6c 61 73 74 20 75 6e |Redo the last un| 00003ae0 64 6f 6e 65 20 6f 70 65 72 61 74 69 6f 6e 20 77 |done operation w| 00003af0 68 65 74 68 65 72 20 66 75 6c 6c 20 6f 72 20 66 |hether full or f| 00003b00 61 73 74 2e 0a 0a 52 45 4e 55 4d 42 45 52 0a 54 |ast...RENUMBER.T| 00003b10 68 69 73 20 63 61 6c 6c 73 20 65 5f 72 65 6e 75 |his calls e_renu| 00003b20 6d 62 65 72 20 61 6e 64 20 69 73 20 74 68 75 73 |mber and is thus| 00003b30 20 6d 6f 64 65 20 69 6e 64 65 70 65 6e 64 65 6e | mode independen| 00003b40 74 2e 20 5a 61 70 42 61 73 69 63 20 75 73 65 73 |t. ZapBasic uses| 00003b50 20 69 74 20 74 6f 0a 72 65 6e 75 6d 62 65 72 20 | it to.renumber | 00003b60 61 20 66 69 6c 65 2e 0a 0a 52 45 50 4c 41 43 45 |a file...REPLACE| 00003b70 0a 4f 70 65 6e 20 74 68 65 20 53 65 61 72 63 68 |.Open the Search| 00003b80 20 26 20 52 65 70 6c 61 63 65 20 77 69 6e 64 6f | & Replace windo| 00003b90 77 2e 0a 0a 52 45 54 55 52 4e 0a 43 61 6e 63 65 |w...RETURN.Cance| 00003ba0 6c 20 73 70 6c 69 74 20 63 75 72 73 6f 72 20 63 |l split cursor c| 00003bb0 6f 70 79 69 6e 67 20 61 6e 64 20 74 68 65 6e 20 |opying and then | 00003bc0 63 61 6c 6c 20 65 5f 72 65 74 75 72 6e 20 74 6f |call e_return to| 00003bd0 20 70 65 72 66 6f 72 6d 20 74 68 65 20 72 65 74 | perform the ret| 00003be0 75 72 6e 0a 61 63 74 69 6f 6e 20 66 6f 72 20 74 |urn.action for t| 00003bf0 68 65 20 63 75 72 72 65 6e 74 20 6d 6f 64 65 2e |he current mode.| 00003c00 0a 0a 52 45 54 55 52 4e 4e 4f 49 4e 44 45 4e 54 |..RETURNNOINDENT| 00003c10 0a 54 68 69 73 20 61 63 74 73 20 61 73 20 74 68 |.This acts as th| 00003c20 65 20 72 65 74 75 72 6e 20 66 75 6e 63 74 69 6f |e return functio| 00003c30 6e 20 65 78 63 65 70 74 20 74 68 61 74 20 69 74 |n except that it| 00003c40 20 63 6c 65 61 72 73 20 74 68 65 20 61 75 74 6f | clears the auto| 00003c50 20 69 6e 64 65 6e 74 20 66 6c 61 67 0a 61 63 72 | indent flag.acr| 00003c60 6f 73 73 20 74 68 65 20 63 61 6c 6c 20 74 6f 20 |oss the call to | 00003c70 65 5f 72 65 74 75 72 6e 20 74 68 75 73 20 67 69 |e_return thus gi| 00003c80 76 69 6e 67 20 61 20 73 69 6e 67 6c 65 20 72 65 |ving a single re| 00003c90 74 75 72 6e 20 77 69 74 68 6f 75 74 20 61 75 74 |turn without aut| 00003ca0 6f 20 69 6e 64 65 6e 74 2e 0a 0a 52 49 47 48 54 |o indent...RIGHT| 00003cb0 0a 4d 6f 76 65 20 63 75 72 73 6f 72 20 72 69 67 |.Move cursor rig| 00003cc0 68 74 20 75 73 69 6e 67 20 6d 6f 64 65 20 65 6e |ht using mode en| 00003cd0 74 72 79 20 70 6f 69 6e 74 20 65 5f 70 6c 75 73 |try point e_plus| 00003ce0 2e 0a 0a 52 55 4e 0a 43 61 6c 6c 20 65 5f 72 75 |...RUN.Call e_ru| 00003cf0 6e 20 6d 6f 64 65 20 65 6e 74 72 79 20 70 6f 69 |n mode entry poi| 00003d00 6e 74 2e 20 5a 61 70 42 61 73 69 63 20 75 73 65 |nt. ZapBasic use| 00003d10 73 20 74 68 69 73 20 74 6f 20 52 75 6e 20 61 20 |s this to Run a | 00003d20 66 69 6c 65 20 61 74 20 50 41 47 45 2e 0a 0a 52 |file at PAGE...R| 00003d30 55 4e 41 4e 44 51 55 49 54 0a 43 61 6c 6c 20 65 |UNANDQUIT.Call e| 00003d40 5f 72 75 6e 61 6e 64 71 75 69 74 20 6d 6f 64 65 |_runandquit mode| 00003d50 20 65 6e 74 72 79 20 70 6f 69 6e 74 2e 20 5a 61 | entry point. Za| 00003d60 70 42 61 73 69 63 20 72 75 6e 73 20 74 68 65 20 |pBasic runs the | 00003d70 66 69 6c 65 20 61 74 20 50 41 47 45 20 61 6e 64 |file at PAGE and| 00003d80 20 74 68 65 6e 0a 71 75 69 74 73 2e 0a 0a 53 41 | then.quits...SA| 00003d90 56 45 0a 4f 70 65 6e 20 73 61 76 65 20 62 6f 78 |VE.Open save box| 00003da0 2e 0a 0a 53 41 56 45 53 45 4c 0a 4f 70 65 6e 20 |...SAVESEL.Open | 00003db0 73 61 76 65 20 73 65 6c 65 63 74 69 6f 6e 20 62 |save selection b| 00003dc0 6f 78 2e 0a 0a 53 41 56 45 41 4e 44 52 55 4e 0a |ox...SAVEANDRUN.| 00003dd0 43 61 6c 6c 20 65 5f 73 61 76 65 61 6e 64 72 75 |Call e_saveandru| 00003de0 6e 20 6d 6f 64 65 20 65 6e 74 72 79 20 70 6f 69 |n mode entry poi| 00003df0 6e 74 2e 20 5a 61 70 42 61 73 69 63 20 73 61 76 |nt. ZapBasic sav| 00003e00 65 20 74 68 65 20 66 69 6c 65 2c 20 63 68 61 69 |e the file, chai| 00003e10 6e 73 20 69 74 20 66 72 6f 6d 0a 64 69 73 63 20 |ns it from.disc | 00003e20 61 6e 64 20 74 68 65 6e 20 71 75 69 74 73 2e 0a |and then quits..| 00003e30 0a 53 41 56 45 46 49 4c 45 20 3c 73 74 72 69 6e |.SAVEFILE <strin| 00003e40 67 3e 0a 53 61 76 65 20 74 68 65 20 62 75 66 66 |g>.Save the buff| 00003e50 65 72 20 77 69 74 68 20 66 69 6c 65 6e 61 6d 65 |er with filename| 00003e60 20 3c 73 74 72 69 6e 67 3e 2e 20 54 68 69 73 20 | <string>. This | 00003e70 64 69 66 66 65 72 73 20 66 72 6f 6d 20 57 52 49 |differs from WRI| 00003e80 54 45 46 49 4c 45 20 69 6e 20 74 68 61 74 0a 69 |TEFILE in that.i| 00003e90 66 20 3c 73 74 72 69 6e 67 3e 20 69 73 20 6f 6d |f <string> is om| 00003ea0 69 74 74 65 64 2c 20 74 68 65 6e 20 74 68 65 20 |itted, then the | 00003eb0 66 69 6c 65 20 77 69 6c 6c 20 62 65 20 73 61 76 |file will be sav| 00003ec0 65 64 20 77 69 74 68 20 69 74 73 20 63 75 72 72 |ed with its curr| 00003ed0 65 6e 74 20 6e 61 6d 65 2c 20 69 66 0a 74 68 69 |ent name, if.thi| 00003ee0 73 20 69 73 20 61 20 66 75 6c 6c 20 70 61 74 68 |s is a full path| 00003ef0 20 6e 61 6d 65 2c 20 61 6e 64 20 74 68 65 20 6d | name, and the m| 00003f00 69 6e 69 62 75 66 66 65 72 20 77 69 6c 6c 20 6e |inibuffer will n| 00003f10 6f 74 20 62 65 20 6f 70 65 6e 65 64 2e 0a 0a 53 |ot be opened...S| 00003f20 43 44 4f 57 4e 0a 4d 6f 76 65 20 64 6f 77 6e 20 |CDOWN.Move down | 00003f30 64 69 73 70 6c 61 79 20 6f 6e 65 20 6c 69 6e 65 |display one line| 00003f40 20 28 77 69 74 68 6f 75 74 20 6d 6f 76 69 6e 67 | (without moving| 00003f50 20 63 75 72 73 6f 72 29 2e 0a 0a 53 43 4c 45 46 | cursor)...SCLEF| 00003f60 54 0a 4d 6f 76 65 20 74 6f 20 6c 65 66 74 20 6f |T.Move to left o| 00003f70 66 20 64 69 73 70 6c 61 79 20 6f 6e 65 20 63 68 |f display one ch| 00003f80 61 72 61 63 74 65 72 20 28 77 69 74 68 6f 75 74 |aracter (without| 00003f90 20 6d 6f 76 69 6e 67 20 63 75 72 73 6f 72 29 2e | moving cursor).| 00003fa0 0a 0a 53 43 52 49 47 48 54 0a 4d 6f 76 65 20 74 |..SCRIGHT.Move t| 00003fb0 6f 20 72 69 67 68 74 20 6f 66 20 64 69 73 70 6c |o right of displ| 00003fc0 61 79 20 6f 6e 65 20 63 68 61 72 61 63 74 65 72 |ay one character| 00003fd0 20 28 77 69 74 68 6f 75 74 20 6d 6f 76 69 6e 67 | (without moving| 00003fe0 20 63 75 72 73 6f 72 29 2e 0a 0a 53 43 55 50 0a | cursor)...SCUP.| 00003ff0 4d 6f 76 65 20 75 70 20 64 69 73 70 6c 61 79 20 |Move up display | 00004000 6f 6e 65 20 6c 69 6e 65 20 28 77 69 74 68 6f 75 |one line (withou| 00004010 74 20 6d 6f 76 69 6e 67 20 63 75 72 73 6f 72 29 |t moving cursor)| 00004020 2e 0a 0a 53 44 4f 57 4e 0a 4d 6f 76 65 20 64 6f |...SDOWN.Move do| 00004030 77 6e 20 61 20 70 61 67 65 2e 0a 0a 53 45 41 52 |wn a page...SEAR| 00004040 43 48 42 41 43 4b 20 3c 73 74 72 69 6e 67 3e 0a |CHBACK <string>.| 00004050 53 65 61 72 63 68 65 73 20 62 61 63 6b 77 61 72 |Searches backwar| 00004060 64 73 20 66 6f 72 20 73 74 72 69 6e 67 20 61 6e |ds for string an| 00004070 64 20 74 68 65 6e 20 70 6c 61 63 65 73 20 74 68 |d then places th| 00004080 65 20 63 75 72 73 6f 72 20 61 74 20 74 68 65 6e |e cursor at then| 00004090 20 65 6e 64 20 6f 66 20 74 68 65 0a 6d 61 74 63 | end of the.matc| 000040a0 68 20 28 69 66 20 66 6f 75 6e 64 29 2e 0a 0a 53 |h (if found)...S| 000040b0 45 41 52 43 48 42 55 46 0a 4f 70 65 6e 20 53 65 |EARCHBUF.Open Se| 000040c0 61 72 63 68 20 77 69 6e 64 6f 77 20 77 69 74 68 |arch window with| 000040d0 20 6f 75 74 70 75 74 20 74 6f 20 62 75 66 66 65 | output to buffe| 000040e0 72 20 6f 70 74 69 6f 6e 20 73 65 74 2e 0a 0a 53 |r option set...S| 000040f0 45 41 52 43 48 43 55 52 0a 4f 70 65 6e 20 53 65 |EARCHCUR.Open Se| 00004100 61 72 63 68 20 77 69 6e 64 6f 77 20 77 69 74 68 |arch window with| 00004110 20 6f 75 74 70 75 74 20 74 6f 20 63 75 72 73 6f | output to curso| 00004120 72 20 6f 70 74 69 6f 6e 20 73 65 74 2e 0a 0a 53 |r option set...S| 00004130 45 41 52 43 48 46 4f 52 57 41 52 44 20 3c 73 74 |EARCHFORWARD <st| 00004140 72 69 6e 67 3e 0a 53 65 61 72 63 68 65 73 20 66 |ring>.Searches f| 00004150 6f 72 77 61 72 64 73 20 66 6f 72 20 73 74 72 69 |orwards for stri| 00004160 6e 67 20 61 6e 64 20 74 68 65 6e 20 70 6c 61 63 |ng and then plac| 00004170 65 73 20 74 68 65 20 63 75 72 73 6f 72 20 61 74 |es the cursor at| 00004180 20 74 68 65 6e 20 65 6e 64 20 6f 66 20 74 68 65 | then end of the| 00004190 0a 6d 61 74 63 68 20 28 69 66 20 66 6f 75 6e 64 |.match (if found| 000041a0 29 2e 0a 0a 53 45 4c 45 43 54 42 55 46 46 45 52 |)...SELECTBUFFER| 000041b0 0a 53 65 6c 65 63 74 20 65 6e 74 69 72 65 20 62 |.Select entire b| 000041c0 75 66 66 65 72 2e 0a 0a 53 45 4c 52 45 47 49 4f |uffer...SELREGIO| 000041d0 4e 0a 53 74 61 72 74 20 73 65 6c 65 63 74 69 6f |N.Start selectio| 000041e0 6e 20 6f 66 20 72 65 67 69 6f 6e 20 62 79 20 63 |n of region by c| 000041f0 75 72 73 6f 72 20 6d 6f 76 65 6d 65 6e 74 2e 20 |ursor movement. | 00004200 54 68 69 73 20 73 65 74 73 20 74 68 65 20 63 75 |This sets the cu| 00004210 72 73 6f 72 20 6d 6f 64 65 20 74 6f 20 34 2e 0a |rsor mode to 4..| 00004220 0a 53 45 54 57 49 44 54 48 20 3c 73 74 72 69 6e |.SETWIDTH <strin| 00004230 67 3e 0a 54 68 69 73 20 65 76 61 6c 75 61 74 65 |g>.This evaluate| 00004240 73 20 3c 73 74 72 69 6e 67 3e 20 74 6f 20 61 20 |s <string> to a | 00004250 6e 75 6d 62 65 72 20 61 6e 64 20 74 68 65 6e 20 |number and then | 00004260 73 65 74 73 20 74 68 65 20 77 69 64 74 68 20 6f |sets the width o| 00004270 66 20 74 68 65 20 6d 6f 64 65 20 74 6f 0a 74 68 |f the mode to.th| 00004280 69 73 20 6e 75 6d 62 65 72 20 62 79 20 63 61 6c |is number by cal| 00004290 6c 69 6e 67 20 74 68 65 20 6d 6f 64 65 20 65 6e |ling the mode en| 000042a0 74 72 79 20 70 6f 69 6e 74 20 65 5f 73 65 74 77 |try point e_setw| 000042b0 69 64 74 68 2e 0a 0a 53 4c 45 46 54 0a 4d 6f 76 |idth...SLEFT.Mov| 000042c0 65 20 63 75 72 73 6f 72 20 62 61 63 6b 20 61 20 |e cursor back a | 000042d0 77 6f 72 64 20 62 79 20 63 61 6c 6c 69 6e 67 20 |word by calling | 000042e0 65 5f 73 6d 69 6e 75 73 2e 0a 0a 53 50 4c 49 54 |e_sminus...SPLIT| 000042f0 4c 49 4e 45 0a 53 70 6c 69 74 20 6c 69 6e 65 20 |LINE.Split line | 00004300 61 74 20 63 75 72 72 65 6e 74 20 63 75 72 73 6f |at current curso| 00004310 72 20 70 6f 73 6e 20 62 79 20 63 61 6c 6c 69 6e |r posn by callin| 00004320 67 20 65 5f 73 70 6c 69 74 6c 69 6e 65 2e 0a 0a |g e_splitline...| 00004330 53 52 49 47 48 54 0a 4d 6f 76 65 20 63 75 72 73 |SRIGHT.Move curs| 00004340 6f 72 20 66 6f 72 77 61 72 64 20 61 20 77 6f 72 |or forward a wor| 00004350 64 20 62 79 20 63 61 6c 6c 69 6e 67 20 65 5f 73 |d by calling e_s| 00004360 70 6c 75 73 2e 0a 0a 53 55 50 0a 4d 6f 76 65 20 |plus...SUP.Move | 00004370 75 70 20 61 20 70 61 67 65 2e 0a 0a 53 55 53 50 |up a page...SUSP| 00004380 45 4e 44 0a 42 72 69 6e 67 73 20 75 70 20 74 68 |END.Brings up th| 00004390 65 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 20 28 |e command line (| 000043a0 73 61 6d 65 20 61 73 20 46 31 32 29 2e 0a 0a 53 |same as F12)...S| 000043b0 57 41 50 43 41 53 45 0a 53 77 61 70 20 63 61 73 |WAPCASE.Swap cas| 000043c0 65 20 6f 66 20 6e 65 78 74 20 63 68 61 72 61 63 |e of next charac| 000043d0 74 65 72 2f 73 65 6c 65 63 74 65 64 20 72 65 67 |ter/selected reg| 000043e0 69 6f 6e 20 69 66 20 74 68 65 72 65 20 69 73 20 |ion if there is | 000043f0 6f 6e 65 2e 0a 0a 53 57 41 50 43 48 41 52 53 0a |one...SWAPCHARS.| 00004400 53 77 61 70 20 63 68 61 72 61 63 74 65 72 73 20 |Swap characters | 00004410 65 69 74 68 65 72 20 73 69 64 65 20 6f 66 20 63 |either side of c| 00004420 75 72 73 6f 72 2e 0a 0a 53 57 41 50 57 49 4e 44 |ursor...SWAPWIND| 00004430 4f 57 0a 53 77 61 70 20 77 69 6e 64 6f 77 2e 20 |OW.Swap window. | 00004440 49 66 20 70 6f 73 73 69 62 6c 65 20 69 74 20 73 |If possible it s| 00004450 77 61 70 73 20 74 6f 20 74 68 65 20 6c 61 73 74 |waps to the last| 00004460 20 75 73 65 64 20 77 69 6e 64 6f 77 20 6f 6e 20 | used window on | 00004470 74 68 65 20 63 75 72 72 65 6e 74 0a 66 69 6c 65 |the current.file| 00004480 20 75 73 69 6e 67 20 74 68 65 20 6d 61 72 6b 65 | using the marke| 00004490 72 20 62 75 66 66 65 72 20 74 6f 20 64 65 74 65 |r buffer to dete| 000044a0 72 6d 69 6e 65 20 74 68 69 73 2e 20 4f 74 68 65 |rmine this. Othe| 000044b0 72 77 69 73 65 20 69 74 20 73 77 61 70 73 20 74 |rwise it swaps t| 000044c0 6f 20 74 68 65 0a 6e 65 78 74 20 66 69 6c 65 20 |o the.next file | 000044d0 69 6e 20 74 68 65 20 6f 72 64 65 72 20 66 69 6c |in the order fil| 000044e0 65 73 20 61 72 65 20 73 74 6f 72 65 64 20 77 69 |es are stored wi| 000044f0 74 68 69 6e 20 7a 61 70 2e 0a 0a 53 57 49 54 43 |thin zap...SWITC| 00004500 48 54 41 42 0a 54 68 69 73 20 74 6f 67 67 6c 65 |HTAB.This toggle| 00004510 73 20 74 68 65 20 54 41 42 20 6d 6f 64 65 20 66 |s the TAB mode f| 00004520 6f 72 20 61 20 66 69 6c 65 20 28 77 5f 66 6c 61 |or a file (w_fla| 00004530 67 73 20 62 39 2d 62 31 30 29 20 62 65 74 77 65 |gs b9-b10) betwe| 00004540 65 6e 20 55 4e 49 58 20 61 6e 64 0a 54 52 55 45 |en UNIX and.TRUE| 00004550 54 41 42 20 6d 6f 64 65 73 2e 0a 0a 54 41 42 0a |TAB modes...TAB.| 00004560 43 61 6c 6c 73 20 65 5f 74 61 62 20 73 6f 20 74 |Calls e_tab so t| 00004570 68 61 74 20 74 68 65 20 6d 6f 64 65 20 63 61 6e |hat the mode can| 00004580 20 65 6e 74 65 72 20 74 68 65 20 74 61 62 20 61 | enter the tab a| 00004590 73 20 69 74 20 77 69 73 68 65 73 2e 0a 0a 54 41 |s it wishes...TA| 000045a0 42 44 49 53 50 4c 41 59 41 52 52 4f 57 0a 44 69 |BDISPLAYARROW.Di| 000045b0 73 70 6c 61 79 73 20 74 61 62 73 20 61 73 20 61 |splays tabs as a| 000045c0 6e 20 61 72 72 6f 77 20 66 6f 6c 6c 6f 77 65 64 |n arrow followed| 000045d0 20 62 79 20 73 70 61 63 65 73 20 28 62 31 32 2d | by spaces (b12-| 000045e0 31 33 20 6f 66 20 77 5f 66 6f 72 6d 61 74 29 2e |13 of w_format).| 000045f0 0a 0a 54 41 42 44 49 53 50 4c 41 59 44 41 53 48 |..TABDISPLAYDASH| 00004600 45 53 0a 44 69 73 70 6c 61 79 73 20 74 61 62 73 |ES.Displays tabs| 00004610 20 61 73 20 64 61 73 68 65 73 20 6c 65 61 64 69 | as dashes leadi| 00004620 6e 67 20 74 6f 20 61 6e 20 61 72 72 6f 77 20 28 |ng to an arrow (| 00004630 62 31 32 2d 31 33 20 6f 66 20 77 5f 66 6f 72 6d |b12-13 of w_form| 00004640 61 74 29 2e 0a 0a 54 41 42 44 49 53 50 4c 41 59 |at)...TABDISPLAY| 00004650 4e 4f 4e 45 0a 44 69 73 70 6c 61 79 73 20 74 61 |NONE.Displays ta| 00004660 62 73 20 61 73 20 74 68 65 20 63 68 61 72 61 63 |bs as the charac| 00004670 74 65 72 20 39 2c 20 28 62 31 32 2d 31 33 20 6f |ter 9, (b12-13 o| 00004680 66 20 77 5f 66 6f 72 6d 61 74 29 2e 0a 0a 54 41 |f w_format)...TA| 00004690 42 44 49 53 50 4c 41 59 53 50 41 43 45 53 0a 44 |BDISPLAYSPACES.D| 000046a0 69 73 70 6c 61 79 73 20 74 61 62 73 20 61 73 20 |isplays tabs as | 000046b0 73 70 61 63 65 73 20 28 62 31 32 2d 31 33 20 6f |spaces (b12-13 o| 000046c0 66 20 77 5f 66 6f 72 6d 61 74 29 2e 0a 0a 54 41 |f w_format)...TA| 000046d0 42 53 41 53 53 50 41 43 45 53 0a 54 6f 67 67 6c |BSASSPACES.Toggl| 000046e0 65 73 20 62 31 31 20 6f 66 20 77 5f 66 6c 61 67 |es b11 of w_flag| 000046f0 73 20 77 68 69 63 68 20 67 6f 76 65 72 6e 73 20 |s which governs | 00004700 77 68 65 74 68 65 72 20 73 70 61 63 65 73 20 6f |whether spaces o| 00004710 72 20 74 61 62 20 63 68 61 72 61 63 74 65 72 73 |r tab characters| 00004720 20 61 72 65 0a 75 73 65 64 20 66 6f 72 20 65 64 | are.used for ed| 00004730 69 74 2f 63 6f 6c 75 6d 6e 20 74 61 62 73 2e 0a |it/column tabs..| 00004740 0a 54 4f 42 41 43 4b 0a 4d 6f 76 65 73 20 74 68 |.TOBACK.Moves th| 00004750 65 20 77 69 6e 64 6f 77 20 74 6f 20 74 68 65 20 |e window to the | 00004760 62 61 63 6b 20 6f 66 20 74 68 65 20 77 69 6e 64 |back of the wind| 00004770 6f 77 20 73 74 61 63 6b 20 76 69 61 20 5a 61 70 |ow stack via Zap| 00004780 5f 4f 70 65 6e 57 69 6e 64 6f 77 20 34 2e 0a 0a |_OpenWindow 4...| 00004790 54 4f 46 52 4f 4e 54 0a 4d 6f 76 65 73 20 74 68 |TOFRONT.Moves th| 000047a0 65 20 77 69 6e 64 6f 77 20 74 6f 20 74 68 65 20 |e window to the | 000047b0 66 72 6f 6e 74 20 6f 66 20 74 68 65 20 77 69 6e |front of the win| 000047c0 64 6f 77 20 73 74 61 63 6b 20 76 69 61 20 5a 61 |dow stack via Za| 000047d0 70 5f 4f 70 65 6e 57 69 6e 64 6f 77 20 33 2e 0a |p_OpenWindow 3..| 000047e0 0a 54 4f 47 47 4c 45 48 45 58 0a 54 6f 67 67 6c |.TOGGLEHEX.Toggl| 000047f0 65 20 68 65 78 2f 64 65 63 69 6d 61 6c 20 64 69 |e hex/decimal di| 00004800 73 70 6c 61 79 20 6f 66 20 6c 69 6e 65 20 6e 75 |splay of line nu| 00004810 6d 62 65 72 73 20 28 62 31 30 20 6f 66 20 77 5f |mbers (b10 of w_| 00004820 66 6f 72 6d 61 74 29 2e 0a 0a 54 4f 47 47 4c 45 |format)...TOGGLE| 00004830 49 4e 53 45 52 54 0a 54 6f 67 67 6c 65 20 69 6e |INSERT.Toggle in| 00004840 73 65 72 74 2f 6f 76 65 72 77 72 69 74 65 20 6d |sert/overwrite m| 00004850 6f 64 65 73 20 28 62 31 20 77 5f 66 6c 61 67 73 |odes (b1 w_flags| 00004860 29 2e 0a 0a 54 4f 47 47 4c 45 4d 41 52 4b 0a 49 |)...TOGGLEMARK.I| 00004870 6e 73 65 72 74 2f 64 65 6c 65 74 65 20 6d 61 72 |nsert/delete mar| 00004880 6b 20 66 72 6f 6d 20 6d 61 72 6b 65 72 20 62 75 |k from marker bu| 00004890 66 66 65 72 20 61 74 20 63 75 72 72 65 6e 74 20 |ffer at current | 000048a0 6d 61 72 6b 65 72 20 6f 66 66 73 65 74 2e 0a 0a |marker offset...| 000048b0 54 4f 47 47 4c 45 57 49 4e 44 0a 54 6f 67 67 6c |TOGGLEWIND.Toggl| 000048c0 65 73 20 74 68 65 20 77 69 6e 64 6f 77 20 73 69 |es the window si| 000048d0 7a 65 2e 20 54 68 65 20 6e 6f 74 2d 66 75 6c 6c |ze. The not-full| 000048e0 79 2d 6f 70 65 6e 20 73 69 7a 65 20 69 73 20 73 |y-open size is s| 000048f0 74 6f 72 65 64 20 69 6e 20 74 68 65 20 76 61 72 |tored in the var| 00004900 69 61 62 6c 65 73 0a 77 5f 74 6f 67 6d 69 6e 78 |iables.w_togminx| 00004910 20 74 6f 20 77 5f 74 6f 67 6d 61 78 79 2e 0a 0a | to w_togmaxy...| 00004920 55 4e 49 56 45 52 53 41 4c 41 52 47 20 3c 73 74 |UNIVERSALARG <st| 00004930 72 69 6e 67 3e 0a 54 68 69 73 20 63 6f 6d 6d 61 |ring>.This comma| 00004940 6e 64 20 65 76 61 6c 75 61 74 65 73 20 74 68 65 |nd evaluates the| 00004950 20 73 74 72 69 6e 67 20 74 6f 20 61 20 6e 75 6d | string to a num| 00004960 62 65 72 20 61 6e 64 20 74 68 65 6e 20 63 61 6c |ber and then cal| 00004970 6c 73 20 74 68 65 20 6e 65 78 74 0a 65 78 65 63 |ls the next.exec| 00004980 75 74 65 64 20 63 6f 6d 6d 61 6e 64 20 28 65 78 |uted command (ex| 00004990 65 63 75 74 65 64 20 76 69 61 20 5a 61 70 5f 50 |ecuted via Zap_P| 000049a0 72 6f 63 65 73 73 43 6f 6d 6d 61 6e 64 29 20 74 |rocessCommand) t| 000049b0 68 61 74 20 6e 75 6d 62 65 72 20 6f 66 20 74 69 |hat number of ti| 000049c0 6d 65 73 2e 0a 0a 55 4e 49 58 54 41 42 0a 53 77 |mes...UNIXTAB.Sw| 000049d0 69 74 63 68 65 73 20 74 6f 20 75 6e 69 78 20 74 |itches to unix t| 000049e0 61 62 20 6d 6f 64 65 20 62 79 20 63 6c 65 61 72 |ab mode by clear| 000049f0 69 6e 67 20 62 39 2d 31 30 20 6f 66 20 77 5f 66 |ing b9-10 of w_f| 00004a00 6c 61 67 73 2e 0a 0a 55 50 0a 4d 6f 76 65 20 63 |lags...UP.Move c| 00004a10 75 72 73 6f 72 20 75 70 20 61 20 6c 69 6e 65 2e |ursor up a line.| 00004a20 0a 0a 57 4f 52 44 57 52 41 50 0a 54 6f 67 67 6c |..WORDWRAP.Toggl| 00004a30 65 20 77 6f 72 64 77 72 61 70 20 6d 6f 64 65 20 |e wordwrap mode | 00004a40 6f 6e 2f 6f 66 66 20 28 74 6f 67 67 6c 65 73 20 |on/off (toggles | 00004a50 62 31 33 20 77 5f 66 6c 61 67 73 29 0a 0a 57 52 |b13 w_flags)..WR| 00004a60 49 54 45 46 49 4c 45 20 3c 73 74 72 69 6e 67 3e |ITEFILE <string>| 00004a70 0a 53 61 76 65 73 20 74 68 65 20 62 75 66 66 65 |.Saves the buffe| 00004a80 72 20 77 69 74 68 20 66 69 6c 65 6e 61 6d 65 20 |r with filename | 00004a90 3c 73 74 72 69 6e 67 3e 2e 20 41 6c 73 6f 20 73 |<string>. Also s| 00004aa0 65 65 20 53 41 56 45 46 49 4c 45 2e 0a 0a 59 41 |ee SAVEFILE...YA| 00004ab0 4e 4b 0a 50 61 73 74 65 20 6c 61 73 74 20 63 75 |NK.Paste last cu| 00004ac0 74 20 72 65 67 69 6f 6e 20 66 72 6f 6d 20 75 6e |t region from un| 00004ad0 64 6f 20 62 75 66 66 65 72 20 74 6f 20 63 75 72 |do buffer to cur| 00004ae0 72 65 6e 74 20 63 75 72 73 6f 72 20 70 6f 73 69 |rent cursor posi| 00004af0 74 69 6f 6e 2e 20 4f 6e 0a 72 65 70 65 61 74 65 |tion. On.repeate| 00004b00 64 20 61 63 74 69 6f 6e 20 69 74 20 70 61 73 74 |d action it past| 00004b10 65 73 20 70 72 65 76 69 6f 75 73 6c 79 20 63 75 |es previously cu| 00004b20 74 20 72 65 67 69 6f 6e 73 20 69 6e 20 61 20 63 |t regions in a c| 00004b30 79 63 6c 69 63 20 6d 61 6e 6f 72 2e 0a |yclic manor..| 00004b3d