Home » Archimedes archive » Acorn User » Acorn User - Shareware Collection (1993).adf » Zap » !Zap/!Help
!Zap/!Help
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 » Acorn User » Acorn User - Shareware Collection (1993).adf » Zap |
Filename: | !Zap/!Help |
Read OK: | ✔ |
File size: | A9EA bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
***************************************************************************** * >!Help file for !Zap version 0.90 * * All code is copyright Dominic Symes 1992/1993. See 'Copyright' file. * * NB This program needs the COLOURS module to run. It is in !System.Modules * * on Acorn's Application disc 1. If in doubt, double click on !System. * ***************************************************************************** This is the 3rd release version of the text editor !Zap. Main features: * Display may be in text, byte or disassembly format. * All key short cuts are user redefinable. * Automatic updating line numbers & file addresses. * Full (unix style) wildcard search with your own definable macros and search 'throwback' buffers. * Proper unix tabs and true scrollbar operation. * Full undo on all operations. * COPY key causes standard cursor editing. * Fast redraw in system or anti-aliased fonts. * Any number of markers on each file, and a facility for following branches in disassembly mode. * Full ARMBE style BASIC Editor. * Search as you type. * Learns keys sequences. * Emacs style Yank (Cut & Paste) and !Edit style move and copy implemented. * C throwback/info supported. * Reads disc sectors/tracks and memory of other tasks. * Keyboard selection of regions. * Taskwindow supports control characters. * Auto indent. For details of my future plans for Zap please see the text file 'Changes'. Risc Os 2 users please read A.4. ************************************************************************* * Contents: * ************************************************************************* Section A Keys and options. A.1 Summary of default key actions. A.2 How to redefine more keys. A.3 How to change Zaps default options. A.4 Differences in Risc Os 2. Section B Loading/saving/printing/editing files B.1 Loading files/creating files. B.2 Saving files. B.3 Dumping/printing files. B.4 Selecting regions. B.5 Copying/cutting/pasting/yanking. Section C Editing BASIC - PLEASE READ C.1 How to change editors/options. C.2 Using BASIC in ARMBE mode. C.3 Testing BASIC programs. Section D Individual mode help. D.0 Text mode D.1 Byte mode .. etc .. Section E Search and Replace. E.1 The Search window. E.2 The Replace window. E.3 Keyboard (incremental) search. Section F Other features. F.1 Learning key sequences - very useful. F.2 Tabs and indenting. F.3 Fonts and font sizes. Section G How to find out more. ************************************************************************* * Section A: Keys and options. * ************************************************************************* A.1 Default key actions ----------------------- When Zap is loaded, it reads in the 'Keys' file, and uses this to create the current key bindings. Each key mentioned in the 'Keys' file has a command name following it. By editing the 'Keys' file and moving the command names about, you can change the key action. See section A.2 for details. Please note that the key short cuts given in the menus are automatically updated to reflect your new choice of keys. A summary of the default key bindings is given below. (s=Shift c=Ctrl sc=Shift+Ctrl). Key: Command: Action: Delete DELETE Delete last character. sDelete DELETENEXT Delete next character. Insert TOGGLEINSERT Toggle insert and overwrite modes. Copy COPY Initiates split cursor copying. Move cursor with cursor keys and use COPY key to copy. Note that you may copy from one window to another by selecting on the other. sCopy COPY For those who wish to redefine Copy to be DELETENEXT. Copy key still ok in copy mode. cCopy SELREGION Starts selection of a region via cursor keys. Press Escape to end the selection. scCopy DUMPFILE Produce text image of this file. Escape ESCAPE Stops copy modes/selection modes/search as you type mode/yank mode. Tab TAB Inserts a variety of tabs - see tab menu. sTab SWITCHTAB Switches between Unix and !Edit tab modes. scTab - Reserved for !Larger/!Menon users. <-| DELETE Delete last character. c<-| FASTUNDO Undo last operation. Print QUICKPRINT Send file directly to printer. sPrint PRINTFILE Print file through printer driver. cPrint OPENPRINTER Open 'printer:' filer window. scPrint CLOSEPRINTER Close 'printer:' filer window. Return RETURN Splits line / inserts new line in line edit mode. Also indents in auto-indent mode. Cursor keys: Left LEFT Moves 1 left / goto last mark in code mode. Right RIGHT Moves 1 right / goto address in code mode. Down DOWN Move 1 line down. Up UP Move 1 line up. sLeft SLEFT Move back one word. sRight SRIGHT Move forward one word. sDown/PageDown SDOWN Move down a page. sUp/PageUp SUP Move up a page. cLeft CLEFT Move to start of logical line. cRight CRIGHT Move to end of logical line. cDown CDOWN Move to end of text (and leave marker). cUp CUP Move to start of text (and leave marker). scLeft SCLEFT Move to the left without moving cursor. scRight SCRIGHT Move to the right without moving cursor. scDown SCDOWN Move down without moving cursor. scUp SCUP Move up without moving cursor. Function keys: F1 EXECUTE Execute learnt key sequence (see F.1). F2 HEXASCII Toggles hex entry mode when byte/word modes. F3 SAVE Brings up save box. See save box help. F4 SEARCHCUR Brings up Search by Goto box. (See E.1) F5 GOTO Brings up Goto line/address box. F6 TOGGLEMARK Inserts marker in text/deletes marker. F7 SEARCHBUF Brings up Search to buffer box. (See E.1) F8 FULLUNDO Full undo (takes longest path in undo tree). F9 REDO Redo (undo last undo whether full or fast). F10 DELLINE Delete current line. sF1 SPLITLINE Split line (useful in Basic mode). sF2 SWAPWINDOW Swap window (to next window/last used). sF3 - Reserved. sF4 REPLACE Brings up search and replace box. (See E.2) sF5 HELP Brings up this help text. sF6 LASTMARK Last mark (eg after ctrl-down by mistake). sF7 NEXTMATCH Next match (after an F4 or F7 search). sF8 RENUMBER Renumbers a BASIC file. sF9 NEXTMARK Jump to next set marker. sF10 DELTOSTART Delete to start of line. cF1 JOINLINE Join line (useful in Basic mode). cF2 CLOSEWINDOW Close current window (and jump to next). cF3 QUICKSAVE Save the file with no prompt. cF4 NEWVIEW New view (open new window on this file). cF5 WORDWRAP Toggle wordwrap mode (w in title). cF6 FORMATTEXT Format text to start of next paragraph. cF7 LASTMATCH Previous match (see sF7). cF8 - Reserved cF9 - Reserved cF10 DELTOEND Delete to end of line (emacs style ctrl K). scF1 MODE0 Text mode (display in text format) scF2 MODE1 Byte mode (display in hex bytes) scF3 MODE2 Word mode (display in hex words) scF4 MODE3 Ascii mode (display in characters) scF5 MODE4 Code mode (display in disassembled code) scF6 MODE5 BASIC mode (display tokenised Basic) scF7 MODE6 BASTXT mode (display detokenised Basic) scF8 MODE7 extension mode - 7 scF9 MODE8 extension mode - 8 scF10 MODE9 extension mode - 9 Ctrl letters: cA CLEFT Start of line - emacs compatibility. cB LEFT Back a char - emacs compatibility. cC COPYSEL Copy selected region to current position. cD DELETENEXT Delete next char- emacs compatibility. cE CRIGHT Line end - emacs compatibility. cF RIGHT Forward a char - emacs compatibility. cG CANCEL Cancel search 'as you type' and return to start. Also cancel any yank operations. cH - Reserved (fast undo is on ctrl-backspace) cI INDIRECT Indirect (move to the address given by word at cursor - useful in Code mode). cJ - Reserved. cK DELTOEND Kill line - emacs compatibility. cL LEARN Learn key sequence (see F.1) cM RETURN Performs return action for current mode. cN DOWN Next line - emacs compatibility. cP UP Previous line - emacs compatibility. cQ - Reserved for 'quote character' cR SEARCHBACK Reverse search 'as you type'. cS SEARCHFORWARD Search 'as you type' forwards. cT SELECTBUFFER Select entire buffer. cU - Reserved for do n times. cV MOVESEL Move selected region to current position. cW - Reserved for set width. cX CUT Delete/Cut selected region. cY PASTE Paste/Yank once selected region. cZ CLEARSEL Clear selection. scA ADDRESSES Addresses shown at line start. scB BASIC Drop into Basic with program downloaded. scC COMPILE Saves then chains a program. scD INSERTDATE Insert current date (format in 'Keys' file). scE SAVEANDRUN Saves then runs a program then exits. scF RUNANDEXIT Runs a program and then exits. scG TOGGLEWIND Toggle window size. scH - Reserved. scI NEXTTRACK Move forward one track. scJ LASTSECTOR Move back one sector. scK NEXTSECTOR Move forward one sector. scL LOGICAL Logical line numbers shown at line start. scM LASTTRACK Move back one track. scN NOLINENOS Removes line numbers/addresses. scO TOGGLEHEX Line numbers shown in hex/decimal. scP PHYSICAL Physical line numbers shown at line start. scQ SWAPCHARS Swap next two characters around. scR READONLY Toggle read only state (r in title). scS SWAPCASE Swap case of next character/selected region. scT INSERTTIME Insert current time (format in 'Keys' file). scU RUN Run a basic program from memory. scV - Reserved. scW - Reserved. scX CLOSEOTHER Close other open window. scY YANK Yank cyclically through deleted regions. scZ - Reserved. A.2 How to redefine more keys ----------------------------- A 'Keys' file line has format "comment &xxx arg1 arg2 arg3 ... ". The 'comment' may include any character except '&'. ' ' represents any number of spaces or tabs. 'xxx' represents a hex number which I will call the variable number. Currently variables &000-&1FF are reserved for keys, with arg1 giving the command to execute when that key is pressed. The other variables are documented in A.3. If a key is not mentioned in the keys file then it is passed on to the next task. Thus DO NOT put F12 in the 'keys' file. The Zap key numbers are based on those returned by Wimp_Poll. Thus, the function keys return &180-&1FF, as documented in the PRMs. Just look at the keys file if you don't have a copy of the PRMs. Standard characters return their ascii value &20-&FF as usual. &7F stands for unshifted DELETE. Internally Zap uses some extra codes in the range &00-&1F and &100-&17F which differ from the Wimp's. These are documented in the table below. 000 cSpace 100 scSpace 120 sSpace 001 cA 101 scA 002 cB 102 scB 003 cC 103 scC 004 cD 104 scD 005 cE 105 scE 006 cF 106 scF 007 cG 107 scG 008 cH 108 scH 009 cI 109 scI 00A cJ 10A scJ 00B cK 10B scK 12B c[ 14B sc[ (c{) 00C cL 10C scL 12C c\ 14C sc\ (c|) 00D cM 10D scM 12D c] 14D sc] (c}) 00E cN 10E scN 00F cO 10F scO 12F c- 14F sc- (c_) 010 cP 110 scP 130 c0 150 sc0 (c)) 011 cQ 111 scQ 131 c1 151 sc1 (c!) 012 cR 112 scR 132 c2 152 sc2 (c@) 013 cS 113 scS 133 c3 153 sc3 (c#) 014 cT 114 scT 134 c4 154 sc4 (c$) 015 cU 115 scU 135 c5 155 sc5 (c%) 016 cV 116 scV 136 c6 156 sc6 (c^) 017 cW 117 scW 137 c7 157 sc7 (c&) 018 cX 118 scX 138 c8 158 sc8 (c*) 019 cY 119 scY 139 c9 159 sc9 (c() 01A cZ 11A scZ 01B Escape 11B sEscape 13B cEscape 15B scEscape 01C Backspace 11C sBackspace 13C cBackspace 15C scBackspace 01D Return 11D sReturn 13D cReturn 15D scReturn 01E Home 11E sHome 13E cHome 15E scHome 01F cDelete 11F scDelete 07F Delete 17F sDelete Example: Suppose you wished ctrl-] to enter the code &1D into the file. Then you would enter the line: "c] &12D CHAR &1D". A.3 Changing the default options -------------------------------- The Zap menu you get when you click the MENU button on a window contains the status for that window only. Any options changed on this menu will be lost immediately the window is closed. To change any option permanently, use the 'options' menu obtained by clicking on the Zap icon on the iconbar. After you have changed the option on this menu click the 'save options' entry. Please note that some options are stored MODE dependantly. To change these options it is first necessary to SWITCH TO THE MODE WHOSE OPTIONS YOU WANT TO CHANGE ON THE OPTIONS.MODE MENU. The options you need to do this for include: 1) Display width. 2) Line number status. 3) Auto indent status. 4) Line edit/Non standard edit status. 5) Hex entry and Overwrite status. 6) Tab display status. When you change mode, the other options menus will be updated to give the status of the flags for this mode. Example: To turn the line numbers off in Basic editing mode use the sequence of clicks: zap.options.mode.basic zap.options.display.linenumbers.none zap.options.mode.text The mode set on the 'Options.Mode' menu will also be the mode used for loading files whose type is not recognised, or when you hold down the CTRL key. In general you should always put this mode back to TEXT after changing options of other modes. Other options that are saved by clicking Save Settings include: 1) Whether searches are case sensitive or not. 2) Whether quick print adds a title header or not. To change the default display width for mode n, use the options.mode.width menus. To change the size of an opened window for mode n, create a template in the template file called mode_n. The size and position of this template determines the opening size and position (modulo stacking) of your window. The other template flags are not looked at. Some other options are stored in the 'Keys' file. These include variable numbers: &200-&20F These give the 16 search macros. &300 The date format to use for scD. &301 The time format to use for scT. &302 The default font name to use in font display modes. &303 The number of blank lines to leave at the end of a window. &304 The default font size in points. Variables &1xxx give the mode in which to load a file of type xxx. Please note that the mode name is CASE SENSITIVE. A.4 Differences with Risc Os 2 ------------------------------ If using fonts, then Zap will need the outline font manager vsn 2.42. This is used by Impression and other DTP programs. If using task windows, then Zap will expect to find the module 'Task' in the System:Modules directory. This should be the Task module supplied with DDE. Of course ^F12 will not bring up the taskwindow on Risc Os 2. I'm sorry about this, but it's a lot of hassle for me to find a Risc Os 2 machine to work on. Please note that only left shift double click will load a non text file. Right shift is deliberately not tested for as some people use it for other things. I have no control over this on Risc Os 3. ************************************************************************* * Section B: Loading,Saving,Printing,Editing files * ************************************************************************* B.1 Loading/creating files -------------------------- These are the ways to load a file into Zap: (a) If the file is a text file then double click on it. (b) If the file is typed then hold down left shift and double click on it. (c) If the file is untyped then drag it onto the Zap icon on the iconbar. When you load a file into zap, a window is created in the default mode assigned to that file type. The default mode for a given file type is stored in the Keys file. To be specific, the variable &1xxx is followed by the mode name to use for type &xxx. This name is CASE SENSITIVE. Untyped files are treated as file type ABSOLUTE type for this purpose. Sometimes you may wish to load a file in a mode other than it's default one. To do this, set the required mode on the 'Options.Mode' menu, and then hold down the CTRL key while loading the file. (Eg Shift-Ctrl double click on the file). It will then be loaded in the selected mode (usually text). Dragging a file into an open window inserts the data at the current cursor position. Ram loads/saves are fully supported and you may even save a file into itself. If you are short of memory then I suggest you switch the undo buffer off before performing such drags. (Use the File menu). In any mode the window title is of the form "<filename> [*] ([options])" The title is centered unless the window is small when it is right aligned so you can see the leaf name and options of the file. A '*' indicates that the file has been altered since last saved. The options characters are described below. R Read only and fixed as read only. r Read only but can be toggled to read/write by scR. u Undo supported by this file (so cX acts as cut, not delete). o Overwrite mode active (toggle via Insert key). h Hex entry mode active for Byte/Word (toggle via F2). w Wordwrap mode active (toggle via cF5). l Line edit mode active (return inserts new line). a Auto indent mode active (see the Edit submenu). n Non standard mode active (used by ARMBE emulation mode). You may also create files of a given type using the 'Create.Type' menu, or grab modules using the 'Create.Getmodule' menu. Zap can also read disc sectors and other applications memory. Click SELECT on the Zap icon to create a new text file and ADJUST on the Zap icon to create a new BASIC file. Zap will warn you before overwriting a file of the same name if it is altered. If it is unaltered then the newly loaded file will replace the one currently loaded as in !Edit. B.2 Saving files ---------------- Press F3 to open the save box. You may change the file type either by clicking the MENU button, or by moving to the type name window, typing the new type name and pressing RETURN. Zap will warn you if you are about to overwrite a more recent file, or if the file contains no path. If you ignore the warning then it will save the file to the currently selected directory. Ctrl-F3 does a direct save. Ctrl-F2 deletes the current file and Shift-Ctrl-X deletes the other file being viewed. Please note that when the SAVE,DISCARD,CANCEL box pops up you may simply press 'S','D',or 'C' instead of using the mouse. The same holds for other dialogue boxes. If you are using one of the basic modes then please note that you must save from a window in the correct mode. If you switch to text mode and then save, your file will be saved as a text file and not a Basic program. B.3 Dumping, printing files --------------------------- First note that any window display may be turned into a text file simply by pressing SHIFT-CTRL-COPY. Once you have done this you could print a file simply by saving it to a printer driver, or by opening the 'printer:' filing system (press ctrl-print) and saving the file into it. Zap also provides two other printout commands. The first, 'quick print' can be got by pressing the 'Print' key. When you press Return, or click 'PRINT', it will send the display to the printer directly. On some printers you may have to change the DIP switch which handles whether CR also does a LF. The second, 'fancy print' can be got by pressing 'Shift-Print'. You must have a printer driver loaded. The file will then be output via the printer driver in the current outline font selected via the 'Display.Font.Othername' menu. B.4 Selecting regions --------------------- There are several ways to mark regions in Zap. The most obvious is to use the mouse. If there is no region selected then DRAG SELECT will mark a new region, and ADJUST CLICK/DRAG will select between the clicked point and the cursor. If there is already a region selected then DRAG SELECT will start selecting a new region, ADJUST CLICK/DRAG will alter the old region. In either case, hold down the CTRL key to leave the cursor unaffected by the selection. The second method is to use the keyboard. This method is much faster when you have got used to it. First move to the start of the region you wish to mark. Then press CTRL-COPY and move (via the cursor keys) to the end of the region. Then press ESCAPE. The third method is to use multiple clicks. Double click marks a word, triple click a line, quadruple click a paragraph and quintuple click the whole file. Note that the BASIC mode limits selected regions across lines to full Basic lines (like the ARMBE). B.5 Copying/pasting/cutting/yanking ----------------------------------- Zap implements both the !Edit style copy/move and the Emacs style paste/yank. To copy a region or move a region to the cursor position press ctrl-C or ctrl-V respectively. If the file has an undo buffer then you may also use paste/yank. Delete the selected area by pressing ctrl-X. Move to the position you wish to put it and press ctrl-Y to paste it. Press shift-ctrl-Y (Emacs meta-Y) to cycle through the previously deleted regions. Another way to copy text is via the COPY key. This is faster for copying small sections of other lines. First press the COPY key to split the cursor into two. One cursor can be moved about by the cursor keys. Move this to the area you wish to copy from and press the COPY key once for each character. Press ESCAPE or RETURN to cancel the copy mode. Please note that you can also use this method across windows and even across modes! ************************************************************************* * Section C: Editing BASIC - PLEASE READ * ************************************************************************* C.1 Changing editors/options ---------------------------- There are essentially 3 ways to edit basic programs in Zap. Do not be put off if you dislike the default configuration. You may change most things to your preference. In the default configuration, basic programs are edited in the zap extension mode called BASIC. This is designed to be a desktop version of Acorn's ARMBE. Those people used to ARMBE should find this mode very easy to use. The main points are that is edits the program while tokenised, and acts as a line editor. Ie, RETURN inserts a new line after the current one, and the functions SPLIT,JOIN on shift-F1 and ctrl-F1 are used to manipulate lines. For those people who wish to edit BASIC in tokenised form, and thus with line numbers accessible, but who do not like 'line editors' as described above, perform the option changes indicated by the clicks: options.mode.BASIC ; configure basic mode options.edit.line edit ; turn off line editor mode options.edit.non standard ; turn off non standard split/join options.display.linenumbers.none ; turn off line numbers options.mode.TEXT ; return config mode to text options.save options ; save your !Config file This will result in a mode where the BASIC program is still tokenised, but RETURN and DELETE act normally as split and join operators. Also the line numbers have been switched off. For those who prefer to edit basic in detokenised form, there is a separate mode named BASTXT which accomplishes this. To load a single file in using this mode it is easiest to set the options menu mode to BASTXT and hold down CTRL key while loading the file. To change to the BASTXT mode permanently, change the line of the 'Keys' file which reads: Basic &1FFB BASIC to read: Basic &1FFB BASTXT In this mode, whenever a file is loaded it is converted into text with line numbers striped. Saving is the converse. Please note that if the program contained line number references, then Zap will beep before forcing the BASIC mode described in C.2. C.2 Using BASIC in ARMBE mode ----------------------------- In it's default setup the BASIC mode is designed to emulate ARMBE. Thus line numbers are displayed in the left margin, and automatic renumbering takes place as lines are added to the file. All GOTO and GOSUB line number references are automatically updated. In line editor mode, the RETURN key inserts a new logical line. To split the line in two at the current cursor position press SHIFT-F1 and to join two lines press CTRL-F1. When two lines are joined, a ':' is inserted between the statements. If you do not like this, it can be switched off by turning off the line-edit flag on the edit menu. See above. Text is typed as usual with the proviso that tokens are automatically expanded. For example 'P.' will be expanded to 'PRINT' when you press the dot. Also note that in non-standard editing mode excess spaces are automatically removed from the end of a line (except when this would prevent the line wrapping onto the next). 'Unix' tab mode just advances the cursor to the next tab stop as in ARMBE. The other tab modes, !Edit and Coltab work as in the text mode. Copying bits out of the middle of lines is performed using the COPY key. Groups of lines are selected, cut and moved/copied as usual for any text region. The regions are automatically renumbered internally. For those (like me) used to the ARMBE way of moving regions, there is a natural replacement. For example suppose you wish to move lines 10-50, to before line 100. In the ARMBE you would do: Move to line 10, cM cM, move to line 50, cM cM, move to line 100, cB, f12 In zap you do: Move to line 10, cCOPY, move to line 60, ESCAPE, move to line 100, cV Goto's are automatically updated. For example copy the lines 10 and 20 below several times in a basic program. 10 PRINT "HELLO" 20 GOTO 10 Shift-F8 renumbers any program in steps of 10. Please note that line numbers are not stored in the undo buffer as this would be a waste of space. Thus after multiple undo's, the line numbers may get out of order. This can be rectified by Shift-F8. Basic programs can be appended by simply dropping them into the window. C.3 Testing BASIC programs -------------------------- Zap provides a number of functions to test out basic programs while they are being edited. The first 3 start up a new BASIC task and ram transfers your program to the new task, loading it a PAGE: scB This drops you into basic with your program loaded at PAGE. scU This acts as cB and then Runs the program. scF This acts as cU but automatically quits BASIC when finished. The other two commands save the program first, and then run them from disc. These are of course slower: scC This acts as cU but saves the program first and chains it from disc. scE This acts as cF but saves the program first and chains it from disc. Zap calculates the amount of room needed to run the program as the maximum of: 1) Next slot size 2) Program size+16k 3) Program size * 1.5. ************************************************************************* * Section D: Individual mode help * ************************************************************************* Zap can handle up to 256 text processing modes. I have currently allocated space for 16. For details on how to write your own mode see the 'Docs' directory. The currently defined modes are described below. D.0 Text Mode ------------- This is a basic text editing mode. Most of the functions associated with this mode are detailed elsewhere. See the 'Helpdata' file for a detailed listing of menu options. To insert control characters in the text it is easiest to switch temporarily to byte mode. The character &09 in a text file is taken to denote a tab to next column of 8. You may change this character and the way it is displayed from the display menu. Tab action may be changed by the 'Misc.Tabs' menu. D.1 Byte Mode ------------- This mode gives displays the file in hex bytes and is used for examining data or inserting control characters. The hex-entry flag (toggled by f2) controls this action. If it is off and you type '0B' then the letters '0' and 'B' will be inserted. If hex-entry is on (h in title) then the byte &0B will be inserted. Use the overwrite mode (toggled via the insert key) to change the data without shifting the file. D.2 Word Mode ------------- This is similar to byte mode except the data is shown in word form. Typing characters with hex-entry mode off has no effect, but typing with it on inserts the given word in hex. D.3 Ascii Mode -------------- This mode displays data in ascii dump form. Letters typed are inserted as usual. D.4 Code Mode ------------- This mode displays data in disassembled format with 1 instruction per line. Please note that in RiscOs3, the debugger adds some extra information after some instructions, but some of this only appears if you disassemble sequentially. Eg TEQP R0,#0 followed by MOV R8,#0 gives the warning 'Not r8-r14'. However this may vanish if you are moving backwards up the file instead of forwards. This happens very rarely but it may cause confusion if you don't understand what's happening. The three most useful keys in code mode are cI,Left,Right. For example if you are at the start of a module then pressing cI will cause you to jump to the start offset of the module. If you are on an instruction 'BL &00012345' or 'ADR r0,&01822445' then pressing Right will jump to the indicated address. At any time, Left will move you back to your previous position. This jumping uses the marker buffer and can be done to any depth you require. If the file is typed 'Module' then the first few offsets display the module entry point name rather than the instruction. Currently data cannot be entered in this mode. D.5 BASIC Mode -------------- See sections C.1, C.2 and C.3 for details about how to use this mode. A slight modification is made to the BASIC program on loading. The actual file format edited is a number of lines of the form: xx yy zz "Tokenised line" &0D Where xx yy zz is the line number in 3 byte text form as stored after a GOTO or GOSUB statement. D.6 BASTXT Mode --------------- This edits Basic files in detokenised form. See sections C.1 and C.3 for details. D.7-D.10 Modes reserved ----------------------- D.11 THROWBACK Mode ------------------- This mode handles the files generated by Zaps search to buffer, C throwback and !Find info output. Double clicking on an item will jump to that item in the source file. Shift double clicking will jump to the item and then kill the throwback buffer. Clicking ADJUST on a line will remove the line from the file. Also note that RETURN acts in the same way as double click and DELETE in the same way as adjust if you move into the file. D.12 TASKWINDOW Mode -------------------- This mode handles task windows. To create a task window use the 'Create.Taskwindow' menu option or press ctrl-F12. At any time, changing mode to TEXT will suspend the task, and changing mode back to TASKWINDOW will resume it. The taskwindow output supports the COPY key and the following VDU actions: 07 CTRL G Bell. 08 CTRL H Move back one character. 09 CTRL I Move forward one character. 10 CTRL J Move down a line. 11 CTRL K Move up a line. 12 CTRL L Clear text window. 13 CTRL M Move to line start. 22 CTRL V Change mode. 26 CTRL Z Restore text window. 28 Define text window. 30 Home cursor. 31 Move to x,y (TAB). If you use Richard K. Lloyd's wonderful 'Line Editor' module then you'll find it now works within the taskwindow. There is a problem in that it changes the FX 4 value and thus the COPY key will not work in the taskwindow if you have the line editor loaded. The solution is to press F12 then RETURN to reset the FX 4 value before using the copy key. Mode changes are reflected by changing the width and height of the window. D.13-D.15 These modes are reserved ---------------------------------- ************************************************************************* * Section E: Search and Replace * ************************************************************************* E.1 The Search window --------------------- Zap has quite a powerful search facility which is based loosely on emacs search, allowing 'OR' constructs and character ranges. The search window can created by pressing F4 or F7 or using the 'file' menu. Pressing F4 will ensure that search matches are jumped to, whereas pressing F7 will cause all matches to be placed in a separate throwback buffer. Double clicking on a match in the buffer then jumps to the match. See section D.11. The first column of the search window selects whether you wish to search for a string, instruction or word (4 bytes). In the first two cases enter the string to match. In the third case enter an expression evaluating to a number to search for. The second column selects where the search should start and the direction of the search. You may start at the start of text or forwards/backwards from the current cursor position. If you wish to change the default option for this then just edit the template file. The third column selects the output. If you choose cursor output (F4) then the cursor will be moved to the first match and subsequent matches may be got by sF7 (Next match) and scF7 (Previous match) as in the Basic Editor. A beep will sound if there are no more matches and the cursor will not move. If you choose 'to buffer' (F7) then all matches are placed in a new (text) file. Double clicking on entries in this text file cause the cursor to be moved to the corresponding match. Now to the search string. In order that the user may have any search syntax he/she chooses, I have adopted the following approach: * All wildcards/commands begin with a '\' as listed below. * The user may define up to 16 macros (aliases) in terms of these commands. * When the search string is entered, all the users macros are substituted before the search takes place. The macros may be examined and altered by clicking on the 'Show Macros' button. The default macro definitions are stored in the 'Keys' file and may be altered there. The macros can be temporarily turned off in the 'Macros' window. This window also controls whether the search is case sensitive or not. These options are stored in the !Config file and saved via the menu option 'Options.Saveoptions'. For example; I have * as a standard macro for \.\*. Thus if I typed in a*b, the string would be converted to a\.\*b. However a\*b would remain as a\*b as the * follows a \ and is thus treated as a command. The table below details all the escape characters and commands. In it I will use 'x' to stand for any ascii character unless otherwise mentioned. x Matches character 'x' (according to case sensitivity). \x Matches 'x' case sensitively, unless \x mentioned below. `x Matches 'x' only (without any replacement of macros). \( \) Act as brackets for nesting expressions. \{ \} Act as the normal brackets above, but may be referred to in the replace string during a search and replace. See E.2. \# Matches any character. Eg a\#d matches 'and','aad' but not 'ad'. \. Matches any character except the return character. \* Matches any number of the previous expression. Eg fo\* matches 'f','fo','foo' etc. and \(and\)\* matches '','and','andand' etc. \| Matches one expression OR another. Eg hello\|goodbye\|fred. Eg \(a\|b\)\* matches 'abababa','abbba' etc. \[..] Matches a range of characters. Eg \[a-zA-Z%] matches any letter or a '%'. If a '^' is given after the opening bracket then it acts as a NOT. Thus \[^abc] matches any character except a,b,c. \< Matches null string at line start (and file start). \> Matches null string at line end. \+ Turns on case sensitivity for the following string only. Eg \+Fred\|Bill matches Fred case sensitively but not Bill. \- As above, but turns off case sensitivity. \\ Matches a '\'. \ddd Where d is any decimal digit matches that number. Eg '\0alf' matches byte 0,'alf' and \233 matches byte 233. Please note that \999 matches byte 99 followed by '9' as 999>255. \&hh As above but matches the hex byte hh when h are valid hex chars. \xhh Matches hex numbers as above (where 'x' is the letter 'x'). \A-\Z Match ctrl A to ctrl Z. In most cases you will wish to macro '|' as being '\|' and '(' as '\(' etc. This is how the default macros are set up. Macros can be switched off in the macro box. In the examples below, the default macros are assumed. Please note that you may macro the macros! Eg, you could define '(' to be '\(' and '\( to be '(' if you wished. Examples: cat|mat Matches cat or mat. re*ment Matches any occurrence of 're' then 'ment' on a line. SWI Matches any SWI (in code mode). LDR|STR Matches any load or store instruction. R6 Matches any instruction using R6. BL*&0000A95C Matches any call to &0000A95C. \&0A Matches the byte &0A. \<fred Matches fred, but only at the start of a line. main`( Matches 'main(' Hints: The search will be MUCH faster if you give a definite first character to start with. Eg 'a\(nd\|pple\)' will be a lot faster than 'and\|apple'. If the search takes longer than 1/3 second, then an hourglass will come up displaying the position in the file as a percentage underneath. You may stop the search by pressing Escape, and the partial results will be displayed if you are using 'Search to buffer'. E.2 The Replace window ---------------------- A Search and Replace window can be created by pressing shift-F4 or from the 'file' menu. The first column sets the search start position and direction as in the Search window described above. The second column selects either selective or global replace. For a selective replace, each match will be highlighted and a 'Replace ?' window will appear. Press 'R' to replace that match and move onto the next match. Press 'S' to skip to the next match without replacement. Press 'T' or 'E' to replace all matches from this point (inclusive) to the end of the file. Press 'C' or ESCAPE to stop the selective replace. The format of the search string is described in section E.2. In the replace string, macros are not expanded and you may use the following control sequences: \ddd Replace with the decimal byte ddd. \&hh Replace with the hex byte hh. \x Replace with character 'x' (eg '\\' -> '\'). &n Replace with the n'th \{,\} expression in the search string (n<10). && replace with an '&' If you wish to include parts of the match string in the replacement string then you must surround the relevant sections in the search string with {,} type brackets (assuming the standard macros). Examples: Search string: Replace string: Action: 'cat' '' Removes all occurrences of 'cat' '{cat}' '&1s' Replaces 'cat' with 'cats' preserving case. 'time={#}' 'time is &1' Replaces 'time=58' with 'time is 58' etc. E.3 Keyboard (incremental) search --------------------------------- Incremental search is activated by pressing ctrl-S (Search forward) or ctrl-R (Reverse search). The following characters typed by you are treated as the search string. The cursor is moved to the end of the next matching search from where you started. You may use the DELETE key to remove characters from the search string. If there is no match then a beep will sound. To halt the search, press a non character key (eg Escape or a cursor key). The search will halt at the current position. Alternatively, pressing cG (Cancel) will cause the search to be cancelled and the cursor returned to its initial position. This setup should be familiar to users of Emacs. Pressing ctrl-S or ctrl-R whilst in search mode will move you to the next/previous matches. This is differs from sF7,cF7 which move you to the start of the next matches of the last non search-as-you-type search string. Incremental search is particularly useful in that it can be used with learnt sequences. See section F.1 for details. ************************************************************************* * Section F: Other features * ************************************************************************* F.1 Learning key sequences -------------------------- This feature of zap is very simple to use, and very useful. To start 'learning' a key sequence, simply press ctrl-L. Type the sequence you wish to learn and then press ctrl-L again. Press F1 to execute the learnt sequence. Note firstly that Zap will beep after every keypress you make to remind you that it is being stored. Secondly note that the ESCAPE key will NOT stop the learning process. Only ctrl-L will stop it. Thus you can learn sequences which use incremental search, or keyboard selection of regions. Both these actions involve the Escape key. This feature of zap has many uses: Example 1: Suppose you wanted to insert a tab at the beginning of a group of lines. One way would be to use the indent region option. Another way however would be to learn the sequence: TAB,DOWN,CLEFT and then press F1 a number of times. Example 2: Suppose you wanted to go to the next match of 'cat' and switch the case of the letters. You could learn the sequence: ctrl-S C A T ESCAPE LEFT LEFT LEFT scS scS scS and then press F1 a number of times. Exercise (for the reader): When editing this !Help file I decided to switch the columns labelled 'Key:' and 'Command:' around in section A.1. I did this by learning a key sequence and then I only had to press F1 once for each line. What was the sequence? (no prizes unfortunately). F.2 Tabs and indenting ---------------------- The standard tab character is taken to be &09. You may alter this from the 'Display.Tabs' menu. This menu also allows you to alter the appearance of Tabs. The menu 'Misc.Tab mode' controls how tabs are entered when you press the TAB key. In 'Unix' mode the character &09 is inserted. In '!Edit' mode, the cursor moves to the column which starts the next word on the above line. In coltab mode, the cursor moves forward 'n' characters where 'n' is the current coltab width. In the latter two, as many tab characters as possible are inserted. If you wish spaces only to be inserted, then tick the 'as spaces' menu option. Use shift-TAB to switch between 'Unix' and '!Edit' tab modes. To indent a region, first select it and the use the 'Selection.Indent' menu option. Type 'n' to indent by n spaces, '-n' to remove n spaces, or type a string to indent by that string. F.3 Fonts and font sizes ------------------------ The font used in a zap window is determined by the 'Display.Font' menu. The first 3 items select the system font drawn in a number of different ways. The first two use direct screen access and the latter uses the VDU drivers. The cached system font may be update by clicking on 'Options.Ctrlchars.Default'. To use a font other than the system font select either the fourth or fifth items. The fourth displays an anti-aliased font by direct screen access (and thus uses quite a bit of memory) and the fifth via normal Font_Paint call. The font name and size can be selected via the last two items. If you type in a ludicrously large size, then weird things may happen! ************************************************************************* * Section G: How to find out more * ************************************************************************* The 'Helpdata' file contains help for all the leaf windows, main windows, and menu entries. All but the menu entry help text can be viewed via the !Help application. I do not see a way of getting !Help to show the menu entry data on Risc Os 2. For those interested in writing an extension mode, or Zaps internal workings, please look in the Docs directory. This also contains a zap keystrip in the form of a Draw file. Please see the file 'Changes' for my future plans for zap. In the event that your curiosity can not be satisfied by the above, then please e-mail me at 'symes@uk.ac.oxford.maths'. I hope you find Zap a useful program. Dominic Symes May 1993
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 2a 2a 2a 2a 0a 2a 20 |*************.* | 00000050 3e 21 48 65 6c 70 20 66 69 6c 65 20 66 6f 72 20 |>!Help file for | 00000060 21 5a 61 70 20 76 65 72 73 69 6f 6e 20 30 2e 39 |!Zap version 0.9| 00000070 30 09 09 09 09 09 20 20 20 20 2a 0a 2a 20 41 6c |0..... *.* Al| 00000080 6c 20 63 6f 64 65 20 69 73 20 63 6f 70 79 72 69 |l code is copyri| 00000090 67 68 74 20 44 6f 6d 69 6e 69 63 20 53 79 6d 65 |ght Dominic Syme| 000000a0 73 20 31 39 39 32 2f 31 39 39 33 2e 20 53 65 65 |s 1992/1993. See| 000000b0 20 27 43 6f 70 79 72 69 67 68 74 27 20 66 69 6c | 'Copyright' fil| 000000c0 65 2e 20 20 20 20 20 20 2a 0a 2a 20 4e 42 20 54 |e. *.* NB T| 000000d0 68 69 73 20 70 72 6f 67 72 61 6d 20 6e 65 65 64 |his program need| 000000e0 73 20 74 68 65 20 43 4f 4c 4f 55 52 53 20 6d 6f |s the COLOURS mo| 000000f0 64 75 6c 65 20 74 6f 20 72 75 6e 2e 20 49 74 20 |dule to run. It | 00000100 69 73 20 69 6e 20 21 53 79 73 74 65 6d 2e 4d 6f |is in !System.Mo| 00000110 64 75 6c 65 73 20 2a 0a 2a 20 20 20 6f 6e 20 41 |dules *.* on A| 00000120 63 6f 72 6e 27 73 20 41 70 70 6c 69 63 61 74 69 |corn's Applicati| 00000130 6f 6e 20 64 69 73 63 20 31 2e 20 49 66 20 69 6e |on disc 1. If in| 00000140 20 64 6f 75 62 74 2c 20 64 6f 75 62 6c 65 20 63 | doubt, double c| 00000150 6c 69 63 6b 20 6f 6e 20 21 53 79 73 74 65 6d 2e |lick on !System.| 00000160 20 20 20 20 2a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a | *.**********| 00000170 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 000001b0 2a 2a 2a 0a 0a 54 68 69 73 20 69 73 20 74 68 65 |***..This is the| 000001c0 20 33 72 64 20 72 65 6c 65 61 73 65 20 76 65 72 | 3rd release ver| 000001d0 73 69 6f 6e 20 6f 66 20 74 68 65 20 74 65 78 74 |sion of the text| 000001e0 20 65 64 69 74 6f 72 20 21 5a 61 70 2e 0a 0a 4d | editor !Zap...M| 000001f0 61 69 6e 20 66 65 61 74 75 72 65 73 3a 09 2a 20 |ain features:.* | 00000200 44 69 73 70 6c 61 79 20 6d 61 79 20 62 65 20 69 |Display may be i| 00000210 6e 20 74 65 78 74 2c 20 62 79 74 65 20 6f 72 20 |n text, byte or | 00000220 64 69 73 61 73 73 65 6d 62 6c 79 20 66 6f 72 6d |disassembly form| 00000230 61 74 2e 0a 09 09 2a 20 41 6c 6c 20 6b 65 79 20 |at....* All key | 00000240 73 68 6f 72 74 20 63 75 74 73 20 61 72 65 20 75 |short cuts are u| 00000250 73 65 72 20 72 65 64 65 66 69 6e 61 62 6c 65 2e |ser redefinable.| 00000260 0a 09 09 2a 20 41 75 74 6f 6d 61 74 69 63 20 75 |...* Automatic u| 00000270 70 64 61 74 69 6e 67 20 6c 69 6e 65 20 6e 75 6d |pdating line num| 00000280 62 65 72 73 20 26 20 66 69 6c 65 20 61 64 64 72 |bers & file addr| 00000290 65 73 73 65 73 2e 0a 09 09 2a 20 46 75 6c 6c 20 |esses....* Full | 000002a0 28 75 6e 69 78 20 73 74 79 6c 65 29 20 77 69 6c |(unix style) wil| 000002b0 64 63 61 72 64 20 73 65 61 72 63 68 20 77 69 74 |dcard search wit| 000002c0 68 20 79 6f 75 72 20 6f 77 6e 20 64 65 66 69 6e |h your own defin| 000002d0 61 62 6c 65 0a 09 09 20 20 6d 61 63 72 6f 73 20 |able... macros | 000002e0 61 6e 64 20 73 65 61 72 63 68 20 27 74 68 72 6f |and search 'thro| 000002f0 77 62 61 63 6b 27 20 62 75 66 66 65 72 73 2e 0a |wback' buffers..| 00000300 09 09 2a 20 50 72 6f 70 65 72 20 75 6e 69 78 20 |..* Proper unix | 00000310 74 61 62 73 20 61 6e 64 20 74 72 75 65 20 73 63 |tabs and true sc| 00000320 72 6f 6c 6c 62 61 72 20 6f 70 65 72 61 74 69 6f |rollbar operatio| 00000330 6e 2e 0a 09 09 2a 20 46 75 6c 6c 20 75 6e 64 6f |n....* Full undo| 00000340 20 6f 6e 20 61 6c 6c 20 6f 70 65 72 61 74 69 6f | on all operatio| 00000350 6e 73 2e 0a 09 09 2a 20 43 4f 50 59 20 6b 65 79 |ns....* COPY key| 00000360 20 63 61 75 73 65 73 20 73 74 61 6e 64 61 72 64 | causes standard| 00000370 20 63 75 72 73 6f 72 20 65 64 69 74 69 6e 67 2e | cursor editing.| 00000380 0a 09 09 2a 20 46 61 73 74 20 72 65 64 72 61 77 |...* Fast redraw| 00000390 20 69 6e 20 73 79 73 74 65 6d 20 6f 72 20 61 6e | in system or an| 000003a0 74 69 2d 61 6c 69 61 73 65 64 20 66 6f 6e 74 73 |ti-aliased fonts| 000003b0 2e 0a 09 09 2a 20 41 6e 79 20 6e 75 6d 62 65 72 |....* Any number| 000003c0 20 6f 66 20 6d 61 72 6b 65 72 73 20 6f 6e 20 65 | of markers on e| 000003d0 61 63 68 20 66 69 6c 65 2c 20 61 6e 64 20 61 20 |ach file, and a | 000003e0 66 61 63 69 6c 69 74 79 20 66 6f 72 0a 09 09 20 |facility for... | 000003f0 20 66 6f 6c 6c 6f 77 69 6e 67 20 62 72 61 6e 63 | following branc| 00000400 68 65 73 20 69 6e 20 64 69 73 61 73 73 65 6d 62 |hes in disassemb| 00000410 6c 79 20 6d 6f 64 65 2e 0a 09 09 2a 20 46 75 6c |ly mode....* Ful| 00000420 6c 20 41 52 4d 42 45 20 73 74 79 6c 65 20 42 41 |l ARMBE style BA| 00000430 53 49 43 20 45 64 69 74 6f 72 2e 0a 09 09 2a 20 |SIC Editor....* | 00000440 53 65 61 72 63 68 20 61 73 20 79 6f 75 20 74 79 |Search as you ty| 00000450 70 65 2e 0a 09 09 2a 20 4c 65 61 72 6e 73 20 6b |pe....* Learns k| 00000460 65 79 73 20 73 65 71 75 65 6e 63 65 73 2e 0a 09 |eys sequences...| 00000470 09 2a 20 45 6d 61 63 73 20 73 74 79 6c 65 20 59 |.* Emacs style Y| 00000480 61 6e 6b 20 28 43 75 74 20 26 20 50 61 73 74 65 |ank (Cut & Paste| 00000490 29 20 61 6e 64 20 21 45 64 69 74 20 73 74 79 6c |) and !Edit styl| 000004a0 65 20 6d 6f 76 65 20 61 6e 64 0a 09 09 20 20 63 |e move and... c| 000004b0 6f 70 79 20 69 6d 70 6c 65 6d 65 6e 74 65 64 2e |opy implemented.| 000004c0 0a 09 09 2a 20 43 20 74 68 72 6f 77 62 61 63 6b |...* C throwback| 000004d0 2f 69 6e 66 6f 20 73 75 70 70 6f 72 74 65 64 2e |/info supported.| 000004e0 0a 09 09 2a 20 52 65 61 64 73 20 64 69 73 63 20 |...* Reads disc | 000004f0 73 65 63 74 6f 72 73 2f 74 72 61 63 6b 73 20 61 |sectors/tracks a| 00000500 6e 64 20 6d 65 6d 6f 72 79 20 6f 66 20 6f 74 68 |nd memory of oth| 00000510 65 72 20 74 61 73 6b 73 2e 0a 09 09 2a 20 4b 65 |er tasks....* Ke| 00000520 79 62 6f 61 72 64 20 73 65 6c 65 63 74 69 6f 6e |yboard selection| 00000530 20 6f 66 20 72 65 67 69 6f 6e 73 2e 0a 09 09 2a | of regions....*| 00000540 20 54 61 73 6b 77 69 6e 64 6f 77 20 73 75 70 70 | Taskwindow supp| 00000550 6f 72 74 73 20 63 6f 6e 74 72 6f 6c 20 63 68 61 |orts control cha| 00000560 72 61 63 74 65 72 73 2e 0a 09 09 2a 20 41 75 74 |racters....* Aut| 00000570 6f 20 69 6e 64 65 6e 74 2e 0a 0a 46 6f 72 20 64 |o indent...For d| 00000580 65 74 61 69 6c 73 20 6f 66 20 6d 79 20 66 75 74 |etails of my fut| 00000590 75 72 65 20 70 6c 61 6e 73 20 66 6f 72 20 5a 61 |ure plans for Za| 000005a0 70 20 70 6c 65 61 73 65 20 73 65 65 20 74 68 65 |p please see the| 000005b0 20 74 65 78 74 20 66 69 6c 65 20 27 43 68 61 6e | text file 'Chan| 000005c0 67 65 73 27 2e 0a 52 69 73 63 20 4f 73 20 32 20 |ges'..Risc Os 2 | 000005d0 75 73 65 72 73 20 70 6c 65 61 73 65 20 72 65 61 |users please rea| 000005e0 64 20 41 2e 34 2e 0a 0a 2a 2a 2a 2a 2a 2a 2a 2a |d A.4...********| 000005f0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000630 2a 0a 2a 20 43 6f 6e 74 65 6e 74 73 3a 20 20 20 |*.* Contents: | 00000640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000670 20 20 20 20 20 20 20 20 20 20 2a 0a 2a 2a 2a 2a | *.****| 00000680 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 000006c0 2a 2a 2a 2a 2a 0a 0a 09 53 65 63 74 69 6f 6e 20 |*****...Section | 000006d0 41 09 4b 65 79 73 20 61 6e 64 20 6f 70 74 69 6f |A.Keys and optio| 000006e0 6e 73 2e 0a 09 09 09 41 2e 31 20 53 75 6d 6d 61 |ns.....A.1 Summa| 000006f0 72 79 20 6f 66 20 64 65 66 61 75 6c 74 20 6b 65 |ry of default ke| 00000700 79 20 61 63 74 69 6f 6e 73 2e 0a 09 09 09 41 2e |y actions.....A.| 00000710 32 20 48 6f 77 20 74 6f 20 72 65 64 65 66 69 6e |2 How to redefin| 00000720 65 20 6d 6f 72 65 20 6b 65 79 73 2e 0a 09 09 09 |e more keys.....| 00000730 41 2e 33 20 48 6f 77 20 74 6f 20 63 68 61 6e 67 |A.3 How to chang| 00000740 65 20 5a 61 70 73 20 64 65 66 61 75 6c 74 20 6f |e Zaps default o| 00000750 70 74 69 6f 6e 73 2e 0a 09 09 09 41 2e 34 20 44 |ptions.....A.4 D| 00000760 69 66 66 65 72 65 6e 63 65 73 20 69 6e 20 52 69 |ifferences in Ri| 00000770 73 63 20 4f 73 20 32 2e 0a 09 09 09 0a 09 53 65 |sc Os 2.......Se| 00000780 63 74 69 6f 6e 20 42 09 4c 6f 61 64 69 6e 67 2f |ction B.Loading/| 00000790 73 61 76 69 6e 67 2f 70 72 69 6e 74 69 6e 67 2f |saving/printing/| 000007a0 65 64 69 74 69 6e 67 20 66 69 6c 65 73 0a 09 09 |editing files...| 000007b0 09 42 2e 31 20 4c 6f 61 64 69 6e 67 20 66 69 6c |.B.1 Loading fil| 000007c0 65 73 2f 63 72 65 61 74 69 6e 67 20 66 69 6c 65 |es/creating file| 000007d0 73 2e 0a 09 09 09 42 2e 32 20 53 61 76 69 6e 67 |s.....B.2 Saving| 000007e0 20 66 69 6c 65 73 2e 0a 09 09 09 42 2e 33 20 44 | files.....B.3 D| 000007f0 75 6d 70 69 6e 67 2f 70 72 69 6e 74 69 6e 67 20 |umping/printing | 00000800 66 69 6c 65 73 2e 0a 09 09 09 42 2e 34 20 53 65 |files.....B.4 Se| 00000810 6c 65 63 74 69 6e 67 20 72 65 67 69 6f 6e 73 2e |lecting regions.| 00000820 0a 09 09 09 42 2e 35 20 43 6f 70 79 69 6e 67 2f |....B.5 Copying/| 00000830 63 75 74 74 69 6e 67 2f 70 61 73 74 69 6e 67 2f |cutting/pasting/| 00000840 79 61 6e 6b 69 6e 67 2e 0a 09 09 09 0a 09 53 65 |yanking.......Se| 00000850 63 74 69 6f 6e 20 43 09 45 64 69 74 69 6e 67 20 |ction C.Editing | 00000860 42 41 53 49 43 20 2d 20 50 4c 45 41 53 45 20 52 |BASIC - PLEASE R| 00000870 45 41 44 0a 09 09 09 43 2e 31 20 48 6f 77 20 74 |EAD....C.1 How t| 00000880 6f 20 63 68 61 6e 67 65 20 65 64 69 74 6f 72 73 |o change editors| 00000890 2f 6f 70 74 69 6f 6e 73 2e 0a 09 09 09 43 2e 32 |/options.....C.2| 000008a0 20 55 73 69 6e 67 20 42 41 53 49 43 20 69 6e 20 | Using BASIC in | 000008b0 41 52 4d 42 45 20 6d 6f 64 65 2e 0a 09 09 09 43 |ARMBE mode.....C| 000008c0 2e 33 20 54 65 73 74 69 6e 67 20 42 41 53 49 43 |.3 Testing BASIC| 000008d0 20 70 72 6f 67 72 61 6d 73 2e 0a 09 09 09 0a 09 | programs.......| 000008e0 53 65 63 74 69 6f 6e 20 44 09 49 6e 64 69 76 69 |Section D.Indivi| 000008f0 64 75 61 6c 20 6d 6f 64 65 20 68 65 6c 70 2e 0a |dual mode help..| 00000900 09 09 09 44 2e 30 20 54 65 78 74 20 6d 6f 64 65 |...D.0 Text mode| 00000910 0a 09 09 09 44 2e 31 20 42 79 74 65 20 6d 6f 64 |....D.1 Byte mod| 00000920 65 20 2e 2e 20 65 74 63 20 2e 2e 0a 09 09 09 0a |e .. etc .......| 00000930 09 53 65 63 74 69 6f 6e 20 45 09 53 65 61 72 63 |.Section E.Searc| 00000940 68 20 61 6e 64 20 52 65 70 6c 61 63 65 2e 0a 09 |h and Replace...| 00000950 09 09 45 2e 31 20 54 68 65 20 53 65 61 72 63 68 |..E.1 The Search| 00000960 20 77 69 6e 64 6f 77 2e 0a 09 09 09 45 2e 32 20 | window.....E.2 | 00000970 54 68 65 20 52 65 70 6c 61 63 65 20 77 69 6e 64 |The Replace wind| 00000980 6f 77 2e 0a 09 09 09 45 2e 33 20 4b 65 79 62 6f |ow.....E.3 Keybo| 00000990 61 72 64 20 28 69 6e 63 72 65 6d 65 6e 74 61 6c |ard (incremental| 000009a0 29 20 73 65 61 72 63 68 2e 0a 09 09 09 0a 09 53 |) search.......S| 000009b0 65 63 74 69 6f 6e 20 46 09 4f 74 68 65 72 20 66 |ection F.Other f| 000009c0 65 61 74 75 72 65 73 2e 0a 09 09 09 46 2e 31 20 |eatures.....F.1 | 000009d0 4c 65 61 72 6e 69 6e 67 20 6b 65 79 20 73 65 71 |Learning key seq| 000009e0 75 65 6e 63 65 73 20 2d 20 76 65 72 79 20 75 73 |uences - very us| 000009f0 65 66 75 6c 2e 0a 09 09 09 46 2e 32 20 54 61 62 |eful.....F.2 Tab| 00000a00 73 20 61 6e 64 20 69 6e 64 65 6e 74 69 6e 67 2e |s and indenting.| 00000a10 0a 09 09 09 46 2e 33 20 46 6f 6e 74 73 20 61 6e |....F.3 Fonts an| 00000a20 64 20 66 6f 6e 74 20 73 69 7a 65 73 2e 0a 09 09 |d font sizes....| 00000a30 09 0a 09 53 65 63 74 69 6f 6e 20 47 09 48 6f 77 |...Section G.How| 00000a40 20 74 6f 20 66 69 6e 64 20 6f 75 74 20 6d 6f 72 | to find out mor| 00000a50 65 2e 0a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |e...************| 00000a60 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000a90 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 2a 20 |*************.* | 00000aa0 53 65 63 74 69 6f 6e 20 41 3a 09 4b 65 79 73 20 |Section A:.Keys | 00000ab0 61 6e 64 20 6f 70 74 69 6f 6e 73 2e 09 09 09 09 |and options.....| 00000ac0 09 2a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |.*.*************| 00000ad0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000b00 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 0a 41 2e |************..A.| 00000b10 31 20 44 65 66 61 75 6c 74 20 6b 65 79 20 61 63 |1 Default key ac| 00000b20 74 69 6f 6e 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |tions.----------| 00000b30 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 57 |-------------..W| 00000b40 68 65 6e 20 5a 61 70 20 69 73 20 6c 6f 61 64 65 |hen Zap is loade| 00000b50 64 2c 20 69 74 20 72 65 61 64 73 20 69 6e 20 74 |d, it reads in t| 00000b60 68 65 20 27 4b 65 79 73 27 20 66 69 6c 65 2c 20 |he 'Keys' file, | 00000b70 61 6e 64 20 75 73 65 73 20 74 68 69 73 20 74 6f |and uses this to| 00000b80 20 63 72 65 61 74 65 20 74 68 65 0a 63 75 72 72 | create the.curr| 00000b90 65 6e 74 20 6b 65 79 20 62 69 6e 64 69 6e 67 73 |ent key bindings| 00000ba0 2e 20 45 61 63 68 20 6b 65 79 20 6d 65 6e 74 69 |. Each key menti| 00000bb0 6f 6e 65 64 20 69 6e 20 74 68 65 20 27 4b 65 79 |oned in the 'Key| 00000bc0 73 27 20 66 69 6c 65 20 68 61 73 20 61 20 63 6f |s' file has a co| 00000bd0 6d 6d 61 6e 64 0a 6e 61 6d 65 20 66 6f 6c 6c 6f |mmand.name follo| 00000be0 77 69 6e 67 20 69 74 2e 20 42 79 20 65 64 69 74 |wing it. By edit| 00000bf0 69 6e 67 20 74 68 65 20 27 4b 65 79 73 27 20 66 |ing the 'Keys' f| 00000c00 69 6c 65 20 61 6e 64 20 6d 6f 76 69 6e 67 20 74 |ile and moving t| 00000c10 68 65 20 63 6f 6d 6d 61 6e 64 20 6e 61 6d 65 73 |he command names| 00000c20 0a 61 62 6f 75 74 2c 20 79 6f 75 20 63 61 6e 20 |.about, you can | 00000c30 63 68 61 6e 67 65 20 74 68 65 20 6b 65 79 20 61 |change the key a| 00000c40 63 74 69 6f 6e 2e 20 53 65 65 20 73 65 63 74 69 |ction. See secti| 00000c50 6f 6e 20 41 2e 32 20 66 6f 72 20 64 65 74 61 69 |on A.2 for detai| 00000c60 6c 73 2e 0a 0a 50 6c 65 61 73 65 20 6e 6f 74 65 |ls...Please note| 00000c70 20 74 68 61 74 20 74 68 65 20 6b 65 79 20 73 68 | that the key sh| 00000c80 6f 72 74 20 63 75 74 73 20 67 69 76 65 6e 20 69 |ort cuts given i| 00000c90 6e 20 74 68 65 20 6d 65 6e 75 73 20 61 72 65 20 |n the menus are | 00000ca0 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 0a 75 70 |automatically.up| 00000cb0 64 61 74 65 64 20 74 6f 20 72 65 66 6c 65 63 74 |dated to reflect| 00000cc0 20 79 6f 75 72 20 6e 65 77 20 63 68 6f 69 63 65 | your new choice| 00000cd0 20 6f 66 20 6b 65 79 73 2e 20 41 20 73 75 6d 6d | of keys. A summ| 00000ce0 61 72 79 20 6f 66 20 74 68 65 20 64 65 66 61 75 |ary of the defau| 00000cf0 6c 74 20 6b 65 79 0a 62 69 6e 64 69 6e 67 73 20 |lt key.bindings | 00000d00 69 73 20 67 69 76 65 6e 20 62 65 6c 6f 77 2e 20 |is given below. | 00000d10 28 73 3d 53 68 69 66 74 20 63 3d 43 74 72 6c 20 |(s=Shift c=Ctrl | 00000d20 73 63 3d 53 68 69 66 74 2b 43 74 72 6c 29 2e 0a |sc=Shift+Ctrl)..| 00000d30 0a 4b 65 79 3a 09 09 43 6f 6d 6d 61 6e 64 3a 09 |.Key:..Command:.| 00000d40 41 63 74 69 6f 6e 3a 0a 0a 44 65 6c 65 74 65 09 |Action:..Delete.| 00000d50 09 44 45 4c 45 54 45 09 09 44 65 6c 65 74 65 20 |.DELETE..Delete | 00000d60 6c 61 73 74 20 63 68 61 72 61 63 74 65 72 2e 0a |last character..| 00000d70 73 44 65 6c 65 74 65 09 09 44 45 4c 45 54 45 4e |sDelete..DELETEN| 00000d80 45 58 54 09 44 65 6c 65 74 65 20 6e 65 78 74 20 |EXT.Delete next | 00000d90 63 68 61 72 61 63 74 65 72 2e 0a 49 6e 73 65 72 |character..Inser| 00000da0 74 09 09 54 4f 47 47 4c 45 49 4e 53 45 52 54 09 |t..TOGGLEINSERT.| 00000db0 54 6f 67 67 6c 65 20 69 6e 73 65 72 74 20 61 6e |Toggle insert an| 00000dc0 64 20 6f 76 65 72 77 72 69 74 65 20 6d 6f 64 65 |d overwrite mode| 00000dd0 73 2e 0a 43 6f 70 79 09 09 43 4f 50 59 09 09 49 |s..Copy..COPY..I| 00000de0 6e 69 74 69 61 74 65 73 20 73 70 6c 69 74 20 63 |nitiates split c| 00000df0 75 72 73 6f 72 20 63 6f 70 79 69 6e 67 2e 20 4d |ursor copying. M| 00000e00 6f 76 65 20 63 75 72 73 6f 72 0a 09 09 09 09 77 |ove cursor.....w| 00000e10 69 74 68 20 63 75 72 73 6f 72 20 6b 65 79 73 20 |ith cursor keys | 00000e20 61 6e 64 20 75 73 65 20 43 4f 50 59 20 6b 65 79 |and use COPY key| 00000e30 20 74 6f 20 63 6f 70 79 2e 0a 09 09 09 09 4e 6f | to copy......No| 00000e40 74 65 20 74 68 61 74 20 79 6f 75 20 6d 61 79 20 |te that you may | 00000e50 63 6f 70 79 20 66 72 6f 6d 20 6f 6e 65 20 77 69 |copy from one wi| 00000e60 6e 64 6f 77 20 74 6f 0a 09 09 09 09 61 6e 6f 74 |ndow to.....anot| 00000e70 68 65 72 20 62 79 20 73 65 6c 65 63 74 69 6e 67 |her by selecting| 00000e80 20 6f 6e 20 74 68 65 20 6f 74 68 65 72 2e 0a 73 | on the other..s| 00000e90 43 6f 70 79 09 09 43 4f 50 59 09 09 46 6f 72 20 |Copy..COPY..For | 00000ea0 74 68 6f 73 65 20 77 68 6f 20 77 69 73 68 20 74 |those who wish t| 00000eb0 6f 20 72 65 64 65 66 69 6e 65 20 43 6f 70 79 20 |o redefine Copy | 00000ec0 74 6f 20 62 65 0a 09 09 09 09 44 45 4c 45 54 45 |to be.....DELETE| 00000ed0 4e 45 58 54 2e 20 43 6f 70 79 20 6b 65 79 20 73 |NEXT. Copy key s| 00000ee0 74 69 6c 6c 20 6f 6b 20 69 6e 20 63 6f 70 79 20 |till ok in copy | 00000ef0 6d 6f 64 65 2e 0a 63 43 6f 70 79 09 09 53 45 4c |mode..cCopy..SEL| 00000f00 52 45 47 49 4f 4e 09 53 74 61 72 74 73 20 73 65 |REGION.Starts se| 00000f10 6c 65 63 74 69 6f 6e 20 6f 66 20 61 20 72 65 67 |lection of a reg| 00000f20 69 6f 6e 20 76 69 61 20 63 75 72 73 6f 72 20 6b |ion via cursor k| 00000f30 65 79 73 2e 0a 09 09 09 09 50 72 65 73 73 20 45 |eys......Press E| 00000f40 73 63 61 70 65 20 74 6f 20 65 6e 64 20 74 68 65 |scape to end the| 00000f50 20 73 65 6c 65 63 74 69 6f 6e 2e 0a 73 63 43 6f | selection..scCo| 00000f60 70 79 09 09 44 55 4d 50 46 49 4c 45 09 50 72 6f |py..DUMPFILE.Pro| 00000f70 64 75 63 65 20 74 65 78 74 20 69 6d 61 67 65 20 |duce text image | 00000f80 6f 66 20 74 68 69 73 20 66 69 6c 65 2e 0a 45 73 |of this file..Es| 00000f90 63 61 70 65 09 20 20 20 09 45 53 43 41 50 45 09 |cape. .ESCAPE.| 00000fa0 09 53 74 6f 70 73 20 63 6f 70 79 20 6d 6f 64 65 |.Stops copy mode| 00000fb0 73 2f 73 65 6c 65 63 74 69 6f 6e 20 6d 6f 64 65 |s/selection mode| 00000fc0 73 2f 73 65 61 72 63 68 0a 09 09 09 09 61 73 20 |s/search.....as | 00000fd0 79 6f 75 20 74 79 70 65 20 6d 6f 64 65 2f 79 61 |you type mode/ya| 00000fe0 6e 6b 20 6d 6f 64 65 2e 0a 54 61 62 09 09 54 41 |nk mode..Tab..TA| 00000ff0 42 09 09 49 6e 73 65 72 74 73 20 61 20 76 61 72 |B..Inserts a var| 00001000 69 65 74 79 20 6f 66 20 74 61 62 73 20 2d 20 73 |iety of tabs - s| 00001010 65 65 20 74 61 62 20 6d 65 6e 75 2e 0a 73 54 61 |ee tab menu..sTa| 00001020 62 09 09 53 57 49 54 43 48 54 41 42 09 53 77 69 |b..SWITCHTAB.Swi| 00001030 74 63 68 65 73 20 62 65 74 77 65 65 6e 20 55 6e |tches between Un| 00001040 69 78 20 61 6e 64 20 21 45 64 69 74 20 74 61 62 |ix and !Edit tab| 00001050 20 6d 6f 64 65 73 2e 0a 73 63 54 61 62 09 09 2d | modes..scTab..-| 00001060 09 09 52 65 73 65 72 76 65 64 20 66 6f 72 20 21 |..Reserved for !| 00001070 4c 61 72 67 65 72 2f 21 4d 65 6e 6f 6e 20 75 73 |Larger/!Menon us| 00001080 65 72 73 2e 0a 3c 2d 7c 09 09 44 45 4c 45 54 45 |ers..<-|..DELETE| 00001090 09 09 44 65 6c 65 74 65 20 6c 61 73 74 20 63 68 |..Delete last ch| 000010a0 61 72 61 63 74 65 72 2e 0a 63 3c 2d 7c 09 09 46 |aracter..c<-|..F| 000010b0 41 53 54 55 4e 44 4f 09 55 6e 64 6f 20 6c 61 73 |ASTUNDO.Undo las| 000010c0 74 20 6f 70 65 72 61 74 69 6f 6e 2e 0a 50 72 69 |t operation..Pri| 000010d0 6e 74 09 09 51 55 49 43 4b 50 52 49 4e 54 09 53 |nt..QUICKPRINT.S| 000010e0 65 6e 64 20 66 69 6c 65 20 64 69 72 65 63 74 6c |end file directl| 000010f0 79 20 74 6f 20 70 72 69 6e 74 65 72 2e 0a 73 50 |y to printer..sP| 00001100 72 69 6e 74 09 09 50 52 49 4e 54 46 49 4c 45 09 |rint..PRINTFILE.| 00001110 50 72 69 6e 74 20 66 69 6c 65 20 74 68 72 6f 75 |Print file throu| 00001120 67 68 20 70 72 69 6e 74 65 72 20 64 72 69 76 65 |gh printer drive| 00001130 72 2e 0a 63 50 72 69 6e 74 09 09 4f 50 45 4e 50 |r..cPrint..OPENP| 00001140 52 49 4e 54 45 52 09 4f 70 65 6e 20 27 70 72 69 |RINTER.Open 'pri| 00001150 6e 74 65 72 3a 27 20 66 69 6c 65 72 20 77 69 6e |nter:' filer win| 00001160 64 6f 77 2e 0a 73 63 50 72 69 6e 74 09 09 43 4c |dow..scPrint..CL| 00001170 4f 53 45 50 52 49 4e 54 45 52 09 43 6c 6f 73 65 |OSEPRINTER.Close| 00001180 20 27 70 72 69 6e 74 65 72 3a 27 20 66 69 6c 65 | 'printer:' file| 00001190 72 20 77 69 6e 64 6f 77 2e 0a 52 65 74 75 72 6e |r window..Return| 000011a0 09 09 52 45 54 55 52 4e 09 09 53 70 6c 69 74 73 |..RETURN..Splits| 000011b0 20 6c 69 6e 65 20 2f 20 69 6e 73 65 72 74 73 20 | line / inserts | 000011c0 6e 65 77 20 6c 69 6e 65 20 69 6e 20 6c 69 6e 65 |new line in line| 000011d0 20 65 64 69 74 0a 09 09 09 09 6d 6f 64 65 2e 20 | edit.....mode. | 000011e0 41 6c 73 6f 20 69 6e 64 65 6e 74 73 20 69 6e 20 |Also indents in | 000011f0 61 75 74 6f 2d 69 6e 64 65 6e 74 20 6d 6f 64 65 |auto-indent mode| 00001200 2e 0a 0a 43 75 72 73 6f 72 20 6b 65 79 73 3a 0a |...Cursor keys:.| 00001210 0a 4c 65 66 74 09 20 20 20 20 20 20 20 20 4c 45 |.Left. LE| 00001220 46 54 09 09 4d 6f 76 65 73 20 31 20 6c 65 66 74 |FT..Moves 1 left| 00001230 20 2f 20 67 6f 74 6f 20 6c 61 73 74 20 6d 61 72 | / goto last mar| 00001240 6b 20 69 6e 20 63 6f 64 65 20 6d 6f 64 65 2e 0a |k in code mode..| 00001250 52 69 67 68 74 09 09 52 49 47 48 54 09 09 4d 6f |Right..RIGHT..Mo| 00001260 76 65 73 20 31 20 72 69 67 68 74 20 2f 20 67 6f |ves 1 right / go| 00001270 74 6f 20 61 64 64 72 65 73 73 20 69 6e 20 63 6f |to address in co| 00001280 64 65 20 6d 6f 64 65 2e 0a 44 6f 77 6e 09 09 44 |de mode..Down..D| 00001290 4f 57 4e 09 09 4d 6f 76 65 20 31 20 6c 69 6e 65 |OWN..Move 1 line| 000012a0 20 64 6f 77 6e 2e 0a 55 70 09 09 55 50 09 09 4d | down..Up..UP..M| 000012b0 6f 76 65 20 31 20 6c 69 6e 65 20 75 70 2e 0a 73 |ove 1 line up..s| 000012c0 4c 65 66 74 20 20 09 09 53 4c 45 46 54 09 09 4d |Left ..SLEFT..M| 000012d0 6f 76 65 20 62 61 63 6b 20 6f 6e 65 20 77 6f 72 |ove back one wor| 000012e0 64 2e 0a 73 52 69 67 68 74 09 09 53 52 49 47 48 |d..sRight..SRIGH| 000012f0 54 09 09 4d 6f 76 65 20 66 6f 72 77 61 72 64 20 |T..Move forward | 00001300 6f 6e 65 20 77 6f 72 64 2e 0a 73 44 6f 77 6e 2f |one word..sDown/| 00001310 50 61 67 65 44 6f 77 6e 09 53 44 4f 57 4e 09 09 |PageDown.SDOWN..| 00001320 4d 6f 76 65 20 64 6f 77 6e 20 61 20 70 61 67 65 |Move down a page| 00001330 2e 0a 73 55 70 2f 50 61 67 65 55 70 20 20 20 20 |..sUp/PageUp | 00001340 09 53 55 50 09 09 4d 6f 76 65 20 75 70 20 61 20 |.SUP..Move up a | 00001350 70 61 67 65 2e 0a 63 4c 65 66 74 09 09 43 4c 45 |page..cLeft..CLE| 00001360 46 54 09 09 4d 6f 76 65 20 74 6f 20 73 74 61 72 |FT..Move to star| 00001370 74 20 6f 66 20 6c 6f 67 69 63 61 6c 20 6c 69 6e |t of logical lin| 00001380 65 2e 0a 63 52 69 67 68 74 09 09 43 52 49 47 48 |e..cRight..CRIGH| 00001390 54 09 09 4d 6f 76 65 20 74 6f 20 65 6e 64 20 6f |T..Move to end o| 000013a0 66 20 6c 6f 67 69 63 61 6c 20 6c 69 6e 65 2e 0a |f logical line..| 000013b0 63 44 6f 77 6e 09 09 43 44 4f 57 4e 09 09 4d 6f |cDown..CDOWN..Mo| 000013c0 76 65 20 74 6f 20 65 6e 64 20 6f 66 20 74 65 78 |ve to end of tex| 000013d0 74 20 28 61 6e 64 20 6c 65 61 76 65 20 6d 61 72 |t (and leave mar| 000013e0 6b 65 72 29 2e 0a 63 55 70 09 09 43 55 50 09 09 |ker)..cUp..CUP..| 000013f0 4d 6f 76 65 20 74 6f 20 73 74 61 72 74 20 6f 66 |Move to start of| 00001400 20 74 65 78 74 20 28 61 6e 64 20 6c 65 61 76 65 | text (and leave| 00001410 20 6d 61 72 6b 65 72 29 2e 0a 73 63 4c 65 66 74 | marker)..scLeft| 00001420 09 09 53 43 4c 45 46 54 09 09 4d 6f 76 65 20 74 |..SCLEFT..Move t| 00001430 6f 20 74 68 65 20 6c 65 66 74 20 77 69 74 68 6f |o the left witho| 00001440 75 74 20 6d 6f 76 69 6e 67 20 63 75 72 73 6f 72 |ut moving cursor| 00001450 2e 0a 73 63 52 69 67 68 74 09 09 53 43 52 49 47 |..scRight..SCRIG| 00001460 48 54 09 09 4d 6f 76 65 20 74 6f 20 74 68 65 20 |HT..Move to the | 00001470 72 69 67 68 74 20 77 69 74 68 6f 75 74 20 6d 6f |right without mo| 00001480 76 69 6e 67 20 63 75 72 73 6f 72 2e 0a 73 63 44 |ving cursor..scD| 00001490 6f 77 6e 09 09 53 43 44 4f 57 4e 09 09 4d 6f 76 |own..SCDOWN..Mov| 000014a0 65 20 64 6f 77 6e 20 77 69 74 68 6f 75 74 20 6d |e down without m| 000014b0 6f 76 69 6e 67 20 63 75 72 73 6f 72 2e 0a 73 63 |oving cursor..sc| 000014c0 55 70 09 09 53 43 55 50 09 09 4d 6f 76 65 20 75 |Up..SCUP..Move u| 000014d0 70 20 77 69 74 68 6f 75 74 20 6d 6f 76 69 6e 67 |p without moving| 000014e0 20 63 75 72 73 6f 72 2e 0a 0a 46 75 6e 63 74 69 | cursor...Functi| 000014f0 6f 6e 20 6b 65 79 73 3a 0a 0a 46 31 09 09 45 58 |on keys:..F1..EX| 00001500 45 43 55 54 45 09 09 45 78 65 63 75 74 65 20 6c |ECUTE..Execute l| 00001510 65 61 72 6e 74 20 6b 65 79 20 73 65 71 75 65 6e |earnt key sequen| 00001520 63 65 20 28 73 65 65 20 46 2e 31 29 2e 0a 46 32 |ce (see F.1)..F2| 00001530 09 09 48 45 58 41 53 43 49 49 09 54 6f 67 67 6c |..HEXASCII.Toggl| 00001540 65 73 20 68 65 78 20 65 6e 74 72 79 20 6d 6f 64 |es hex entry mod| 00001550 65 20 77 68 65 6e 20 62 79 74 65 2f 77 6f 72 64 |e when byte/word| 00001560 20 6d 6f 64 65 73 2e 0a 46 33 09 09 53 41 56 45 | modes..F3..SAVE| 00001570 09 09 42 72 69 6e 67 73 20 75 70 20 73 61 76 65 |..Brings up save| 00001580 20 62 6f 78 2e 20 53 65 65 20 73 61 76 65 20 62 | box. See save b| 00001590 6f 78 20 68 65 6c 70 2e 0a 46 34 09 09 53 45 41 |ox help..F4..SEA| 000015a0 52 43 48 43 55 52 09 42 72 69 6e 67 73 20 75 70 |RCHCUR.Brings up| 000015b0 20 53 65 61 72 63 68 20 62 79 20 47 6f 74 6f 20 | Search by Goto | 000015c0 62 6f 78 2e 20 28 53 65 65 20 45 2e 31 29 0a 46 |box. (See E.1).F| 000015d0 35 20 09 09 47 4f 54 4f 09 09 42 72 69 6e 67 73 |5 ..GOTO..Brings| 000015e0 20 75 70 20 47 6f 74 6f 20 6c 69 6e 65 2f 61 64 | up Goto line/ad| 000015f0 64 72 65 73 73 20 62 6f 78 2e 0a 46 36 20 09 09 |dress box..F6 ..| 00001600 54 4f 47 47 4c 45 4d 41 52 4b 09 49 6e 73 65 72 |TOGGLEMARK.Inser| 00001610 74 73 20 6d 61 72 6b 65 72 20 69 6e 20 74 65 78 |ts marker in tex| 00001620 74 2f 64 65 6c 65 74 65 73 20 6d 61 72 6b 65 72 |t/deletes marker| 00001630 2e 0a 46 37 09 09 53 45 41 52 43 48 42 55 46 09 |..F7..SEARCHBUF.| 00001640 42 72 69 6e 67 73 20 75 70 20 53 65 61 72 63 68 |Brings up Search| 00001650 20 74 6f 20 62 75 66 66 65 72 20 62 6f 78 2e 20 | to buffer box. | 00001660 28 53 65 65 20 45 2e 31 29 0a 46 38 09 09 46 55 |(See E.1).F8..FU| 00001670 4c 4c 55 4e 44 4f 09 46 75 6c 6c 20 75 6e 64 6f |LLUNDO.Full undo| 00001680 20 28 74 61 6b 65 73 20 6c 6f 6e 67 65 73 74 20 | (takes longest | 00001690 70 61 74 68 20 69 6e 20 75 6e 64 6f 20 74 72 65 |path in undo tre| 000016a0 65 29 2e 0a 46 39 09 09 52 45 44 4f 09 09 52 65 |e)..F9..REDO..Re| 000016b0 64 6f 20 28 75 6e 64 6f 20 6c 61 73 74 20 75 6e |do (undo last un| 000016c0 64 6f 20 77 68 65 74 68 65 72 20 66 75 6c 6c 20 |do whether full | 000016d0 6f 72 20 66 61 73 74 29 2e 0a 46 31 30 09 09 44 |or fast)..F10..D| 000016e0 45 4c 4c 49 4e 45 09 09 44 65 6c 65 74 65 20 63 |ELLINE..Delete c| 000016f0 75 72 72 65 6e 74 20 6c 69 6e 65 2e 0a 0a 73 46 |urrent line...sF| 00001700 31 09 09 53 50 4c 49 54 4c 49 4e 45 09 53 70 6c |1..SPLITLINE.Spl| 00001710 69 74 20 6c 69 6e 65 20 28 75 73 65 66 75 6c 20 |it line (useful | 00001720 69 6e 20 42 61 73 69 63 20 6d 6f 64 65 29 2e 0a |in Basic mode)..| 00001730 73 46 32 09 09 53 57 41 50 57 49 4e 44 4f 57 09 |sF2..SWAPWINDOW.| 00001740 53 77 61 70 20 77 69 6e 64 6f 77 20 28 74 6f 20 |Swap window (to | 00001750 6e 65 78 74 20 77 69 6e 64 6f 77 2f 6c 61 73 74 |next window/last| 00001760 20 75 73 65 64 29 2e 0a 73 46 33 09 09 2d 09 09 | used)..sF3..-..| 00001770 52 65 73 65 72 76 65 64 2e 0a 73 46 34 09 09 52 |Reserved..sF4..R| 00001780 45 50 4c 41 43 45 09 09 42 72 69 6e 67 73 20 75 |EPLACE..Brings u| 00001790 70 20 73 65 61 72 63 68 20 61 6e 64 20 72 65 70 |p search and rep| 000017a0 6c 61 63 65 20 62 6f 78 2e 20 28 53 65 65 20 45 |lace box. (See E| 000017b0 2e 32 29 0a 73 46 35 09 09 48 45 4c 50 09 09 42 |.2).sF5..HELP..B| 000017c0 72 69 6e 67 73 20 75 70 20 74 68 69 73 20 68 65 |rings up this he| 000017d0 6c 70 20 74 65 78 74 2e 0a 73 46 36 09 09 4c 41 |lp text..sF6..LA| 000017e0 53 54 4d 41 52 4b 09 4c 61 73 74 20 6d 61 72 6b |STMARK.Last mark| 000017f0 20 28 65 67 20 61 66 74 65 72 20 63 74 72 6c 2d | (eg after ctrl-| 00001800 64 6f 77 6e 20 62 79 20 6d 69 73 74 61 6b 65 29 |down by mistake)| 00001810 2e 0a 73 46 37 09 09 4e 45 58 54 4d 41 54 43 48 |..sF7..NEXTMATCH| 00001820 09 4e 65 78 74 20 6d 61 74 63 68 20 28 61 66 74 |.Next match (aft| 00001830 65 72 20 61 6e 20 46 34 20 6f 72 20 46 37 20 73 |er an F4 or F7 s| 00001840 65 61 72 63 68 29 2e 0a 73 46 38 09 09 52 45 4e |earch)..sF8..REN| 00001850 55 4d 42 45 52 09 52 65 6e 75 6d 62 65 72 73 20 |UMBER.Renumbers | 00001860 61 20 42 41 53 49 43 20 66 69 6c 65 2e 0a 73 46 |a BASIC file..sF| 00001870 39 09 09 4e 45 58 54 4d 41 52 4b 09 4a 75 6d 70 |9..NEXTMARK.Jump| 00001880 20 74 6f 20 6e 65 78 74 20 73 65 74 20 6d 61 72 | to next set mar| 00001890 6b 65 72 2e 0a 73 46 31 30 09 09 44 45 4c 54 4f |ker..sF10..DELTO| 000018a0 53 54 41 52 54 09 44 65 6c 65 74 65 20 74 6f 20 |START.Delete to | 000018b0 73 74 61 72 74 20 6f 66 20 6c 69 6e 65 2e 0a 0a |start of line...| 000018c0 63 46 31 09 09 4a 4f 49 4e 4c 49 4e 45 09 4a 6f |cF1..JOINLINE.Jo| 000018d0 69 6e 20 6c 69 6e 65 20 28 75 73 65 66 75 6c 20 |in line (useful | 000018e0 69 6e 20 42 61 73 69 63 20 6d 6f 64 65 29 2e 0a |in Basic mode)..| 000018f0 63 46 32 09 09 43 4c 4f 53 45 57 49 4e 44 4f 57 |cF2..CLOSEWINDOW| 00001900 09 43 6c 6f 73 65 20 63 75 72 72 65 6e 74 20 77 |.Close current w| 00001910 69 6e 64 6f 77 20 28 61 6e 64 20 6a 75 6d 70 20 |indow (and jump | 00001920 74 6f 20 6e 65 78 74 29 2e 0a 63 46 33 09 09 51 |to next)..cF3..Q| 00001930 55 49 43 4b 53 41 56 45 09 53 61 76 65 20 74 68 |UICKSAVE.Save th| 00001940 65 20 66 69 6c 65 20 77 69 74 68 20 6e 6f 20 70 |e file with no p| 00001950 72 6f 6d 70 74 2e 0a 63 46 34 09 09 4e 45 57 56 |rompt..cF4..NEWV| 00001960 49 45 57 09 09 4e 65 77 20 76 69 65 77 20 28 6f |IEW..New view (o| 00001970 70 65 6e 20 6e 65 77 20 77 69 6e 64 6f 77 20 6f |pen new window o| 00001980 6e 20 74 68 69 73 20 66 69 6c 65 29 2e 0a 63 46 |n this file)..cF| 00001990 35 09 09 57 4f 52 44 57 52 41 50 09 54 6f 67 67 |5..WORDWRAP.Togg| 000019a0 6c 65 20 77 6f 72 64 77 72 61 70 20 6d 6f 64 65 |le wordwrap mode| 000019b0 20 28 77 20 69 6e 20 74 69 74 6c 65 29 2e 0a 63 | (w in title)..c| 000019c0 46 36 09 09 46 4f 52 4d 41 54 54 45 58 54 09 46 |F6..FORMATTEXT.F| 000019d0 6f 72 6d 61 74 20 74 65 78 74 20 74 6f 20 73 74 |ormat text to st| 000019e0 61 72 74 20 6f 66 20 6e 65 78 74 20 70 61 72 61 |art of next para| 000019f0 67 72 61 70 68 2e 0a 63 46 37 09 09 4c 41 53 54 |graph..cF7..LAST| 00001a00 4d 41 54 43 48 09 50 72 65 76 69 6f 75 73 20 6d |MATCH.Previous m| 00001a10 61 74 63 68 20 28 73 65 65 20 73 46 37 29 2e 0a |atch (see sF7)..| 00001a20 63 46 38 09 09 2d 09 09 52 65 73 65 72 76 65 64 |cF8..-..Reserved| 00001a30 0a 63 46 39 09 09 2d 09 09 52 65 73 65 72 76 65 |.cF9..-..Reserve| 00001a40 64 0a 63 46 31 30 09 09 44 45 4c 54 4f 45 4e 44 |d.cF10..DELTOEND| 00001a50 09 44 65 6c 65 74 65 20 74 6f 20 65 6e 64 20 6f |.Delete to end o| 00001a60 66 20 6c 69 6e 65 20 28 65 6d 61 63 73 20 73 74 |f line (emacs st| 00001a70 79 6c 65 20 63 74 72 6c 20 4b 29 2e 0a 0a 73 63 |yle ctrl K)...sc| 00001a80 46 31 09 09 4d 4f 44 45 30 09 09 54 65 78 74 20 |F1..MODE0..Text | 00001a90 6d 6f 64 65 20 20 20 28 64 69 73 70 6c 61 79 20 |mode (display | 00001aa0 69 6e 20 74 65 78 74 20 66 6f 72 6d 61 74 29 0a |in text format).| 00001ab0 73 63 46 32 09 09 4d 4f 44 45 31 09 09 42 79 74 |scF2..MODE1..Byt| 00001ac0 65 20 6d 6f 64 65 20 20 20 28 64 69 73 70 6c 61 |e mode (displa| 00001ad0 79 20 69 6e 20 68 65 78 20 62 79 74 65 73 29 0a |y in hex bytes).| 00001ae0 73 63 46 33 09 09 4d 4f 44 45 32 09 09 57 6f 72 |scF3..MODE2..Wor| 00001af0 64 20 6d 6f 64 65 20 20 20 28 64 69 73 70 6c 61 |d mode (displa| 00001b00 79 20 69 6e 20 68 65 78 20 77 6f 72 64 73 29 0a |y in hex words).| 00001b10 73 63 46 34 09 09 4d 4f 44 45 33 09 09 41 73 63 |scF4..MODE3..Asc| 00001b20 69 69 20 6d 6f 64 65 20 20 28 64 69 73 70 6c 61 |ii mode (displa| 00001b30 79 20 69 6e 20 63 68 61 72 61 63 74 65 72 73 29 |y in characters)| 00001b40 0a 73 63 46 35 09 09 4d 4f 44 45 34 09 09 43 6f |.scF5..MODE4..Co| 00001b50 64 65 20 6d 6f 64 65 20 20 20 28 64 69 73 70 6c |de mode (displ| 00001b60 61 79 20 69 6e 20 64 69 73 61 73 73 65 6d 62 6c |ay in disassembl| 00001b70 65 64 20 63 6f 64 65 29 0a 73 63 46 36 09 09 4d |ed code).scF6..M| 00001b80 4f 44 45 35 09 09 42 41 53 49 43 20 6d 6f 64 65 |ODE5..BASIC mode| 00001b90 20 20 28 64 69 73 70 6c 61 79 20 74 6f 6b 65 6e | (display token| 00001ba0 69 73 65 64 20 42 61 73 69 63 29 0a 73 63 46 37 |ised Basic).scF7| 00001bb0 09 09 4d 4f 44 45 36 09 09 42 41 53 54 58 54 20 |..MODE6..BASTXT | 00001bc0 6d 6f 64 65 20 28 64 69 73 70 6c 61 79 20 64 65 |mode (display de| 00001bd0 74 6f 6b 65 6e 69 73 65 64 20 42 61 73 69 63 29 |tokenised Basic)| 00001be0 0a 73 63 46 38 09 09 4d 4f 44 45 37 09 09 65 78 |.scF8..MODE7..ex| 00001bf0 74 65 6e 73 69 6f 6e 20 6d 6f 64 65 20 2d 20 37 |tension mode - 7| 00001c00 0a 73 63 46 39 09 09 4d 4f 44 45 38 09 09 65 78 |.scF9..MODE8..ex| 00001c10 74 65 6e 73 69 6f 6e 20 6d 6f 64 65 20 2d 20 38 |tension mode - 8| 00001c20 0a 73 63 46 31 30 09 09 4d 4f 44 45 39 09 09 65 |.scF10..MODE9..e| 00001c30 78 74 65 6e 73 69 6f 6e 20 6d 6f 64 65 20 2d 20 |xtension mode - | 00001c40 39 0a 0a 43 74 72 6c 20 6c 65 74 74 65 72 73 3a |9..Ctrl letters:| 00001c50 0a 0a 63 41 09 09 43 4c 45 46 54 09 09 53 74 61 |..cA..CLEFT..Sta| 00001c60 72 74 20 6f 66 20 6c 69 6e 65 20 20 20 2d 20 65 |rt of line - e| 00001c70 6d 61 63 73 20 63 6f 6d 70 61 74 69 62 69 6c 69 |macs compatibili| 00001c80 74 79 2e 0a 63 42 09 09 4c 45 46 54 09 09 42 61 |ty..cB..LEFT..Ba| 00001c90 63 6b 20 61 20 63 68 61 72 20 20 20 20 20 2d 20 |ck a char - | 00001ca0 65 6d 61 63 73 20 63 6f 6d 70 61 74 69 62 69 6c |emacs compatibil| 00001cb0 69 74 79 2e 0a 63 43 20 09 09 43 4f 50 59 53 45 |ity..cC ..COPYSE| 00001cc0 4c 09 09 43 6f 70 79 20 73 65 6c 65 63 74 65 64 |L..Copy selected| 00001cd0 20 72 65 67 69 6f 6e 20 74 6f 20 63 75 72 72 65 | region to curre| 00001ce0 6e 74 20 70 6f 73 69 74 69 6f 6e 2e 0a 63 44 09 |nt position..cD.| 00001cf0 09 44 45 4c 45 54 45 4e 45 58 54 09 44 65 6c 65 |.DELETENEXT.Dele| 00001d00 74 65 20 6e 65 78 74 20 63 68 61 72 2d 20 65 6d |te next char- em| 00001d10 61 63 73 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 |acs compatibilit| 00001d20 79 2e 0a 63 45 09 09 43 52 49 47 48 54 09 09 4c |y..cE..CRIGHT..L| 00001d30 69 6e 65 20 65 6e 64 09 2d 20 65 6d 61 63 73 20 |ine end.- emacs | 00001d40 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 2e 0a 63 |compatibility..c| 00001d50 46 09 09 52 49 47 48 54 09 09 46 6f 72 77 61 72 |F..RIGHT..Forwar| 00001d60 64 20 61 20 63 68 61 72 20 20 2d 20 65 6d 61 63 |d a char - emac| 00001d70 73 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 2e |s compatibility.| 00001d80 0a 63 47 09 09 43 41 4e 43 45 4c 09 09 43 61 6e |.cG..CANCEL..Can| 00001d90 63 65 6c 20 73 65 61 72 63 68 20 27 61 73 20 79 |cel search 'as y| 00001da0 6f 75 20 74 79 70 65 27 20 61 6e 64 20 72 65 74 |ou type' and ret| 00001db0 75 72 6e 20 74 6f 0a 09 09 09 09 73 74 61 72 74 |urn to.....start| 00001dc0 2e 20 41 6c 73 6f 20 63 61 6e 63 65 6c 20 61 6e |. Also cancel an| 00001dd0 79 20 79 61 6e 6b 20 6f 70 65 72 61 74 69 6f 6e |y yank operation| 00001de0 73 2e 0a 63 48 09 09 2d 09 09 52 65 73 65 72 76 |s..cH..-..Reserv| 00001df0 65 64 20 28 66 61 73 74 20 75 6e 64 6f 20 69 73 |ed (fast undo is| 00001e00 20 6f 6e 20 63 74 72 6c 2d 62 61 63 6b 73 70 61 | on ctrl-backspa| 00001e10 63 65 29 0a 63 49 09 09 49 4e 44 49 52 45 43 54 |ce).cI..INDIRECT| 00001e20 09 49 6e 64 69 72 65 63 74 20 28 6d 6f 76 65 20 |.Indirect (move | 00001e30 74 6f 20 74 68 65 20 61 64 64 72 65 73 73 20 67 |to the address g| 00001e40 69 76 65 6e 20 62 79 20 77 6f 72 64 0a 09 09 09 |iven by word....| 00001e50 09 61 74 20 63 75 72 73 6f 72 20 2d 20 75 73 65 |.at cursor - use| 00001e60 66 75 6c 20 69 6e 20 43 6f 64 65 20 6d 6f 64 65 |ful in Code mode| 00001e70 29 2e 0a 63 4a 09 09 2d 09 09 52 65 73 65 72 76 |)..cJ..-..Reserv| 00001e80 65 64 2e 0a 63 4b 09 09 44 45 4c 54 4f 45 4e 44 |ed..cK..DELTOEND| 00001e90 09 4b 69 6c 6c 20 6c 69 6e 65 09 2d 20 65 6d 61 |.Kill line.- ema| 00001ea0 63 73 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 |cs compatibility| 00001eb0 2e 0a 63 4c 09 09 4c 45 41 52 4e 09 09 4c 65 61 |..cL..LEARN..Lea| 00001ec0 72 6e 20 6b 65 79 20 73 65 71 75 65 6e 63 65 20 |rn key sequence | 00001ed0 28 73 65 65 20 46 2e 31 29 0a 63 4d 09 09 52 45 |(see F.1).cM..RE| 00001ee0 54 55 52 4e 09 09 50 65 72 66 6f 72 6d 73 20 72 |TURN..Performs r| 00001ef0 65 74 75 72 6e 20 61 63 74 69 6f 6e 20 66 6f 72 |eturn action for| 00001f00 20 63 75 72 72 65 6e 74 20 6d 6f 64 65 2e 0a 63 | current mode..c| 00001f10 4e 09 09 44 4f 57 4e 09 09 4e 65 78 74 20 6c 69 |N..DOWN..Next li| 00001f20 6e 65 09 2d 20 65 6d 61 63 73 20 63 6f 6d 70 61 |ne.- emacs compa| 00001f30 74 69 62 69 6c 69 74 79 2e 0a 63 50 09 09 55 50 |tibility..cP..UP| 00001f40 09 09 50 72 65 76 69 6f 75 73 20 6c 69 6e 65 09 |..Previous line.| 00001f50 2d 20 65 6d 61 63 73 20 63 6f 6d 70 61 74 69 62 |- emacs compatib| 00001f60 69 6c 69 74 79 2e 0a 63 51 09 09 2d 09 09 52 65 |ility..cQ..-..Re| 00001f70 73 65 72 76 65 64 20 66 6f 72 20 27 71 75 6f 74 |served for 'quot| 00001f80 65 20 63 68 61 72 61 63 74 65 72 27 0a 63 52 09 |e character'.cR.| 00001f90 09 53 45 41 52 43 48 42 41 43 4b 09 52 65 76 65 |.SEARCHBACK.Reve| 00001fa0 72 73 65 20 73 65 61 72 63 68 20 27 61 73 20 79 |rse search 'as y| 00001fb0 6f 75 20 74 79 70 65 27 2e 0a 63 53 09 09 53 45 |ou type'..cS..SE| 00001fc0 41 52 43 48 46 4f 52 57 41 52 44 09 53 65 61 72 |ARCHFORWARD.Sear| 00001fd0 63 68 20 27 61 73 20 79 6f 75 20 74 79 70 65 27 |ch 'as you type'| 00001fe0 20 66 6f 72 77 61 72 64 73 2e 0a 63 54 09 09 53 | forwards..cT..S| 00001ff0 45 4c 45 43 54 42 55 46 46 45 52 09 53 65 6c 65 |ELECTBUFFER.Sele| 00002000 63 74 20 65 6e 74 69 72 65 20 62 75 66 66 65 72 |ct entire buffer| 00002010 2e 0a 63 55 09 09 2d 09 09 52 65 73 65 72 76 65 |..cU..-..Reserve| 00002020 64 20 66 6f 72 20 64 6f 20 6e 20 74 69 6d 65 73 |d for do n times| 00002030 2e 0a 63 56 09 09 4d 4f 56 45 53 45 4c 09 09 4d |..cV..MOVESEL..M| 00002040 6f 76 65 20 73 65 6c 65 63 74 65 64 20 72 65 67 |ove selected reg| 00002050 69 6f 6e 20 74 6f 20 63 75 72 72 65 6e 74 20 70 |ion to current p| 00002060 6f 73 69 74 69 6f 6e 2e 0a 63 57 09 09 2d 09 09 |osition..cW..-..| 00002070 52 65 73 65 72 76 65 64 20 66 6f 72 20 73 65 74 |Reserved for set| 00002080 20 77 69 64 74 68 2e 0a 63 58 09 09 43 55 54 09 | width..cX..CUT.| 00002090 09 44 65 6c 65 74 65 2f 43 75 74 20 73 65 6c 65 |.Delete/Cut sele| 000020a0 63 74 65 64 20 72 65 67 69 6f 6e 2e 0a 63 59 09 |cted region..cY.| 000020b0 09 50 41 53 54 45 09 09 50 61 73 74 65 2f 59 61 |.PASTE..Paste/Ya| 000020c0 6e 6b 20 6f 6e 63 65 20 73 65 6c 65 63 74 65 64 |nk once selected| 000020d0 20 72 65 67 69 6f 6e 2e 0a 63 5a 09 09 43 4c 45 | region..cZ..CLE| 000020e0 41 52 53 45 4c 09 43 6c 65 61 72 20 73 65 6c 65 |ARSEL.Clear sele| 000020f0 63 74 69 6f 6e 2e 0a 0a 73 63 41 09 09 41 44 44 |ction...scA..ADD| 00002100 52 45 53 53 45 53 09 41 64 64 72 65 73 73 65 73 |RESSES.Addresses| 00002110 20 73 68 6f 77 6e 20 61 74 20 6c 69 6e 65 20 73 | shown at line s| 00002120 74 61 72 74 2e 0a 73 63 42 09 09 42 41 53 49 43 |tart..scB..BASIC| 00002130 09 09 44 72 6f 70 20 69 6e 74 6f 20 42 61 73 69 |..Drop into Basi| 00002140 63 20 77 69 74 68 20 70 72 6f 67 72 61 6d 20 64 |c with program d| 00002150 6f 77 6e 6c 6f 61 64 65 64 2e 0a 73 63 43 09 09 |ownloaded..scC..| 00002160 43 4f 4d 50 49 4c 45 09 09 53 61 76 65 73 20 74 |COMPILE..Saves t| 00002170 68 65 6e 20 63 68 61 69 6e 73 20 61 20 70 72 6f |hen chains a pro| 00002180 67 72 61 6d 2e 0a 73 63 44 09 09 49 4e 53 45 52 |gram..scD..INSER| 00002190 54 44 41 54 45 09 49 6e 73 65 72 74 20 63 75 72 |TDATE.Insert cur| 000021a0 72 65 6e 74 20 64 61 74 65 20 28 66 6f 72 6d 61 |rent date (forma| 000021b0 74 20 69 6e 20 27 4b 65 79 73 27 20 66 69 6c 65 |t in 'Keys' file| 000021c0 29 2e 0a 73 63 45 09 09 53 41 56 45 41 4e 44 52 |)..scE..SAVEANDR| 000021d0 55 4e 09 53 61 76 65 73 20 74 68 65 6e 20 72 75 |UN.Saves then ru| 000021e0 6e 73 20 61 20 70 72 6f 67 72 61 6d 20 74 68 65 |ns a program the| 000021f0 6e 20 65 78 69 74 73 2e 0a 73 63 46 09 09 52 55 |n exits..scF..RU| 00002200 4e 41 4e 44 45 58 49 54 09 52 75 6e 73 20 61 20 |NANDEXIT.Runs a | 00002210 70 72 6f 67 72 61 6d 20 61 6e 64 20 74 68 65 6e |program and then| 00002220 20 65 78 69 74 73 2e 0a 73 63 47 09 09 54 4f 47 | exits..scG..TOG| 00002230 47 4c 45 57 49 4e 44 09 54 6f 67 67 6c 65 20 77 |GLEWIND.Toggle w| 00002240 69 6e 64 6f 77 20 73 69 7a 65 2e 0a 73 63 48 09 |indow size..scH.| 00002250 09 2d 09 09 52 65 73 65 72 76 65 64 2e 0a 73 63 |.-..Reserved..sc| 00002260 49 09 09 4e 45 58 54 54 52 41 43 4b 09 4d 6f 76 |I..NEXTTRACK.Mov| 00002270 65 20 66 6f 72 77 61 72 64 20 6f 6e 65 20 74 72 |e forward one tr| 00002280 61 63 6b 2e 0a 73 63 4a 09 09 4c 41 53 54 53 45 |ack..scJ..LASTSE| 00002290 43 54 4f 52 09 4d 6f 76 65 20 62 61 63 6b 20 6f |CTOR.Move back o| 000022a0 6e 65 20 73 65 63 74 6f 72 2e 0a 73 63 4b 09 09 |ne sector..scK..| 000022b0 4e 45 58 54 53 45 43 54 4f 52 09 4d 6f 76 65 20 |NEXTSECTOR.Move | 000022c0 66 6f 72 77 61 72 64 20 6f 6e 65 20 73 65 63 74 |forward one sect| 000022d0 6f 72 2e 0a 73 63 4c 09 09 4c 4f 47 49 43 41 4c |or..scL..LOGICAL| 000022e0 09 09 4c 6f 67 69 63 61 6c 20 6c 69 6e 65 20 6e |..Logical line n| 000022f0 75 6d 62 65 72 73 20 73 68 6f 77 6e 20 61 74 20 |umbers shown at | 00002300 6c 69 6e 65 20 73 74 61 72 74 2e 0a 73 63 4d 09 |line start..scM.| 00002310 09 4c 41 53 54 54 52 41 43 4b 09 4d 6f 76 65 20 |.LASTTRACK.Move | 00002320 62 61 63 6b 20 6f 6e 65 20 74 72 61 63 6b 2e 0a |back one track..| 00002330 73 63 4e 09 09 4e 4f 4c 49 4e 45 4e 4f 53 09 52 |scN..NOLINENOS.R| 00002340 65 6d 6f 76 65 73 20 6c 69 6e 65 20 6e 75 6d 62 |emoves line numb| 00002350 65 72 73 2f 61 64 64 72 65 73 73 65 73 2e 0a 73 |ers/addresses..s| 00002360 63 4f 09 09 54 4f 47 47 4c 45 48 45 58 09 4c 69 |cO..TOGGLEHEX.Li| 00002370 6e 65 20 6e 75 6d 62 65 72 73 20 73 68 6f 77 6e |ne numbers shown| 00002380 20 69 6e 20 68 65 78 2f 64 65 63 69 6d 61 6c 2e | in hex/decimal.| 00002390 0a 73 63 50 09 09 50 48 59 53 49 43 41 4c 09 50 |.scP..PHYSICAL.P| 000023a0 68 79 73 69 63 61 6c 20 6c 69 6e 65 20 6e 75 6d |hysical line num| 000023b0 62 65 72 73 20 73 68 6f 77 6e 20 61 74 20 6c 69 |bers shown at li| 000023c0 6e 65 20 73 74 61 72 74 2e 0a 73 63 51 09 09 53 |ne start..scQ..S| 000023d0 57 41 50 43 48 41 52 53 09 53 77 61 70 20 6e 65 |WAPCHARS.Swap ne| 000023e0 78 74 20 74 77 6f 20 63 68 61 72 61 63 74 65 72 |xt two character| 000023f0 73 20 61 72 6f 75 6e 64 2e 0a 73 63 52 09 09 52 |s around..scR..R| 00002400 45 41 44 4f 4e 4c 59 09 54 6f 67 67 6c 65 20 72 |EADONLY.Toggle r| 00002410 65 61 64 20 6f 6e 6c 79 20 73 74 61 74 65 20 28 |ead only state (| 00002420 72 20 69 6e 20 74 69 74 6c 65 29 2e 0a 73 63 53 |r in title)..scS| 00002430 09 09 53 57 41 50 43 41 53 45 09 53 77 61 70 20 |..SWAPCASE.Swap | 00002440 63 61 73 65 20 6f 66 20 6e 65 78 74 20 63 68 61 |case of next cha| 00002450 72 61 63 74 65 72 2f 73 65 6c 65 63 74 65 64 20 |racter/selected | 00002460 72 65 67 69 6f 6e 2e 0a 73 63 54 09 09 49 4e 53 |region..scT..INS| 00002470 45 52 54 54 49 4d 45 09 49 6e 73 65 72 74 20 63 |ERTTIME.Insert c| 00002480 75 72 72 65 6e 74 20 74 69 6d 65 20 28 66 6f 72 |urrent time (for| 00002490 6d 61 74 20 69 6e 20 27 4b 65 79 73 27 20 66 69 |mat in 'Keys' fi| 000024a0 6c 65 29 2e 0a 73 63 55 09 09 52 55 4e 09 09 52 |le)..scU..RUN..R| 000024b0 75 6e 20 61 20 62 61 73 69 63 20 70 72 6f 67 72 |un a basic progr| 000024c0 61 6d 20 66 72 6f 6d 20 6d 65 6d 6f 72 79 2e 0a |am from memory..| 000024d0 73 63 56 09 09 2d 09 09 52 65 73 65 72 76 65 64 |scV..-..Reserved| 000024e0 2e 0a 73 63 57 09 09 2d 09 09 52 65 73 65 72 76 |..scW..-..Reserv| 000024f0 65 64 2e 0a 73 63 58 09 09 43 4c 4f 53 45 4f 54 |ed..scX..CLOSEOT| 00002500 48 45 52 09 43 6c 6f 73 65 20 6f 74 68 65 72 20 |HER.Close other | 00002510 6f 70 65 6e 20 77 69 6e 64 6f 77 2e 0a 73 63 59 |open window..scY| 00002520 09 09 59 41 4e 4b 09 09 59 61 6e 6b 20 63 79 63 |..YANK..Yank cyc| 00002530 6c 69 63 61 6c 6c 79 20 74 68 72 6f 75 67 68 20 |lically through | 00002540 64 65 6c 65 74 65 64 20 72 65 67 69 6f 6e 73 2e |deleted regions.| 00002550 0a 73 63 5a 09 09 2d 09 09 52 65 73 65 72 76 65 |.scZ..-..Reserve| 00002560 64 2e 0a 0a 41 2e 32 20 48 6f 77 20 74 6f 20 72 |d...A.2 How to r| 00002570 65 64 65 66 69 6e 65 20 6d 6f 72 65 20 6b 65 79 |edefine more key| 00002580 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |s.--------------| 00002590 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a |---------------.| 000025a0 0a 41 20 27 4b 65 79 73 27 20 66 69 6c 65 20 6c |.A 'Keys' file l| 000025b0 69 6e 65 20 68 61 73 20 66 6f 72 6d 61 74 20 22 |ine has format "| 000025c0 63 6f 6d 6d 65 6e 74 20 26 78 78 78 20 61 72 67 |comment &xxx arg| 000025d0 31 20 61 72 67 32 20 61 72 67 33 20 2e 2e 2e 20 |1 arg2 arg3 ... | 000025e0 22 2e 20 54 68 65 0a 27 63 6f 6d 6d 65 6e 74 27 |". The.'comment'| 000025f0 20 6d 61 79 20 69 6e 63 6c 75 64 65 20 61 6e 79 | may include any| 00002600 20 63 68 61 72 61 63 74 65 72 20 65 78 63 65 70 | character excep| 00002610 74 20 27 26 27 2e 20 27 20 27 20 72 65 70 72 65 |t '&'. ' ' repre| 00002620 73 65 6e 74 73 20 61 6e 79 20 6e 75 6d 62 65 72 |sents any number| 00002630 20 6f 66 0a 73 70 61 63 65 73 20 6f 72 20 74 61 | of.spaces or ta| 00002640 62 73 2e 20 27 78 78 78 27 20 72 65 70 72 65 73 |bs. 'xxx' repres| 00002650 65 6e 74 73 20 61 20 68 65 78 20 6e 75 6d 62 65 |ents a hex numbe| 00002660 72 20 77 68 69 63 68 20 49 20 77 69 6c 6c 20 63 |r which I will c| 00002670 61 6c 6c 20 74 68 65 20 76 61 72 69 61 62 6c 65 |all the variable| 00002680 0a 6e 75 6d 62 65 72 2e 20 43 75 72 72 65 6e 74 |.number. Current| 00002690 6c 79 20 76 61 72 69 61 62 6c 65 73 20 26 30 30 |ly variables &00| 000026a0 30 2d 26 31 46 46 20 61 72 65 20 72 65 73 65 72 |0-&1FF are reser| 000026b0 76 65 64 20 66 6f 72 20 6b 65 79 73 2c 20 77 69 |ved for keys, wi| 000026c0 74 68 20 61 72 67 31 20 67 69 76 69 6e 67 0a 74 |th arg1 giving.t| 000026d0 68 65 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 65 78 |he command to ex| 000026e0 65 63 75 74 65 20 77 68 65 6e 20 74 68 61 74 20 |ecute when that | 000026f0 6b 65 79 20 69 73 20 70 72 65 73 73 65 64 2e 20 |key is pressed. | 00002700 54 68 65 20 6f 74 68 65 72 20 76 61 72 69 61 62 |The other variab| 00002710 6c 65 73 20 61 72 65 0a 64 6f 63 75 6d 65 6e 74 |les are.document| 00002720 65 64 20 69 6e 20 41 2e 33 2e 20 49 66 20 61 20 |ed in A.3. If a | 00002730 6b 65 79 20 69 73 20 6e 6f 74 20 6d 65 6e 74 69 |key is not menti| 00002740 6f 6e 65 64 20 69 6e 20 74 68 65 20 6b 65 79 73 |oned in the keys| 00002750 20 66 69 6c 65 20 74 68 65 6e 20 69 74 20 69 73 | file then it is| 00002760 0a 70 61 73 73 65 64 20 6f 6e 20 74 6f 20 74 68 |.passed on to th| 00002770 65 20 6e 65 78 74 20 74 61 73 6b 2e 20 54 68 75 |e next task. Thu| 00002780 73 20 44 4f 20 4e 4f 54 20 70 75 74 20 46 31 32 |s DO NOT put F12| 00002790 20 69 6e 20 74 68 65 20 27 6b 65 79 73 27 20 66 | in the 'keys' f| 000027a0 69 6c 65 2e 0a 0a 54 68 65 20 5a 61 70 20 6b 65 |ile...The Zap ke| 000027b0 79 20 6e 75 6d 62 65 72 73 20 61 72 65 20 62 61 |y numbers are ba| 000027c0 73 65 64 20 6f 6e 20 74 68 6f 73 65 20 72 65 74 |sed on those ret| 000027d0 75 72 6e 65 64 20 62 79 20 57 69 6d 70 5f 50 6f |urned by Wimp_Po| 000027e0 6c 6c 2e 20 54 68 75 73 2c 20 74 68 65 0a 66 75 |ll. Thus, the.fu| 000027f0 6e 63 74 69 6f 6e 20 6b 65 79 73 20 72 65 74 75 |nction keys retu| 00002800 72 6e 20 26 31 38 30 2d 26 31 46 46 2c 20 61 73 |rn &180-&1FF, as| 00002810 20 64 6f 63 75 6d 65 6e 74 65 64 20 69 6e 20 74 | documented in t| 00002820 68 65 20 50 52 4d 73 2e 20 4a 75 73 74 20 6c 6f |he PRMs. Just lo| 00002830 6f 6b 20 61 74 20 74 68 65 0a 6b 65 79 73 20 66 |ok at the.keys f| 00002840 69 6c 65 20 69 66 20 79 6f 75 20 64 6f 6e 27 74 |ile if you don't| 00002850 20 68 61 76 65 20 61 20 63 6f 70 79 20 6f 66 20 | have a copy of | 00002860 74 68 65 20 50 52 4d 73 2e 20 53 74 61 6e 64 61 |the PRMs. Standa| 00002870 72 64 20 63 68 61 72 61 63 74 65 72 73 20 72 65 |rd characters re| 00002880 74 75 72 6e 0a 74 68 65 69 72 20 61 73 63 69 69 |turn.their ascii| 00002890 20 76 61 6c 75 65 20 26 32 30 2d 26 46 46 20 61 | value &20-&FF a| 000028a0 73 20 75 73 75 61 6c 2e 20 26 37 46 20 73 74 61 |s usual. &7F sta| 000028b0 6e 64 73 20 66 6f 72 20 75 6e 73 68 69 66 74 65 |nds for unshifte| 000028c0 64 20 44 45 4c 45 54 45 2e 0a 49 6e 74 65 72 6e |d DELETE..Intern| 000028d0 61 6c 6c 79 20 5a 61 70 20 75 73 65 73 20 73 6f |ally Zap uses so| 000028e0 6d 65 20 65 78 74 72 61 20 63 6f 64 65 73 20 69 |me extra codes i| 000028f0 6e 20 74 68 65 20 72 61 6e 67 65 20 26 30 30 2d |n the range &00-| 00002900 26 31 46 20 61 6e 64 20 26 31 30 30 2d 26 31 37 |&1F and &100-&17| 00002910 46 20 77 68 69 63 68 0a 64 69 66 66 65 72 20 66 |F which.differ f| 00002920 72 6f 6d 20 74 68 65 20 57 69 6d 70 27 73 2e 20 |rom the Wimp's. | 00002930 54 68 65 73 65 20 61 72 65 20 64 6f 63 75 6d 65 |These are docume| 00002940 6e 74 65 64 20 69 6e 20 74 68 65 20 74 61 62 6c |nted in the tabl| 00002950 65 20 62 65 6c 6f 77 2e 0a 0a 30 30 30 20 63 53 |e below...000 cS| 00002960 70 61 63 65 09 31 30 30 20 73 63 53 70 61 63 65 |pace.100 scSpace| 00002970 09 31 32 30 20 73 53 70 61 63 65 0a 30 30 31 20 |.120 sSpace.001 | 00002980 63 41 09 09 31 30 31 20 73 63 41 0a 30 30 32 20 |cA..101 scA.002 | 00002990 63 42 09 09 31 30 32 20 73 63 42 0a 30 30 33 20 |cB..102 scB.003 | 000029a0 63 43 09 09 31 30 33 20 73 63 43 0a 30 30 34 20 |cC..103 scC.004 | 000029b0 63 44 09 09 31 30 34 20 73 63 44 0a 30 30 35 20 |cD..104 scD.005 | 000029c0 63 45 09 09 31 30 35 20 73 63 45 0a 30 30 36 20 |cE..105 scE.006 | 000029d0 63 46 09 09 31 30 36 20 73 63 46 0a 30 30 37 20 |cF..106 scF.007 | 000029e0 63 47 09 09 31 30 37 20 73 63 47 0a 30 30 38 20 |cG..107 scG.008 | 000029f0 63 48 09 09 31 30 38 20 73 63 48 0a 30 30 39 20 |cH..108 scH.009 | 00002a00 63 49 09 09 31 30 39 20 73 63 49 0a 30 30 41 20 |cI..109 scI.00A | 00002a10 63 4a 09 09 31 30 41 20 73 63 4a 0a 30 30 42 20 |cJ..10A scJ.00B | 00002a20 63 4b 09 09 31 30 42 20 73 63 4b 09 09 31 32 42 |cK..10B scK..12B| 00002a30 20 63 5b 09 09 31 34 42 20 73 63 5b 20 28 63 7b | c[..14B sc[ (c{| 00002a40 29 0a 30 30 43 20 63 4c 09 09 31 30 43 20 73 63 |).00C cL..10C sc| 00002a50 4c 09 09 31 32 43 20 63 5c 09 09 31 34 43 20 73 |L..12C c\..14C s| 00002a60 63 5c 20 28 63 7c 29 0a 30 30 44 20 63 4d 09 09 |c\ (c|).00D cM..| 00002a70 31 30 44 20 73 63 4d 09 09 31 32 44 20 63 5d 09 |10D scM..12D c].| 00002a80 09 31 34 44 20 73 63 5d 20 28 63 7d 29 0a 30 30 |.14D sc] (c}).00| 00002a90 45 20 63 4e 09 09 31 30 45 20 73 63 4e 0a 30 30 |E cN..10E scN.00| 00002aa0 46 20 63 4f 09 09 31 30 46 20 73 63 4f 09 09 31 |F cO..10F scO..1| 00002ab0 32 46 20 63 2d 09 09 31 34 46 20 73 63 2d 20 28 |2F c-..14F sc- (| 00002ac0 63 5f 29 0a 30 31 30 20 63 50 09 09 31 31 30 20 |c_).010 cP..110 | 00002ad0 73 63 50 09 09 31 33 30 20 63 30 09 09 31 35 30 |scP..130 c0..150| 00002ae0 20 73 63 30 20 28 63 29 29 0a 30 31 31 20 63 51 | sc0 (c)).011 cQ| 00002af0 09 09 31 31 31 20 73 63 51 09 09 31 33 31 20 63 |..111 scQ..131 c| 00002b00 31 09 09 31 35 31 20 73 63 31 20 28 63 21 29 0a |1..151 sc1 (c!).| 00002b10 30 31 32 20 63 52 09 09 31 31 32 20 73 63 52 09 |012 cR..112 scR.| 00002b20 09 31 33 32 20 63 32 09 09 31 35 32 20 73 63 32 |.132 c2..152 sc2| 00002b30 20 28 63 40 29 0a 30 31 33 20 63 53 09 09 31 31 | (c@).013 cS..11| 00002b40 33 20 73 63 53 09 09 31 33 33 20 63 33 09 09 31 |3 scS..133 c3..1| 00002b50 35 33 20 73 63 33 20 28 63 23 29 0a 30 31 34 20 |53 sc3 (c#).014 | 00002b60 63 54 09 09 31 31 34 20 73 63 54 09 09 31 33 34 |cT..114 scT..134| 00002b70 20 63 34 09 09 31 35 34 20 73 63 34 20 28 63 24 | c4..154 sc4 (c$| 00002b80 29 0a 30 31 35 20 63 55 09 09 31 31 35 20 73 63 |).015 cU..115 sc| 00002b90 55 09 09 31 33 35 20 63 35 20 09 09 31 35 35 20 |U..135 c5 ..155 | 00002ba0 73 63 35 09 28 63 25 29 0a 30 31 36 20 63 56 09 |sc5.(c%).016 cV.| 00002bb0 09 31 31 36 20 73 63 56 09 09 31 33 36 20 63 36 |.116 scV..136 c6| 00002bc0 09 09 31 35 36 20 73 63 36 20 28 63 5e 29 0a 30 |..156 sc6 (c^).0| 00002bd0 31 37 20 63 57 09 09 31 31 37 20 73 63 57 09 09 |17 cW..117 scW..| 00002be0 31 33 37 20 63 37 09 09 31 35 37 20 73 63 37 20 |137 c7..157 sc7 | 00002bf0 28 63 26 29 0a 30 31 38 20 63 58 09 09 31 31 38 |(c&).018 cX..118| 00002c00 20 73 63 58 09 09 31 33 38 20 63 38 09 09 31 35 | scX..138 c8..15| 00002c10 38 20 73 63 38 20 28 63 2a 29 0a 30 31 39 20 63 |8 sc8 (c*).019 c| 00002c20 59 09 09 31 31 39 20 73 63 59 09 09 31 33 39 20 |Y..119 scY..139 | 00002c30 63 39 09 09 31 35 39 20 73 63 39 20 28 63 28 29 |c9..159 sc9 (c()| 00002c40 0a 30 31 41 20 63 5a 09 09 31 31 41 20 73 63 5a |.01A cZ..11A scZ| 00002c50 0a 30 31 42 20 45 73 63 61 70 65 09 31 31 42 20 |.01B Escape.11B | 00002c60 73 45 73 63 61 70 65 09 31 33 42 20 63 45 73 63 |sEscape.13B cEsc| 00002c70 61 70 65 09 31 35 42 20 73 63 45 73 63 61 70 65 |ape.15B scEscape| 00002c80 0a 30 31 43 20 42 61 63 6b 73 70 61 63 65 09 31 |.01C Backspace.1| 00002c90 31 43 20 73 42 61 63 6b 73 70 61 63 65 09 31 33 |1C sBackspace.13| 00002ca0 43 20 63 42 61 63 6b 73 70 61 63 65 09 31 35 43 |C cBackspace.15C| 00002cb0 20 73 63 42 61 63 6b 73 70 61 63 65 0a 30 31 44 | scBackspace.01D| 00002cc0 20 52 65 74 75 72 6e 09 31 31 44 20 73 52 65 74 | Return.11D sRet| 00002cd0 75 72 6e 09 31 33 44 20 63 52 65 74 75 72 6e 09 |urn.13D cReturn.| 00002ce0 31 35 44 20 73 63 52 65 74 75 72 6e 0a 30 31 45 |15D scReturn.01E| 00002cf0 20 48 6f 6d 65 09 31 31 45 20 73 48 6f 6d 65 09 | Home.11E sHome.| 00002d00 31 33 45 20 63 48 6f 6d 65 09 31 35 45 20 73 63 |13E cHome.15E sc| 00002d10 48 6f 6d 65 0a 30 31 46 20 63 44 65 6c 65 74 65 |Home.01F cDelete| 00002d20 09 31 31 46 20 73 63 44 65 6c 65 74 65 0a 30 37 |.11F scDelete.07| 00002d30 46 20 44 65 6c 65 74 65 09 31 37 46 20 73 44 65 |F Delete.17F sDe| 00002d40 6c 65 74 65 0a 0a 45 78 61 6d 70 6c 65 3a 20 53 |lete..Example: S| 00002d50 75 70 70 6f 73 65 20 79 6f 75 20 77 69 73 68 65 |uppose you wishe| 00002d60 64 20 63 74 72 6c 2d 5d 20 74 6f 20 65 6e 74 65 |d ctrl-] to ente| 00002d70 72 20 74 68 65 20 63 6f 64 65 20 26 31 44 20 69 |r the code &1D i| 00002d80 6e 74 6f 20 74 68 65 20 66 69 6c 65 2e 20 54 68 |nto the file. Th| 00002d90 65 6e 0a 79 6f 75 20 77 6f 75 6c 64 20 65 6e 74 |en.you would ent| 00002da0 65 72 20 74 68 65 20 6c 69 6e 65 3a 20 22 63 5d |er the line: "c]| 00002db0 20 20 20 20 20 20 20 20 26 31 32 44 20 43 48 41 | &12D CHA| 00002dc0 52 20 26 31 44 22 2e 0a 0a 41 2e 33 20 43 68 61 |R &1D"...A.3 Cha| 00002dd0 6e 67 69 6e 67 20 74 68 65 20 64 65 66 61 75 6c |nging the defaul| 00002de0 74 20 6f 70 74 69 6f 6e 73 0a 2d 2d 2d 2d 2d 2d |t options.------| 00002df0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00002e00 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 65 20 |----------..The | 00002e10 5a 61 70 20 6d 65 6e 75 20 79 6f 75 20 67 65 74 |Zap menu you get| 00002e20 20 77 68 65 6e 20 79 6f 75 20 63 6c 69 63 6b 20 | when you click | 00002e30 74 68 65 20 4d 45 4e 55 20 62 75 74 74 6f 6e 20 |the MENU button | 00002e40 6f 6e 20 61 20 77 69 6e 64 6f 77 20 63 6f 6e 74 |on a window cont| 00002e50 61 69 6e 73 20 74 68 65 0a 73 74 61 74 75 73 20 |ains the.status | 00002e60 66 6f 72 20 74 68 61 74 20 77 69 6e 64 6f 77 20 |for that window | 00002e70 6f 6e 6c 79 2e 20 41 6e 79 20 6f 70 74 69 6f 6e |only. Any option| 00002e80 73 20 63 68 61 6e 67 65 64 20 6f 6e 20 74 68 69 |s changed on thi| 00002e90 73 20 6d 65 6e 75 20 77 69 6c 6c 20 62 65 20 6c |s menu will be l| 00002ea0 6f 73 74 0a 69 6d 6d 65 64 69 61 74 65 6c 79 20 |ost.immediately | 00002eb0 74 68 65 20 77 69 6e 64 6f 77 20 69 73 20 63 6c |the window is cl| 00002ec0 6f 73 65 64 2e 20 54 6f 20 63 68 61 6e 67 65 20 |osed. To change | 00002ed0 61 6e 79 20 6f 70 74 69 6f 6e 20 70 65 72 6d 61 |any option perma| 00002ee0 6e 65 6e 74 6c 79 2c 20 75 73 65 20 74 68 65 0a |nently, use the.| 00002ef0 27 6f 70 74 69 6f 6e 73 27 20 6d 65 6e 75 20 6f |'options' menu o| 00002f00 62 74 61 69 6e 65 64 20 62 79 20 63 6c 69 63 6b |btained by click| 00002f10 69 6e 67 20 6f 6e 20 74 68 65 20 5a 61 70 20 69 |ing on the Zap i| 00002f20 63 6f 6e 20 6f 6e 20 74 68 65 20 69 63 6f 6e 62 |con on the iconb| 00002f30 61 72 2e 20 41 66 74 65 72 20 79 6f 75 0a 68 61 |ar. After you.ha| 00002f40 76 65 20 63 68 61 6e 67 65 64 20 74 68 65 20 6f |ve changed the o| 00002f50 70 74 69 6f 6e 20 6f 6e 20 74 68 69 73 20 6d 65 |ption on this me| 00002f60 6e 75 20 63 6c 69 63 6b 20 74 68 65 20 27 73 61 |nu click the 'sa| 00002f70 76 65 20 6f 70 74 69 6f 6e 73 27 20 65 6e 74 72 |ve options' entr| 00002f80 79 2e 0a 0a 50 6c 65 61 73 65 20 6e 6f 74 65 20 |y...Please note | 00002f90 74 68 61 74 20 73 6f 6d 65 20 6f 70 74 69 6f 6e |that some option| 00002fa0 73 20 61 72 65 20 73 74 6f 72 65 64 20 4d 4f 44 |s are stored MOD| 00002fb0 45 20 64 65 70 65 6e 64 61 6e 74 6c 79 2e 20 54 |E dependantly. T| 00002fc0 6f 20 63 68 61 6e 67 65 20 74 68 65 73 65 0a 6f |o change these.o| 00002fd0 70 74 69 6f 6e 73 20 69 74 20 69 73 20 66 69 72 |ptions it is fir| 00002fe0 73 74 20 6e 65 63 65 73 73 61 72 79 20 74 6f 20 |st necessary to | 00002ff0 53 57 49 54 43 48 20 54 4f 20 54 48 45 20 4d 4f |SWITCH TO THE MO| 00003000 44 45 20 57 48 4f 53 45 20 4f 50 54 49 4f 4e 53 |DE WHOSE OPTIONS| 00003010 20 59 4f 55 20 57 41 4e 54 20 54 4f 0a 43 48 41 | YOU WANT TO.CHA| 00003020 4e 47 45 20 4f 4e 20 54 48 45 20 4f 50 54 49 4f |NGE ON THE OPTIO| 00003030 4e 53 2e 4d 4f 44 45 20 4d 45 4e 55 2e 20 54 68 |NS.MODE MENU. Th| 00003040 65 20 6f 70 74 69 6f 6e 73 20 79 6f 75 20 6e 65 |e options you ne| 00003050 65 64 20 74 6f 20 64 6f 20 74 68 69 73 20 66 6f |ed to do this fo| 00003060 72 20 69 6e 63 6c 75 64 65 3a 0a 09 31 29 20 44 |r include:..1) D| 00003070 69 73 70 6c 61 79 20 77 69 64 74 68 2e 0a 09 32 |isplay width...2| 00003080 29 20 4c 69 6e 65 20 6e 75 6d 62 65 72 20 73 74 |) Line number st| 00003090 61 74 75 73 2e 0a 09 33 29 20 41 75 74 6f 20 69 |atus...3) Auto i| 000030a0 6e 64 65 6e 74 20 73 74 61 74 75 73 2e 0a 09 34 |ndent status...4| 000030b0 29 20 4c 69 6e 65 20 65 64 69 74 2f 4e 6f 6e 20 |) Line edit/Non | 000030c0 73 74 61 6e 64 61 72 64 20 65 64 69 74 20 73 74 |standard edit st| 000030d0 61 74 75 73 2e 0a 09 35 29 20 48 65 78 20 65 6e |atus...5) Hex en| 000030e0 74 72 79 20 61 6e 64 20 4f 76 65 72 77 72 69 74 |try and Overwrit| 000030f0 65 20 73 74 61 74 75 73 2e 0a 09 36 29 20 54 61 |e status...6) Ta| 00003100 62 20 64 69 73 70 6c 61 79 20 73 74 61 74 75 73 |b display status| 00003110 2e 0a 09 0a 57 68 65 6e 20 79 6f 75 20 63 68 61 |....When you cha| 00003120 6e 67 65 20 6d 6f 64 65 2c 20 74 68 65 20 6f 74 |nge mode, the ot| 00003130 68 65 72 20 6f 70 74 69 6f 6e 73 20 6d 65 6e 75 |her options menu| 00003140 73 20 77 69 6c 6c 20 62 65 20 75 70 64 61 74 65 |s will be update| 00003150 64 20 74 6f 20 67 69 76 65 20 74 68 65 0a 73 74 |d to give the.st| 00003160 61 74 75 73 20 6f 66 20 74 68 65 20 66 6c 61 67 |atus of the flag| 00003170 73 20 66 6f 72 20 74 68 69 73 20 6d 6f 64 65 2e |s for this mode.| 00003180 0a 09 0a 45 78 61 6d 70 6c 65 3a 20 54 6f 20 74 |...Example: To t| 00003190 75 72 6e 20 74 68 65 20 6c 69 6e 65 20 6e 75 6d |urn the line num| 000031a0 62 65 72 73 20 6f 66 66 20 69 6e 20 42 61 73 69 |bers off in Basi| 000031b0 63 20 65 64 69 74 69 6e 67 20 6d 6f 64 65 20 75 |c editing mode u| 000031c0 73 65 20 74 68 65 20 73 65 71 75 65 6e 63 65 0a |se the sequence.| 000031d0 6f 66 20 63 6c 69 63 6b 73 3a 0a 0a 09 7a 61 70 |of clicks:...zap| 000031e0 2e 6f 70 74 69 6f 6e 73 2e 6d 6f 64 65 2e 62 61 |.options.mode.ba| 000031f0 73 69 63 0a 09 7a 61 70 2e 6f 70 74 69 6f 6e 73 |sic..zap.options| 00003200 2e 64 69 73 70 6c 61 79 2e 6c 69 6e 65 6e 75 6d |.display.linenum| 00003210 62 65 72 73 2e 6e 6f 6e 65 0a 09 7a 61 70 2e 6f |bers.none..zap.o| 00003220 70 74 69 6f 6e 73 2e 6d 6f 64 65 2e 74 65 78 74 |ptions.mode.text| 00003230 0a 09 0a 54 68 65 20 6d 6f 64 65 20 73 65 74 20 |...The mode set | 00003240 6f 6e 20 74 68 65 20 27 4f 70 74 69 6f 6e 73 2e |on the 'Options.| 00003250 4d 6f 64 65 27 20 6d 65 6e 75 20 77 69 6c 6c 20 |Mode' menu will | 00003260 61 6c 73 6f 20 62 65 20 74 68 65 20 6d 6f 64 65 |also be the mode| 00003270 20 75 73 65 64 20 66 6f 72 0a 6c 6f 61 64 69 6e | used for.loadin| 00003280 67 20 66 69 6c 65 73 20 77 68 6f 73 65 20 74 79 |g files whose ty| 00003290 70 65 20 69 73 20 6e 6f 74 20 72 65 63 6f 67 6e |pe is not recogn| 000032a0 69 73 65 64 2c 20 6f 72 20 77 68 65 6e 20 79 6f |ised, or when yo| 000032b0 75 20 68 6f 6c 64 20 64 6f 77 6e 20 74 68 65 20 |u hold down the | 000032c0 43 54 52 4c 0a 6b 65 79 2e 20 49 6e 20 67 65 6e |CTRL.key. In gen| 000032d0 65 72 61 6c 20 79 6f 75 20 73 68 6f 75 6c 64 20 |eral you should | 000032e0 61 6c 77 61 79 73 20 70 75 74 20 74 68 69 73 20 |always put this | 000032f0 6d 6f 64 65 20 62 61 63 6b 20 74 6f 20 54 45 58 |mode back to TEX| 00003300 54 20 61 66 74 65 72 20 63 68 61 6e 67 69 6e 67 |T after changing| 00003310 0a 6f 70 74 69 6f 6e 73 20 6f 66 20 6f 74 68 65 |.options of othe| 00003320 72 20 6d 6f 64 65 73 2e 0a 0a 4f 74 68 65 72 20 |r modes...Other | 00003330 6f 70 74 69 6f 6e 73 20 74 68 61 74 20 61 72 65 |options that are| 00003340 20 73 61 76 65 64 20 62 79 20 63 6c 69 63 6b 69 | saved by clicki| 00003350 6e 67 20 53 61 76 65 20 53 65 74 74 69 6e 67 73 |ng Save Settings| 00003360 20 69 6e 63 6c 75 64 65 3a 0a 09 31 29 20 57 68 | include:..1) Wh| 00003370 65 74 68 65 72 20 73 65 61 72 63 68 65 73 20 61 |ether searches a| 00003380 72 65 20 63 61 73 65 20 73 65 6e 73 69 74 69 76 |re case sensitiv| 00003390 65 20 6f 72 20 6e 6f 74 2e 0a 09 32 29 20 57 68 |e or not...2) Wh| 000033a0 65 74 68 65 72 20 71 75 69 63 6b 20 70 72 69 6e |ether quick prin| 000033b0 74 20 61 64 64 73 20 61 20 74 69 74 6c 65 20 68 |t adds a title h| 000033c0 65 61 64 65 72 20 6f 72 20 6e 6f 74 2e 0a 09 0a |eader or not....| 000033d0 54 6f 20 63 68 61 6e 67 65 20 74 68 65 20 64 65 |To change the de| 000033e0 66 61 75 6c 74 20 64 69 73 70 6c 61 79 20 77 69 |fault display wi| 000033f0 64 74 68 20 66 6f 72 20 6d 6f 64 65 20 6e 2c 20 |dth for mode n, | 00003400 75 73 65 20 74 68 65 20 6f 70 74 69 6f 6e 73 2e |use the options.| 00003410 6d 6f 64 65 2e 77 69 64 74 68 0a 6d 65 6e 75 73 |mode.width.menus| 00003420 2e 20 54 6f 20 63 68 61 6e 67 65 20 74 68 65 20 |. To change the | 00003430 73 69 7a 65 20 6f 66 20 61 6e 20 6f 70 65 6e 65 |size of an opene| 00003440 64 20 77 69 6e 64 6f 77 20 66 6f 72 20 6d 6f 64 |d window for mod| 00003450 65 20 6e 2c 20 63 72 65 61 74 65 20 61 20 74 65 |e n, create a te| 00003460 6d 70 6c 61 74 65 0a 69 6e 20 74 68 65 20 74 65 |mplate.in the te| 00003470 6d 70 6c 61 74 65 20 66 69 6c 65 20 63 61 6c 6c |mplate file call| 00003480 65 64 20 6d 6f 64 65 5f 6e 2e 20 54 68 65 20 73 |ed mode_n. The s| 00003490 69 7a 65 20 61 6e 64 20 70 6f 73 69 74 69 6f 6e |ize and position| 000034a0 20 6f 66 20 74 68 69 73 20 74 65 6d 70 6c 61 74 | of this templat| 000034b0 65 0a 64 65 74 65 72 6d 69 6e 65 73 20 74 68 65 |e.determines the| 000034c0 20 6f 70 65 6e 69 6e 67 20 73 69 7a 65 20 61 6e | opening size an| 000034d0 64 20 70 6f 73 69 74 69 6f 6e 20 28 6d 6f 64 75 |d position (modu| 000034e0 6c 6f 20 73 74 61 63 6b 69 6e 67 29 20 6f 66 20 |lo stacking) of | 000034f0 79 6f 75 72 20 77 69 6e 64 6f 77 2e 0a 54 68 65 |your window..The| 00003500 20 6f 74 68 65 72 20 74 65 6d 70 6c 61 74 65 20 | other template | 00003510 66 6c 61 67 73 20 61 72 65 20 6e 6f 74 20 6c 6f |flags are not lo| 00003520 6f 6b 65 64 20 61 74 2e 0a 0a 53 6f 6d 65 20 6f |oked at...Some o| 00003530 74 68 65 72 20 6f 70 74 69 6f 6e 73 20 61 72 65 |ther options are| 00003540 20 73 74 6f 72 65 64 20 69 6e 20 74 68 65 20 27 | stored in the '| 00003550 4b 65 79 73 27 20 66 69 6c 65 2e 20 54 68 65 73 |Keys' file. Thes| 00003560 65 20 69 6e 63 6c 75 64 65 20 76 61 72 69 61 62 |e include variab| 00003570 6c 65 0a 6e 75 6d 62 65 72 73 3a 0a 0a 26 32 30 |le.numbers:..&20| 00003580 30 2d 26 32 30 46 09 54 68 65 73 65 20 67 69 76 |0-&20F.These giv| 00003590 65 20 74 68 65 20 31 36 20 73 65 61 72 63 68 20 |e the 16 search | 000035a0 6d 61 63 72 6f 73 2e 0a 26 33 30 30 09 09 54 68 |macros..&300..Th| 000035b0 65 20 64 61 74 65 20 66 6f 72 6d 61 74 20 74 6f |e date format to| 000035c0 20 75 73 65 20 66 6f 72 20 73 63 44 2e 0a 26 33 | use for scD..&3| 000035d0 30 31 09 09 54 68 65 20 74 69 6d 65 20 66 6f 72 |01..The time for| 000035e0 6d 61 74 20 74 6f 20 75 73 65 20 66 6f 72 20 73 |mat to use for s| 000035f0 63 54 2e 0a 26 33 30 32 09 09 54 68 65 20 64 65 |cT..&302..The de| 00003600 66 61 75 6c 74 20 66 6f 6e 74 20 6e 61 6d 65 20 |fault font name | 00003610 74 6f 20 75 73 65 20 69 6e 20 66 6f 6e 74 20 64 |to use in font d| 00003620 69 73 70 6c 61 79 20 6d 6f 64 65 73 2e 0a 26 33 |isplay modes..&3| 00003630 30 33 09 09 54 68 65 20 6e 75 6d 62 65 72 20 6f |03..The number o| 00003640 66 20 62 6c 61 6e 6b 20 6c 69 6e 65 73 20 74 6f |f blank lines to| 00003650 20 6c 65 61 76 65 20 61 74 20 74 68 65 20 65 6e | leave at the en| 00003660 64 20 6f 66 20 61 20 77 69 6e 64 6f 77 2e 0a 26 |d of a window..&| 00003670 33 30 34 09 09 54 68 65 20 64 65 66 61 75 6c 74 |304..The default| 00003680 20 66 6f 6e 74 20 73 69 7a 65 20 69 6e 20 70 6f | font size in po| 00003690 69 6e 74 73 2e 0a 0a 56 61 72 69 61 62 6c 65 73 |ints...Variables| 000036a0 20 26 31 78 78 78 20 67 69 76 65 20 74 68 65 20 | &1xxx give the | 000036b0 6d 6f 64 65 20 69 6e 20 77 68 69 63 68 20 74 6f |mode in which to| 000036c0 20 6c 6f 61 64 20 61 20 66 69 6c 65 20 6f 66 20 | load a file of | 000036d0 74 79 70 65 20 78 78 78 2e 20 50 6c 65 61 73 65 |type xxx. Please| 000036e0 0a 6e 6f 74 65 20 74 68 61 74 20 74 68 65 20 6d |.note that the m| 000036f0 6f 64 65 20 6e 61 6d 65 20 69 73 20 43 41 53 45 |ode name is CASE| 00003700 20 53 45 4e 53 49 54 49 56 45 2e 0a 0a 41 2e 34 | SENSITIVE...A.4| 00003710 20 44 69 66 66 65 72 65 6e 63 65 73 20 77 69 74 | Differences wit| 00003720 68 20 52 69 73 63 20 4f 73 20 32 0a 2d 2d 2d 2d |h Risc Os 2.----| 00003730 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00003740 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 49 66 20 75 |----------..If u| 00003750 73 69 6e 67 20 66 6f 6e 74 73 2c 20 74 68 65 6e |sing fonts, then| 00003760 20 5a 61 70 20 77 69 6c 6c 20 6e 65 65 64 20 74 | Zap will need t| 00003770 68 65 20 6f 75 74 6c 69 6e 65 20 66 6f 6e 74 20 |he outline font | 00003780 6d 61 6e 61 67 65 72 20 76 73 6e 20 32 2e 34 32 |manager vsn 2.42| 00003790 2e 20 54 68 69 73 20 69 73 0a 75 73 65 64 20 62 |. This is.used b| 000037a0 79 20 49 6d 70 72 65 73 73 69 6f 6e 20 61 6e 64 |y Impression and| 000037b0 20 6f 74 68 65 72 20 44 54 50 20 70 72 6f 67 72 | other DTP progr| 000037c0 61 6d 73 2e 20 49 66 20 75 73 69 6e 67 20 74 61 |ams. If using ta| 000037d0 73 6b 20 77 69 6e 64 6f 77 73 2c 20 74 68 65 6e |sk windows, then| 000037e0 20 5a 61 70 0a 77 69 6c 6c 20 65 78 70 65 63 74 | Zap.will expect| 000037f0 20 74 6f 20 66 69 6e 64 20 74 68 65 20 6d 6f 64 | to find the mod| 00003800 75 6c 65 20 27 54 61 73 6b 27 20 69 6e 20 74 68 |ule 'Task' in th| 00003810 65 20 53 79 73 74 65 6d 3a 4d 6f 64 75 6c 65 73 |e System:Modules| 00003820 20 64 69 72 65 63 74 6f 72 79 2e 20 54 68 69 73 | directory. This| 00003830 0a 73 68 6f 75 6c 64 20 62 65 20 74 68 65 20 54 |.should be the T| 00003840 61 73 6b 20 6d 6f 64 75 6c 65 20 73 75 70 70 6c |ask module suppl| 00003850 69 65 64 20 77 69 74 68 20 44 44 45 2e 20 4f 66 |ied with DDE. Of| 00003860 20 63 6f 75 72 73 65 20 5e 46 31 32 20 77 69 6c | course ^F12 wil| 00003870 6c 20 6e 6f 74 20 62 72 69 6e 67 20 75 70 0a 74 |l not bring up.t| 00003880 68 65 20 74 61 73 6b 77 69 6e 64 6f 77 20 6f 6e |he taskwindow on| 00003890 20 52 69 73 63 20 4f 73 20 32 2e 20 49 27 6d 20 | Risc Os 2. I'm | 000038a0 73 6f 72 72 79 20 61 62 6f 75 74 20 74 68 69 73 |sorry about this| 000038b0 2c 20 62 75 74 20 69 74 27 73 20 61 20 6c 6f 74 |, but it's a lot| 000038c0 20 6f 66 20 68 61 73 73 6c 65 0a 66 6f 72 20 6d | of hassle.for m| 000038d0 65 20 74 6f 20 66 69 6e 64 20 61 20 52 69 73 63 |e to find a Risc| 000038e0 20 4f 73 20 32 20 6d 61 63 68 69 6e 65 20 74 6f | Os 2 machine to| 000038f0 20 77 6f 72 6b 20 6f 6e 2e 0a 0a 50 6c 65 61 73 | work on...Pleas| 00003900 65 20 6e 6f 74 65 20 74 68 61 74 20 6f 6e 6c 79 |e note that only| 00003910 20 6c 65 66 74 20 73 68 69 66 74 20 64 6f 75 62 | left shift doub| 00003920 6c 65 20 63 6c 69 63 6b 20 77 69 6c 6c 20 6c 6f |le click will lo| 00003930 61 64 20 61 20 6e 6f 6e 20 74 65 78 74 20 66 69 |ad a non text fi| 00003940 6c 65 2e 0a 52 69 67 68 74 20 73 68 69 66 74 20 |le..Right shift | 00003950 69 73 20 64 65 6c 69 62 65 72 61 74 65 6c 79 20 |is deliberately | 00003960 6e 6f 74 20 74 65 73 74 65 64 20 66 6f 72 20 61 |not tested for a| 00003970 73 20 73 6f 6d 65 20 70 65 6f 70 6c 65 20 75 73 |s some people us| 00003980 65 20 69 74 20 66 6f 72 20 6f 74 68 65 72 0a 74 |e it for other.t| 00003990 68 69 6e 67 73 2e 20 49 20 68 61 76 65 20 6e 6f |hings. I have no| 000039a0 20 63 6f 6e 74 72 6f 6c 20 6f 76 65 72 20 74 68 | control over th| 000039b0 69 73 20 6f 6e 20 52 69 73 63 20 4f 73 20 33 2e |is on Risc Os 3.| 000039c0 0a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |..**************| 000039d0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00003a00 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 2a 20 53 65 |***********.* Se| 00003a10 63 74 69 6f 6e 20 42 3a 09 4c 6f 61 64 69 6e 67 |ction B:.Loading| 00003a20 2c 53 61 76 69 6e 67 2c 50 72 69 6e 74 69 6e 67 |,Saving,Printing| 00003a30 2c 45 64 69 74 69 6e 67 20 66 69 6c 65 73 09 09 |,Editing files..| 00003a40 09 2a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |.*.*************| 00003a50 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00003a80 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 0a 42 2e |************..B.| 00003a90 31 20 4c 6f 61 64 69 6e 67 2f 63 72 65 61 74 69 |1 Loading/creati| 00003aa0 6e 67 20 66 69 6c 65 73 0a 2d 2d 2d 2d 2d 2d 2d |ng files.-------| 00003ab0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00003ac0 2d 2d 2d 0a 0a 54 68 65 73 65 20 61 72 65 20 74 |---..These are t| 00003ad0 68 65 20 77 61 79 73 20 74 6f 20 6c 6f 61 64 20 |he ways to load | 00003ae0 61 20 66 69 6c 65 20 69 6e 74 6f 20 5a 61 70 3a |a file into Zap:| 00003af0 0a 20 28 61 29 20 49 66 20 74 68 65 20 66 69 6c |. (a) If the fil| 00003b00 65 20 69 73 20 61 20 74 65 78 74 20 66 69 6c 65 |e is a text file| 00003b10 20 74 68 65 6e 20 64 6f 75 62 6c 65 20 63 6c 69 | then double cli| 00003b20 63 6b 20 6f 6e 20 69 74 2e 0a 20 28 62 29 20 49 |ck on it.. (b) I| 00003b30 66 20 74 68 65 20 66 69 6c 65 20 69 73 20 74 79 |f the file is ty| 00003b40 70 65 64 20 74 68 65 6e 20 68 6f 6c 64 20 64 6f |ped then hold do| 00003b50 77 6e 20 6c 65 66 74 20 73 68 69 66 74 20 61 6e |wn left shift an| 00003b60 64 20 64 6f 75 62 6c 65 20 63 6c 69 63 6b 20 6f |d double click o| 00003b70 6e 20 69 74 2e 0a 20 28 63 29 20 49 66 20 74 68 |n it.. (c) If th| 00003b80 65 20 66 69 6c 65 20 69 73 20 75 6e 74 79 70 65 |e file is untype| 00003b90 64 20 74 68 65 6e 20 64 72 61 67 20 69 74 20 6f |d then drag it o| 00003ba0 6e 74 6f 20 74 68 65 20 5a 61 70 20 69 63 6f 6e |nto the Zap icon| 00003bb0 20 6f 6e 20 74 68 65 20 69 63 6f 6e 62 61 72 2e | on the iconbar.| 00003bc0 0a 20 0a 57 68 65 6e 20 79 6f 75 20 6c 6f 61 64 |. .When you load| 00003bd0 20 61 20 66 69 6c 65 20 69 6e 74 6f 20 7a 61 70 | a file into zap| 00003be0 2c 20 61 20 77 69 6e 64 6f 77 20 69 73 20 63 72 |, a window is cr| 00003bf0 65 61 74 65 64 20 69 6e 20 74 68 65 20 64 65 66 |eated in the def| 00003c00 61 75 6c 74 20 6d 6f 64 65 0a 61 73 73 69 67 6e |ault mode.assign| 00003c10 65 64 20 74 6f 20 74 68 61 74 20 66 69 6c 65 20 |ed to that file | 00003c20 74 79 70 65 2e 20 54 68 65 20 64 65 66 61 75 6c |type. The defaul| 00003c30 74 20 6d 6f 64 65 20 66 6f 72 20 61 20 67 69 76 |t mode for a giv| 00003c40 65 6e 20 66 69 6c 65 20 74 79 70 65 20 69 73 20 |en file type is | 00003c50 73 74 6f 72 65 64 0a 69 6e 20 74 68 65 20 4b 65 |stored.in the Ke| 00003c60 79 73 20 66 69 6c 65 2e 20 54 6f 20 62 65 20 73 |ys file. To be s| 00003c70 70 65 63 69 66 69 63 2c 20 74 68 65 20 76 61 72 |pecific, the var| 00003c80 69 61 62 6c 65 20 26 31 78 78 78 20 69 73 20 66 |iable &1xxx is f| 00003c90 6f 6c 6c 6f 77 65 64 20 62 79 20 74 68 65 20 6d |ollowed by the m| 00003ca0 6f 64 65 0a 6e 61 6d 65 20 74 6f 20 75 73 65 20 |ode.name to use | 00003cb0 66 6f 72 20 74 79 70 65 20 26 78 78 78 2e 20 54 |for type &xxx. T| 00003cc0 68 69 73 20 6e 61 6d 65 20 69 73 20 43 41 53 45 |his name is CASE| 00003cd0 20 53 45 4e 53 49 54 49 56 45 2e 20 55 6e 74 79 | SENSITIVE. Unty| 00003ce0 70 65 64 20 66 69 6c 65 73 20 61 72 65 0a 74 72 |ped files are.tr| 00003cf0 65 61 74 65 64 20 61 73 20 66 69 6c 65 20 74 79 |eated as file ty| 00003d00 70 65 20 41 42 53 4f 4c 55 54 45 20 74 79 70 65 |pe ABSOLUTE type| 00003d10 20 66 6f 72 20 74 68 69 73 20 70 75 72 70 6f 73 | for this purpos| 00003d20 65 2e 0a 0a 53 6f 6d 65 74 69 6d 65 73 20 79 6f |e...Sometimes yo| 00003d30 75 20 6d 61 79 20 77 69 73 68 20 74 6f 20 6c 6f |u may wish to lo| 00003d40 61 64 20 61 20 66 69 6c 65 20 69 6e 20 61 20 6d |ad a file in a m| 00003d50 6f 64 65 20 6f 74 68 65 72 20 74 68 61 6e 20 69 |ode other than i| 00003d60 74 27 73 20 64 65 66 61 75 6c 74 20 6f 6e 65 2e |t's default one.| 00003d70 0a 54 6f 20 64 6f 20 74 68 69 73 2c 20 73 65 74 |.To do this, set| 00003d80 20 74 68 65 20 72 65 71 75 69 72 65 64 20 6d 6f | the required mo| 00003d90 64 65 20 6f 6e 20 74 68 65 20 27 4f 70 74 69 6f |de on the 'Optio| 00003da0 6e 73 2e 4d 6f 64 65 27 20 6d 65 6e 75 2c 20 61 |ns.Mode' menu, a| 00003db0 6e 64 20 74 68 65 6e 20 68 6f 6c 64 0a 64 6f 77 |nd then hold.dow| 00003dc0 6e 20 74 68 65 20 43 54 52 4c 20 6b 65 79 20 77 |n the CTRL key w| 00003dd0 68 69 6c 65 20 6c 6f 61 64 69 6e 67 20 74 68 65 |hile loading the| 00003de0 20 66 69 6c 65 2e 20 28 45 67 20 53 68 69 66 74 | file. (Eg Shift| 00003df0 2d 43 74 72 6c 20 64 6f 75 62 6c 65 20 63 6c 69 |-Ctrl double cli| 00003e00 63 6b 20 6f 6e 20 74 68 65 0a 66 69 6c 65 29 2e |ck on the.file).| 00003e10 20 49 74 20 77 69 6c 6c 20 74 68 65 6e 20 62 65 | It will then be| 00003e20 20 6c 6f 61 64 65 64 20 69 6e 20 74 68 65 20 73 | loaded in the s| 00003e30 65 6c 65 63 74 65 64 20 6d 6f 64 65 20 28 75 73 |elected mode (us| 00003e40 75 61 6c 6c 79 20 74 65 78 74 29 2e 0a 0a 44 72 |ually text)...Dr| 00003e50 61 67 67 69 6e 67 20 61 20 66 69 6c 65 20 69 6e |agging a file in| 00003e60 74 6f 20 61 6e 20 6f 70 65 6e 20 77 69 6e 64 6f |to an open windo| 00003e70 77 20 69 6e 73 65 72 74 73 20 74 68 65 20 64 61 |w inserts the da| 00003e80 74 61 20 61 74 20 74 68 65 20 63 75 72 72 65 6e |ta at the curren| 00003e90 74 20 63 75 72 73 6f 72 0a 70 6f 73 69 74 69 6f |t cursor.positio| 00003ea0 6e 2e 20 52 61 6d 20 6c 6f 61 64 73 2f 73 61 76 |n. Ram loads/sav| 00003eb0 65 73 20 61 72 65 20 66 75 6c 6c 79 20 73 75 70 |es are fully sup| 00003ec0 70 6f 72 74 65 64 20 61 6e 64 20 79 6f 75 20 6d |ported and you m| 00003ed0 61 79 20 65 76 65 6e 20 73 61 76 65 20 61 20 66 |ay even save a f| 00003ee0 69 6c 65 0a 69 6e 74 6f 20 69 74 73 65 6c 66 2e |ile.into itself.| 00003ef0 20 49 66 20 79 6f 75 20 61 72 65 20 73 68 6f 72 | If you are shor| 00003f00 74 20 6f 66 20 6d 65 6d 6f 72 79 20 74 68 65 6e |t of memory then| 00003f10 20 49 20 73 75 67 67 65 73 74 20 79 6f 75 20 73 | I suggest you s| 00003f20 77 69 74 63 68 20 74 68 65 20 75 6e 64 6f 0a 62 |witch the undo.b| 00003f30 75 66 66 65 72 20 6f 66 66 20 62 65 66 6f 72 65 |uffer off before| 00003f40 20 70 65 72 66 6f 72 6d 69 6e 67 20 73 75 63 68 | performing such| 00003f50 20 64 72 61 67 73 2e 20 28 55 73 65 20 74 68 65 | drags. (Use the| 00003f60 20 46 69 6c 65 20 6d 65 6e 75 29 2e 0a 0a 49 6e | File menu)...In| 00003f70 20 61 6e 79 20 6d 6f 64 65 20 74 68 65 20 77 69 | any mode the wi| 00003f80 6e 64 6f 77 20 74 69 74 6c 65 20 69 73 20 6f 66 |ndow title is of| 00003f90 20 74 68 65 20 66 6f 72 6d 20 22 3c 66 69 6c 65 | the form "<file| 00003fa0 6e 61 6d 65 3e 20 5b 2a 5d 20 28 5b 6f 70 74 69 |name> [*] ([opti| 00003fb0 6f 6e 73 5d 29 22 0a 54 68 65 20 74 69 74 6c 65 |ons])".The title| 00003fc0 20 69 73 20 63 65 6e 74 65 72 65 64 20 75 6e 6c | is centered unl| 00003fd0 65 73 73 20 74 68 65 20 77 69 6e 64 6f 77 20 69 |ess the window i| 00003fe0 73 20 73 6d 61 6c 6c 20 77 68 65 6e 20 69 74 20 |s small when it | 00003ff0 69 73 20 72 69 67 68 74 20 61 6c 69 67 6e 65 64 |is right aligned| 00004000 20 73 6f 0a 79 6f 75 20 63 61 6e 20 73 65 65 20 | so.you can see | 00004010 74 68 65 20 6c 65 61 66 20 6e 61 6d 65 20 61 6e |the leaf name an| 00004020 64 20 6f 70 74 69 6f 6e 73 20 6f 66 20 74 68 65 |d options of the| 00004030 20 66 69 6c 65 2e 20 41 20 27 2a 27 20 69 6e 64 | file. A '*' ind| 00004040 69 63 61 74 65 73 20 74 68 61 74 20 74 68 65 0a |icates that the.| 00004050 66 69 6c 65 20 68 61 73 20 62 65 65 6e 20 61 6c |file has been al| 00004060 74 65 72 65 64 20 73 69 6e 63 65 20 6c 61 73 74 |tered since last| 00004070 20 73 61 76 65 64 2e 20 54 68 65 20 6f 70 74 69 | saved. The opti| 00004080 6f 6e 73 20 63 68 61 72 61 63 74 65 72 73 20 61 |ons characters a| 00004090 72 65 20 64 65 73 63 72 69 62 65 64 0a 62 65 6c |re described.bel| 000040a0 6f 77 2e 0a 0a 20 52 09 09 52 65 61 64 20 6f 6e |ow... R..Read on| 000040b0 6c 79 20 61 6e 64 20 66 69 78 65 64 20 61 73 20 |ly and fixed as | 000040c0 72 65 61 64 20 6f 6e 6c 79 2e 0a 20 72 09 09 52 |read only.. r..R| 000040d0 65 61 64 20 6f 6e 6c 79 20 62 75 74 20 63 61 6e |ead only but can| 000040e0 20 62 65 20 74 6f 67 67 6c 65 64 20 74 6f 20 72 | be toggled to r| 000040f0 65 61 64 2f 77 72 69 74 65 20 62 79 20 73 63 52 |ead/write by scR| 00004100 2e 0a 20 75 09 09 55 6e 64 6f 20 73 75 70 70 6f |.. u..Undo suppo| 00004110 72 74 65 64 20 62 79 20 74 68 69 73 20 66 69 6c |rted by this fil| 00004120 65 20 28 73 6f 20 63 58 20 61 63 74 73 20 61 73 |e (so cX acts as| 00004130 20 63 75 74 2c 20 6e 6f 74 20 64 65 6c 65 74 65 | cut, not delete| 00004140 29 2e 0a 20 6f 09 09 4f 76 65 72 77 72 69 74 65 |).. o..Overwrite| 00004150 20 6d 6f 64 65 20 61 63 74 69 76 65 20 28 74 6f | mode active (to| 00004160 67 67 6c 65 20 76 69 61 20 49 6e 73 65 72 74 20 |ggle via Insert | 00004170 6b 65 79 29 2e 0a 20 68 09 09 48 65 78 20 65 6e |key).. h..Hex en| 00004180 74 72 79 20 6d 6f 64 65 20 61 63 74 69 76 65 20 |try mode active | 00004190 66 6f 72 20 42 79 74 65 2f 57 6f 72 64 20 28 74 |for Byte/Word (t| 000041a0 6f 67 67 6c 65 20 76 69 61 20 46 32 29 2e 0a 20 |oggle via F2).. | 000041b0 77 09 09 57 6f 72 64 77 72 61 70 20 6d 6f 64 65 |w..Wordwrap mode| 000041c0 20 61 63 74 69 76 65 20 28 74 6f 67 67 6c 65 20 | active (toggle | 000041d0 76 69 61 20 63 46 35 29 2e 0a 20 6c 09 09 4c 69 |via cF5).. l..Li| 000041e0 6e 65 20 65 64 69 74 20 6d 6f 64 65 20 61 63 74 |ne edit mode act| 000041f0 69 76 65 20 28 72 65 74 75 72 6e 20 69 6e 73 65 |ive (return inse| 00004200 72 74 73 20 6e 65 77 20 6c 69 6e 65 29 2e 0a 20 |rts new line).. | 00004210 61 09 09 41 75 74 6f 20 69 6e 64 65 6e 74 20 6d |a..Auto indent m| 00004220 6f 64 65 20 61 63 74 69 76 65 20 28 73 65 65 20 |ode active (see | 00004230 74 68 65 20 45 64 69 74 20 73 75 62 6d 65 6e 75 |the Edit submenu| 00004240 29 2e 0a 20 6e 09 09 4e 6f 6e 20 73 74 61 6e 64 |).. n..Non stand| 00004250 61 72 64 20 6d 6f 64 65 20 61 63 74 69 76 65 20 |ard mode active | 00004260 28 75 73 65 64 20 62 79 20 41 52 4d 42 45 20 65 |(used by ARMBE e| 00004270 6d 75 6c 61 74 69 6f 6e 20 6d 6f 64 65 29 2e 0a |mulation mode)..| 00004280 20 0a 59 6f 75 20 6d 61 79 20 61 6c 73 6f 20 63 | .You may also c| 00004290 72 65 61 74 65 20 66 69 6c 65 73 20 6f 66 20 61 |reate files of a| 000042a0 20 67 69 76 65 6e 20 74 79 70 65 20 75 73 69 6e | given type usin| 000042b0 67 20 74 68 65 20 27 43 72 65 61 74 65 2e 54 79 |g the 'Create.Ty| 000042c0 70 65 27 20 6d 65 6e 75 2c 20 6f 72 0a 67 72 61 |pe' menu, or.gra| 000042d0 62 20 6d 6f 64 75 6c 65 73 20 75 73 69 6e 67 20 |b modules using | 000042e0 74 68 65 20 27 43 72 65 61 74 65 2e 47 65 74 6d |the 'Create.Getm| 000042f0 6f 64 75 6c 65 27 20 6d 65 6e 75 2e 20 5a 61 70 |odule' menu. Zap| 00004300 20 63 61 6e 20 61 6c 73 6f 20 72 65 61 64 20 64 | can also read d| 00004310 69 73 63 0a 73 65 63 74 6f 72 73 20 61 6e 64 20 |isc.sectors and | 00004320 6f 74 68 65 72 20 61 70 70 6c 69 63 61 74 69 6f |other applicatio| 00004330 6e 73 20 6d 65 6d 6f 72 79 2e 20 43 6c 69 63 6b |ns memory. Click| 00004340 20 53 45 4c 45 43 54 20 6f 6e 20 74 68 65 20 5a | SELECT on the Z| 00004350 61 70 20 69 63 6f 6e 20 74 6f 20 63 72 65 61 74 |ap icon to creat| 00004360 65 0a 61 20 6e 65 77 20 74 65 78 74 20 66 69 6c |e.a new text fil| 00004370 65 20 61 6e 64 20 41 44 4a 55 53 54 20 6f 6e 20 |e and ADJUST on | 00004380 74 68 65 20 5a 61 70 20 69 63 6f 6e 20 74 6f 20 |the Zap icon to | 00004390 63 72 65 61 74 65 20 61 20 6e 65 77 20 42 41 53 |create a new BAS| 000043a0 49 43 20 66 69 6c 65 2e 0a 0a 5a 61 70 20 77 69 |IC file...Zap wi| 000043b0 6c 6c 20 77 61 72 6e 20 79 6f 75 20 62 65 66 6f |ll warn you befo| 000043c0 72 65 20 6f 76 65 72 77 72 69 74 69 6e 67 20 61 |re overwriting a| 000043d0 20 66 69 6c 65 20 6f 66 20 74 68 65 20 73 61 6d | file of the sam| 000043e0 65 20 6e 61 6d 65 20 69 66 20 69 74 20 69 73 0a |e name if it is.| 000043f0 61 6c 74 65 72 65 64 2e 20 49 66 20 69 74 20 69 |altered. If it i| 00004400 73 20 75 6e 61 6c 74 65 72 65 64 20 74 68 65 6e |s unaltered then| 00004410 20 74 68 65 20 6e 65 77 6c 79 20 6c 6f 61 64 65 | the newly loade| 00004420 64 20 66 69 6c 65 20 77 69 6c 6c 20 72 65 70 6c |d file will repl| 00004430 61 63 65 20 74 68 65 20 6f 6e 65 0a 63 75 72 72 |ace the one.curr| 00004440 65 6e 74 6c 79 20 6c 6f 61 64 65 64 20 61 73 20 |ently loaded as | 00004450 69 6e 20 21 45 64 69 74 2e 0a 0a 42 2e 32 20 53 |in !Edit...B.2 S| 00004460 61 76 69 6e 67 20 66 69 6c 65 73 0a 2d 2d 2d 2d |aving files.----| 00004470 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 50 72 |------------..Pr| 00004480 65 73 73 20 46 33 20 74 6f 20 6f 70 65 6e 20 74 |ess F3 to open t| 00004490 68 65 20 73 61 76 65 20 62 6f 78 2e 20 59 6f 75 |he save box. You| 000044a0 20 6d 61 79 20 63 68 61 6e 67 65 20 74 68 65 20 | may change the | 000044b0 66 69 6c 65 20 74 79 70 65 20 65 69 74 68 65 72 |file type either| 000044c0 20 62 79 0a 63 6c 69 63 6b 69 6e 67 20 74 68 65 | by.clicking the| 000044d0 20 4d 45 4e 55 20 62 75 74 74 6f 6e 2c 20 6f 72 | MENU button, or| 000044e0 20 62 79 20 6d 6f 76 69 6e 67 20 74 6f 20 74 68 | by moving to th| 000044f0 65 20 74 79 70 65 20 6e 61 6d 65 20 77 69 6e 64 |e type name wind| 00004500 6f 77 2c 20 74 79 70 69 6e 67 20 74 68 65 0a 6e |ow, typing the.n| 00004510 65 77 20 74 79 70 65 20 6e 61 6d 65 20 61 6e 64 |ew type name and| 00004520 20 70 72 65 73 73 69 6e 67 20 52 45 54 55 52 4e | pressing RETURN| 00004530 2e 20 5a 61 70 20 77 69 6c 6c 20 77 61 72 6e 20 |. Zap will warn | 00004540 79 6f 75 20 69 66 20 79 6f 75 20 61 72 65 20 61 |you if you are a| 00004550 62 6f 75 74 20 74 6f 0a 6f 76 65 72 77 72 69 74 |bout to.overwrit| 00004560 65 20 61 20 6d 6f 72 65 20 72 65 63 65 6e 74 20 |e a more recent | 00004570 66 69 6c 65 2c 20 6f 72 20 69 66 20 74 68 65 20 |file, or if the | 00004580 66 69 6c 65 20 63 6f 6e 74 61 69 6e 73 20 6e 6f |file contains no| 00004590 20 70 61 74 68 2e 20 49 66 20 79 6f 75 20 69 67 | path. If you ig| 000045a0 6e 6f 72 65 0a 74 68 65 20 77 61 72 6e 69 6e 67 |nore.the warning| 000045b0 20 74 68 65 6e 20 69 74 20 77 69 6c 6c 20 73 61 | then it will sa| 000045c0 76 65 20 74 68 65 20 66 69 6c 65 20 74 6f 20 74 |ve the file to t| 000045d0 68 65 20 63 75 72 72 65 6e 74 6c 79 20 73 65 6c |he currently sel| 000045e0 65 63 74 65 64 20 64 69 72 65 63 74 6f 72 79 2e |ected directory.| 000045f0 0a 0a 43 74 72 6c 2d 46 33 20 64 6f 65 73 20 61 |..Ctrl-F3 does a| 00004600 20 64 69 72 65 63 74 20 73 61 76 65 2e 20 43 74 | direct save. Ct| 00004610 72 6c 2d 46 32 20 64 65 6c 65 74 65 73 20 74 68 |rl-F2 deletes th| 00004620 65 20 63 75 72 72 65 6e 74 20 66 69 6c 65 20 61 |e current file a| 00004630 6e 64 20 53 68 69 66 74 2d 43 74 72 6c 2d 58 0a |nd Shift-Ctrl-X.| 00004640 64 65 6c 65 74 65 73 20 74 68 65 20 6f 74 68 65 |deletes the othe| 00004650 72 20 66 69 6c 65 20 62 65 69 6e 67 20 76 69 65 |r file being vie| 00004660 77 65 64 2e 20 50 6c 65 61 73 65 20 6e 6f 74 65 |wed. Please note| 00004670 20 74 68 61 74 20 77 68 65 6e 20 74 68 65 0a 53 | that when the.S| 00004680 41 56 45 2c 44 49 53 43 41 52 44 2c 43 41 4e 43 |AVE,DISCARD,CANC| 00004690 45 4c 20 62 6f 78 20 70 6f 70 73 20 75 70 20 79 |EL box pops up y| 000046a0 6f 75 20 6d 61 79 20 73 69 6d 70 6c 79 20 70 72 |ou may simply pr| 000046b0 65 73 73 20 27 53 27 2c 27 44 27 2c 6f 72 20 27 |ess 'S','D',or '| 000046c0 43 27 20 69 6e 73 74 65 61 64 0a 6f 66 20 75 73 |C' instead.of us| 000046d0 69 6e 67 20 74 68 65 20 6d 6f 75 73 65 2e 20 54 |ing the mouse. T| 000046e0 68 65 20 73 61 6d 65 20 68 6f 6c 64 73 20 66 6f |he same holds fo| 000046f0 72 20 6f 74 68 65 72 20 64 69 61 6c 6f 67 75 65 |r other dialogue| 00004700 20 62 6f 78 65 73 2e 0a 0a 49 66 20 79 6f 75 20 | boxes...If you | 00004710 61 72 65 20 75 73 69 6e 67 20 6f 6e 65 20 6f 66 |are using one of| 00004720 20 74 68 65 20 62 61 73 69 63 20 6d 6f 64 65 73 | the basic modes| 00004730 20 74 68 65 6e 20 70 6c 65 61 73 65 20 6e 6f 74 | then please not| 00004740 65 20 74 68 61 74 20 79 6f 75 20 6d 75 73 74 20 |e that you must | 00004750 73 61 76 65 0a 66 72 6f 6d 20 61 20 77 69 6e 64 |save.from a wind| 00004760 6f 77 20 69 6e 20 74 68 65 20 63 6f 72 72 65 63 |ow in the correc| 00004770 74 20 6d 6f 64 65 2e 20 49 66 20 79 6f 75 20 73 |t mode. If you s| 00004780 77 69 74 63 68 20 74 6f 20 74 65 78 74 20 6d 6f |witch to text mo| 00004790 64 65 20 61 6e 64 20 74 68 65 6e 20 73 61 76 65 |de and then save| 000047a0 2c 0a 79 6f 75 72 20 66 69 6c 65 20 77 69 6c 6c |,.your file will| 000047b0 20 62 65 20 73 61 76 65 64 20 61 73 20 61 20 74 | be saved as a t| 000047c0 65 78 74 20 66 69 6c 65 20 61 6e 64 20 6e 6f 74 |ext file and not| 000047d0 20 61 20 42 61 73 69 63 20 70 72 6f 67 72 61 6d | a Basic program| 000047e0 2e 0a 0a 42 2e 33 20 44 75 6d 70 69 6e 67 2c 20 |...B.3 Dumping, | 000047f0 70 72 69 6e 74 69 6e 67 20 66 69 6c 65 73 0a 2d |printing files.-| 00004800 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00004810 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 46 69 72 73 |----------..Firs| 00004820 74 20 6e 6f 74 65 20 74 68 61 74 20 61 6e 79 20 |t note that any | 00004830 77 69 6e 64 6f 77 20 64 69 73 70 6c 61 79 20 6d |window display m| 00004840 61 79 20 62 65 20 74 75 72 6e 65 64 20 69 6e 74 |ay be turned int| 00004850 6f 20 61 20 74 65 78 74 20 66 69 6c 65 20 73 69 |o a text file si| 00004860 6d 70 6c 79 20 62 79 0a 70 72 65 73 73 69 6e 67 |mply by.pressing| 00004870 20 53 48 49 46 54 2d 43 54 52 4c 2d 43 4f 50 59 | SHIFT-CTRL-COPY| 00004880 2e 20 4f 6e 63 65 20 79 6f 75 20 68 61 76 65 20 |. Once you have | 00004890 64 6f 6e 65 20 74 68 69 73 20 79 6f 75 20 63 6f |done this you co| 000048a0 75 6c 64 20 70 72 69 6e 74 20 61 20 66 69 6c 65 |uld print a file| 000048b0 0a 73 69 6d 70 6c 79 20 62 79 20 73 61 76 69 6e |.simply by savin| 000048c0 67 20 69 74 20 74 6f 20 61 20 70 72 69 6e 74 65 |g it to a printe| 000048d0 72 20 64 72 69 76 65 72 2c 20 6f 72 20 62 79 20 |r driver, or by | 000048e0 6f 70 65 6e 69 6e 67 20 74 68 65 20 27 70 72 69 |opening the 'pri| 000048f0 6e 74 65 72 3a 27 20 66 69 6c 69 6e 67 0a 73 79 |nter:' filing.sy| 00004900 73 74 65 6d 20 28 70 72 65 73 73 20 63 74 72 6c |stem (press ctrl| 00004910 2d 70 72 69 6e 74 29 20 61 6e 64 20 73 61 76 69 |-print) and savi| 00004920 6e 67 20 74 68 65 20 66 69 6c 65 20 69 6e 74 6f |ng the file into| 00004930 20 69 74 2e 20 5a 61 70 20 61 6c 73 6f 20 70 72 | it. Zap also pr| 00004940 6f 76 69 64 65 73 20 74 77 6f 0a 6f 74 68 65 72 |ovides two.other| 00004950 20 70 72 69 6e 74 6f 75 74 20 63 6f 6d 6d 61 6e | printout comman| 00004960 64 73 2e 0a 0a 54 68 65 20 66 69 72 73 74 2c 20 |ds...The first, | 00004970 27 71 75 69 63 6b 20 70 72 69 6e 74 27 20 63 61 |'quick print' ca| 00004980 6e 20 62 65 20 67 6f 74 20 62 79 20 70 72 65 73 |n be got by pres| 00004990 73 69 6e 67 20 74 68 65 20 27 50 72 69 6e 74 27 |sing the 'Print'| 000049a0 20 6b 65 79 2e 20 57 68 65 6e 20 79 6f 75 0a 70 | key. When you.p| 000049b0 72 65 73 73 20 52 65 74 75 72 6e 2c 20 6f 72 20 |ress Return, or | 000049c0 63 6c 69 63 6b 20 27 50 52 49 4e 54 27 2c 20 69 |click 'PRINT', i| 000049d0 74 20 77 69 6c 6c 20 73 65 6e 64 20 74 68 65 20 |t will send the | 000049e0 64 69 73 70 6c 61 79 20 74 6f 20 74 68 65 20 70 |display to the p| 000049f0 72 69 6e 74 65 72 0a 64 69 72 65 63 74 6c 79 2e |rinter.directly.| 00004a00 20 4f 6e 20 73 6f 6d 65 20 70 72 69 6e 74 65 72 | On some printer| 00004a10 73 20 79 6f 75 20 6d 61 79 20 68 61 76 65 20 74 |s you may have t| 00004a20 6f 20 63 68 61 6e 67 65 20 74 68 65 20 44 49 50 |o change the DIP| 00004a30 20 73 77 69 74 63 68 20 77 68 69 63 68 0a 68 61 | switch which.ha| 00004a40 6e 64 6c 65 73 20 77 68 65 74 68 65 72 20 43 52 |ndles whether CR| 00004a50 20 61 6c 73 6f 20 64 6f 65 73 20 61 20 4c 46 2e | also does a LF.| 00004a60 0a 0a 54 68 65 20 73 65 63 6f 6e 64 2c 20 27 66 |..The second, 'f| 00004a70 61 6e 63 79 20 70 72 69 6e 74 27 20 63 61 6e 20 |ancy print' can | 00004a80 62 65 20 67 6f 74 20 62 79 20 70 72 65 73 73 69 |be got by pressi| 00004a90 6e 67 20 27 53 68 69 66 74 2d 50 72 69 6e 74 27 |ng 'Shift-Print'| 00004aa0 2e 20 59 6f 75 20 6d 75 73 74 20 68 61 76 65 0a |. You must have.| 00004ab0 61 20 70 72 69 6e 74 65 72 20 64 72 69 76 65 72 |a printer driver| 00004ac0 20 6c 6f 61 64 65 64 2e 20 54 68 65 20 66 69 6c | loaded. The fil| 00004ad0 65 20 77 69 6c 6c 20 74 68 65 6e 20 62 65 20 6f |e will then be o| 00004ae0 75 74 70 75 74 20 76 69 61 20 74 68 65 20 70 72 |utput via the pr| 00004af0 69 6e 74 65 72 20 64 72 69 76 65 72 0a 69 6e 20 |inter driver.in | 00004b00 74 68 65 20 63 75 72 72 65 6e 74 20 6f 75 74 6c |the current outl| 00004b10 69 6e 65 20 66 6f 6e 74 20 73 65 6c 65 63 74 65 |ine font selecte| 00004b20 64 20 76 69 61 20 74 68 65 20 27 44 69 73 70 6c |d via the 'Displ| 00004b30 61 79 2e 46 6f 6e 74 2e 4f 74 68 65 72 6e 61 6d |ay.Font.Othernam| 00004b40 65 27 20 6d 65 6e 75 2e 0a 0a 42 2e 34 20 53 65 |e' menu...B.4 Se| 00004b50 6c 65 63 74 69 6e 67 20 72 65 67 69 6f 6e 73 0a |lecting regions.| 00004b60 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00004b70 2d 2d 2d 2d 2d 0a 0a 54 68 65 72 65 20 61 72 65 |-----..There are| 00004b80 20 73 65 76 65 72 61 6c 20 77 61 79 73 20 74 6f | several ways to| 00004b90 20 6d 61 72 6b 20 72 65 67 69 6f 6e 73 20 69 6e | mark regions in| 00004ba0 20 5a 61 70 2e 20 54 68 65 20 6d 6f 73 74 20 6f | Zap. The most o| 00004bb0 62 76 69 6f 75 73 20 69 73 20 74 6f 20 75 73 65 |bvious is to use| 00004bc0 20 74 68 65 0a 6d 6f 75 73 65 2e 0a 0a 49 66 20 | the.mouse...If | 00004bd0 74 68 65 72 65 20 69 73 20 6e 6f 20 72 65 67 69 |there is no regi| 00004be0 6f 6e 20 73 65 6c 65 63 74 65 64 20 74 68 65 6e |on selected then| 00004bf0 20 44 52 41 47 20 53 45 4c 45 43 54 20 77 69 6c | DRAG SELECT wil| 00004c00 6c 20 6d 61 72 6b 20 61 20 6e 65 77 20 72 65 67 |l mark a new reg| 00004c10 69 6f 6e 2c 20 61 6e 64 0a 41 44 4a 55 53 54 20 |ion, and.ADJUST | 00004c20 43 4c 49 43 4b 2f 44 52 41 47 20 77 69 6c 6c 20 |CLICK/DRAG will | 00004c30 73 65 6c 65 63 74 20 62 65 74 77 65 65 6e 20 74 |select between t| 00004c40 68 65 20 63 6c 69 63 6b 65 64 20 70 6f 69 6e 74 |he clicked point| 00004c50 20 61 6e 64 20 74 68 65 20 63 75 72 73 6f 72 2e | and the cursor.| 00004c60 20 49 66 0a 74 68 65 72 65 20 69 73 20 61 6c 72 | If.there is alr| 00004c70 65 61 64 79 20 61 20 72 65 67 69 6f 6e 20 73 65 |eady a region se| 00004c80 6c 65 63 74 65 64 20 74 68 65 6e 20 44 52 41 47 |lected then DRAG| 00004c90 20 53 45 4c 45 43 54 20 77 69 6c 6c 20 73 74 61 | SELECT will sta| 00004ca0 72 74 20 73 65 6c 65 63 74 69 6e 67 20 61 0a 6e |rt selecting a.n| 00004cb0 65 77 20 72 65 67 69 6f 6e 2c 20 41 44 4a 55 53 |ew region, ADJUS| 00004cc0 54 20 43 4c 49 43 4b 2f 44 52 41 47 20 77 69 6c |T CLICK/DRAG wil| 00004cd0 6c 20 61 6c 74 65 72 20 74 68 65 20 6f 6c 64 20 |l alter the old | 00004ce0 72 65 67 69 6f 6e 2e 20 49 6e 20 65 69 74 68 65 |region. In eithe| 00004cf0 72 20 63 61 73 65 2c 20 68 6f 6c 64 0a 64 6f 77 |r case, hold.dow| 00004d00 6e 20 74 68 65 20 43 54 52 4c 20 6b 65 79 20 74 |n the CTRL key t| 00004d10 6f 20 6c 65 61 76 65 20 74 68 65 20 63 75 72 73 |o leave the curs| 00004d20 6f 72 20 75 6e 61 66 66 65 63 74 65 64 20 62 79 |or unaffected by| 00004d30 20 74 68 65 20 73 65 6c 65 63 74 69 6f 6e 2e 0a | the selection..| 00004d40 0a 54 68 65 20 73 65 63 6f 6e 64 20 6d 65 74 68 |.The second meth| 00004d50 6f 64 20 69 73 20 74 6f 20 75 73 65 20 74 68 65 |od is to use the| 00004d60 20 6b 65 79 62 6f 61 72 64 2e 20 54 68 69 73 20 | keyboard. This | 00004d70 6d 65 74 68 6f 64 20 69 73 20 6d 75 63 68 20 66 |method is much f| 00004d80 61 73 74 65 72 20 77 68 65 6e 0a 79 6f 75 20 68 |aster when.you h| 00004d90 61 76 65 20 67 6f 74 20 75 73 65 64 20 74 6f 20 |ave got used to | 00004da0 69 74 2e 20 46 69 72 73 74 20 6d 6f 76 65 20 74 |it. First move t| 00004db0 6f 20 74 68 65 20 73 74 61 72 74 20 6f 66 20 74 |o the start of t| 00004dc0 68 65 20 72 65 67 69 6f 6e 20 79 6f 75 20 77 69 |he region you wi| 00004dd0 73 68 20 74 6f 0a 6d 61 72 6b 2e 20 54 68 65 6e |sh to.mark. Then| 00004de0 20 70 72 65 73 73 20 43 54 52 4c 2d 43 4f 50 59 | press CTRL-COPY| 00004df0 20 61 6e 64 20 6d 6f 76 65 20 28 76 69 61 20 74 | and move (via t| 00004e00 68 65 20 63 75 72 73 6f 72 20 6b 65 79 73 29 20 |he cursor keys) | 00004e10 74 6f 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 |to the end of th| 00004e20 65 0a 72 65 67 69 6f 6e 2e 20 54 68 65 6e 20 70 |e.region. Then p| 00004e30 72 65 73 73 20 45 53 43 41 50 45 2e 0a 0a 54 68 |ress ESCAPE...Th| 00004e40 65 20 74 68 69 72 64 20 6d 65 74 68 6f 64 20 69 |e third method i| 00004e50 73 20 74 6f 20 75 73 65 20 6d 75 6c 74 69 70 6c |s to use multipl| 00004e60 65 20 63 6c 69 63 6b 73 2e 20 44 6f 75 62 6c 65 |e clicks. Double| 00004e70 20 63 6c 69 63 6b 20 6d 61 72 6b 73 20 61 20 77 | click marks a w| 00004e80 6f 72 64 2c 20 74 72 69 70 6c 65 0a 63 6c 69 63 |ord, triple.clic| 00004e90 6b 20 61 20 6c 69 6e 65 2c 20 71 75 61 64 72 75 |k a line, quadru| 00004ea0 70 6c 65 20 63 6c 69 63 6b 20 61 20 70 61 72 61 |ple click a para| 00004eb0 67 72 61 70 68 20 61 6e 64 20 71 75 69 6e 74 75 |graph and quintu| 00004ec0 70 6c 65 20 63 6c 69 63 6b 20 74 68 65 20 77 68 |ple click the wh| 00004ed0 6f 6c 65 0a 66 69 6c 65 2e 0a 0a 4e 6f 74 65 20 |ole.file...Note | 00004ee0 74 68 61 74 20 74 68 65 20 42 41 53 49 43 20 6d |that the BASIC m| 00004ef0 6f 64 65 20 6c 69 6d 69 74 73 20 73 65 6c 65 63 |ode limits selec| 00004f00 74 65 64 20 72 65 67 69 6f 6e 73 20 61 63 72 6f |ted regions acro| 00004f10 73 73 20 6c 69 6e 65 73 20 74 6f 20 66 75 6c 6c |ss lines to full| 00004f20 20 42 61 73 69 63 0a 6c 69 6e 65 73 20 28 6c 69 | Basic.lines (li| 00004f30 6b 65 20 74 68 65 20 41 52 4d 42 45 29 2e 0a 0a |ke the ARMBE)...| 00004f40 42 2e 35 20 43 6f 70 79 69 6e 67 2f 70 61 73 74 |B.5 Copying/past| 00004f50 69 6e 67 2f 63 75 74 74 69 6e 67 2f 79 61 6e 6b |ing/cutting/yank| 00004f60 69 6e 67 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |ing.------------| 00004f70 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00004f80 2d 2d 2d 2d 2d 2d 2d 0a 0a 5a 61 70 20 69 6d 70 |-------..Zap imp| 00004f90 6c 65 6d 65 6e 74 73 20 62 6f 74 68 20 74 68 65 |lements both the| 00004fa0 20 21 45 64 69 74 20 73 74 79 6c 65 20 63 6f 70 | !Edit style cop| 00004fb0 79 2f 6d 6f 76 65 20 61 6e 64 20 74 68 65 20 45 |y/move and the E| 00004fc0 6d 61 63 73 20 73 74 79 6c 65 20 70 61 73 74 65 |macs style paste| 00004fd0 2f 79 61 6e 6b 2e 0a 54 6f 20 63 6f 70 79 20 61 |/yank..To copy a| 00004fe0 20 72 65 67 69 6f 6e 20 6f 72 20 6d 6f 76 65 20 | region or move | 00004ff0 61 20 72 65 67 69 6f 6e 20 74 6f 20 74 68 65 20 |a region to the | 00005000 63 75 72 73 6f 72 20 70 6f 73 69 74 69 6f 6e 20 |cursor position | 00005010 70 72 65 73 73 20 63 74 72 6c 2d 43 20 6f 72 0a |press ctrl-C or.| 00005020 63 74 72 6c 2d 56 20 72 65 73 70 65 63 74 69 76 |ctrl-V respectiv| 00005030 65 6c 79 2e 20 49 66 20 74 68 65 20 66 69 6c 65 |ely. If the file| 00005040 20 68 61 73 20 61 6e 20 75 6e 64 6f 20 62 75 66 | has an undo buf| 00005050 66 65 72 20 74 68 65 6e 20 79 6f 75 20 6d 61 79 |fer then you may| 00005060 20 61 6c 73 6f 20 75 73 65 0a 70 61 73 74 65 2f | also use.paste/| 00005070 79 61 6e 6b 2e 20 44 65 6c 65 74 65 20 74 68 65 |yank. Delete the| 00005080 20 73 65 6c 65 63 74 65 64 20 61 72 65 61 20 62 | selected area b| 00005090 79 20 70 72 65 73 73 69 6e 67 20 63 74 72 6c 2d |y pressing ctrl-| 000050a0 58 2e 20 4d 6f 76 65 20 74 6f 20 74 68 65 20 70 |X. Move to the p| 000050b0 6f 73 69 74 69 6f 6e 0a 79 6f 75 20 77 69 73 68 |osition.you wish| 000050c0 20 74 6f 20 70 75 74 20 69 74 20 61 6e 64 20 70 | to put it and p| 000050d0 72 65 73 73 20 63 74 72 6c 2d 59 20 74 6f 20 70 |ress ctrl-Y to p| 000050e0 61 73 74 65 20 69 74 2e 20 50 72 65 73 73 20 73 |aste it. Press s| 000050f0 68 69 66 74 2d 63 74 72 6c 2d 59 20 28 45 6d 61 |hift-ctrl-Y (Ema| 00005100 63 73 0a 6d 65 74 61 2d 59 29 20 74 6f 20 63 79 |cs.meta-Y) to cy| 00005110 63 6c 65 20 74 68 72 6f 75 67 68 20 74 68 65 20 |cle through the | 00005120 70 72 65 76 69 6f 75 73 6c 79 20 64 65 6c 65 74 |previously delet| 00005130 65 64 20 72 65 67 69 6f 6e 73 2e 0a 0a 41 6e 6f |ed regions...Ano| 00005140 74 68 65 72 20 77 61 79 20 74 6f 20 63 6f 70 79 |ther way to copy| 00005150 20 74 65 78 74 20 69 73 20 76 69 61 20 74 68 65 | text is via the| 00005160 20 43 4f 50 59 20 6b 65 79 2e 20 54 68 69 73 20 | COPY key. This | 00005170 69 73 20 66 61 73 74 65 72 20 66 6f 72 20 63 6f |is faster for co| 00005180 70 79 69 6e 67 0a 73 6d 61 6c 6c 20 73 65 63 74 |pying.small sect| 00005190 69 6f 6e 73 20 6f 66 20 6f 74 68 65 72 20 6c 69 |ions of other li| 000051a0 6e 65 73 2e 20 46 69 72 73 74 20 70 72 65 73 73 |nes. First press| 000051b0 20 74 68 65 20 43 4f 50 59 20 6b 65 79 20 74 6f | the COPY key to| 000051c0 20 73 70 6c 69 74 20 74 68 65 20 63 75 72 73 6f | split the curso| 000051d0 72 0a 69 6e 74 6f 20 74 77 6f 2e 20 4f 6e 65 20 |r.into two. One | 000051e0 63 75 72 73 6f 72 20 63 61 6e 20 62 65 20 6d 6f |cursor can be mo| 000051f0 76 65 64 20 61 62 6f 75 74 20 62 79 20 74 68 65 |ved about by the| 00005200 20 63 75 72 73 6f 72 20 6b 65 79 73 2e 20 4d 6f | cursor keys. Mo| 00005210 76 65 20 74 68 69 73 20 74 6f 20 74 68 65 0a 61 |ve this to the.a| 00005220 72 65 61 20 79 6f 75 20 77 69 73 68 20 74 6f 20 |rea you wish to | 00005230 63 6f 70 79 20 66 72 6f 6d 20 61 6e 64 20 70 72 |copy from and pr| 00005240 65 73 73 20 74 68 65 20 43 4f 50 59 20 6b 65 79 |ess the COPY key| 00005250 20 6f 6e 63 65 20 66 6f 72 20 65 61 63 68 20 63 | once for each c| 00005260 68 61 72 61 63 74 65 72 2e 0a 50 72 65 73 73 20 |haracter..Press | 00005270 45 53 43 41 50 45 20 6f 72 20 52 45 54 55 52 4e |ESCAPE or RETURN| 00005280 20 74 6f 20 63 61 6e 63 65 6c 20 74 68 65 20 63 | to cancel the c| 00005290 6f 70 79 20 6d 6f 64 65 2e 20 50 6c 65 61 73 65 |opy mode. Please| 000052a0 20 6e 6f 74 65 20 74 68 61 74 20 79 6f 75 20 63 | note that you c| 000052b0 61 6e 20 61 6c 73 6f 0a 75 73 65 20 74 68 69 73 |an also.use this| 000052c0 20 6d 65 74 68 6f 64 20 61 63 72 6f 73 73 20 77 | method across w| 000052d0 69 6e 64 6f 77 73 20 61 6e 64 20 65 76 65 6e 20 |indows and even | 000052e0 61 63 72 6f 73 73 20 6d 6f 64 65 73 21 0a 0a 2a |across modes!..*| 000052f0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00005330 2a 2a 2a 2a 2a 2a 2a 2a 0a 2a 20 53 65 63 74 69 |********.* Secti| 00005340 6f 6e 20 43 3a 09 45 64 69 74 69 6e 67 20 42 41 |on C:.Editing BA| 00005350 53 49 43 20 2d 20 50 4c 45 41 53 45 20 52 45 41 |SIC - PLEASE REA| 00005360 44 09 09 09 09 2a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a |D....*.*********| 00005370 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 000053b0 0a 0a 43 2e 31 20 43 68 61 6e 67 69 6e 67 20 65 |..C.1 Changing e| 000053c0 64 69 74 6f 72 73 2f 6f 70 74 69 6f 6e 73 0a 2d |ditors/options.-| 000053d0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 000053e0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 65 |-----------..The| 000053f0 72 65 20 61 72 65 20 65 73 73 65 6e 74 69 61 6c |re are essential| 00005400 6c 79 20 33 20 77 61 79 73 20 74 6f 20 65 64 69 |ly 3 ways to edi| 00005410 74 20 62 61 73 69 63 20 70 72 6f 67 72 61 6d 73 |t basic programs| 00005420 20 69 6e 20 5a 61 70 2e 20 44 6f 20 6e 6f 74 20 | in Zap. Do not | 00005430 62 65 20 70 75 74 20 6f 66 66 0a 69 66 20 79 6f |be put off.if yo| 00005440 75 20 64 69 73 6c 69 6b 65 20 74 68 65 20 64 65 |u dislike the de| 00005450 66 61 75 6c 74 20 63 6f 6e 66 69 67 75 72 61 74 |fault configurat| 00005460 69 6f 6e 2e 20 59 6f 75 20 6d 61 79 20 63 68 61 |ion. You may cha| 00005470 6e 67 65 20 6d 6f 73 74 20 74 68 69 6e 67 73 20 |nge most things | 00005480 74 6f 20 79 6f 75 72 0a 70 72 65 66 65 72 65 6e |to your.preferen| 00005490 63 65 2e 0a 0a 49 6e 20 74 68 65 20 64 65 66 61 |ce...In the defa| 000054a0 75 6c 74 20 63 6f 6e 66 69 67 75 72 61 74 69 6f |ult configuratio| 000054b0 6e 2c 20 62 61 73 69 63 20 70 72 6f 67 72 61 6d |n, basic program| 000054c0 73 20 61 72 65 20 65 64 69 74 65 64 20 69 6e 20 |s are edited in | 000054d0 74 68 65 20 7a 61 70 20 65 78 74 65 6e 73 69 6f |the zap extensio| 000054e0 6e 0a 6d 6f 64 65 20 63 61 6c 6c 65 64 20 42 41 |n.mode called BA| 000054f0 53 49 43 2e 20 54 68 69 73 20 69 73 20 64 65 73 |SIC. This is des| 00005500 69 67 6e 65 64 20 74 6f 20 62 65 20 61 20 64 65 |igned to be a de| 00005510 73 6b 74 6f 70 20 76 65 72 73 69 6f 6e 20 6f 66 |sktop version of| 00005520 20 41 63 6f 72 6e 27 73 20 41 52 4d 42 45 2e 0a | Acorn's ARMBE..| 00005530 54 68 6f 73 65 20 70 65 6f 70 6c 65 20 75 73 65 |Those people use| 00005540 64 20 74 6f 20 41 52 4d 42 45 20 73 68 6f 75 6c |d to ARMBE shoul| 00005550 64 20 66 69 6e 64 20 74 68 69 73 20 6d 6f 64 65 |d find this mode| 00005560 20 76 65 72 79 20 65 61 73 79 20 74 6f 20 75 73 | very easy to us| 00005570 65 2e 20 54 68 65 20 6d 61 69 6e 0a 70 6f 69 6e |e. The main.poin| 00005580 74 73 20 61 72 65 20 74 68 61 74 20 69 73 20 65 |ts are that is e| 00005590 64 69 74 73 20 74 68 65 20 70 72 6f 67 72 61 6d |dits the program| 000055a0 20 77 68 69 6c 65 20 74 6f 6b 65 6e 69 73 65 64 | while tokenised| 000055b0 2c 20 61 6e 64 20 61 63 74 73 20 61 73 20 61 20 |, and acts as a | 000055c0 6c 69 6e 65 0a 65 64 69 74 6f 72 2e 20 49 65 2c |line.editor. Ie,| 000055d0 20 52 45 54 55 52 4e 20 69 6e 73 65 72 74 73 20 | RETURN inserts | 000055e0 61 20 6e 65 77 20 6c 69 6e 65 20 61 66 74 65 72 |a new line after| 000055f0 20 74 68 65 20 63 75 72 72 65 6e 74 20 6f 6e 65 | the current one| 00005600 2c 20 61 6e 64 20 74 68 65 0a 66 75 6e 63 74 69 |, and the.functi| 00005610 6f 6e 73 20 53 50 4c 49 54 2c 4a 4f 49 4e 20 6f |ons SPLIT,JOIN o| 00005620 6e 20 73 68 69 66 74 2d 46 31 20 61 6e 64 20 63 |n shift-F1 and c| 00005630 74 72 6c 2d 46 31 20 61 72 65 20 75 73 65 64 20 |trl-F1 are used | 00005640 74 6f 20 6d 61 6e 69 70 75 6c 61 74 65 20 6c 69 |to manipulate li| 00005650 6e 65 73 2e 0a 0a 46 6f 72 20 74 68 6f 73 65 20 |nes...For those | 00005660 70 65 6f 70 6c 65 20 77 68 6f 20 77 69 73 68 20 |people who wish | 00005670 74 6f 20 65 64 69 74 20 42 41 53 49 43 20 69 6e |to edit BASIC in| 00005680 20 74 6f 6b 65 6e 69 73 65 64 20 66 6f 72 6d 2c | tokenised form,| 00005690 20 61 6e 64 20 74 68 75 73 20 77 69 74 68 20 6c | and thus with l| 000056a0 69 6e 65 0a 6e 75 6d 62 65 72 73 20 61 63 63 65 |ine.numbers acce| 000056b0 73 73 69 62 6c 65 2c 20 62 75 74 20 77 68 6f 20 |ssible, but who | 000056c0 64 6f 20 6e 6f 74 20 6c 69 6b 65 20 27 6c 69 6e |do not like 'lin| 000056d0 65 20 65 64 69 74 6f 72 73 27 20 61 73 20 64 65 |e editors' as de| 000056e0 73 63 72 69 62 65 64 20 61 62 6f 76 65 2c 0a 70 |scribed above,.p| 000056f0 65 72 66 6f 72 6d 20 74 68 65 20 6f 70 74 69 6f |erform the optio| 00005700 6e 20 63 68 61 6e 67 65 73 20 69 6e 64 69 63 61 |n changes indica| 00005710 74 65 64 20 62 79 20 74 68 65 20 63 6c 69 63 6b |ted by the click| 00005720 73 3a 0a 0a 09 6f 70 74 69 6f 6e 73 2e 6d 6f 64 |s:...options.mod| 00005730 65 2e 42 41 53 49 43 09 09 20 3b 20 63 6f 6e 66 |e.BASIC.. ; conf| 00005740 69 67 75 72 65 20 62 61 73 69 63 20 6d 6f 64 65 |igure basic mode| 00005750 0a 09 6f 70 74 69 6f 6e 73 2e 65 64 69 74 2e 6c |..options.edit.l| 00005760 69 6e 65 20 65 64 69 74 09 09 20 3b 20 74 75 72 |ine edit.. ; tur| 00005770 6e 20 6f 66 66 20 6c 69 6e 65 20 65 64 69 74 6f |n off line edito| 00005780 72 20 6d 6f 64 65 0a 09 6f 70 74 69 6f 6e 73 2e |r mode..options.| 00005790 65 64 69 74 2e 6e 6f 6e 20 73 74 61 6e 64 61 72 |edit.non standar| 000057a0 64 09 20 3b 20 74 75 72 6e 20 6f 66 66 20 6e 6f |d. ; turn off no| 000057b0 6e 20 73 74 61 6e 64 61 72 64 20 73 70 6c 69 74 |n standard split| 000057c0 2f 6a 6f 69 6e 0a 09 6f 70 74 69 6f 6e 73 2e 64 |/join..options.d| 000057d0 69 73 70 6c 61 79 2e 6c 69 6e 65 6e 75 6d 62 65 |isplay.linenumbe| 000057e0 72 73 2e 6e 6f 6e 65 20 3b 20 74 75 72 6e 20 6f |rs.none ; turn o| 000057f0 66 66 20 6c 69 6e 65 20 6e 75 6d 62 65 72 73 0a |ff line numbers.| 00005800 09 6f 70 74 69 6f 6e 73 2e 6d 6f 64 65 2e 54 45 |.options.mode.TE| 00005810 58 54 09 09 20 3b 20 72 65 74 75 72 6e 20 63 6f |XT.. ; return co| 00005820 6e 66 69 67 20 6d 6f 64 65 20 74 6f 20 74 65 78 |nfig mode to tex| 00005830 74 0a 09 6f 70 74 69 6f 6e 73 2e 73 61 76 65 20 |t..options.save | 00005840 6f 70 74 69 6f 6e 73 09 09 20 3b 20 73 61 76 65 |options.. ; save| 00005850 20 79 6f 75 72 20 21 43 6f 6e 66 69 67 20 66 69 | your !Config fi| 00005860 6c 65 0a 09 0a 54 68 69 73 20 77 69 6c 6c 20 72 |le...This will r| 00005870 65 73 75 6c 74 20 69 6e 20 61 20 6d 6f 64 65 20 |esult in a mode | 00005880 77 68 65 72 65 20 74 68 65 20 42 41 53 49 43 20 |where the BASIC | 00005890 70 72 6f 67 72 61 6d 20 69 73 20 73 74 69 6c 6c |program is still| 000058a0 20 74 6f 6b 65 6e 69 73 65 64 2c 20 62 75 74 0a | tokenised, but.| 000058b0 52 45 54 55 52 4e 20 61 6e 64 20 44 45 4c 45 54 |RETURN and DELET| 000058c0 45 20 61 63 74 20 6e 6f 72 6d 61 6c 6c 79 20 61 |E act normally a| 000058d0 73 20 73 70 6c 69 74 20 61 6e 64 20 6a 6f 69 6e |s split and join| 000058e0 20 6f 70 65 72 61 74 6f 72 73 2e 20 41 6c 73 6f | operators. Also| 000058f0 20 74 68 65 20 6c 69 6e 65 0a 6e 75 6d 62 65 72 | the line.number| 00005900 73 20 68 61 76 65 20 62 65 65 6e 20 73 77 69 74 |s have been swit| 00005910 63 68 65 64 20 6f 66 66 2e 0a 0a 46 6f 72 20 74 |ched off...For t| 00005920 68 6f 73 65 20 77 68 6f 20 70 72 65 66 65 72 20 |hose who prefer | 00005930 74 6f 20 65 64 69 74 20 62 61 73 69 63 20 69 6e |to edit basic in| 00005940 20 64 65 74 6f 6b 65 6e 69 73 65 64 20 66 6f 72 | detokenised for| 00005950 6d 2c 20 74 68 65 72 65 20 69 73 20 61 20 73 65 |m, there is a se| 00005960 70 61 72 61 74 65 0a 6d 6f 64 65 20 6e 61 6d 65 |parate.mode name| 00005970 64 20 42 41 53 54 58 54 20 77 68 69 63 68 20 61 |d BASTXT which a| 00005980 63 63 6f 6d 70 6c 69 73 68 65 73 20 74 68 69 73 |ccomplishes this| 00005990 2e 20 54 6f 20 6c 6f 61 64 20 61 20 73 69 6e 67 |. To load a sing| 000059a0 6c 65 20 66 69 6c 65 20 69 6e 20 75 73 69 6e 67 |le file in using| 000059b0 0a 74 68 69 73 20 6d 6f 64 65 20 69 74 20 69 73 |.this mode it is| 000059c0 20 65 61 73 69 65 73 74 20 74 6f 20 73 65 74 20 | easiest to set | 000059d0 74 68 65 20 6f 70 74 69 6f 6e 73 20 6d 65 6e 75 |the options menu| 000059e0 20 6d 6f 64 65 20 74 6f 20 42 41 53 54 58 54 20 | mode to BASTXT | 000059f0 61 6e 64 20 68 6f 6c 64 20 64 6f 77 6e 0a 43 54 |and hold down.CT| 00005a00 52 4c 20 6b 65 79 20 77 68 69 6c 65 20 6c 6f 61 |RL key while loa| 00005a10 64 69 6e 67 20 74 68 65 20 66 69 6c 65 2e 20 54 |ding the file. T| 00005a20 6f 20 63 68 61 6e 67 65 20 74 6f 20 74 68 65 20 |o change to the | 00005a30 42 41 53 54 58 54 20 6d 6f 64 65 20 70 65 72 6d |BASTXT mode perm| 00005a40 61 6e 65 6e 74 6c 79 2c 0a 63 68 61 6e 67 65 20 |anently,.change | 00005a50 74 68 65 20 6c 69 6e 65 20 6f 66 20 74 68 65 20 |the line of the | 00005a60 27 4b 65 79 73 27 20 66 69 6c 65 20 77 68 69 63 |'Keys' file whic| 00005a70 68 20 72 65 61 64 73 3a 0a 0a 09 42 61 73 69 63 |h reads:...Basic| 00005a80 09 09 26 31 46 46 42 09 42 41 53 49 43 0a 09 0a |..&1FFB.BASIC...| 00005a90 74 6f 20 72 65 61 64 3a 0a 0a 09 42 61 73 69 63 |to read:...Basic| 00005aa0 09 09 26 31 46 46 42 09 42 41 53 54 58 54 0a 09 |..&1FFB.BASTXT..| 00005ab0 0a 49 6e 20 74 68 69 73 20 6d 6f 64 65 2c 20 77 |.In this mode, w| 00005ac0 68 65 6e 65 76 65 72 20 61 20 66 69 6c 65 20 69 |henever a file i| 00005ad0 73 20 6c 6f 61 64 65 64 20 69 74 20 69 73 20 63 |s loaded it is c| 00005ae0 6f 6e 76 65 72 74 65 64 20 69 6e 74 6f 20 74 65 |onverted into te| 00005af0 78 74 20 77 69 74 68 20 6c 69 6e 65 0a 6e 75 6d |xt with line.num| 00005b00 62 65 72 73 20 73 74 72 69 70 65 64 2e 20 53 61 |bers striped. Sa| 00005b10 76 69 6e 67 20 69 73 20 74 68 65 20 63 6f 6e 76 |ving is the conv| 00005b20 65 72 73 65 2e 20 50 6c 65 61 73 65 20 6e 6f 74 |erse. Please not| 00005b30 65 20 74 68 61 74 20 69 66 20 74 68 65 20 70 72 |e that if the pr| 00005b40 6f 67 72 61 6d 0a 63 6f 6e 74 61 69 6e 65 64 20 |ogram.contained | 00005b50 6c 69 6e 65 20 6e 75 6d 62 65 72 20 72 65 66 65 |line number refe| 00005b60 72 65 6e 63 65 73 2c 20 74 68 65 6e 20 5a 61 70 |rences, then Zap| 00005b70 20 77 69 6c 6c 20 62 65 65 70 20 62 65 66 6f 72 | will beep befor| 00005b80 65 20 66 6f 72 63 69 6e 67 20 74 68 65 20 42 41 |e forcing the BA| 00005b90 53 49 43 0a 6d 6f 64 65 20 64 65 73 63 72 69 62 |SIC.mode describ| 00005ba0 65 64 20 69 6e 20 43 2e 32 2e 0a 0a 43 2e 32 20 |ed in C.2...C.2 | 00005bb0 55 73 69 6e 67 20 42 41 53 49 43 20 69 6e 20 41 |Using BASIC in A| 00005bc0 52 4d 42 45 20 6d 6f 64 65 0a 2d 2d 2d 2d 2d 2d |RMBE mode.------| 00005bd0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00005be0 2d 2d 2d 2d 2d 2d 2d 0a 0a 49 6e 20 69 74 27 73 |-------..In it's| 00005bf0 20 64 65 66 61 75 6c 74 20 73 65 74 75 70 20 74 | default setup t| 00005c00 68 65 20 42 41 53 49 43 20 6d 6f 64 65 20 69 73 |he BASIC mode is| 00005c10 20 64 65 73 69 67 6e 65 64 20 74 6f 20 65 6d 75 | designed to emu| 00005c20 6c 61 74 65 20 41 52 4d 42 45 2e 20 54 68 75 73 |late ARMBE. Thus| 00005c30 20 6c 69 6e 65 0a 6e 75 6d 62 65 72 73 20 61 72 | line.numbers ar| 00005c40 65 20 64 69 73 70 6c 61 79 65 64 20 69 6e 20 74 |e displayed in t| 00005c50 68 65 20 6c 65 66 74 20 6d 61 72 67 69 6e 2c 20 |he left margin, | 00005c60 61 6e 64 20 61 75 74 6f 6d 61 74 69 63 20 72 65 |and automatic re| 00005c70 6e 75 6d 62 65 72 69 6e 67 20 74 61 6b 65 73 0a |numbering takes.| 00005c80 70 6c 61 63 65 20 61 73 20 6c 69 6e 65 73 20 61 |place as lines a| 00005c90 72 65 20 61 64 64 65 64 20 74 6f 20 74 68 65 20 |re added to the | 00005ca0 66 69 6c 65 2e 20 41 6c 6c 20 47 4f 54 4f 20 61 |file. All GOTO a| 00005cb0 6e 64 20 47 4f 53 55 42 20 6c 69 6e 65 20 6e 75 |nd GOSUB line nu| 00005cc0 6d 62 65 72 0a 72 65 66 65 72 65 6e 63 65 73 20 |mber.references | 00005cd0 61 72 65 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c |are automaticall| 00005ce0 79 20 75 70 64 61 74 65 64 2e 0a 0a 49 6e 20 6c |y updated...In l| 00005cf0 69 6e 65 20 65 64 69 74 6f 72 20 6d 6f 64 65 2c |ine editor mode,| 00005d00 20 74 68 65 20 52 45 54 55 52 4e 20 6b 65 79 20 | the RETURN key | 00005d10 69 6e 73 65 72 74 73 20 61 20 6e 65 77 20 6c 6f |inserts a new lo| 00005d20 67 69 63 61 6c 20 6c 69 6e 65 2e 20 54 6f 20 73 |gical line. To s| 00005d30 70 6c 69 74 20 74 68 65 0a 6c 69 6e 65 20 69 6e |plit the.line in| 00005d40 20 74 77 6f 20 61 74 20 74 68 65 20 63 75 72 72 | two at the curr| 00005d50 65 6e 74 20 63 75 72 73 6f 72 20 70 6f 73 69 74 |ent cursor posit| 00005d60 69 6f 6e 20 70 72 65 73 73 20 53 48 49 46 54 2d |ion press SHIFT-| 00005d70 46 31 20 61 6e 64 20 74 6f 20 6a 6f 69 6e 20 74 |F1 and to join t| 00005d80 77 6f 0a 6c 69 6e 65 73 20 70 72 65 73 73 20 43 |wo.lines press C| 00005d90 54 52 4c 2d 46 31 2e 20 57 68 65 6e 20 74 77 6f |TRL-F1. When two| 00005da0 20 6c 69 6e 65 73 20 61 72 65 20 6a 6f 69 6e 65 | lines are joine| 00005db0 64 2c 20 61 20 27 3a 27 20 69 73 20 69 6e 73 65 |d, a ':' is inse| 00005dc0 72 74 65 64 20 62 65 74 77 65 65 6e 20 74 68 65 |rted between the| 00005dd0 0a 73 74 61 74 65 6d 65 6e 74 73 2e 20 49 66 20 |.statements. If | 00005de0 79 6f 75 20 64 6f 20 6e 6f 74 20 6c 69 6b 65 20 |you do not like | 00005df0 74 68 69 73 2c 20 69 74 20 63 61 6e 20 62 65 20 |this, it can be | 00005e00 73 77 69 74 63 68 65 64 20 6f 66 66 20 62 79 20 |switched off by | 00005e10 74 75 72 6e 69 6e 67 20 6f 66 66 0a 74 68 65 20 |turning off.the | 00005e20 6c 69 6e 65 2d 65 64 69 74 20 66 6c 61 67 20 6f |line-edit flag o| 00005e30 6e 20 74 68 65 20 65 64 69 74 20 6d 65 6e 75 2e |n the edit menu.| 00005e40 20 53 65 65 20 61 62 6f 76 65 2e 0a 0a 54 65 78 | See above...Tex| 00005e50 74 20 69 73 20 74 79 70 65 64 20 61 73 20 75 73 |t is typed as us| 00005e60 75 61 6c 20 77 69 74 68 20 74 68 65 20 70 72 6f |ual with the pro| 00005e70 76 69 73 6f 20 74 68 61 74 20 74 6f 6b 65 6e 73 |viso that tokens| 00005e80 20 61 72 65 20 61 75 74 6f 6d 61 74 69 63 61 6c | are automatical| 00005e90 6c 79 0a 65 78 70 61 6e 64 65 64 2e 20 46 6f 72 |ly.expanded. For| 00005ea0 20 65 78 61 6d 70 6c 65 20 27 50 2e 27 20 77 69 | example 'P.' wi| 00005eb0 6c 6c 20 62 65 20 65 78 70 61 6e 64 65 64 20 74 |ll be expanded t| 00005ec0 6f 20 27 50 52 49 4e 54 27 20 77 68 65 6e 20 79 |o 'PRINT' when y| 00005ed0 6f 75 20 70 72 65 73 73 20 74 68 65 0a 64 6f 74 |ou press the.dot| 00005ee0 2e 20 41 6c 73 6f 20 6e 6f 74 65 20 74 68 61 74 |. Also note that| 00005ef0 20 69 6e 20 6e 6f 6e 2d 73 74 61 6e 64 61 72 64 | in non-standard| 00005f00 20 65 64 69 74 69 6e 67 20 6d 6f 64 65 20 65 78 | editing mode ex| 00005f10 63 65 73 73 20 73 70 61 63 65 73 20 61 72 65 0a |cess spaces are.| 00005f20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 72 65 |automatically re| 00005f30 6d 6f 76 65 64 20 66 72 6f 6d 20 74 68 65 20 65 |moved from the e| 00005f40 6e 64 20 6f 66 20 61 20 6c 69 6e 65 20 28 65 78 |nd of a line (ex| 00005f50 63 65 70 74 20 77 68 65 6e 20 74 68 69 73 20 77 |cept when this w| 00005f60 6f 75 6c 64 20 70 72 65 76 65 6e 74 0a 74 68 65 |ould prevent.the| 00005f70 20 6c 69 6e 65 20 77 72 61 70 70 69 6e 67 20 6f | line wrapping o| 00005f80 6e 74 6f 20 74 68 65 20 6e 65 78 74 29 2e 20 27 |nto the next). '| 00005f90 55 6e 69 78 27 20 74 61 62 20 6d 6f 64 65 20 6a |Unix' tab mode j| 00005fa0 75 73 74 20 61 64 76 61 6e 63 65 73 20 74 68 65 |ust advances the| 00005fb0 20 63 75 72 73 6f 72 20 74 6f 0a 74 68 65 20 6e | cursor to.the n| 00005fc0 65 78 74 20 74 61 62 20 73 74 6f 70 20 61 73 20 |ext tab stop as | 00005fd0 69 6e 20 41 52 4d 42 45 2e 20 54 68 65 20 6f 74 |in ARMBE. The ot| 00005fe0 68 65 72 20 74 61 62 20 6d 6f 64 65 73 2c 20 21 |her tab modes, !| 00005ff0 45 64 69 74 20 61 6e 64 20 43 6f 6c 74 61 62 20 |Edit and Coltab | 00006000 77 6f 72 6b 20 61 73 0a 69 6e 20 74 68 65 20 74 |work as.in the t| 00006010 65 78 74 20 6d 6f 64 65 2e 0a 0a 43 6f 70 79 69 |ext mode...Copyi| 00006020 6e 67 20 62 69 74 73 20 6f 75 74 20 6f 66 20 74 |ng bits out of t| 00006030 68 65 20 6d 69 64 64 6c 65 20 6f 66 20 6c 69 6e |he middle of lin| 00006040 65 73 20 69 73 20 70 65 72 66 6f 72 6d 65 64 20 |es is performed | 00006050 75 73 69 6e 67 20 74 68 65 20 43 4f 50 59 20 6b |using the COPY k| 00006060 65 79 2e 0a 47 72 6f 75 70 73 20 6f 66 20 6c 69 |ey..Groups of li| 00006070 6e 65 73 20 61 72 65 20 73 65 6c 65 63 74 65 64 |nes are selected| 00006080 2c 20 63 75 74 20 61 6e 64 20 6d 6f 76 65 64 2f |, cut and moved/| 00006090 63 6f 70 69 65 64 20 61 73 20 75 73 75 61 6c 20 |copied as usual | 000060a0 66 6f 72 20 61 6e 79 20 74 65 78 74 0a 72 65 67 |for any text.reg| 000060b0 69 6f 6e 2e 20 54 68 65 20 72 65 67 69 6f 6e 73 |ion. The regions| 000060c0 20 61 72 65 20 61 75 74 6f 6d 61 74 69 63 61 6c | are automatical| 000060d0 6c 79 20 72 65 6e 75 6d 62 65 72 65 64 20 69 6e |ly renumbered in| 000060e0 74 65 72 6e 61 6c 6c 79 2e 20 46 6f 72 20 74 68 |ternally. For th| 000060f0 6f 73 65 20 28 6c 69 6b 65 0a 6d 65 29 20 75 73 |ose (like.me) us| 00006100 65 64 20 74 6f 20 74 68 65 20 41 52 4d 42 45 20 |ed to the ARMBE | 00006110 77 61 79 20 6f 66 20 6d 6f 76 69 6e 67 20 72 65 |way of moving re| 00006120 67 69 6f 6e 73 2c 20 74 68 65 72 65 20 69 73 20 |gions, there is | 00006130 61 20 6e 61 74 75 72 61 6c 20 72 65 70 6c 61 63 |a natural replac| 00006140 65 6d 65 6e 74 2e 0a 46 6f 72 20 65 78 61 6d 70 |ement..For examp| 00006150 6c 65 20 73 75 70 70 6f 73 65 20 79 6f 75 20 77 |le suppose you w| 00006160 69 73 68 20 74 6f 20 6d 6f 76 65 20 6c 69 6e 65 |ish to move line| 00006170 73 20 31 30 2d 35 30 2c 20 74 6f 20 62 65 66 6f |s 10-50, to befo| 00006180 72 65 20 6c 69 6e 65 20 31 30 30 2e 20 49 6e 20 |re line 100. In | 00006190 74 68 65 0a 41 52 4d 42 45 20 79 6f 75 20 77 6f |the.ARMBE you wo| 000061a0 75 6c 64 20 64 6f 3a 0a 0a 20 20 4d 6f 76 65 20 |uld do:.. Move | 000061b0 74 6f 20 6c 69 6e 65 20 31 30 2c 20 63 4d 20 63 |to line 10, cM c| 000061c0 4d 2c 20 6d 6f 76 65 20 74 6f 20 6c 69 6e 65 20 |M, move to line | 000061d0 35 30 2c 20 63 4d 20 63 4d 2c 20 6d 6f 76 65 20 |50, cM cM, move | 000061e0 74 6f 20 6c 69 6e 65 20 31 30 30 2c 20 63 42 2c |to line 100, cB,| 000061f0 20 66 31 32 0a 20 20 0a 49 6e 20 7a 61 70 20 79 | f12. .In zap y| 00006200 6f 75 20 64 6f 3a 0a 0a 20 20 4d 6f 76 65 20 74 |ou do:.. Move t| 00006210 6f 20 6c 69 6e 65 20 31 30 2c 20 63 43 4f 50 59 |o line 10, cCOPY| 00006220 2c 20 6d 6f 76 65 20 74 6f 20 6c 69 6e 65 20 36 |, move to line 6| 00006230 30 2c 20 45 53 43 41 50 45 2c 20 6d 6f 76 65 20 |0, ESCAPE, move | 00006240 74 6f 20 6c 69 6e 65 20 31 30 30 2c 20 63 56 0a |to line 100, cV.| 00006250 0a 47 6f 74 6f 27 73 20 61 72 65 20 61 75 74 6f |.Goto's are auto| 00006260 6d 61 74 69 63 61 6c 6c 79 20 75 70 64 61 74 65 |matically update| 00006270 64 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 20 63 |d. For example c| 00006280 6f 70 79 20 74 68 65 20 6c 69 6e 65 73 20 31 30 |opy the lines 10| 00006290 20 61 6e 64 20 32 30 20 62 65 6c 6f 77 0a 73 65 | and 20 below.se| 000062a0 76 65 72 61 6c 20 74 69 6d 65 73 20 69 6e 20 61 |veral times in a| 000062b0 20 62 61 73 69 63 20 70 72 6f 67 72 61 6d 2e 0a | basic program..| 000062c0 0a 09 31 30 20 50 52 49 4e 54 20 22 48 45 4c 4c |..10 PRINT "HELL| 000062d0 4f 22 0a 09 32 30 20 47 4f 54 4f 20 31 30 0a 09 |O"..20 GOTO 10..| 000062e0 0a 53 68 69 66 74 2d 46 38 20 72 65 6e 75 6d 62 |.Shift-F8 renumb| 000062f0 65 72 73 20 61 6e 79 20 70 72 6f 67 72 61 6d 20 |ers any program | 00006300 69 6e 20 73 74 65 70 73 20 6f 66 20 31 30 2e 20 |in steps of 10. | 00006310 50 6c 65 61 73 65 20 6e 6f 74 65 20 74 68 61 74 |Please note that| 00006320 20 6c 69 6e 65 20 6e 75 6d 62 65 72 73 0a 61 72 | line numbers.ar| 00006330 65 20 6e 6f 74 20 73 74 6f 72 65 64 20 69 6e 20 |e not stored in | 00006340 74 68 65 20 75 6e 64 6f 20 62 75 66 66 65 72 20 |the undo buffer | 00006350 61 73 20 74 68 69 73 20 77 6f 75 6c 64 20 62 65 |as this would be| 00006360 20 61 20 77 61 73 74 65 20 6f 66 20 73 70 61 63 | a waste of spac| 00006370 65 2e 20 54 68 75 73 0a 61 66 74 65 72 20 6d 75 |e. Thus.after mu| 00006380 6c 74 69 70 6c 65 20 75 6e 64 6f 27 73 2c 20 74 |ltiple undo's, t| 00006390 68 65 20 6c 69 6e 65 20 6e 75 6d 62 65 72 73 20 |he line numbers | 000063a0 6d 61 79 20 67 65 74 20 6f 75 74 20 6f 66 20 6f |may get out of o| 000063b0 72 64 65 72 2e 20 54 68 69 73 20 63 61 6e 20 62 |rder. This can b| 000063c0 65 0a 72 65 63 74 69 66 69 65 64 20 62 79 20 53 |e.rectified by S| 000063d0 68 69 66 74 2d 46 38 2e 20 42 61 73 69 63 20 70 |hift-F8. Basic p| 000063e0 72 6f 67 72 61 6d 73 20 63 61 6e 20 62 65 20 61 |rograms can be a| 000063f0 70 70 65 6e 64 65 64 20 62 79 20 73 69 6d 70 6c |ppended by simpl| 00006400 79 20 64 72 6f 70 70 69 6e 67 20 74 68 65 6d 0a |y dropping them.| 00006410 69 6e 74 6f 20 74 68 65 20 77 69 6e 64 6f 77 2e |into the window.| 00006420 0a 09 0a 43 2e 33 20 54 65 73 74 69 6e 67 20 42 |...C.3 Testing B| 00006430 41 53 49 43 20 70 72 6f 67 72 61 6d 73 0a 2d 2d |ASIC programs.--| 00006440 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00006450 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 5a 61 70 20 70 72 |--------..Zap pr| 00006460 6f 76 69 64 65 73 20 61 20 6e 75 6d 62 65 72 20 |ovides a number | 00006470 6f 66 20 66 75 6e 63 74 69 6f 6e 73 20 74 6f 20 |of functions to | 00006480 74 65 73 74 20 6f 75 74 20 62 61 73 69 63 20 70 |test out basic p| 00006490 72 6f 67 72 61 6d 73 20 77 68 69 6c 65 20 74 68 |rograms while th| 000064a0 65 79 20 61 72 65 0a 62 65 69 6e 67 20 65 64 69 |ey are.being edi| 000064b0 74 65 64 2e 20 54 68 65 20 66 69 72 73 74 20 33 |ted. The first 3| 000064c0 20 73 74 61 72 74 20 75 70 20 61 20 6e 65 77 20 | start up a new | 000064d0 42 41 53 49 43 20 74 61 73 6b 20 61 6e 64 20 72 |BASIC task and r| 000064e0 61 6d 20 74 72 61 6e 73 66 65 72 73 20 79 6f 75 |am transfers you| 000064f0 72 0a 70 72 6f 67 72 61 6d 20 74 6f 20 74 68 65 |r.program to the| 00006500 20 6e 65 77 20 74 61 73 6b 2c 20 6c 6f 61 64 69 | new task, loadi| 00006510 6e 67 20 69 74 20 61 20 50 41 47 45 3a 0a 09 0a |ng it a PAGE:...| 00006520 20 73 63 42 09 54 68 69 73 20 64 72 6f 70 73 20 | scB.This drops | 00006530 79 6f 75 20 69 6e 74 6f 20 62 61 73 69 63 20 77 |you into basic w| 00006540 69 74 68 20 79 6f 75 72 20 70 72 6f 67 72 61 6d |ith your program| 00006550 20 6c 6f 61 64 65 64 20 61 74 20 50 41 47 45 2e | loaded at PAGE.| 00006560 0a 20 73 63 55 09 54 68 69 73 20 61 63 74 73 20 |. scU.This acts | 00006570 61 73 20 63 42 20 61 6e 64 20 74 68 65 6e 20 52 |as cB and then R| 00006580 75 6e 73 20 74 68 65 20 70 72 6f 67 72 61 6d 2e |uns the program.| 00006590 0a 20 73 63 46 09 54 68 69 73 20 61 63 74 73 20 |. scF.This acts | 000065a0 61 73 20 63 55 20 62 75 74 20 61 75 74 6f 6d 61 |as cU but automa| 000065b0 74 69 63 61 6c 6c 79 20 71 75 69 74 73 20 42 41 |tically quits BA| 000065c0 53 49 43 20 77 68 65 6e 20 66 69 6e 69 73 68 65 |SIC when finishe| 000065d0 64 2e 0a 20 0a 54 68 65 20 6f 74 68 65 72 20 74 |d.. .The other t| 000065e0 77 6f 20 63 6f 6d 6d 61 6e 64 73 20 73 61 76 65 |wo commands save| 000065f0 20 74 68 65 20 70 72 6f 67 72 61 6d 20 66 69 72 | the program fir| 00006600 73 74 2c 20 61 6e 64 20 74 68 65 6e 20 72 75 6e |st, and then run| 00006610 20 74 68 65 6d 20 66 72 6f 6d 20 64 69 73 63 2e | them from disc.| 00006620 0a 54 68 65 73 65 20 61 72 65 20 6f 66 20 63 6f |.These are of co| 00006630 75 72 73 65 20 73 6c 6f 77 65 72 3a 0a 0a 20 73 |urse slower:.. s| 00006640 63 43 09 54 68 69 73 20 61 63 74 73 20 61 73 20 |cC.This acts as | 00006650 63 55 20 62 75 74 20 73 61 76 65 73 20 74 68 65 |cU but saves the| 00006660 20 70 72 6f 67 72 61 6d 20 66 69 72 73 74 20 61 | program first a| 00006670 6e 64 20 63 68 61 69 6e 73 20 69 74 20 66 72 6f |nd chains it fro| 00006680 6d 20 64 69 73 63 2e 0a 20 73 63 45 09 54 68 69 |m disc.. scE.Thi| 00006690 73 20 61 63 74 73 20 61 73 20 63 46 20 62 75 74 |s acts as cF but| 000066a0 20 73 61 76 65 73 20 74 68 65 20 70 72 6f 67 72 | saves the progr| 000066b0 61 6d 20 66 69 72 73 74 20 61 6e 64 20 63 68 61 |am first and cha| 000066c0 69 6e 73 20 69 74 20 66 72 6f 6d 20 64 69 73 63 |ins it from disc| 000066d0 2e 0a 0a 5a 61 70 20 63 61 6c 63 75 6c 61 74 65 |...Zap calculate| 000066e0 73 20 74 68 65 20 61 6d 6f 75 6e 74 20 6f 66 20 |s the amount of | 000066f0 72 6f 6f 6d 20 6e 65 65 64 65 64 20 74 6f 20 72 |room needed to r| 00006700 75 6e 20 74 68 65 20 70 72 6f 67 72 61 6d 20 61 |un the program a| 00006710 73 20 74 68 65 20 6d 61 78 69 6d 75 6d 0a 6f 66 |s the maximum.of| 00006720 3a 20 31 29 20 4e 65 78 74 20 73 6c 6f 74 20 73 |: 1) Next slot s| 00006730 69 7a 65 20 32 29 20 50 72 6f 67 72 61 6d 20 73 |ize 2) Program s| 00006740 69 7a 65 2b 31 36 6b 20 33 29 20 50 72 6f 67 72 |ize+16k 3) Progr| 00006750 61 6d 20 73 69 7a 65 20 2a 20 31 2e 35 2e 0a 0a |am size * 1.5...| 00006760 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 000067a0 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 2a 20 53 65 63 74 |*********.* Sect| 000067b0 69 6f 6e 20 44 3a 09 49 6e 64 69 76 69 64 75 61 |ion D:.Individua| 000067c0 6c 20 6d 6f 64 65 20 68 65 6c 70 09 09 09 09 09 |l mode help.....| 000067d0 2a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |*.**************| 000067e0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00006810 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 0a 5a 61 70 |***********..Zap| 00006820 20 63 61 6e 20 68 61 6e 64 6c 65 20 75 70 20 74 | can handle up t| 00006830 6f 20 32 35 36 20 74 65 78 74 20 70 72 6f 63 65 |o 256 text proce| 00006840 73 73 69 6e 67 20 6d 6f 64 65 73 2e 20 49 20 68 |ssing modes. I h| 00006850 61 76 65 20 63 75 72 72 65 6e 74 6c 79 20 61 6c |ave currently al| 00006860 6c 6f 63 61 74 65 64 0a 73 70 61 63 65 20 66 6f |located.space fo| 00006870 72 20 31 36 2e 20 46 6f 72 20 64 65 74 61 69 6c |r 16. For detail| 00006880 73 20 6f 6e 20 68 6f 77 20 74 6f 20 77 72 69 74 |s on how to writ| 00006890 65 20 79 6f 75 72 20 6f 77 6e 20 6d 6f 64 65 20 |e your own mode | 000068a0 73 65 65 20 74 68 65 20 27 44 6f 63 73 27 0a 64 |see the 'Docs'.d| 000068b0 69 72 65 63 74 6f 72 79 2e 20 54 68 65 20 63 75 |irectory. The cu| 000068c0 72 72 65 6e 74 6c 79 20 64 65 66 69 6e 65 64 20 |rrently defined | 000068d0 6d 6f 64 65 73 20 61 72 65 20 64 65 73 63 72 69 |modes are descri| 000068e0 62 65 64 20 62 65 6c 6f 77 2e 0a 0a 44 2e 30 20 |bed below...D.0 | 000068f0 54 65 78 74 20 4d 6f 64 65 0a 2d 2d 2d 2d 2d 2d |Text Mode.------| 00006900 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 69 73 20 69 73 |-------..This is| 00006910 20 61 20 62 61 73 69 63 20 74 65 78 74 20 65 64 | a basic text ed| 00006920 69 74 69 6e 67 20 6d 6f 64 65 2e 20 4d 6f 73 74 |iting mode. Most| 00006930 20 6f 66 20 74 68 65 20 66 75 6e 63 74 69 6f 6e | of the function| 00006940 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 |s associated wit| 00006950 68 20 74 68 69 73 0a 6d 6f 64 65 20 61 72 65 20 |h this.mode are | 00006960 64 65 74 61 69 6c 65 64 20 65 6c 73 65 77 68 65 |detailed elsewhe| 00006970 72 65 2e 20 53 65 65 20 74 68 65 20 27 48 65 6c |re. See the 'Hel| 00006980 70 64 61 74 61 27 20 66 69 6c 65 20 66 6f 72 20 |pdata' file for | 00006990 61 20 64 65 74 61 69 6c 65 64 20 6c 69 73 74 69 |a detailed listi| 000069a0 6e 67 0a 6f 66 20 6d 65 6e 75 20 6f 70 74 69 6f |ng.of menu optio| 000069b0 6e 73 2e 20 54 6f 20 69 6e 73 65 72 74 20 63 6f |ns. To insert co| 000069c0 6e 74 72 6f 6c 20 63 68 61 72 61 63 74 65 72 73 |ntrol characters| 000069d0 20 69 6e 20 74 68 65 20 74 65 78 74 20 69 74 20 | in the text it | 000069e0 69 73 20 65 61 73 69 65 73 74 20 74 6f 0a 73 77 |is easiest to.sw| 000069f0 69 74 63 68 20 74 65 6d 70 6f 72 61 72 69 6c 79 |itch temporarily| 00006a00 20 74 6f 20 62 79 74 65 20 6d 6f 64 65 2e 20 54 | to byte mode. T| 00006a10 68 65 20 63 68 61 72 61 63 74 65 72 20 26 30 39 |he character &09| 00006a20 20 69 6e 20 61 20 74 65 78 74 20 66 69 6c 65 20 | in a text file | 00006a30 69 73 20 74 61 6b 65 6e 20 74 6f 0a 64 65 6e 6f |is taken to.deno| 00006a40 74 65 20 61 20 74 61 62 20 74 6f 20 6e 65 78 74 |te a tab to next| 00006a50 20 63 6f 6c 75 6d 6e 20 6f 66 20 38 2e 20 59 6f | column of 8. Yo| 00006a60 75 20 6d 61 79 20 63 68 61 6e 67 65 20 74 68 69 |u may change thi| 00006a70 73 20 63 68 61 72 61 63 74 65 72 20 61 6e 64 20 |s character and | 00006a80 74 68 65 20 77 61 79 0a 69 74 20 69 73 20 64 69 |the way.it is di| 00006a90 73 70 6c 61 79 65 64 20 66 72 6f 6d 20 74 68 65 |splayed from the| 00006aa0 20 64 69 73 70 6c 61 79 20 6d 65 6e 75 2e 20 54 | display menu. T| 00006ab0 61 62 20 61 63 74 69 6f 6e 20 6d 61 79 20 62 65 |ab action may be| 00006ac0 20 63 68 61 6e 67 65 64 20 62 79 20 74 68 65 0a | changed by the.| 00006ad0 27 4d 69 73 63 2e 54 61 62 73 27 20 6d 65 6e 75 |'Misc.Tabs' menu| 00006ae0 2e 0a 0a 44 2e 31 20 42 79 74 65 20 4d 6f 64 65 |...D.1 Byte Mode| 00006af0 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a |.-------------..| 00006b00 54 68 69 73 20 6d 6f 64 65 20 67 69 76 65 73 20 |This mode gives | 00006b10 64 69 73 70 6c 61 79 73 20 74 68 65 20 66 69 6c |displays the fil| 00006b20 65 20 69 6e 20 68 65 78 20 62 79 74 65 73 20 61 |e in hex bytes a| 00006b30 6e 64 20 69 73 20 75 73 65 64 20 66 6f 72 20 65 |nd is used for e| 00006b40 78 61 6d 69 6e 69 6e 67 20 64 61 74 61 0a 6f 72 |xamining data.or| 00006b50 20 69 6e 73 65 72 74 69 6e 67 20 63 6f 6e 74 72 | inserting contr| 00006b60 6f 6c 20 63 68 61 72 61 63 74 65 72 73 2e 20 54 |ol characters. T| 00006b70 68 65 20 68 65 78 2d 65 6e 74 72 79 20 66 6c 61 |he hex-entry fla| 00006b80 67 20 28 74 6f 67 67 6c 65 64 20 62 79 20 66 32 |g (toggled by f2| 00006b90 29 20 63 6f 6e 74 72 6f 6c 73 0a 74 68 69 73 20 |) controls.this | 00006ba0 61 63 74 69 6f 6e 2e 20 49 66 20 69 74 20 69 73 |action. If it is| 00006bb0 20 6f 66 66 20 61 6e 64 20 79 6f 75 20 74 79 70 | off and you typ| 00006bc0 65 20 27 30 42 27 20 74 68 65 6e 20 74 68 65 20 |e '0B' then the | 00006bd0 6c 65 74 74 65 72 73 20 27 30 27 20 61 6e 64 20 |letters '0' and | 00006be0 27 42 27 20 77 69 6c 6c 0a 62 65 20 69 6e 73 65 |'B' will.be inse| 00006bf0 72 74 65 64 2e 20 49 66 20 68 65 78 2d 65 6e 74 |rted. If hex-ent| 00006c00 72 79 20 69 73 20 6f 6e 20 28 68 20 69 6e 20 74 |ry is on (h in t| 00006c10 69 74 6c 65 29 20 74 68 65 6e 20 74 68 65 20 62 |itle) then the b| 00006c20 79 74 65 20 26 30 42 20 77 69 6c 6c 20 62 65 0a |yte &0B will be.| 00006c30 69 6e 73 65 72 74 65 64 2e 20 55 73 65 20 74 68 |inserted. Use th| 00006c40 65 20 6f 76 65 72 77 72 69 74 65 20 6d 6f 64 65 |e overwrite mode| 00006c50 20 28 74 6f 67 67 6c 65 64 20 76 69 61 20 74 68 | (toggled via th| 00006c60 65 20 69 6e 73 65 72 74 20 6b 65 79 29 20 74 6f |e insert key) to| 00006c70 20 63 68 61 6e 67 65 20 74 68 65 0a 64 61 74 61 | change the.data| 00006c80 20 77 69 74 68 6f 75 74 20 73 68 69 66 74 69 6e | without shiftin| 00006c90 67 20 74 68 65 20 66 69 6c 65 2e 0a 0a 44 2e 32 |g the file...D.2| 00006ca0 20 57 6f 72 64 20 4d 6f 64 65 0a 2d 2d 2d 2d 2d | Word Mode.-----| 00006cb0 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 69 73 20 69 |--------..This i| 00006cc0 73 20 73 69 6d 69 6c 61 72 20 74 6f 20 62 79 74 |s similar to byt| 00006cd0 65 20 6d 6f 64 65 20 65 78 63 65 70 74 20 74 68 |e mode except th| 00006ce0 65 20 64 61 74 61 20 69 73 20 73 68 6f 77 6e 20 |e data is shown | 00006cf0 69 6e 20 77 6f 72 64 20 66 6f 72 6d 2e 20 54 79 |in word form. Ty| 00006d00 70 69 6e 67 0a 63 68 61 72 61 63 74 65 72 73 20 |ping.characters | 00006d10 77 69 74 68 20 68 65 78 2d 65 6e 74 72 79 20 6d |with hex-entry m| 00006d20 6f 64 65 20 6f 66 66 20 68 61 73 20 6e 6f 20 65 |ode off has no e| 00006d30 66 66 65 63 74 2c 20 62 75 74 20 74 79 70 69 6e |ffect, but typin| 00006d40 67 20 77 69 74 68 20 69 74 20 6f 6e 0a 69 6e 73 |g with it on.ins| 00006d50 65 72 74 73 20 74 68 65 20 67 69 76 65 6e 20 77 |erts the given w| 00006d60 6f 72 64 20 69 6e 20 68 65 78 2e 0a 0a 44 2e 33 |ord in hex...D.3| 00006d70 20 41 73 63 69 69 20 4d 6f 64 65 0a 2d 2d 2d 2d | Ascii Mode.----| 00006d80 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 69 73 |----------..This| 00006d90 20 6d 6f 64 65 20 64 69 73 70 6c 61 79 73 20 64 | mode displays d| 00006da0 61 74 61 20 69 6e 20 61 73 63 69 69 20 64 75 6d |ata in ascii dum| 00006db0 70 20 66 6f 72 6d 2e 20 4c 65 74 74 65 72 73 20 |p form. Letters | 00006dc0 74 79 70 65 64 20 61 72 65 20 69 6e 73 65 72 74 |typed are insert| 00006dd0 65 64 20 61 73 0a 75 73 75 61 6c 2e 0a 0a 44 2e |ed as.usual...D.| 00006de0 34 20 43 6f 64 65 20 4d 6f 64 65 0a 2d 2d 2d 2d |4 Code Mode.----| 00006df0 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 69 73 20 |---------..This | 00006e00 6d 6f 64 65 20 64 69 73 70 6c 61 79 73 20 64 61 |mode displays da| 00006e10 74 61 20 69 6e 20 64 69 73 61 73 73 65 6d 62 6c |ta in disassembl| 00006e20 65 64 20 66 6f 72 6d 61 74 20 77 69 74 68 20 31 |ed format with 1| 00006e30 20 69 6e 73 74 72 75 63 74 69 6f 6e 20 70 65 72 | instruction per| 00006e40 20 6c 69 6e 65 2e 0a 50 6c 65 61 73 65 20 6e 6f | line..Please no| 00006e50 74 65 20 74 68 61 74 20 69 6e 20 52 69 73 63 4f |te that in RiscO| 00006e60 73 33 2c 20 74 68 65 20 64 65 62 75 67 67 65 72 |s3, the debugger| 00006e70 20 61 64 64 73 20 73 6f 6d 65 20 65 78 74 72 61 | adds some extra| 00006e80 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 0a 61 66 74 | information.aft| 00006e90 65 72 20 73 6f 6d 65 20 69 6e 73 74 72 75 63 74 |er some instruct| 00006ea0 69 6f 6e 73 2c 20 62 75 74 20 73 6f 6d 65 20 6f |ions, but some o| 00006eb0 66 20 74 68 69 73 20 6f 6e 6c 79 20 61 70 70 65 |f this only appe| 00006ec0 61 72 73 20 69 66 20 79 6f 75 20 64 69 73 61 73 |ars if you disas| 00006ed0 73 65 6d 62 6c 65 0a 73 65 71 75 65 6e 74 69 61 |semble.sequentia| 00006ee0 6c 6c 79 2e 20 45 67 20 54 45 51 50 20 52 30 2c |lly. Eg TEQP R0,| 00006ef0 23 30 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 4d |#0 followed by M| 00006f00 4f 56 20 52 38 2c 23 30 20 67 69 76 65 73 20 74 |OV R8,#0 gives t| 00006f10 68 65 20 77 61 72 6e 69 6e 67 20 27 4e 6f 74 0a |he warning 'Not.| 00006f20 72 38 2d 72 31 34 27 2e 20 48 6f 77 65 76 65 72 |r8-r14'. However| 00006f30 20 74 68 69 73 20 6d 61 79 20 76 61 6e 69 73 68 | this may vanish| 00006f40 20 69 66 20 79 6f 75 20 61 72 65 20 6d 6f 76 69 | if you are movi| 00006f50 6e 67 20 62 61 63 6b 77 61 72 64 73 20 75 70 20 |ng backwards up | 00006f60 74 68 65 20 66 69 6c 65 0a 69 6e 73 74 65 61 64 |the file.instead| 00006f70 20 6f 66 20 66 6f 72 77 61 72 64 73 2e 20 54 68 | of forwards. Th| 00006f80 69 73 20 68 61 70 70 65 6e 73 20 76 65 72 79 20 |is happens very | 00006f90 72 61 72 65 6c 79 20 62 75 74 20 69 74 20 6d 61 |rarely but it ma| 00006fa0 79 20 63 61 75 73 65 20 63 6f 6e 66 75 73 69 6f |y cause confusio| 00006fb0 6e 20 69 66 0a 79 6f 75 20 64 6f 6e 27 74 20 75 |n if.you don't u| 00006fc0 6e 64 65 72 73 74 61 6e 64 20 77 68 61 74 27 73 |nderstand what's| 00006fd0 20 68 61 70 70 65 6e 69 6e 67 2e 0a 0a 54 68 65 | happening...The| 00006fe0 20 74 68 72 65 65 20 6d 6f 73 74 20 75 73 65 66 | three most usef| 00006ff0 75 6c 20 6b 65 79 73 20 69 6e 20 63 6f 64 65 20 |ul keys in code | 00007000 6d 6f 64 65 20 61 72 65 20 63 49 2c 4c 65 66 74 |mode are cI,Left| 00007010 2c 52 69 67 68 74 2e 20 46 6f 72 20 65 78 61 6d |,Right. For exam| 00007020 70 6c 65 20 69 66 20 79 6f 75 0a 61 72 65 20 61 |ple if you.are a| 00007030 74 20 74 68 65 20 73 74 61 72 74 20 6f 66 20 61 |t the start of a| 00007040 20 6d 6f 64 75 6c 65 20 74 68 65 6e 20 70 72 65 | module then pre| 00007050 73 73 69 6e 67 20 63 49 20 77 69 6c 6c 20 63 61 |ssing cI will ca| 00007060 75 73 65 20 79 6f 75 20 74 6f 20 6a 75 6d 70 20 |use you to jump | 00007070 74 6f 20 74 68 65 0a 73 74 61 72 74 20 6f 66 66 |to the.start off| 00007080 73 65 74 20 6f 66 20 74 68 65 20 6d 6f 64 75 6c |set of the modul| 00007090 65 2e 20 49 66 20 79 6f 75 20 61 72 65 20 6f 6e |e. If you are on| 000070a0 20 61 6e 20 69 6e 73 74 72 75 63 74 69 6f 6e 20 | an instruction | 000070b0 27 42 4c 20 26 30 30 30 31 32 33 34 35 27 20 6f |'BL &00012345' o| 000070c0 72 0a 27 41 44 52 20 72 30 2c 26 30 31 38 32 32 |r.'ADR r0,&01822| 000070d0 34 34 35 27 20 74 68 65 6e 20 70 72 65 73 73 69 |445' then pressi| 000070e0 6e 67 20 52 69 67 68 74 20 77 69 6c 6c 20 6a 75 |ng Right will ju| 000070f0 6d 70 20 74 6f 20 74 68 65 20 69 6e 64 69 63 61 |mp to the indica| 00007100 74 65 64 20 61 64 64 72 65 73 73 2e 0a 41 74 20 |ted address..At | 00007110 61 6e 79 20 74 69 6d 65 2c 20 4c 65 66 74 20 77 |any time, Left w| 00007120 69 6c 6c 20 6d 6f 76 65 20 79 6f 75 20 62 61 63 |ill move you bac| 00007130 6b 20 74 6f 20 79 6f 75 72 20 70 72 65 76 69 6f |k to your previo| 00007140 75 73 20 70 6f 73 69 74 69 6f 6e 2e 20 54 68 69 |us position. Thi| 00007150 73 20 6a 75 6d 70 69 6e 67 0a 75 73 65 73 20 74 |s jumping.uses t| 00007160 68 65 20 6d 61 72 6b 65 72 20 62 75 66 66 65 72 |he marker buffer| 00007170 20 61 6e 64 20 63 61 6e 20 62 65 20 64 6f 6e 65 | and can be done| 00007180 20 74 6f 20 61 6e 79 20 64 65 70 74 68 20 79 6f | to any depth yo| 00007190 75 20 72 65 71 75 69 72 65 2e 0a 0a 49 66 20 74 |u require...If t| 000071a0 68 65 20 66 69 6c 65 20 69 73 20 74 79 70 65 64 |he file is typed| 000071b0 20 27 4d 6f 64 75 6c 65 27 20 74 68 65 6e 20 74 | 'Module' then t| 000071c0 68 65 20 66 69 72 73 74 20 66 65 77 20 6f 66 66 |he first few off| 000071d0 73 65 74 73 20 64 69 73 70 6c 61 79 20 74 68 65 |sets display the| 000071e0 20 6d 6f 64 75 6c 65 0a 65 6e 74 72 79 20 70 6f | module.entry po| 000071f0 69 6e 74 20 6e 61 6d 65 20 72 61 74 68 65 72 20 |int name rather | 00007200 74 68 61 6e 20 74 68 65 20 69 6e 73 74 72 75 63 |than the instruc| 00007210 74 69 6f 6e 2e 20 0a 0a 43 75 72 72 65 6e 74 6c |tion. ..Currentl| 00007220 79 20 64 61 74 61 20 63 61 6e 6e 6f 74 20 62 65 |y data cannot be| 00007230 20 65 6e 74 65 72 65 64 20 69 6e 20 74 68 69 73 | entered in this| 00007240 20 6d 6f 64 65 2e 0a 0a 44 2e 35 20 42 41 53 49 | mode...D.5 BASI| 00007250 43 20 4d 6f 64 65 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d |C Mode.---------| 00007260 2d 2d 2d 2d 2d 0a 0a 53 65 65 20 73 65 63 74 69 |-----..See secti| 00007270 6f 6e 73 20 43 2e 31 2c 20 43 2e 32 20 61 6e 64 |ons C.1, C.2 and| 00007280 20 43 2e 33 20 66 6f 72 20 64 65 74 61 69 6c 73 | C.3 for details| 00007290 20 61 62 6f 75 74 20 68 6f 77 20 74 6f 20 75 73 | about how to us| 000072a0 65 20 74 68 69 73 20 6d 6f 64 65 2e 0a 0a 41 20 |e this mode...A | 000072b0 73 6c 69 67 68 74 20 6d 6f 64 69 66 69 63 61 74 |slight modificat| 000072c0 69 6f 6e 20 69 73 20 6d 61 64 65 20 74 6f 20 74 |ion is made to t| 000072d0 68 65 20 42 41 53 49 43 20 70 72 6f 67 72 61 6d |he BASIC program| 000072e0 20 6f 6e 20 6c 6f 61 64 69 6e 67 2e 20 54 68 65 | on loading. The| 000072f0 20 61 63 74 75 61 6c 0a 66 69 6c 65 20 66 6f 72 | actual.file for| 00007300 6d 61 74 20 65 64 69 74 65 64 20 69 73 20 20 61 |mat edited is a| 00007310 20 6e 75 6d 62 65 72 20 6f 66 20 6c 69 6e 65 73 | number of lines| 00007320 20 6f 66 20 74 68 65 20 66 6f 72 6d 3a 0a 0a 20 | of the form:.. | 00007330 78 78 20 79 79 20 7a 7a 20 22 54 6f 6b 65 6e 69 |xx yy zz "Tokeni| 00007340 73 65 64 20 6c 69 6e 65 22 20 26 30 44 0a 20 0a |sed line" &0D. .| 00007350 57 68 65 72 65 20 78 78 20 79 79 20 7a 7a 20 69 |Where xx yy zz i| 00007360 73 20 74 68 65 20 6c 69 6e 65 20 6e 75 6d 62 65 |s the line numbe| 00007370 72 20 69 6e 20 33 20 62 79 74 65 20 74 65 78 74 |r in 3 byte text| 00007380 20 66 6f 72 6d 20 61 73 20 73 74 6f 72 65 64 20 | form as stored | 00007390 61 66 74 65 72 20 61 20 47 4f 54 4f 0a 6f 72 20 |after a GOTO.or | 000073a0 47 4f 53 55 42 20 73 74 61 74 65 6d 65 6e 74 2e |GOSUB statement.| 000073b0 0a 0a 44 2e 36 20 42 41 53 54 58 54 20 4d 6f 64 |..D.6 BASTXT Mod| 000073c0 65 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |e.--------------| 000073d0 2d 0a 0a 54 68 69 73 20 65 64 69 74 73 20 42 61 |-..This edits Ba| 000073e0 73 69 63 20 66 69 6c 65 73 20 69 6e 20 64 65 74 |sic files in det| 000073f0 6f 6b 65 6e 69 73 65 64 20 66 6f 72 6d 2e 20 53 |okenised form. S| 00007400 65 65 20 73 65 63 74 69 6f 6e 73 20 43 2e 31 20 |ee sections C.1 | 00007410 61 6e 64 20 43 2e 33 20 66 6f 72 0a 64 65 74 61 |and C.3 for.deta| 00007420 69 6c 73 2e 0a 0a 44 2e 37 2d 44 2e 31 30 20 4d |ils...D.7-D.10 M| 00007430 6f 64 65 73 20 72 65 73 65 72 76 65 64 0a 2d 2d |odes reserved.--| 00007440 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00007450 2d 2d 2d 2d 2d 0a 0a 44 2e 31 31 20 54 48 52 4f |-----..D.11 THRO| 00007460 57 42 41 43 4b 20 4d 6f 64 65 0a 2d 2d 2d 2d 2d |WBACK Mode.-----| 00007470 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a |--------------..| 00007480 54 68 69 73 20 6d 6f 64 65 20 68 61 6e 64 6c 65 |This mode handle| 00007490 73 20 74 68 65 20 66 69 6c 65 73 20 67 65 6e 65 |s the files gene| 000074a0 72 61 74 65 64 20 62 79 20 5a 61 70 73 20 73 65 |rated by Zaps se| 000074b0 61 72 63 68 20 74 6f 20 62 75 66 66 65 72 2c 20 |arch to buffer, | 000074c0 43 20 74 68 72 6f 77 62 61 63 6b 0a 61 6e 64 20 |C throwback.and | 000074d0 21 46 69 6e 64 20 69 6e 66 6f 20 6f 75 74 70 75 |!Find info outpu| 000074e0 74 2e 20 44 6f 75 62 6c 65 20 63 6c 69 63 6b 69 |t. Double clicki| 000074f0 6e 67 20 6f 6e 20 61 6e 20 69 74 65 6d 20 77 69 |ng on an item wi| 00007500 6c 6c 20 6a 75 6d 70 20 74 6f 20 74 68 61 74 20 |ll jump to that | 00007510 69 74 65 6d 20 69 6e 0a 74 68 65 20 73 6f 75 72 |item in.the sour| 00007520 63 65 20 66 69 6c 65 2e 20 53 68 69 66 74 20 64 |ce file. Shift d| 00007530 6f 75 62 6c 65 20 63 6c 69 63 6b 69 6e 67 20 77 |ouble clicking w| 00007540 69 6c 6c 20 6a 75 6d 70 20 74 6f 20 74 68 65 20 |ill jump to the | 00007550 69 74 65 6d 20 61 6e 64 20 74 68 65 6e 20 6b 69 |item and then ki| 00007560 6c 6c 0a 74 68 65 20 74 68 72 6f 77 62 61 63 6b |ll.the throwback| 00007570 20 62 75 66 66 65 72 2e 20 43 6c 69 63 6b 69 6e | buffer. Clickin| 00007580 67 20 41 44 4a 55 53 54 20 6f 6e 20 61 20 6c 69 |g ADJUST on a li| 00007590 6e 65 20 77 69 6c 6c 20 72 65 6d 6f 76 65 20 74 |ne will remove t| 000075a0 68 65 20 6c 69 6e 65 20 66 72 6f 6d 20 74 68 65 |he line from the| 000075b0 0a 66 69 6c 65 2e 0a 0a 41 6c 73 6f 20 6e 6f 74 |.file...Also not| 000075c0 65 20 74 68 61 74 20 52 45 54 55 52 4e 20 61 63 |e that RETURN ac| 000075d0 74 73 20 69 6e 20 74 68 65 20 73 61 6d 65 20 77 |ts in the same w| 000075e0 61 79 20 61 73 20 64 6f 75 62 6c 65 20 63 6c 69 |ay as double cli| 000075f0 63 6b 20 61 6e 64 20 44 45 4c 45 54 45 20 69 6e |ck and DELETE in| 00007600 20 74 68 65 0a 73 61 6d 65 20 77 61 79 20 61 73 | the.same way as| 00007610 20 61 64 6a 75 73 74 20 69 66 20 79 6f 75 20 6d | adjust if you m| 00007620 6f 76 65 20 69 6e 74 6f 20 74 68 65 20 66 69 6c |ove into the fil| 00007630 65 2e 0a 0a 44 2e 31 32 20 54 41 53 4b 57 49 4e |e...D.12 TASKWIN| 00007640 44 4f 57 20 4d 6f 64 65 0a 2d 2d 2d 2d 2d 2d 2d |DOW Mode.-------| 00007650 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 |-------------..T| 00007660 68 69 73 20 6d 6f 64 65 20 68 61 6e 64 6c 65 73 |his mode handles| 00007670 20 74 61 73 6b 20 77 69 6e 64 6f 77 73 2e 20 54 | task windows. T| 00007680 6f 20 63 72 65 61 74 65 20 61 20 74 61 73 6b 20 |o create a task | 00007690 77 69 6e 64 6f 77 20 75 73 65 20 74 68 65 0a 27 |window use the.'| 000076a0 43 72 65 61 74 65 2e 54 61 73 6b 77 69 6e 64 6f |Create.Taskwindo| 000076b0 77 27 20 6d 65 6e 75 20 6f 70 74 69 6f 6e 20 6f |w' menu option o| 000076c0 72 20 70 72 65 73 73 20 63 74 72 6c 2d 46 31 32 |r press ctrl-F12| 000076d0 2e 20 41 74 20 61 6e 79 20 74 69 6d 65 2c 20 63 |. At any time, c| 000076e0 68 61 6e 67 69 6e 67 20 6d 6f 64 65 0a 74 6f 20 |hanging mode.to | 000076f0 54 45 58 54 20 77 69 6c 6c 20 73 75 73 70 65 6e |TEXT will suspen| 00007700 64 20 74 68 65 20 74 61 73 6b 2c 20 61 6e 64 20 |d the task, and | 00007710 63 68 61 6e 67 69 6e 67 20 6d 6f 64 65 20 62 61 |changing mode ba| 00007720 63 6b 20 74 6f 20 54 41 53 4b 57 49 4e 44 4f 57 |ck to TASKWINDOW| 00007730 20 77 69 6c 6c 0a 72 65 73 75 6d 65 20 69 74 2e | will.resume it.| 00007740 20 54 68 65 20 74 61 73 6b 77 69 6e 64 6f 77 20 | The taskwindow | 00007750 6f 75 74 70 75 74 20 73 75 70 70 6f 72 74 73 20 |output supports | 00007760 74 68 65 20 43 4f 50 59 20 6b 65 79 20 61 6e 64 |the COPY key and| 00007770 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 56 | the following V| 00007780 44 55 0a 61 63 74 69 6f 6e 73 3a 0a 0a 09 30 37 |DU.actions:...07| 00007790 20 43 54 52 4c 20 47 09 42 65 6c 6c 2e 0a 09 30 | CTRL G.Bell...0| 000077a0 38 20 43 54 52 4c 20 48 09 4d 6f 76 65 20 62 61 |8 CTRL H.Move ba| 000077b0 63 6b 20 6f 6e 65 20 63 68 61 72 61 63 74 65 72 |ck one character| 000077c0 2e 0a 09 30 39 20 43 54 52 4c 20 49 09 4d 6f 76 |...09 CTRL I.Mov| 000077d0 65 20 66 6f 72 77 61 72 64 20 6f 6e 65 20 63 68 |e forward one ch| 000077e0 61 72 61 63 74 65 72 2e 0a 09 31 30 20 43 54 52 |aracter...10 CTR| 000077f0 4c 20 4a 09 4d 6f 76 65 20 64 6f 77 6e 20 61 20 |L J.Move down a | 00007800 6c 69 6e 65 2e 0a 09 31 31 20 43 54 52 4c 20 4b |line...11 CTRL K| 00007810 09 4d 6f 76 65 20 75 70 20 61 20 6c 69 6e 65 2e |.Move up a line.| 00007820 0a 09 31 32 20 43 54 52 4c 20 4c 09 43 6c 65 61 |..12 CTRL L.Clea| 00007830 72 20 74 65 78 74 20 77 69 6e 64 6f 77 2e 0a 09 |r text window...| 00007840 31 33 20 43 54 52 4c 20 4d 09 4d 6f 76 65 20 74 |13 CTRL M.Move t| 00007850 6f 20 6c 69 6e 65 20 73 74 61 72 74 2e 0a 09 32 |o line start...2| 00007860 32 20 43 54 52 4c 20 56 09 43 68 61 6e 67 65 20 |2 CTRL V.Change | 00007870 6d 6f 64 65 2e 0a 09 32 36 20 43 54 52 4c 20 5a |mode...26 CTRL Z| 00007880 09 52 65 73 74 6f 72 65 20 74 65 78 74 20 77 69 |.Restore text wi| 00007890 6e 64 6f 77 2e 0a 09 32 38 09 09 44 65 66 69 6e |ndow...28..Defin| 000078a0 65 20 74 65 78 74 20 77 69 6e 64 6f 77 2e 0a 09 |e text window...| 000078b0 33 30 09 09 48 6f 6d 65 20 63 75 72 73 6f 72 2e |30..Home cursor.| 000078c0 0a 09 33 31 09 09 4d 6f 76 65 20 74 6f 20 78 2c |..31..Move to x,| 000078d0 79 20 28 54 41 42 29 2e 0a 09 0a 49 66 20 79 6f |y (TAB)....If yo| 000078e0 75 20 75 73 65 20 52 69 63 68 61 72 64 20 4b 2e |u use Richard K.| 000078f0 20 4c 6c 6f 79 64 27 73 20 77 6f 6e 64 65 72 66 | Lloyd's wonderf| 00007900 75 6c 20 27 4c 69 6e 65 20 45 64 69 74 6f 72 27 |ul 'Line Editor'| 00007910 20 6d 6f 64 75 6c 65 20 74 68 65 6e 20 79 6f 75 | module then you| 00007920 27 6c 6c 20 66 69 6e 64 0a 69 74 20 6e 6f 77 20 |'ll find.it now | 00007930 77 6f 72 6b 73 20 77 69 74 68 69 6e 20 74 68 65 |works within the| 00007940 20 74 61 73 6b 77 69 6e 64 6f 77 2e 20 54 68 65 | taskwindow. The| 00007950 72 65 20 69 73 20 61 20 70 72 6f 62 6c 65 6d 20 |re is a problem | 00007960 69 6e 20 74 68 61 74 20 69 74 20 63 68 61 6e 67 |in that it chang| 00007970 65 73 20 74 68 65 0a 46 58 20 34 20 76 61 6c 75 |es the.FX 4 valu| 00007980 65 20 61 6e 64 20 74 68 75 73 20 74 68 65 20 43 |e and thus the C| 00007990 4f 50 59 20 6b 65 79 20 77 69 6c 6c 20 6e 6f 74 |OPY key will not| 000079a0 20 77 6f 72 6b 20 69 6e 20 74 68 65 20 74 61 73 | work in the tas| 000079b0 6b 77 69 6e 64 6f 77 20 69 66 20 79 6f 75 20 68 |kwindow if you h| 000079c0 61 76 65 0a 74 68 65 20 6c 69 6e 65 20 65 64 69 |ave.the line edi| 000079d0 74 6f 72 20 6c 6f 61 64 65 64 2e 20 54 68 65 20 |tor loaded. The | 000079e0 73 6f 6c 75 74 69 6f 6e 20 69 73 20 74 6f 20 70 |solution is to p| 000079f0 72 65 73 73 20 46 31 32 20 74 68 65 6e 20 52 45 |ress F12 then RE| 00007a00 54 55 52 4e 20 74 6f 20 72 65 73 65 74 20 74 68 |TURN to reset th| 00007a10 65 0a 46 58 20 34 20 76 61 6c 75 65 20 62 65 66 |e.FX 4 value bef| 00007a20 6f 72 65 20 75 73 69 6e 67 20 74 68 65 20 63 6f |ore using the co| 00007a30 70 79 20 6b 65 79 2e 20 4d 6f 64 65 20 63 68 61 |py key. Mode cha| 00007a40 6e 67 65 73 20 61 72 65 20 72 65 66 6c 65 63 74 |nges are reflect| 00007a50 65 64 20 62 79 20 63 68 61 6e 67 69 6e 67 0a 74 |ed by changing.t| 00007a60 68 65 20 77 69 64 74 68 20 61 6e 64 20 68 65 69 |he width and hei| 00007a70 67 68 74 20 6f 66 20 74 68 65 20 77 69 6e 64 6f |ght of the windo| 00007a80 77 2e 0a 0a 44 2e 31 33 2d 44 2e 31 35 20 54 68 |w...D.13-D.15 Th| 00007a90 65 73 65 20 6d 6f 64 65 73 20 61 72 65 20 72 65 |ese modes are re| 00007aa0 73 65 72 76 65 64 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d |served.---------| 00007ab0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00007ac0 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 2a 2a 2a 2a 2a |---------..*****| 00007ad0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00007b10 2a 2a 2a 2a 0a 2a 20 53 65 63 74 69 6f 6e 20 45 |****.* Section E| 00007b20 3a 09 53 65 61 72 63 68 20 61 6e 64 20 52 65 70 |:.Search and Rep| 00007b30 6c 61 63 65 09 09 09 09 09 2a 0a 2a 2a 2a 2a 2a |lace.....*.*****| 00007b40 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00007b80 2a 2a 2a 2a 0a 0a 45 2e 31 20 54 68 65 20 53 65 |****..E.1 The Se| 00007b90 61 72 63 68 20 77 69 6e 64 6f 77 0a 2d 2d 2d 2d |arch window.----| 00007ba0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00007bb0 2d 0a 0a 5a 61 70 20 68 61 73 20 71 75 69 74 65 |-..Zap has quite| 00007bc0 20 61 20 70 6f 77 65 72 66 75 6c 20 73 65 61 72 | a powerful sear| 00007bd0 63 68 20 66 61 63 69 6c 69 74 79 20 77 68 69 63 |ch facility whic| 00007be0 68 20 69 73 20 62 61 73 65 64 20 6c 6f 6f 73 65 |h is based loose| 00007bf0 6c 79 20 6f 6e 20 65 6d 61 63 73 0a 73 65 61 72 |ly on emacs.sear| 00007c00 63 68 2c 20 61 6c 6c 6f 77 69 6e 67 20 27 4f 52 |ch, allowing 'OR| 00007c10 27 20 63 6f 6e 73 74 72 75 63 74 73 20 61 6e 64 |' constructs and| 00007c20 20 63 68 61 72 61 63 74 65 72 20 72 61 6e 67 65 | character range| 00007c30 73 2e 20 54 68 65 20 73 65 61 72 63 68 20 77 69 |s. The search wi| 00007c40 6e 64 6f 77 20 63 61 6e 0a 63 72 65 61 74 65 64 |ndow can.created| 00007c50 20 62 79 20 70 72 65 73 73 69 6e 67 20 46 34 20 | by pressing F4 | 00007c60 6f 72 20 46 37 20 6f 72 20 75 73 69 6e 67 20 74 |or F7 or using t| 00007c70 68 65 20 27 66 69 6c 65 27 20 6d 65 6e 75 2e 20 |he 'file' menu. | 00007c80 50 72 65 73 73 69 6e 67 20 46 34 20 77 69 6c 6c |Pressing F4 will| 00007c90 0a 65 6e 73 75 72 65 20 74 68 61 74 20 73 65 61 |.ensure that sea| 00007ca0 72 63 68 20 6d 61 74 63 68 65 73 20 61 72 65 20 |rch matches are | 00007cb0 6a 75 6d 70 65 64 20 74 6f 2c 20 77 68 65 72 65 |jumped to, where| 00007cc0 61 73 20 70 72 65 73 73 69 6e 67 20 46 37 20 77 |as pressing F7 w| 00007cd0 69 6c 6c 20 63 61 75 73 65 20 61 6c 6c 0a 6d 61 |ill cause all.ma| 00007ce0 74 63 68 65 73 20 74 6f 20 62 65 20 70 6c 61 63 |tches to be plac| 00007cf0 65 64 20 69 6e 20 61 20 73 65 70 61 72 61 74 65 |ed in a separate| 00007d00 20 74 68 72 6f 77 62 61 63 6b 20 62 75 66 66 65 | throwback buffe| 00007d10 72 2e 20 44 6f 75 62 6c 65 20 63 6c 69 63 6b 69 |r. Double clicki| 00007d20 6e 67 20 6f 6e 20 61 0a 6d 61 74 63 68 20 69 6e |ng on a.match in| 00007d30 20 74 68 65 20 62 75 66 66 65 72 20 74 68 65 6e | the buffer then| 00007d40 20 6a 75 6d 70 73 20 74 6f 20 74 68 65 20 6d 61 | jumps to the ma| 00007d50 74 63 68 2e 20 53 65 65 20 73 65 63 74 69 6f 6e |tch. See section| 00007d60 20 44 2e 31 31 2e 0a 0a 54 68 65 20 66 69 72 73 | D.11...The firs| 00007d70 74 20 63 6f 6c 75 6d 6e 20 6f 66 20 74 68 65 20 |t column of the | 00007d80 73 65 61 72 63 68 20 77 69 6e 64 6f 77 20 73 65 |search window se| 00007d90 6c 65 63 74 73 20 77 68 65 74 68 65 72 20 79 6f |lects whether yo| 00007da0 75 20 77 69 73 68 20 74 6f 20 73 65 61 72 63 68 |u wish to search| 00007db0 20 66 6f 72 0a 61 20 73 74 72 69 6e 67 2c 20 69 | for.a string, i| 00007dc0 6e 73 74 72 75 63 74 69 6f 6e 20 6f 72 20 77 6f |nstruction or wo| 00007dd0 72 64 20 28 34 20 62 79 74 65 73 29 2e 20 49 6e |rd (4 bytes). In| 00007de0 20 74 68 65 20 66 69 72 73 74 20 74 77 6f 20 63 | the first two c| 00007df0 61 73 65 73 20 65 6e 74 65 72 20 74 68 65 0a 73 |ases enter the.s| 00007e00 74 72 69 6e 67 20 74 6f 20 6d 61 74 63 68 2e 20 |tring to match. | 00007e10 49 6e 20 74 68 65 20 74 68 69 72 64 20 63 61 73 |In the third cas| 00007e20 65 20 65 6e 74 65 72 20 61 6e 20 65 78 70 72 65 |e enter an expre| 00007e30 73 73 69 6f 6e 20 65 76 61 6c 75 61 74 69 6e 67 |ssion evaluating| 00007e40 20 74 6f 20 61 20 6e 75 6d 62 65 72 0a 74 6f 20 | to a number.to | 00007e50 73 65 61 72 63 68 20 66 6f 72 2e 0a 0a 54 68 65 |search for...The| 00007e60 20 73 65 63 6f 6e 64 20 63 6f 6c 75 6d 6e 20 73 | second column s| 00007e70 65 6c 65 63 74 73 20 77 68 65 72 65 20 74 68 65 |elects where the| 00007e80 20 73 65 61 72 63 68 20 73 68 6f 75 6c 64 20 73 | search should s| 00007e90 74 61 72 74 20 61 6e 64 20 74 68 65 20 64 69 72 |tart and the dir| 00007ea0 65 63 74 69 6f 6e 20 6f 66 0a 74 68 65 20 73 65 |ection of.the se| 00007eb0 61 72 63 68 2e 20 59 6f 75 20 6d 61 79 20 73 74 |arch. You may st| 00007ec0 61 72 74 20 61 74 20 74 68 65 20 73 74 61 72 74 |art at the start| 00007ed0 20 6f 66 20 74 65 78 74 20 6f 72 20 66 6f 72 77 | of text or forw| 00007ee0 61 72 64 73 2f 62 61 63 6b 77 61 72 64 73 20 66 |ards/backwards f| 00007ef0 72 6f 6d 0a 74 68 65 20 63 75 72 72 65 6e 74 20 |rom.the current | 00007f00 63 75 72 73 6f 72 20 70 6f 73 69 74 69 6f 6e 2e |cursor position.| 00007f10 20 49 66 20 79 6f 75 20 77 69 73 68 20 74 6f 20 | If you wish to | 00007f20 63 68 61 6e 67 65 20 74 68 65 20 64 65 66 61 75 |change the defau| 00007f30 6c 74 20 6f 70 74 69 6f 6e 20 66 6f 72 0a 74 68 |lt option for.th| 00007f40 69 73 20 74 68 65 6e 20 6a 75 73 74 20 65 64 69 |is then just edi| 00007f50 74 20 74 68 65 20 74 65 6d 70 6c 61 74 65 20 66 |t the template f| 00007f60 69 6c 65 2e 0a 0a 54 68 65 20 74 68 69 72 64 20 |ile...The third | 00007f70 63 6f 6c 75 6d 6e 20 73 65 6c 65 63 74 73 20 74 |column selects t| 00007f80 68 65 20 6f 75 74 70 75 74 2e 20 49 66 20 79 6f |he output. If yo| 00007f90 75 20 63 68 6f 6f 73 65 20 63 75 72 73 6f 72 20 |u choose cursor | 00007fa0 6f 75 74 70 75 74 20 28 46 34 29 20 74 68 65 6e |output (F4) then| 00007fb0 0a 74 68 65 20 63 75 72 73 6f 72 20 77 69 6c 6c |.the cursor will| 00007fc0 20 62 65 20 6d 6f 76 65 64 20 74 6f 20 74 68 65 | be moved to the| 00007fd0 20 66 69 72 73 74 20 6d 61 74 63 68 20 61 6e 64 | first match and| 00007fe0 20 73 75 62 73 65 71 75 65 6e 74 20 6d 61 74 63 | subsequent matc| 00007ff0 68 65 73 20 6d 61 79 20 62 65 0a 67 6f 74 20 62 |hes may be.got b| 00008000 79 20 73 46 37 20 28 4e 65 78 74 20 6d 61 74 63 |y sF7 (Next matc| 00008010 68 29 20 61 6e 64 20 73 63 46 37 20 28 50 72 65 |h) and scF7 (Pre| 00008020 76 69 6f 75 73 20 6d 61 74 63 68 29 20 61 73 20 |vious match) as | 00008030 69 6e 20 74 68 65 20 42 61 73 69 63 20 45 64 69 |in the Basic Edi| 00008040 74 6f 72 2e 20 41 0a 62 65 65 70 20 77 69 6c 6c |tor. A.beep will| 00008050 20 73 6f 75 6e 64 20 69 66 20 74 68 65 72 65 20 | sound if there | 00008060 61 72 65 20 6e 6f 20 6d 6f 72 65 20 6d 61 74 63 |are no more matc| 00008070 68 65 73 20 61 6e 64 20 74 68 65 20 63 75 72 73 |hes and the curs| 00008080 6f 72 20 77 69 6c 6c 20 6e 6f 74 20 6d 6f 76 65 |or will not move| 00008090 2e 20 49 66 0a 79 6f 75 20 63 68 6f 6f 73 65 20 |. If.you choose | 000080a0 27 74 6f 20 62 75 66 66 65 72 27 20 28 46 37 29 |'to buffer' (F7)| 000080b0 20 74 68 65 6e 20 61 6c 6c 20 6d 61 74 63 68 65 | then all matche| 000080c0 73 20 61 72 65 20 70 6c 61 63 65 64 20 69 6e 20 |s are placed in | 000080d0 61 20 6e 65 77 20 28 74 65 78 74 29 20 66 69 6c |a new (text) fil| 000080e0 65 2e 0a 44 6f 75 62 6c 65 20 63 6c 69 63 6b 69 |e..Double clicki| 000080f0 6e 67 20 6f 6e 20 65 6e 74 72 69 65 73 20 69 6e |ng on entries in| 00008100 20 74 68 69 73 20 74 65 78 74 20 66 69 6c 65 20 | this text file | 00008110 63 61 75 73 65 20 74 68 65 20 63 75 72 73 6f 72 |cause the cursor| 00008120 20 74 6f 20 62 65 20 6d 6f 76 65 64 20 74 6f 0a | to be moved to.| 00008130 74 68 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e |the correspondin| 00008140 67 20 6d 61 74 63 68 2e 0a 0a 4e 6f 77 20 74 6f |g match...Now to| 00008150 20 74 68 65 20 73 65 61 72 63 68 20 73 74 72 69 | the search stri| 00008160 6e 67 2e 20 49 6e 20 6f 72 64 65 72 20 74 68 61 |ng. In order tha| 00008170 74 20 74 68 65 20 75 73 65 72 20 6d 61 79 20 68 |t the user may h| 00008180 61 76 65 20 61 6e 79 20 73 65 61 72 63 68 20 73 |ave any search s| 00008190 79 6e 74 61 78 0a 68 65 2f 73 68 65 20 63 68 6f |yntax.he/she cho| 000081a0 6f 73 65 73 2c 20 49 20 68 61 76 65 20 61 64 6f |oses, I have ado| 000081b0 70 74 65 64 20 74 68 65 20 66 6f 6c 6c 6f 77 69 |pted the followi| 000081c0 6e 67 20 61 70 70 72 6f 61 63 68 3a 0a 0a 20 2a |ng approach:.. *| 000081d0 20 41 6c 6c 20 77 69 6c 64 63 61 72 64 73 2f 63 | All wildcards/c| 000081e0 6f 6d 6d 61 6e 64 73 20 62 65 67 69 6e 20 77 69 |ommands begin wi| 000081f0 74 68 20 61 20 27 5c 27 20 61 73 20 6c 69 73 74 |th a '\' as list| 00008200 65 64 20 62 65 6c 6f 77 2e 0a 20 2a 20 54 68 65 |ed below.. * The| 00008210 20 75 73 65 72 20 6d 61 79 20 64 65 66 69 6e 65 | user may define| 00008220 20 75 70 20 74 6f 20 31 36 20 6d 61 63 72 6f 73 | up to 16 macros| 00008230 20 28 61 6c 69 61 73 65 73 29 20 69 6e 20 74 65 | (aliases) in te| 00008240 72 6d 73 20 6f 66 20 74 68 65 73 65 20 63 6f 6d |rms of these com| 00008250 6d 61 6e 64 73 2e 0a 20 2a 20 57 68 65 6e 20 74 |mands.. * When t| 00008260 68 65 20 73 65 61 72 63 68 20 73 74 72 69 6e 67 |he search string| 00008270 20 69 73 20 65 6e 74 65 72 65 64 2c 20 61 6c 6c | is entered, all| 00008280 20 74 68 65 20 75 73 65 72 73 20 6d 61 63 72 6f | the users macro| 00008290 73 20 61 72 65 20 73 75 62 73 74 69 74 75 74 65 |s are substitute| 000082a0 64 0a 20 20 20 62 65 66 6f 72 65 20 74 68 65 20 |d. before the | 000082b0 73 65 61 72 63 68 20 74 61 6b 65 73 20 70 6c 61 |search takes pla| 000082c0 63 65 2e 0a 0a 54 68 65 20 6d 61 63 72 6f 73 20 |ce...The macros | 000082d0 6d 61 79 20 62 65 20 65 78 61 6d 69 6e 65 64 20 |may be examined | 000082e0 61 6e 64 20 61 6c 74 65 72 65 64 20 62 79 20 63 |and altered by c| 000082f0 6c 69 63 6b 69 6e 67 20 6f 6e 20 74 68 65 20 27 |licking on the '| 00008300 53 68 6f 77 20 4d 61 63 72 6f 73 27 0a 62 75 74 |Show Macros'.but| 00008310 74 6f 6e 2e 20 54 68 65 20 64 65 66 61 75 6c 74 |ton. The default| 00008320 20 6d 61 63 72 6f 20 64 65 66 69 6e 69 74 69 6f | macro definitio| 00008330 6e 73 20 61 72 65 20 73 74 6f 72 65 64 20 69 6e |ns are stored in| 00008340 20 74 68 65 20 27 4b 65 79 73 27 20 66 69 6c 65 | the 'Keys' file| 00008350 20 61 6e 64 20 6d 61 79 0a 62 65 20 61 6c 74 65 | and may.be alte| 00008360 72 65 64 20 74 68 65 72 65 2e 20 54 68 65 20 6d |red there. The m| 00008370 61 63 72 6f 73 20 63 61 6e 20 62 65 20 74 65 6d |acros can be tem| 00008380 70 6f 72 61 72 69 6c 79 20 74 75 72 6e 65 64 20 |porarily turned | 00008390 6f 66 66 20 69 6e 20 74 68 65 20 27 4d 61 63 72 |off in the 'Macr| 000083a0 6f 73 27 0a 77 69 6e 64 6f 77 2e 20 54 68 69 73 |os'.window. This| 000083b0 20 77 69 6e 64 6f 77 20 61 6c 73 6f 20 63 6f 6e | window also con| 000083c0 74 72 6f 6c 73 20 77 68 65 74 68 65 72 20 74 68 |trols whether th| 000083d0 65 20 73 65 61 72 63 68 20 69 73 20 63 61 73 65 |e search is case| 000083e0 20 73 65 6e 73 69 74 69 76 65 20 6f 72 0a 6e 6f | sensitive or.no| 000083f0 74 2e 20 54 68 65 73 65 20 6f 70 74 69 6f 6e 73 |t. These options| 00008400 20 61 72 65 20 73 74 6f 72 65 64 20 69 6e 20 74 | are stored in t| 00008410 68 65 20 21 43 6f 6e 66 69 67 20 66 69 6c 65 20 |he !Config file | 00008420 61 6e 64 20 73 61 76 65 64 20 76 69 61 20 74 68 |and saved via th| 00008430 65 20 6d 65 6e 75 0a 6f 70 74 69 6f 6e 20 27 4f |e menu.option 'O| 00008440 70 74 69 6f 6e 73 2e 53 61 76 65 6f 70 74 69 6f |ptions.Saveoptio| 00008450 6e 73 27 2e 0a 0a 46 6f 72 20 65 78 61 6d 70 6c |ns'...For exampl| 00008460 65 3b 20 49 20 68 61 76 65 20 2a 20 61 73 20 61 |e; I have * as a| 00008470 20 73 74 61 6e 64 61 72 64 20 6d 61 63 72 6f 20 | standard macro | 00008480 66 6f 72 20 5c 2e 5c 2a 2e 20 54 68 75 73 20 69 |for \.\*. Thus i| 00008490 66 20 49 20 74 79 70 65 64 20 69 6e 20 61 2a 62 |f I typed in a*b| 000084a0 2c 0a 74 68 65 20 73 74 72 69 6e 67 20 77 6f 75 |,.the string wou| 000084b0 6c 64 20 62 65 20 63 6f 6e 76 65 72 74 65 64 20 |ld be converted | 000084c0 74 6f 20 61 5c 2e 5c 2a 62 2e 20 48 6f 77 65 76 |to a\.\*b. Howev| 000084d0 65 72 20 61 5c 2a 62 20 77 6f 75 6c 64 20 72 65 |er a\*b would re| 000084e0 6d 61 69 6e 20 61 73 20 61 5c 2a 62 20 61 73 0a |main as a\*b as.| 000084f0 74 68 65 20 2a 20 66 6f 6c 6c 6f 77 73 20 61 20 |the * follows a | 00008500 5c 20 61 6e 64 20 69 73 20 74 68 75 73 20 74 72 |\ and is thus tr| 00008510 65 61 74 65 64 20 61 73 20 61 20 63 6f 6d 6d 61 |eated as a comma| 00008520 6e 64 2e 0a 0a 54 68 65 20 74 61 62 6c 65 20 62 |nd...The table b| 00008530 65 6c 6f 77 20 64 65 74 61 69 6c 73 20 61 6c 6c |elow details all| 00008540 20 74 68 65 20 65 73 63 61 70 65 20 63 68 61 72 | the escape char| 00008550 61 63 74 65 72 73 20 61 6e 64 20 63 6f 6d 6d 61 |acters and comma| 00008560 6e 64 73 2e 20 49 6e 20 69 74 20 49 20 77 69 6c |nds. In it I wil| 00008570 6c 0a 75 73 65 20 27 78 27 20 74 6f 20 73 74 61 |l.use 'x' to sta| 00008580 6e 64 20 66 6f 72 20 61 6e 79 20 61 73 63 69 69 |nd for any ascii| 00008590 20 63 68 61 72 61 63 74 65 72 20 75 6e 6c 65 73 | character unles| 000085a0 73 20 6f 74 68 65 72 77 69 73 65 20 6d 65 6e 74 |s otherwise ment| 000085b0 69 6f 6e 65 64 2e 0a 0a 78 09 4d 61 74 63 68 65 |ioned...x.Matche| 000085c0 73 20 63 68 61 72 61 63 74 65 72 20 27 78 27 20 |s character 'x' | 000085d0 28 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 63 61 |(according to ca| 000085e0 73 65 20 73 65 6e 73 69 74 69 76 69 74 79 29 2e |se sensitivity).| 000085f0 0a 5c 78 09 4d 61 74 63 68 65 73 20 27 78 27 20 |.\x.Matches 'x' | 00008600 63 61 73 65 20 73 65 6e 73 69 74 69 76 65 6c 79 |case sensitively| 00008610 2c 20 75 6e 6c 65 73 73 20 5c 78 20 6d 65 6e 74 |, unless \x ment| 00008620 69 6f 6e 65 64 20 62 65 6c 6f 77 2e 0a 60 78 09 |ioned below..`x.| 00008630 4d 61 74 63 68 65 73 20 27 78 27 20 6f 6e 6c 79 |Matches 'x' only| 00008640 20 28 77 69 74 68 6f 75 74 20 61 6e 79 20 72 65 | (without any re| 00008650 70 6c 61 63 65 6d 65 6e 74 20 6f 66 20 6d 61 63 |placement of mac| 00008660 72 6f 73 29 2e 0a 5c 28 20 5c 29 09 41 63 74 20 |ros)..\( \).Act | 00008670 61 73 20 62 72 61 63 6b 65 74 73 20 66 6f 72 20 |as brackets for | 00008680 6e 65 73 74 69 6e 67 20 65 78 70 72 65 73 73 69 |nesting expressi| 00008690 6f 6e 73 2e 0a 5c 7b 20 5c 7d 09 41 63 74 20 61 |ons..\{ \}.Act a| 000086a0 73 20 74 68 65 20 6e 6f 72 6d 61 6c 20 62 72 61 |s the normal bra| 000086b0 63 6b 65 74 73 20 61 62 6f 76 65 2c 20 62 75 74 |ckets above, but| 000086c0 20 6d 61 79 20 62 65 20 72 65 66 65 72 72 65 64 | may be referred| 000086d0 0a 09 74 6f 20 69 6e 20 74 68 65 20 72 65 70 6c |..to in the repl| 000086e0 61 63 65 20 73 74 72 69 6e 67 20 64 75 72 69 6e |ace string durin| 000086f0 67 20 61 20 73 65 61 72 63 68 20 61 6e 64 20 72 |g a search and r| 00008700 65 70 6c 61 63 65 2e 20 53 65 65 20 45 2e 32 2e |eplace. See E.2.| 00008710 0a 5c 23 09 4d 61 74 63 68 65 73 20 61 6e 79 20 |.\#.Matches any | 00008720 63 68 61 72 61 63 74 65 72 2e 20 45 67 20 61 5c |character. Eg a\| 00008730 23 64 20 6d 61 74 63 68 65 73 20 27 61 6e 64 27 |#d matches 'and'| 00008740 2c 27 61 61 64 27 20 62 75 74 20 6e 6f 74 20 27 |,'aad' but not '| 00008750 61 64 27 2e 0a 5c 2e 09 4d 61 74 63 68 65 73 20 |ad'..\..Matches | 00008760 61 6e 79 20 63 68 61 72 61 63 74 65 72 20 65 78 |any character ex| 00008770 63 65 70 74 20 74 68 65 20 72 65 74 75 72 6e 20 |cept the return | 00008780 63 68 61 72 61 63 74 65 72 2e 0a 5c 2a 09 4d 61 |character..\*.Ma| 00008790 74 63 68 65 73 20 61 6e 79 20 6e 75 6d 62 65 72 |tches any number| 000087a0 20 6f 66 20 74 68 65 20 70 72 65 76 69 6f 75 73 | of the previous| 000087b0 20 65 78 70 72 65 73 73 69 6f 6e 2e 20 45 67 20 | expression. Eg | 000087c0 66 6f 5c 2a 20 6d 61 74 63 68 65 73 0a 09 27 66 |fo\* matches..'f| 000087d0 27 2c 27 66 6f 27 2c 27 66 6f 6f 27 20 65 74 63 |','fo','foo' etc| 000087e0 2e 20 61 6e 64 20 5c 28 61 6e 64 5c 29 5c 2a 20 |. and \(and\)\* | 000087f0 6d 61 74 63 68 65 73 20 27 27 2c 27 61 6e 64 27 |matches '','and'| 00008800 2c 27 61 6e 64 61 6e 64 27 20 65 74 63 2e 0a 5c |,'andand' etc..\| 00008810 7c 09 4d 61 74 63 68 65 73 20 6f 6e 65 20 65 78 ||.Matches one ex| 00008820 70 72 65 73 73 69 6f 6e 20 4f 52 20 61 6e 6f 74 |pression OR anot| 00008830 68 65 72 2e 20 45 67 20 68 65 6c 6c 6f 5c 7c 67 |her. Eg hello\|g| 00008840 6f 6f 64 62 79 65 5c 7c 66 72 65 64 2e 0a 09 45 |oodbye\|fred...E| 00008850 67 20 5c 28 61 5c 7c 62 5c 29 5c 2a 20 6d 61 74 |g \(a\|b\)\* mat| 00008860 63 68 65 73 20 27 61 62 61 62 61 62 61 27 2c 27 |ches 'abababa','| 00008870 61 62 62 62 61 27 20 65 74 63 2e 0a 5c 5b 2e 2e |abbba' etc..\[..| 00008880 5d 09 4d 61 74 63 68 65 73 20 61 20 72 61 6e 67 |].Matches a rang| 00008890 65 20 6f 66 20 63 68 61 72 61 63 74 65 72 73 2e |e of characters.| 000088a0 20 45 67 20 5c 5b 61 2d 7a 41 2d 5a 25 5d 20 6d | Eg \[a-zA-Z%] m| 000088b0 61 74 63 68 65 73 20 61 6e 79 20 6c 65 74 74 65 |atches any lette| 000088c0 72 20 6f 72 0a 09 61 20 27 25 27 2e 20 49 66 20 |r or..a '%'. If | 000088d0 61 20 27 5e 27 20 69 73 20 67 69 76 65 6e 20 61 |a '^' is given a| 000088e0 66 74 65 72 20 74 68 65 20 6f 70 65 6e 69 6e 67 |fter the opening| 000088f0 20 62 72 61 63 6b 65 74 20 74 68 65 6e 0a 09 69 | bracket then..i| 00008900 74 20 61 63 74 73 20 61 73 20 61 20 4e 4f 54 2e |t acts as a NOT.| 00008910 20 54 68 75 73 20 5c 5b 5e 61 62 63 5d 20 6d 61 | Thus \[^abc] ma| 00008920 74 63 68 65 73 20 61 6e 79 20 63 68 61 72 61 63 |tches any charac| 00008930 74 65 72 20 65 78 63 65 70 74 20 61 2c 62 2c 63 |ter except a,b,c| 00008940 2e 0a 5c 3c 09 4d 61 74 63 68 65 73 20 6e 75 6c |..\<.Matches nul| 00008950 6c 20 73 74 72 69 6e 67 20 61 74 20 6c 69 6e 65 |l string at line| 00008960 20 73 74 61 72 74 20 28 61 6e 64 20 66 69 6c 65 | start (and file| 00008970 20 73 74 61 72 74 29 2e 0a 5c 3e 09 4d 61 74 63 | start)..\>.Matc| 00008980 68 65 73 20 6e 75 6c 6c 20 73 74 72 69 6e 67 20 |hes null string | 00008990 61 74 20 6c 69 6e 65 20 65 6e 64 2e 0a 5c 2b 09 |at line end..\+.| 000089a0 54 75 72 6e 73 20 6f 6e 20 63 61 73 65 20 73 65 |Turns on case se| 000089b0 6e 73 69 74 69 76 69 74 79 20 66 6f 72 20 74 68 |nsitivity for th| 000089c0 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 73 74 72 69 |e following stri| 000089d0 6e 67 20 6f 6e 6c 79 2e 0a 09 45 67 20 5c 2b 46 |ng only...Eg \+F| 000089e0 72 65 64 5c 7c 42 69 6c 6c 20 6d 61 74 63 68 65 |red\|Bill matche| 000089f0 73 20 46 72 65 64 20 63 61 73 65 20 73 65 6e 73 |s Fred case sens| 00008a00 69 74 69 76 65 6c 79 20 62 75 74 20 6e 6f 74 20 |itively but not | 00008a10 42 69 6c 6c 2e 0a 5c 2d 09 41 73 20 61 62 6f 76 |Bill..\-.As abov| 00008a20 65 2c 20 62 75 74 20 74 75 72 6e 73 20 6f 66 66 |e, but turns off| 00008a30 20 63 61 73 65 20 73 65 6e 73 69 74 69 76 69 74 | case sensitivit| 00008a40 79 2e 0a 5c 5c 09 4d 61 74 63 68 65 73 20 61 20 |y..\\.Matches a | 00008a50 27 5c 27 2e 0a 5c 64 64 64 09 57 68 65 72 65 20 |'\'..\ddd.Where | 00008a60 64 20 69 73 20 61 6e 79 20 64 65 63 69 6d 61 6c |d is any decimal| 00008a70 20 64 69 67 69 74 20 6d 61 74 63 68 65 73 20 74 | digit matches t| 00008a80 68 61 74 20 6e 75 6d 62 65 72 2e 0a 09 45 67 20 |hat number...Eg | 00008a90 27 5c 30 61 6c 66 27 20 6d 61 74 63 68 65 73 20 |'\0alf' matches | 00008aa0 62 79 74 65 20 30 2c 27 61 6c 66 27 20 61 6e 64 |byte 0,'alf' and| 00008ab0 20 5c 32 33 33 20 6d 61 74 63 68 65 73 20 62 79 | \233 matches by| 00008ac0 74 65 20 32 33 33 2e 0a 09 50 6c 65 61 73 65 20 |te 233...Please | 00008ad0 6e 6f 74 65 20 74 68 61 74 20 5c 39 39 39 20 6d |note that \999 m| 00008ae0 61 74 63 68 65 73 20 62 79 74 65 20 39 39 20 66 |atches byte 99 f| 00008af0 6f 6c 6c 6f 77 65 64 20 62 79 20 27 39 27 20 61 |ollowed by '9' a| 00008b00 73 20 39 39 39 3e 32 35 35 2e 0a 5c 26 68 68 09 |s 999>255..\&hh.| 00008b10 41 73 20 61 62 6f 76 65 20 62 75 74 20 6d 61 74 |As above but mat| 00008b20 63 68 65 73 20 74 68 65 20 68 65 78 20 62 79 74 |ches the hex byt| 00008b30 65 20 68 68 20 77 68 65 6e 20 68 20 61 72 65 20 |e hh when h are | 00008b40 76 61 6c 69 64 20 68 65 78 20 63 68 61 72 73 2e |valid hex chars.| 00008b50 0a 5c 78 68 68 09 4d 61 74 63 68 65 73 20 68 65 |.\xhh.Matches he| 00008b60 78 20 6e 75 6d 62 65 72 73 20 61 73 20 61 62 6f |x numbers as abo| 00008b70 76 65 20 28 77 68 65 72 65 20 27 78 27 20 69 73 |ve (where 'x' is| 00008b80 20 74 68 65 20 6c 65 74 74 65 72 20 27 78 27 29 | the letter 'x')| 00008b90 2e 0a 5c 41 2d 5c 5a 09 4d 61 74 63 68 20 63 74 |..\A-\Z.Match ct| 00008ba0 72 6c 20 41 20 74 6f 20 63 74 72 6c 20 5a 2e 0a |rl A to ctrl Z..| 00008bb0 0a 49 6e 20 6d 6f 73 74 20 63 61 73 65 73 20 79 |.In most cases y| 00008bc0 6f 75 20 77 69 6c 6c 20 77 69 73 68 20 74 6f 20 |ou will wish to | 00008bd0 6d 61 63 72 6f 20 27 7c 27 20 61 73 20 62 65 69 |macro '|' as bei| 00008be0 6e 67 20 27 5c 7c 27 20 61 6e 64 20 27 28 27 20 |ng '\|' and '(' | 00008bf0 61 73 20 27 5c 28 27 20 65 74 63 2e 0a 54 68 69 |as '\(' etc..Thi| 00008c00 73 20 69 73 20 68 6f 77 20 74 68 65 20 64 65 66 |s is how the def| 00008c10 61 75 6c 74 20 6d 61 63 72 6f 73 20 61 72 65 20 |ault macros are | 00008c20 73 65 74 20 75 70 2e 20 4d 61 63 72 6f 73 20 63 |set up. Macros c| 00008c30 61 6e 20 62 65 20 73 77 69 74 63 68 65 64 20 6f |an be switched o| 00008c40 66 66 20 69 6e 20 74 68 65 0a 6d 61 63 72 6f 20 |ff in the.macro | 00008c50 62 6f 78 2e 20 49 6e 20 74 68 65 20 65 78 61 6d |box. In the exam| 00008c60 70 6c 65 73 20 62 65 6c 6f 77 2c 20 74 68 65 20 |ples below, the | 00008c70 64 65 66 61 75 6c 74 20 6d 61 63 72 6f 73 20 61 |default macros a| 00008c80 72 65 20 61 73 73 75 6d 65 64 2e 20 50 6c 65 61 |re assumed. Plea| 00008c90 73 65 20 6e 6f 74 65 0a 74 68 61 74 20 79 6f 75 |se note.that you| 00008ca0 20 6d 61 79 20 6d 61 63 72 6f 20 74 68 65 20 6d | may macro the m| 00008cb0 61 63 72 6f 73 21 20 45 67 2c 20 79 6f 75 20 63 |acros! Eg, you c| 00008cc0 6f 75 6c 64 20 64 65 66 69 6e 65 20 27 28 27 20 |ould define '(' | 00008cd0 74 6f 20 62 65 20 27 5c 28 27 20 61 6e 64 20 27 |to be '\(' and '| 00008ce0 5c 28 20 74 6f 0a 62 65 20 27 28 27 20 69 66 20 |\( to.be '(' if | 00008cf0 79 6f 75 20 77 69 73 68 65 64 2e 0a 0a 45 78 61 |you wished...Exa| 00008d00 6d 70 6c 65 73 3a 0a 0a 20 63 61 74 7c 6d 61 74 |mples:.. cat|mat| 00008d10 09 09 4d 61 74 63 68 65 73 20 63 61 74 20 6f 72 |..Matches cat or| 00008d20 20 6d 61 74 2e 0a 20 72 65 2a 6d 65 6e 74 09 09 | mat.. re*ment..| 00008d30 4d 61 74 63 68 65 73 20 61 6e 79 20 6f 63 63 75 |Matches any occu| 00008d40 72 72 65 6e 63 65 20 6f 66 20 27 72 65 27 20 74 |rrence of 're' t| 00008d50 68 65 6e 20 27 6d 65 6e 74 27 20 6f 6e 20 61 20 |hen 'ment' on a | 00008d60 6c 69 6e 65 2e 0a 20 53 57 49 09 20 20 20 20 09 |line.. SWI. .| 00008d70 09 4d 61 74 63 68 65 73 20 61 6e 79 20 53 57 49 |.Matches any SWI| 00008d80 20 28 69 6e 20 63 6f 64 65 20 6d 6f 64 65 29 2e | (in code mode).| 00008d90 0a 20 4c 44 52 7c 53 54 52 09 09 4d 61 74 63 68 |. LDR|STR..Match| 00008da0 65 73 20 61 6e 79 20 6c 6f 61 64 20 6f 72 20 73 |es any load or s| 00008db0 74 6f 72 65 20 69 6e 73 74 72 75 63 74 69 6f 6e |tore instruction| 00008dc0 2e 0a 20 52 36 09 09 09 4d 61 74 63 68 65 73 20 |.. R6...Matches | 00008dd0 61 6e 79 20 69 6e 73 74 72 75 63 74 69 6f 6e 20 |any instruction | 00008de0 75 73 69 6e 67 20 52 36 2e 0a 20 42 4c 2a 26 30 |using R6.. BL*&0| 00008df0 30 30 30 41 39 35 43 09 09 4d 61 74 63 68 65 73 |000A95C..Matches| 00008e00 20 61 6e 79 20 63 61 6c 6c 20 74 6f 20 26 30 30 | any call to &00| 00008e10 30 30 41 39 35 43 2e 0a 20 5c 26 30 41 09 09 09 |00A95C.. \&0A...| 00008e20 4d 61 74 63 68 65 73 20 74 68 65 20 62 79 74 65 |Matches the byte| 00008e30 20 26 30 41 2e 0a 20 5c 3c 66 72 65 64 09 09 09 | &0A.. \<fred...| 00008e40 4d 61 74 63 68 65 73 20 66 72 65 64 2c 20 62 75 |Matches fred, bu| 00008e50 74 20 6f 6e 6c 79 20 61 74 20 74 68 65 20 73 74 |t only at the st| 00008e60 61 72 74 20 6f 66 20 61 20 6c 69 6e 65 2e 0a 20 |art of a line.. | 00008e70 6d 61 69 6e 60 28 09 09 09 4d 61 74 63 68 65 73 |main`(...Matches| 00008e80 20 27 6d 61 69 6e 28 27 0a 0a 48 69 6e 74 73 3a | 'main('..Hints:| 00008e90 0a 0a 54 68 65 20 73 65 61 72 63 68 20 77 69 6c |..The search wil| 00008ea0 6c 20 62 65 20 4d 55 43 48 20 66 61 73 74 65 72 |l be MUCH faster| 00008eb0 20 69 66 20 79 6f 75 20 67 69 76 65 20 61 20 64 | if you give a d| 00008ec0 65 66 69 6e 69 74 65 20 66 69 72 73 74 20 63 68 |efinite first ch| 00008ed0 61 72 61 63 74 65 72 20 74 6f 0a 73 74 61 72 74 |aracter to.start| 00008ee0 20 77 69 74 68 2e 20 45 67 20 27 61 5c 28 6e 64 | with. Eg 'a\(nd| 00008ef0 5c 7c 70 70 6c 65 5c 29 27 20 77 69 6c 6c 20 62 |\|pple\)' will b| 00008f00 65 20 61 20 6c 6f 74 20 66 61 73 74 65 72 20 74 |e a lot faster t| 00008f10 68 61 6e 20 27 61 6e 64 5c 7c 61 70 70 6c 65 27 |han 'and\|apple'| 00008f20 2e 0a 49 66 20 74 68 65 20 73 65 61 72 63 68 20 |..If the search | 00008f30 74 61 6b 65 73 20 6c 6f 6e 67 65 72 20 74 68 61 |takes longer tha| 00008f40 6e 20 31 2f 33 20 73 65 63 6f 6e 64 2c 20 74 68 |n 1/3 second, th| 00008f50 65 6e 20 61 6e 20 68 6f 75 72 67 6c 61 73 73 20 |en an hourglass | 00008f60 77 69 6c 6c 20 63 6f 6d 65 20 75 70 0a 64 69 73 |will come up.dis| 00008f70 70 6c 61 79 69 6e 67 20 74 68 65 20 70 6f 73 69 |playing the posi| 00008f80 74 69 6f 6e 20 69 6e 20 74 68 65 20 66 69 6c 65 |tion in the file| 00008f90 20 61 73 20 61 20 70 65 72 63 65 6e 74 61 67 65 | as a percentage| 00008fa0 20 75 6e 64 65 72 6e 65 61 74 68 2e 20 59 6f 75 | underneath. You| 00008fb0 20 6d 61 79 20 73 74 6f 70 0a 74 68 65 20 73 65 | may stop.the se| 00008fc0 61 72 63 68 20 62 79 20 70 72 65 73 73 69 6e 67 |arch by pressing| 00008fd0 20 45 73 63 61 70 65 2c 20 61 6e 64 20 74 68 65 | Escape, and the| 00008fe0 20 70 61 72 74 69 61 6c 20 72 65 73 75 6c 74 73 | partial results| 00008ff0 20 77 69 6c 6c 20 62 65 20 64 69 73 70 6c 61 79 | will be display| 00009000 65 64 20 69 66 0a 79 6f 75 20 61 72 65 20 75 73 |ed if.you are us| 00009010 69 6e 67 20 27 53 65 61 72 63 68 20 74 6f 20 62 |ing 'Search to b| 00009020 75 66 66 65 72 27 2e 0a 0a 45 2e 32 20 54 68 65 |uffer'...E.2 The| 00009030 20 52 65 70 6c 61 63 65 20 77 69 6e 64 6f 77 0a | Replace window.| 00009040 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00009050 2d 2d 2d 2d 2d 2d 0a 0a 41 20 53 65 61 72 63 68 |------..A Search| 00009060 20 61 6e 64 20 52 65 70 6c 61 63 65 20 77 69 6e | and Replace win| 00009070 64 6f 77 20 63 61 6e 20 62 65 20 63 72 65 61 74 |dow can be creat| 00009080 65 64 20 62 79 20 70 72 65 73 73 69 6e 67 20 73 |ed by pressing s| 00009090 68 69 66 74 2d 46 34 20 6f 72 20 66 72 6f 6d 20 |hift-F4 or from | 000090a0 74 68 65 0a 27 66 69 6c 65 27 20 6d 65 6e 75 2e |the.'file' menu.| 000090b0 20 54 68 65 20 66 69 72 73 74 20 63 6f 6c 75 6d | The first colum| 000090c0 6e 20 73 65 74 73 20 74 68 65 20 73 65 61 72 63 |n sets the searc| 000090d0 68 20 73 74 61 72 74 20 70 6f 73 69 74 69 6f 6e |h start position| 000090e0 20 61 6e 64 20 64 69 72 65 63 74 69 6f 6e 20 61 | and direction a| 000090f0 73 0a 69 6e 20 74 68 65 20 53 65 61 72 63 68 20 |s.in the Search | 00009100 77 69 6e 64 6f 77 20 64 65 73 63 72 69 62 65 64 |window described| 00009110 20 61 62 6f 76 65 2e 20 54 68 65 20 73 65 63 6f | above. The seco| 00009120 6e 64 20 63 6f 6c 75 6d 6e 20 73 65 6c 65 63 74 |nd column select| 00009130 73 20 65 69 74 68 65 72 0a 73 65 6c 65 63 74 69 |s either.selecti| 00009140 76 65 20 6f 72 20 67 6c 6f 62 61 6c 20 72 65 70 |ve or global rep| 00009150 6c 61 63 65 2e 0a 0a 46 6f 72 20 61 20 73 65 6c |lace...For a sel| 00009160 65 63 74 69 76 65 20 72 65 70 6c 61 63 65 2c 20 |ective replace, | 00009170 65 61 63 68 20 6d 61 74 63 68 20 77 69 6c 6c 20 |each match will | 00009180 62 65 20 68 69 67 68 6c 69 67 68 74 65 64 20 61 |be highlighted a| 00009190 6e 64 20 61 20 27 52 65 70 6c 61 63 65 20 3f 27 |nd a 'Replace ?'| 000091a0 0a 77 69 6e 64 6f 77 20 77 69 6c 6c 20 61 70 70 |.window will app| 000091b0 65 61 72 2e 20 50 72 65 73 73 20 27 52 27 20 74 |ear. Press 'R' t| 000091c0 6f 20 72 65 70 6c 61 63 65 20 74 68 61 74 20 6d |o replace that m| 000091d0 61 74 63 68 20 61 6e 64 20 6d 6f 76 65 20 6f 6e |atch and move on| 000091e0 74 6f 20 74 68 65 20 6e 65 78 74 0a 6d 61 74 63 |to the next.matc| 000091f0 68 2e 20 50 72 65 73 73 20 27 53 27 20 74 6f 20 |h. Press 'S' to | 00009200 73 6b 69 70 20 74 6f 20 74 68 65 20 6e 65 78 74 |skip to the next| 00009210 20 6d 61 74 63 68 20 77 69 74 68 6f 75 74 20 72 | match without r| 00009220 65 70 6c 61 63 65 6d 65 6e 74 2e 20 50 72 65 73 |eplacement. Pres| 00009230 73 20 27 54 27 20 6f 72 0a 27 45 27 20 74 6f 20 |s 'T' or.'E' to | 00009240 72 65 70 6c 61 63 65 20 61 6c 6c 20 6d 61 74 63 |replace all matc| 00009250 68 65 73 20 66 72 6f 6d 20 74 68 69 73 20 70 6f |hes from this po| 00009260 69 6e 74 20 28 69 6e 63 6c 75 73 69 76 65 29 20 |int (inclusive) | 00009270 74 6f 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 |to the end of th| 00009280 65 0a 66 69 6c 65 2e 20 50 72 65 73 73 20 27 43 |e.file. Press 'C| 00009290 27 20 6f 72 20 45 53 43 41 50 45 20 74 6f 20 73 |' or ESCAPE to s| 000092a0 74 6f 70 20 74 68 65 20 73 65 6c 65 63 74 69 76 |top the selectiv| 000092b0 65 20 72 65 70 6c 61 63 65 2e 0a 0a 54 68 65 20 |e replace...The | 000092c0 66 6f 72 6d 61 74 20 6f 66 20 74 68 65 20 73 65 |format of the se| 000092d0 61 72 63 68 20 73 74 72 69 6e 67 20 69 73 20 64 |arch string is d| 000092e0 65 73 63 72 69 62 65 64 20 69 6e 20 73 65 63 74 |escribed in sect| 000092f0 69 6f 6e 20 45 2e 32 2e 20 49 6e 20 74 68 65 20 |ion E.2. In the | 00009300 72 65 70 6c 61 63 65 0a 73 74 72 69 6e 67 2c 20 |replace.string, | 00009310 6d 61 63 72 6f 73 20 61 72 65 20 6e 6f 74 20 65 |macros are not e| 00009320 78 70 61 6e 64 65 64 20 61 6e 64 20 79 6f 75 20 |xpanded and you | 00009330 6d 61 79 20 75 73 65 20 74 68 65 20 66 6f 6c 6c |may use the foll| 00009340 6f 77 69 6e 67 20 63 6f 6e 74 72 6f 6c 0a 73 65 |owing control.se| 00009350 71 75 65 6e 63 65 73 3a 0a 0a 5c 64 64 64 09 52 |quences:..\ddd.R| 00009360 65 70 6c 61 63 65 20 77 69 74 68 20 74 68 65 20 |eplace with the | 00009370 64 65 63 69 6d 61 6c 20 62 79 74 65 20 64 64 64 |decimal byte ddd| 00009380 2e 0a 5c 26 68 68 09 52 65 70 6c 61 63 65 20 77 |..\&hh.Replace w| 00009390 69 74 68 20 74 68 65 20 68 65 78 20 62 79 74 65 |ith the hex byte| 000093a0 20 68 68 2e 0a 5c 78 09 52 65 70 6c 61 63 65 20 | hh..\x.Replace | 000093b0 77 69 74 68 20 63 68 61 72 61 63 74 65 72 20 27 |with character '| 000093c0 78 27 20 28 65 67 20 27 5c 5c 27 20 2d 3e 20 27 |x' (eg '\\' -> '| 000093d0 5c 27 29 2e 0a 26 6e 09 52 65 70 6c 61 63 65 20 |\')..&n.Replace | 000093e0 77 69 74 68 20 74 68 65 20 6e 27 74 68 20 5c 7b |with the n'th \{| 000093f0 2c 5c 7d 20 65 78 70 72 65 73 73 69 6f 6e 20 69 |,\} expression i| 00009400 6e 20 74 68 65 20 73 65 61 72 63 68 20 73 74 72 |n the search str| 00009410 69 6e 67 20 28 6e 3c 31 30 29 2e 0a 26 26 09 72 |ing (n<10)..&&.r| 00009420 65 70 6c 61 63 65 20 77 69 74 68 20 61 6e 20 27 |eplace with an '| 00009430 26 27 0a 0a 49 66 20 79 6f 75 20 77 69 73 68 20 |&'..If you wish | 00009440 74 6f 20 69 6e 63 6c 75 64 65 20 70 61 72 74 73 |to include parts| 00009450 20 6f 66 20 74 68 65 20 6d 61 74 63 68 20 73 74 | of the match st| 00009460 72 69 6e 67 20 69 6e 20 74 68 65 20 72 65 70 6c |ring in the repl| 00009470 61 63 65 6d 65 6e 74 20 73 74 72 69 6e 67 0a 74 |acement string.t| 00009480 68 65 6e 20 79 6f 75 20 6d 75 73 74 20 73 75 72 |hen you must sur| 00009490 72 6f 75 6e 64 20 74 68 65 20 72 65 6c 65 76 61 |round the releva| 000094a0 6e 74 20 73 65 63 74 69 6f 6e 73 20 69 6e 20 74 |nt sections in t| 000094b0 68 65 20 73 65 61 72 63 68 20 73 74 72 69 6e 67 |he search string| 000094c0 20 77 69 74 68 20 7b 2c 7d 0a 74 79 70 65 20 62 | with {,}.type b| 000094d0 72 61 63 6b 65 74 73 20 28 61 73 73 75 6d 69 6e |rackets (assumin| 000094e0 67 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 6d |g the standard m| 000094f0 61 63 72 6f 73 29 2e 0a 0a 45 78 61 6d 70 6c 65 |acros)...Example| 00009500 73 3a 0a 0a 20 53 65 61 72 63 68 20 73 74 72 69 |s:.. Search stri| 00009510 6e 67 3a 09 52 65 70 6c 61 63 65 20 73 74 72 69 |ng:.Replace stri| 00009520 6e 67 3a 09 41 63 74 69 6f 6e 3a 0a 0a 20 27 63 |ng:.Action:.. 'c| 00009530 61 74 27 09 09 27 27 09 09 52 65 6d 6f 76 65 73 |at'..''..Removes| 00009540 20 61 6c 6c 20 6f 63 63 75 72 72 65 6e 63 65 73 | all occurrences| 00009550 20 6f 66 20 27 63 61 74 27 0a 20 27 7b 63 61 74 | of 'cat'. '{cat| 00009560 7d 27 09 27 26 31 73 27 09 09 52 65 70 6c 61 63 |}'.'&1s'..Replac| 00009570 65 73 20 27 63 61 74 27 20 77 69 74 68 20 27 63 |es 'cat' with 'c| 00009580 61 74 73 27 20 70 72 65 73 65 72 76 69 6e 67 20 |ats' preserving | 00009590 63 61 73 65 2e 0a 20 27 74 69 6d 65 3d 7b 23 7d |case.. 'time={#}| 000095a0 27 09 27 74 69 6d 65 20 69 73 20 26 31 27 09 52 |'.'time is &1'.R| 000095b0 65 70 6c 61 63 65 73 20 27 74 69 6d 65 3d 35 38 |eplaces 'time=58| 000095c0 27 20 77 69 74 68 20 27 74 69 6d 65 20 69 73 20 |' with 'time is | 000095d0 35 38 27 20 65 74 63 2e 0a 20 0a 45 2e 33 20 4b |58' etc.. .E.3 K| 000095e0 65 79 62 6f 61 72 64 20 28 69 6e 63 72 65 6d 65 |eyboard (increme| 000095f0 6e 74 61 6c 29 20 73 65 61 72 63 68 0a 2d 2d 2d |ntal) search.---| 00009600 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00009610 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a |--------------..| 00009620 49 6e 63 72 65 6d 65 6e 74 61 6c 20 73 65 61 72 |Incremental sear| 00009630 63 68 20 69 73 20 61 63 74 69 76 61 74 65 64 20 |ch is activated | 00009640 62 79 20 70 72 65 73 73 69 6e 67 20 63 74 72 6c |by pressing ctrl| 00009650 2d 53 20 28 53 65 61 72 63 68 20 66 6f 72 77 61 |-S (Search forwa| 00009660 72 64 29 20 6f 72 20 63 74 72 6c 2d 52 0a 28 52 |rd) or ctrl-R.(R| 00009670 65 76 65 72 73 65 20 73 65 61 72 63 68 29 2e 20 |everse search). | 00009680 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 68 |The following ch| 00009690 61 72 61 63 74 65 72 73 20 74 79 70 65 64 20 62 |aracters typed b| 000096a0 79 20 79 6f 75 20 61 72 65 20 74 72 65 61 74 65 |y you are treate| 000096b0 64 20 61 73 20 74 68 65 0a 73 65 61 72 63 68 20 |d as the.search | 000096c0 73 74 72 69 6e 67 2e 20 54 68 65 20 63 75 72 73 |string. The curs| 000096d0 6f 72 20 69 73 20 6d 6f 76 65 64 20 74 6f 20 74 |or is moved to t| 000096e0 68 65 20 65 6e 64 20 6f 66 20 74 68 65 20 6e 65 |he end of the ne| 000096f0 78 74 20 6d 61 74 63 68 69 6e 67 20 73 65 61 72 |xt matching sear| 00009700 63 68 0a 66 72 6f 6d 20 77 68 65 72 65 20 79 6f |ch.from where yo| 00009710 75 20 73 74 61 72 74 65 64 2e 20 59 6f 75 20 6d |u started. You m| 00009720 61 79 20 75 73 65 20 74 68 65 20 44 45 4c 45 54 |ay use the DELET| 00009730 45 20 6b 65 79 20 74 6f 20 72 65 6d 6f 76 65 20 |E key to remove | 00009740 63 68 61 72 61 63 74 65 72 73 20 66 72 6f 6d 0a |characters from.| 00009750 74 68 65 20 73 65 61 72 63 68 20 73 74 72 69 6e |the search strin| 00009760 67 2e 20 49 66 20 74 68 65 72 65 20 69 73 20 6e |g. If there is n| 00009770 6f 20 6d 61 74 63 68 20 74 68 65 6e 20 61 20 62 |o match then a b| 00009780 65 65 70 20 77 69 6c 6c 20 73 6f 75 6e 64 2e 0a |eep will sound..| 00009790 0a 54 6f 20 68 61 6c 74 20 74 68 65 20 73 65 61 |.To halt the sea| 000097a0 72 63 68 2c 20 70 72 65 73 73 20 61 20 6e 6f 6e |rch, press a non| 000097b0 20 63 68 61 72 61 63 74 65 72 20 6b 65 79 20 28 | character key (| 000097c0 65 67 20 45 73 63 61 70 65 20 6f 72 20 61 20 63 |eg Escape or a c| 000097d0 75 72 73 6f 72 20 6b 65 79 29 2e 0a 54 68 65 20 |ursor key)..The | 000097e0 73 65 61 72 63 68 20 77 69 6c 6c 20 68 61 6c 74 |search will halt| 000097f0 20 61 74 20 74 68 65 20 63 75 72 72 65 6e 74 20 | at the current | 00009800 70 6f 73 69 74 69 6f 6e 2e 20 41 6c 74 65 72 6e |position. Altern| 00009810 61 74 69 76 65 6c 79 2c 20 70 72 65 73 73 69 6e |atively, pressin| 00009820 67 20 63 47 0a 28 43 61 6e 63 65 6c 29 20 77 69 |g cG.(Cancel) wi| 00009830 6c 6c 20 63 61 75 73 65 20 74 68 65 20 73 65 61 |ll cause the sea| 00009840 72 63 68 20 74 6f 20 62 65 20 63 61 6e 63 65 6c |rch to be cancel| 00009850 6c 65 64 20 61 6e 64 20 74 68 65 20 63 75 72 73 |led and the curs| 00009860 6f 72 20 72 65 74 75 72 6e 65 64 20 74 6f 20 69 |or returned to i| 00009870 74 73 0a 69 6e 69 74 69 61 6c 20 70 6f 73 69 74 |ts.initial posit| 00009880 69 6f 6e 2e 20 54 68 69 73 20 73 65 74 75 70 20 |ion. This setup | 00009890 73 68 6f 75 6c 64 20 62 65 20 66 61 6d 69 6c 69 |should be famili| 000098a0 61 72 20 74 6f 20 75 73 65 72 73 20 6f 66 20 45 |ar to users of E| 000098b0 6d 61 63 73 2e 0a 0a 50 72 65 73 73 69 6e 67 20 |macs...Pressing | 000098c0 63 74 72 6c 2d 53 20 6f 72 20 63 74 72 6c 2d 52 |ctrl-S or ctrl-R| 000098d0 20 77 68 69 6c 73 74 20 69 6e 20 73 65 61 72 63 | whilst in searc| 000098e0 68 20 6d 6f 64 65 20 77 69 6c 6c 20 6d 6f 76 65 |h mode will move| 000098f0 20 79 6f 75 20 74 6f 20 74 68 65 0a 6e 65 78 74 | you to the.next| 00009900 2f 70 72 65 76 69 6f 75 73 20 6d 61 74 63 68 65 |/previous matche| 00009910 73 2e 20 54 68 69 73 20 69 73 20 64 69 66 66 65 |s. This is diffe| 00009920 72 73 20 66 72 6f 6d 20 73 46 37 2c 63 46 37 20 |rs from sF7,cF7 | 00009930 77 68 69 63 68 20 6d 6f 76 65 20 79 6f 75 20 74 |which move you t| 00009940 6f 20 74 68 65 0a 73 74 61 72 74 20 6f 66 20 74 |o the.start of t| 00009950 68 65 20 6e 65 78 74 20 6d 61 74 63 68 65 73 20 |he next matches | 00009960 6f 66 20 74 68 65 20 6c 61 73 74 20 6e 6f 6e 20 |of the last non | 00009970 73 65 61 72 63 68 2d 61 73 2d 79 6f 75 2d 74 79 |search-as-you-ty| 00009980 70 65 20 73 65 61 72 63 68 20 73 74 72 69 6e 67 |pe search string| 00009990 2e 0a 49 6e 63 72 65 6d 65 6e 74 61 6c 20 73 65 |..Incremental se| 000099a0 61 72 63 68 20 69 73 20 70 61 72 74 69 63 75 6c |arch is particul| 000099b0 61 72 6c 79 20 75 73 65 66 75 6c 20 69 6e 20 74 |arly useful in t| 000099c0 68 61 74 20 69 74 20 63 61 6e 20 62 65 20 75 73 |hat it can be us| 000099d0 65 64 20 77 69 74 68 20 6c 65 61 72 6e 74 0a 73 |ed with learnt.s| 000099e0 65 71 75 65 6e 63 65 73 2e 20 53 65 65 20 73 65 |equences. See se| 000099f0 63 74 69 6f 6e 20 46 2e 31 20 66 6f 72 20 64 65 |ction F.1 for de| 00009a00 74 61 69 6c 73 2e 0a 0a 2a 2a 2a 2a 2a 2a 2a 2a |tails...********| 00009a10 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00009a50 2a 0a 2a 20 53 65 63 74 69 6f 6e 20 46 3a 09 4f |*.* Section F:.O| 00009a60 74 68 65 72 20 66 65 61 74 75 72 65 73 09 09 09 |ther features...| 00009a70 09 09 09 2a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |...*.***********| 00009a80 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00009ab0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 0a |**************..| 00009ac0 46 2e 31 20 4c 65 61 72 6e 69 6e 67 20 6b 65 79 |F.1 Learning key| 00009ad0 20 73 65 71 75 65 6e 63 65 73 0a 2d 2d 2d 2d 2d | sequences.-----| 00009ae0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00009af0 2d 2d 2d 2d 2d 0a 0a 54 68 69 73 20 66 65 61 74 |-----..This feat| 00009b00 75 72 65 20 6f 66 20 7a 61 70 20 69 73 20 76 65 |ure of zap is ve| 00009b10 72 79 20 73 69 6d 70 6c 65 20 74 6f 20 75 73 65 |ry simple to use| 00009b20 2c 20 61 6e 64 20 76 65 72 79 20 75 73 65 66 75 |, and very usefu| 00009b30 6c 2e 20 54 6f 20 73 74 61 72 74 0a 27 6c 65 61 |l. To start.'lea| 00009b40 72 6e 69 6e 67 27 20 61 20 6b 65 79 20 73 65 71 |rning' a key seq| 00009b50 75 65 6e 63 65 2c 20 73 69 6d 70 6c 79 20 70 72 |uence, simply pr| 00009b60 65 73 73 20 63 74 72 6c 2d 4c 2e 20 54 79 70 65 |ess ctrl-L. Type| 00009b70 20 74 68 65 20 73 65 71 75 65 6e 63 65 20 79 6f | the sequence yo| 00009b80 75 20 77 69 73 68 20 74 6f 0a 6c 65 61 72 6e 20 |u wish to.learn | 00009b90 61 6e 64 20 74 68 65 6e 20 70 72 65 73 73 20 63 |and then press c| 00009ba0 74 72 6c 2d 4c 20 61 67 61 69 6e 2e 20 50 72 65 |trl-L again. Pre| 00009bb0 73 73 20 46 31 20 74 6f 20 65 78 65 63 75 74 65 |ss F1 to execute| 00009bc0 20 74 68 65 20 6c 65 61 72 6e 74 20 73 65 71 75 | the learnt sequ| 00009bd0 65 6e 63 65 2e 0a 0a 4e 6f 74 65 20 66 69 72 73 |ence...Note firs| 00009be0 74 6c 79 20 74 68 61 74 20 5a 61 70 20 77 69 6c |tly that Zap wil| 00009bf0 6c 20 62 65 65 70 20 61 66 74 65 72 20 65 76 65 |l beep after eve| 00009c00 72 79 20 6b 65 79 70 72 65 73 73 20 79 6f 75 20 |ry keypress you | 00009c10 6d 61 6b 65 20 74 6f 20 72 65 6d 69 6e 64 20 79 |make to remind y| 00009c20 6f 75 0a 74 68 61 74 20 69 74 20 69 73 20 62 65 |ou.that it is be| 00009c30 69 6e 67 20 73 74 6f 72 65 64 2e 20 53 65 63 6f |ing stored. Seco| 00009c40 6e 64 6c 79 20 6e 6f 74 65 20 74 68 61 74 20 74 |ndly note that t| 00009c50 68 65 20 45 53 43 41 50 45 20 6b 65 79 20 77 69 |he ESCAPE key wi| 00009c60 6c 6c 20 4e 4f 54 20 73 74 6f 70 20 74 68 65 0a |ll NOT stop the.| 00009c70 6c 65 61 72 6e 69 6e 67 20 70 72 6f 63 65 73 73 |learning process| 00009c80 2e 20 4f 6e 6c 79 20 63 74 72 6c 2d 4c 20 77 69 |. Only ctrl-L wi| 00009c90 6c 6c 20 73 74 6f 70 20 69 74 2e 20 54 68 75 73 |ll stop it. Thus| 00009ca0 20 79 6f 75 20 63 61 6e 20 6c 65 61 72 6e 20 73 | you can learn s| 00009cb0 65 71 75 65 6e 63 65 73 0a 77 68 69 63 68 20 75 |equences.which u| 00009cc0 73 65 20 69 6e 63 72 65 6d 65 6e 74 61 6c 20 73 |se incremental s| 00009cd0 65 61 72 63 68 2c 20 6f 72 20 6b 65 79 62 6f 61 |earch, or keyboa| 00009ce0 72 64 20 73 65 6c 65 63 74 69 6f 6e 20 6f 66 20 |rd selection of | 00009cf0 72 65 67 69 6f 6e 73 2e 20 42 6f 74 68 20 74 68 |regions. Both th| 00009d00 65 73 65 0a 61 63 74 69 6f 6e 73 20 69 6e 76 6f |ese.actions invo| 00009d10 6c 76 65 20 74 68 65 20 45 73 63 61 70 65 20 6b |lve the Escape k| 00009d20 65 79 2e 0a 0a 54 68 69 73 20 66 65 61 74 75 72 |ey...This featur| 00009d30 65 20 6f 66 20 7a 61 70 20 68 61 73 20 6d 61 6e |e of zap has man| 00009d40 79 20 75 73 65 73 3a 0a 0a 45 78 61 6d 70 6c 65 |y uses:..Example| 00009d50 20 31 3a 0a 0a 53 75 70 70 6f 73 65 20 79 6f 75 | 1:..Suppose you| 00009d60 20 77 61 6e 74 65 64 20 74 6f 20 69 6e 73 65 72 | wanted to inser| 00009d70 74 20 61 20 74 61 62 20 61 74 20 74 68 65 20 62 |t a tab at the b| 00009d80 65 67 69 6e 6e 69 6e 67 20 6f 66 20 61 20 67 72 |eginning of a gr| 00009d90 6f 75 70 20 6f 66 20 6c 69 6e 65 73 2e 20 4f 6e |oup of lines. On| 00009da0 65 0a 77 61 79 20 77 6f 75 6c 64 20 62 65 20 74 |e.way would be t| 00009db0 6f 20 75 73 65 20 74 68 65 20 69 6e 64 65 6e 74 |o use the indent| 00009dc0 20 72 65 67 69 6f 6e 20 6f 70 74 69 6f 6e 2e 20 | region option. | 00009dd0 41 6e 6f 74 68 65 72 20 77 61 79 20 68 6f 77 65 |Another way howe| 00009de0 76 65 72 20 77 6f 75 6c 64 20 62 65 20 74 6f 0a |ver would be to.| 00009df0 6c 65 61 72 6e 20 74 68 65 20 73 65 71 75 65 6e |learn the sequen| 00009e00 63 65 3a 20 54 41 42 2c 44 4f 57 4e 2c 43 4c 45 |ce: TAB,DOWN,CLE| 00009e10 46 54 20 61 6e 64 20 74 68 65 6e 20 70 72 65 73 |FT and then pres| 00009e20 73 20 46 31 20 61 20 6e 75 6d 62 65 72 20 6f 66 |s F1 a number of| 00009e30 20 74 69 6d 65 73 2e 0a 0a 45 78 61 6d 70 6c 65 | times...Example| 00009e40 20 32 3a 0a 0a 53 75 70 70 6f 73 65 20 79 6f 75 | 2:..Suppose you| 00009e50 20 77 61 6e 74 65 64 20 74 6f 20 67 6f 20 74 6f | wanted to go to| 00009e60 20 74 68 65 20 6e 65 78 74 20 6d 61 74 63 68 20 | the next match | 00009e70 6f 66 20 27 63 61 74 27 20 61 6e 64 20 73 77 69 |of 'cat' and swi| 00009e80 74 63 68 20 74 68 65 20 63 61 73 65 20 6f 66 0a |tch the case of.| 00009e90 74 68 65 20 6c 65 74 74 65 72 73 2e 20 59 6f 75 |the letters. You| 00009ea0 20 63 6f 75 6c 64 20 6c 65 61 72 6e 20 74 68 65 | could learn the| 00009eb0 20 73 65 71 75 65 6e 63 65 3a 0a 0a 20 63 74 72 | sequence:.. ctr| 00009ec0 6c 2d 53 20 43 20 41 20 54 20 45 53 43 41 50 45 |l-S C A T ESCAPE| 00009ed0 20 4c 45 46 54 20 4c 45 46 54 20 4c 45 46 54 20 | LEFT LEFT LEFT | 00009ee0 73 63 53 20 73 63 53 20 73 63 53 0a 20 0a 61 6e |scS scS scS. .an| 00009ef0 64 20 74 68 65 6e 20 70 72 65 73 73 20 46 31 20 |d then press F1 | 00009f00 61 20 6e 75 6d 62 65 72 20 6f 66 20 74 69 6d 65 |a number of time| 00009f10 73 2e 0a 0a 45 78 65 72 63 69 73 65 20 28 66 6f |s...Exercise (fo| 00009f20 72 20 74 68 65 20 72 65 61 64 65 72 29 3a 0a 0a |r the reader):..| 00009f30 57 68 65 6e 20 65 64 69 74 69 6e 67 20 74 68 69 |When editing thi| 00009f40 73 20 21 48 65 6c 70 20 66 69 6c 65 20 49 20 64 |s !Help file I d| 00009f50 65 63 69 64 65 64 20 74 6f 20 73 77 69 74 63 68 |ecided to switch| 00009f60 20 74 68 65 20 63 6f 6c 75 6d 6e 73 20 6c 61 62 | the columns lab| 00009f70 65 6c 6c 65 64 20 27 4b 65 79 3a 27 0a 61 6e 64 |elled 'Key:'.and| 00009f80 20 27 43 6f 6d 6d 61 6e 64 3a 27 20 61 72 6f 75 | 'Command:' arou| 00009f90 6e 64 20 69 6e 20 73 65 63 74 69 6f 6e 20 41 2e |nd in section A.| 00009fa0 31 2e 20 49 20 64 69 64 20 74 68 69 73 20 62 79 |1. I did this by| 00009fb0 20 6c 65 61 72 6e 69 6e 67 20 61 20 6b 65 79 20 | learning a key | 00009fc0 73 65 71 75 65 6e 63 65 0a 61 6e 64 20 74 68 65 |sequence.and the| 00009fd0 6e 20 49 20 6f 6e 6c 79 20 68 61 64 20 74 6f 20 |n I only had to | 00009fe0 70 72 65 73 73 20 46 31 20 6f 6e 63 65 20 66 6f |press F1 once fo| 00009ff0 72 20 65 61 63 68 20 6c 69 6e 65 2e 20 57 68 61 |r each line. Wha| 0000a000 74 20 77 61 73 20 74 68 65 20 73 65 71 75 65 6e |t was the sequen| 0000a010 63 65 3f 0a 28 6e 6f 20 70 72 69 7a 65 73 20 75 |ce?.(no prizes u| 0000a020 6e 66 6f 72 74 75 6e 61 74 65 6c 79 29 2e 0a 0a |nfortunately)...| 0000a030 46 2e 32 20 54 61 62 73 20 61 6e 64 20 69 6e 64 |F.2 Tabs and ind| 0000a040 65 6e 74 69 6e 67 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d |enting.---------| 0000a050 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 |-------------..T| 0000a060 68 65 20 73 74 61 6e 64 61 72 64 20 74 61 62 20 |he standard tab | 0000a070 63 68 61 72 61 63 74 65 72 20 69 73 20 74 61 6b |character is tak| 0000a080 65 6e 20 74 6f 20 62 65 20 26 30 39 2e 20 59 6f |en to be &09. Yo| 0000a090 75 20 6d 61 79 20 61 6c 74 65 72 20 74 68 69 73 |u may alter this| 0000a0a0 20 66 72 6f 6d 20 74 68 65 0a 27 44 69 73 70 6c | from the.'Displ| 0000a0b0 61 79 2e 54 61 62 73 27 20 6d 65 6e 75 2e 20 54 |ay.Tabs' menu. T| 0000a0c0 68 69 73 20 6d 65 6e 75 20 61 6c 73 6f 20 61 6c |his menu also al| 0000a0d0 6c 6f 77 73 20 79 6f 75 20 74 6f 20 61 6c 74 65 |lows you to alte| 0000a0e0 72 20 74 68 65 20 61 70 70 65 61 72 61 6e 63 65 |r the appearance| 0000a0f0 20 6f 66 0a 54 61 62 73 2e 20 54 68 65 20 6d 65 | of.Tabs. The me| 0000a100 6e 75 20 27 4d 69 73 63 2e 54 61 62 20 6d 6f 64 |nu 'Misc.Tab mod| 0000a110 65 27 20 63 6f 6e 74 72 6f 6c 73 20 68 6f 77 20 |e' controls how | 0000a120 74 61 62 73 20 61 72 65 20 65 6e 74 65 72 65 64 |tabs are entered| 0000a130 20 77 68 65 6e 20 79 6f 75 20 70 72 65 73 73 0a | when you press.| 0000a140 74 68 65 20 54 41 42 20 6b 65 79 2e 20 49 6e 20 |the TAB key. In | 0000a150 27 55 6e 69 78 27 20 6d 6f 64 65 20 74 68 65 20 |'Unix' mode the | 0000a160 63 68 61 72 61 63 74 65 72 20 26 30 39 20 69 73 |character &09 is| 0000a170 20 69 6e 73 65 72 74 65 64 2e 20 49 6e 20 27 21 | inserted. In '!| 0000a180 45 64 69 74 27 20 6d 6f 64 65 2c 0a 74 68 65 20 |Edit' mode,.the | 0000a190 63 75 72 73 6f 72 20 6d 6f 76 65 73 20 74 6f 20 |cursor moves to | 0000a1a0 74 68 65 20 63 6f 6c 75 6d 6e 20 77 68 69 63 68 |the column which| 0000a1b0 20 73 74 61 72 74 73 20 74 68 65 20 6e 65 78 74 | starts the next| 0000a1c0 20 77 6f 72 64 20 6f 6e 20 74 68 65 20 61 62 6f | word on the abo| 0000a1d0 76 65 20 6c 69 6e 65 2e 0a 49 6e 20 63 6f 6c 74 |ve line..In colt| 0000a1e0 61 62 20 6d 6f 64 65 2c 20 74 68 65 20 63 75 72 |ab mode, the cur| 0000a1f0 73 6f 72 20 6d 6f 76 65 73 20 66 6f 72 77 61 72 |sor moves forwar| 0000a200 64 20 27 6e 27 20 63 68 61 72 61 63 74 65 72 73 |d 'n' characters| 0000a210 20 77 68 65 72 65 20 27 6e 27 20 69 73 20 74 68 | where 'n' is th| 0000a220 65 0a 63 75 72 72 65 6e 74 20 63 6f 6c 74 61 62 |e.current coltab| 0000a230 20 77 69 64 74 68 2e 20 49 6e 20 74 68 65 20 6c | width. In the l| 0000a240 61 74 74 65 72 20 74 77 6f 2c 20 61 73 20 6d 61 |atter two, as ma| 0000a250 6e 79 20 74 61 62 20 63 68 61 72 61 63 74 65 72 |ny tab character| 0000a260 73 20 61 73 20 70 6f 73 73 69 62 6c 65 0a 61 72 |s as possible.ar| 0000a270 65 20 69 6e 73 65 72 74 65 64 2e 20 49 66 20 79 |e inserted. If y| 0000a280 6f 75 20 77 69 73 68 20 73 70 61 63 65 73 20 6f |ou wish spaces o| 0000a290 6e 6c 79 20 74 6f 20 62 65 20 69 6e 73 65 72 74 |nly to be insert| 0000a2a0 65 64 2c 20 74 68 65 6e 20 74 69 63 6b 20 74 68 |ed, then tick th| 0000a2b0 65 20 27 61 73 0a 73 70 61 63 65 73 27 20 6d 65 |e 'as.spaces' me| 0000a2c0 6e 75 20 6f 70 74 69 6f 6e 2e 20 55 73 65 20 73 |nu option. Use s| 0000a2d0 68 69 66 74 2d 54 41 42 20 74 6f 20 73 77 69 74 |hift-TAB to swit| 0000a2e0 63 68 20 62 65 74 77 65 65 6e 20 27 55 6e 69 78 |ch between 'Unix| 0000a2f0 27 20 61 6e 64 20 27 21 45 64 69 74 27 20 74 61 |' and '!Edit' ta| 0000a300 62 0a 6d 6f 64 65 73 2e 0a 0a 54 6f 20 69 6e 64 |b.modes...To ind| 0000a310 65 6e 74 20 61 20 72 65 67 69 6f 6e 2c 20 66 69 |ent a region, fi| 0000a320 72 73 74 20 73 65 6c 65 63 74 20 69 74 20 61 6e |rst select it an| 0000a330 64 20 74 68 65 20 75 73 65 20 74 68 65 20 27 53 |d the use the 'S| 0000a340 65 6c 65 63 74 69 6f 6e 2e 49 6e 64 65 6e 74 27 |election.Indent'| 0000a350 20 6d 65 6e 75 0a 6f 70 74 69 6f 6e 2e 20 54 79 | menu.option. Ty| 0000a360 70 65 20 27 6e 27 20 74 6f 20 69 6e 64 65 6e 74 |pe 'n' to indent| 0000a370 20 62 79 20 6e 20 73 70 61 63 65 73 2c 20 27 2d | by n spaces, '-| 0000a380 6e 27 20 74 6f 20 72 65 6d 6f 76 65 20 6e 20 73 |n' to remove n s| 0000a390 70 61 63 65 73 2c 20 6f 72 20 74 79 70 65 20 61 |paces, or type a| 0000a3a0 0a 73 74 72 69 6e 67 20 74 6f 20 69 6e 64 65 6e |.string to inden| 0000a3b0 74 20 62 79 20 74 68 61 74 20 73 74 72 69 6e 67 |t by that string| 0000a3c0 2e 0a 0a 46 2e 33 20 46 6f 6e 74 73 20 61 6e 64 |...F.3 Fonts and| 0000a3d0 20 66 6f 6e 74 20 73 69 7a 65 73 0a 2d 2d 2d 2d | font sizes.----| 0000a3e0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 0000a3f0 2d 2d 2d 2d 0a 0a 54 68 65 20 66 6f 6e 74 20 75 |----..The font u| 0000a400 73 65 64 20 69 6e 20 61 20 7a 61 70 20 77 69 6e |sed in a zap win| 0000a410 64 6f 77 20 69 73 20 64 65 74 65 72 6d 69 6e 65 |dow is determine| 0000a420 64 20 62 79 20 74 68 65 20 27 44 69 73 70 6c 61 |d by the 'Displa| 0000a430 79 2e 46 6f 6e 74 27 20 6d 65 6e 75 2e 20 54 68 |y.Font' menu. Th| 0000a440 65 0a 66 69 72 73 74 20 33 20 69 74 65 6d 73 20 |e.first 3 items | 0000a450 73 65 6c 65 63 74 20 74 68 65 20 73 79 73 74 65 |select the syste| 0000a460 6d 20 66 6f 6e 74 20 64 72 61 77 6e 20 69 6e 20 |m font drawn in | 0000a470 61 20 6e 75 6d 62 65 72 20 6f 66 20 64 69 66 66 |a number of diff| 0000a480 65 72 65 6e 74 20 77 61 79 73 2e 20 54 68 65 0a |erent ways. The.| 0000a490 66 69 72 73 74 20 74 77 6f 20 75 73 65 20 64 69 |first two use di| 0000a4a0 72 65 63 74 20 73 63 72 65 65 6e 20 61 63 63 65 |rect screen acce| 0000a4b0 73 73 20 61 6e 64 20 74 68 65 20 6c 61 74 74 65 |ss and the latte| 0000a4c0 72 20 75 73 65 73 20 74 68 65 20 56 44 55 20 64 |r uses the VDU d| 0000a4d0 72 69 76 65 72 73 2e 20 54 68 65 0a 63 61 63 68 |rivers. The.cach| 0000a4e0 65 64 20 73 79 73 74 65 6d 20 66 6f 6e 74 20 6d |ed system font m| 0000a4f0 61 79 20 62 65 20 75 70 64 61 74 65 20 62 79 20 |ay be update by | 0000a500 63 6c 69 63 6b 69 6e 67 20 6f 6e 20 27 4f 70 74 |clicking on 'Opt| 0000a510 69 6f 6e 73 2e 43 74 72 6c 63 68 61 72 73 2e 44 |ions.Ctrlchars.D| 0000a520 65 66 61 75 6c 74 27 2e 0a 0a 54 6f 20 75 73 65 |efault'...To use| 0000a530 20 61 20 66 6f 6e 74 20 6f 74 68 65 72 20 74 68 | a font other th| 0000a540 61 6e 20 74 68 65 20 73 79 73 74 65 6d 20 66 6f |an the system fo| 0000a550 6e 74 20 73 65 6c 65 63 74 20 65 69 74 68 65 72 |nt select either| 0000a560 20 74 68 65 20 66 6f 75 72 74 68 20 6f 72 20 66 | the fourth or f| 0000a570 69 66 74 68 0a 69 74 65 6d 73 2e 20 54 68 65 20 |ifth.items. The | 0000a580 66 6f 75 72 74 68 20 64 69 73 70 6c 61 79 73 20 |fourth displays | 0000a590 61 6e 20 61 6e 74 69 2d 61 6c 69 61 73 65 64 20 |an anti-aliased | 0000a5a0 66 6f 6e 74 20 62 79 20 64 69 72 65 63 74 20 73 |font by direct s| 0000a5b0 63 72 65 65 6e 20 61 63 63 65 73 73 20 28 61 6e |creen access (an| 0000a5c0 64 0a 74 68 75 73 20 75 73 65 73 20 71 75 69 74 |d.thus uses quit| 0000a5d0 65 20 61 20 62 69 74 20 6f 66 20 6d 65 6d 6f 72 |e a bit of memor| 0000a5e0 79 29 20 61 6e 64 20 74 68 65 20 66 69 66 74 68 |y) and the fifth| 0000a5f0 20 76 69 61 20 6e 6f 72 6d 61 6c 20 46 6f 6e 74 | via normal Font| 0000a600 5f 50 61 69 6e 74 20 63 61 6c 6c 2e 0a 54 68 65 |_Paint call..The| 0000a610 20 66 6f 6e 74 20 6e 61 6d 65 20 61 6e 64 20 73 | font name and s| 0000a620 69 7a 65 20 63 61 6e 20 62 65 20 73 65 6c 65 63 |ize can be selec| 0000a630 74 65 64 20 76 69 61 20 74 68 65 20 6c 61 73 74 |ted via the last| 0000a640 20 74 77 6f 20 69 74 65 6d 73 2e 20 49 66 20 79 | two items. If y| 0000a650 6f 75 20 74 79 70 65 20 69 6e 0a 61 20 6c 75 64 |ou type in.a lud| 0000a660 69 63 72 6f 75 73 6c 79 20 6c 61 72 67 65 20 73 |icrously large s| 0000a670 69 7a 65 2c 20 74 68 65 6e 20 77 65 69 72 64 20 |ize, then weird | 0000a680 74 68 69 6e 67 73 20 6d 61 79 20 68 61 70 70 65 |things may happe| 0000a690 6e 21 0a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |n!..************| 0000a6a0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 0000a6d0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 2a 20 |*************.* | 0000a6e0 53 65 63 74 69 6f 6e 20 47 3a 09 48 6f 77 20 74 |Section G:.How t| 0000a6f0 6f 20 66 69 6e 64 20 6f 75 74 20 6d 6f 72 65 09 |o find out more.| 0000a700 09 09 09 09 2a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |....*.**********| 0000a710 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 0000a740 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a |***************.| 0000a750 0a 54 68 65 20 27 48 65 6c 70 64 61 74 61 27 20 |.The 'Helpdata' | 0000a760 66 69 6c 65 20 63 6f 6e 74 61 69 6e 73 20 68 65 |file contains he| 0000a770 6c 70 20 66 6f 72 20 61 6c 6c 20 74 68 65 20 6c |lp for all the l| 0000a780 65 61 66 20 77 69 6e 64 6f 77 73 2c 20 6d 61 69 |eaf windows, mai| 0000a790 6e 20 77 69 6e 64 6f 77 73 2c 20 61 6e 64 0a 6d |n windows, and.m| 0000a7a0 65 6e 75 20 65 6e 74 72 69 65 73 2e 20 41 6c 6c |enu entries. All| 0000a7b0 20 62 75 74 20 74 68 65 20 6d 65 6e 75 20 65 6e | but the menu en| 0000a7c0 74 72 79 20 68 65 6c 70 20 74 65 78 74 20 63 61 |try help text ca| 0000a7d0 6e 20 62 65 20 76 69 65 77 65 64 20 76 69 61 20 |n be viewed via | 0000a7e0 74 68 65 20 21 48 65 6c 70 0a 61 70 70 6c 69 63 |the !Help.applic| 0000a7f0 61 74 69 6f 6e 2e 20 49 20 64 6f 20 6e 6f 74 20 |ation. I do not | 0000a800 73 65 65 20 61 20 77 61 79 20 6f 66 20 67 65 74 |see a way of get| 0000a810 74 69 6e 67 20 21 48 65 6c 70 20 74 6f 20 73 68 |ting !Help to sh| 0000a820 6f 77 20 74 68 65 20 6d 65 6e 75 20 65 6e 74 72 |ow the menu entr| 0000a830 79 20 64 61 74 61 0a 6f 6e 20 52 69 73 63 20 4f |y data.on Risc O| 0000a840 73 20 32 2e 0a 0a 46 6f 72 20 74 68 6f 73 65 20 |s 2...For those | 0000a850 69 6e 74 65 72 65 73 74 65 64 20 69 6e 20 77 72 |interested in wr| 0000a860 69 74 69 6e 67 20 61 6e 20 65 78 74 65 6e 73 69 |iting an extensi| 0000a870 6f 6e 20 6d 6f 64 65 2c 20 6f 72 20 5a 61 70 73 |on mode, or Zaps| 0000a880 20 69 6e 74 65 72 6e 61 6c 20 77 6f 72 6b 69 6e | internal workin| 0000a890 67 73 2c 0a 70 6c 65 61 73 65 20 6c 6f 6f 6b 20 |gs,.please look | 0000a8a0 69 6e 20 74 68 65 20 44 6f 63 73 20 64 69 72 65 |in the Docs dire| 0000a8b0 63 74 6f 72 79 2e 20 54 68 69 73 20 61 6c 73 6f |ctory. This also| 0000a8c0 20 63 6f 6e 74 61 69 6e 73 20 61 20 7a 61 70 20 | contains a zap | 0000a8d0 6b 65 79 73 74 72 69 70 20 69 6e 20 74 68 65 0a |keystrip in the.| 0000a8e0 66 6f 72 6d 20 6f 66 20 61 20 44 72 61 77 20 66 |form of a Draw f| 0000a8f0 69 6c 65 2e 0a 0a 50 6c 65 61 73 65 20 73 65 65 |ile...Please see| 0000a900 20 74 68 65 20 66 69 6c 65 20 27 43 68 61 6e 67 | the file 'Chang| 0000a910 65 73 27 20 66 6f 72 20 6d 79 20 66 75 74 75 72 |es' for my futur| 0000a920 65 20 70 6c 61 6e 73 20 66 6f 72 20 7a 61 70 2e |e plans for zap.| 0000a930 0a 0a 49 6e 20 74 68 65 20 65 76 65 6e 74 20 74 |..In the event t| 0000a940 68 61 74 20 79 6f 75 72 20 63 75 72 69 6f 73 69 |hat your curiosi| 0000a950 74 79 20 63 61 6e 20 6e 6f 74 20 62 65 20 73 61 |ty can not be sa| 0000a960 74 69 73 66 69 65 64 20 62 79 20 74 68 65 20 61 |tisfied by the a| 0000a970 62 6f 76 65 2c 20 74 68 65 6e 0a 70 6c 65 61 73 |bove, then.pleas| 0000a980 65 20 65 2d 6d 61 69 6c 20 6d 65 20 61 74 20 27 |e e-mail me at '| 0000a990 73 79 6d 65 73 40 75 6b 2e 61 63 2e 6f 78 66 6f |symes@uk.ac.oxfo| 0000a9a0 72 64 2e 6d 61 74 68 73 27 2e 0a 0a 49 20 68 6f |rd.maths'...I ho| 0000a9b0 70 65 20 79 6f 75 20 66 69 6e 64 20 5a 61 70 20 |pe you find Zap | 0000a9c0 61 20 75 73 65 66 75 6c 20 70 72 6f 67 72 61 6d |a useful program| 0000a9d0 2e 0a 0a 44 6f 6d 69 6e 69 63 20 53 79 6d 65 73 |...Dominic Symes| 0000a9e0 0a 4d 61 79 20 31 39 39 33 0a |.May 1993.| 0000a9ea