Home » Archimedes archive » Archimedes World » AW-1994-06-Disc2.adf » Disk2Jun94 » !AWJune94/Goodies/Zap/!Help
!AWJune94/Goodies/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 » Archimedes World » AW-1994-06-Disc2.adf » Disk2Jun94 |
Filename: | !AWJune94/Goodies/Zap/!Help |
Read OK: | ✔ |
File size: | E82D bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
***************************************************************************** * >!Help file for !Zap version 1.10 * * Copyright Dominic Symes 1992/1993/1994. 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 5th 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 with minibuffer. * 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 / line-editor. * Emacs compatible keymap. * Auto indent. * Can edit assembler instructions when in code mode. * Tested on Risc Os 2 and 3. ************************************************************************* * Important:* ************************************************************************* (1)If you find this help file too technical, then please look in the ZapPrimer directory. This contains a 'beginners manual', aimed at those used to !Edit. Thanks to David Holden for writing this. (2)This file does NOT contain help on the menu items and dialogue boxes. See the Helpdata file or run the !Help application to find out about these. (3)The 3rdParty extension modes each have their own help file in the 3rdParty directory. (4)If you are changing versions of Zap then please read the 'Changes' file first! ************************************************************************* * Contents: * ************************************************************************* Section AKeys and options. A.1 Summary of default key actions. A.2 How to (re)define more keys. A.3 How to change Zap's default options. A.4 Differences RISCOS 2/3. A.5 Multiple keymaps / the Emacs keymap. A.6 Colour and changing the default colours. Section BLoading/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. B.6 Inserting text/control codes Section CEditing BASIC - PLEASE READ C.1 How to change editors/options. C.2 Using BASIC in ARMBE mode. C.3 Testing BASIC programs. Section DIndividual mode help. D.0 Text mode D.1 Byte mode .. etc .. Section ESearch and Replace. E.1 The Search window. E.2 The Replace window. E.3 Keyboard (incremental) search. Section FOther features. F.1 Learning key sequences - very useful. F.2 Tabs and indenting. F.3 Fonts and font sizes. F.4 Universal arguments. F.5 The minibuffer Section GHow to find out more. G.1 Other help files - MENU help. G.2 Obtaining future versions of Zap. G.3 Contacting me with suggestions/bugs. ************************************************************************* * 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. Many other options are also stored in this file. See section A.3 for more details. Each key mentioned in the 'keys' file has a command name following it. By editing the file and moving the command names about, you can change the action of any key. See section A.2 for more details (the format of a 'keys' file entry and how to define multiple keymaps). Please note that the key short cuts given in the menus are automatically updated to reflect your new choice of keys (for whatever you have set as the default keymap). A summary of the default key bindings is given below. (s=Shift c=Ctrl sc=Shift+Ctrl). Key:Command:Action: ReturnRETURNSplits line / inserts new line in line edit mode. Also indents in auto-indent mode. Edits an instruction in code mode. sReturnRETURNAs above. cReturnRETURNNOINDENTAs RETURN except doesn't auto-indent. DeleteDELETEDelete last character. sDeleteDELETENEXTDelete next character. cDeleteDELLINEDelete current line. scDeleteDELTOENDDelete to end of line. TabTABInserts a variety of tabs - see tab menu. sTabSWITCHTABSwitches between Unix and !Edit tab modes. cTab-Reserved for !Larger/!Menon users. (!Larger - Virtual desktop with many extra features. 10 pounds from Robin Watts/Warm Silence Software 0865-54382). Escape ESCAPEStops copy modes/selection modes/search as you type mode/yank mode. sEscape CANCELCancel operation and return to start posn. cEscapeCOMMANDBrings up a minibuffer in which you can type any Zap command. Equivalent of Emacs M-X. <-|DELETEDelete last character. s<-|LASTMARKJump to last marker c<-|FASTUNDOUndo last operation. CopyCOPYInitiates 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 pressing SELECT on the other. sCopyCOPYFor those who wish to redefine Copy to be DELETENEXT. Copy key still ok in copy mode. cCopySELREGIONStarts selection of a region via cursor keys. Press Escape/cCopy to end the selection. scCopyDUMPFILEProduce text version of the display. InsertTOGGLEINSERTToggle insert and overwrite modes. PrintQUICKPRINTSend file directly to printer. sPrintPRINTFILEPrint file through printer driver. cPrintOPENPRINTEROpen 'printer:$' filer window. scPrintCLOSEPRINTERClose 'printer:$' filer window. Space barCHAR &20Inserts a space. sSpaceCHAR &20As above. cSpaceTOGGLEMARKEmacs compatible. Cursor keys: Left LEFTMoves 1 left / goto last mark in code mode. RightRIGHTMoves 1 right / goto address in code mode. DownDOWNMove 1 line down. UpUPMove 1 line up. sLeft SLEFTMove back one word. sRightSRIGHTMove forward one word. sDown/PageDownSDOWNMove down a page. sUp/PageUp SUPMove up a page. cLeftCLEFTMove to start of logical line. cRightCRIGHTMove to end of logical line. cDownCDOWNMove to end of text (and leave marker). cUpCUPMove to start of text (and leave marker). scLeftSCLEFTMove to the left without moving cursor. scRightSCRIGHTMove to the right without moving cursor. scDownSCDOWNMove down without moving cursor. scUpSCUPMove up without moving cursor. Function keys: F1EXECUTEExecute learnt key sequence (see F.1). F2FINDFILELoad a named file (Emacs C-X C-F). F3SAVEBrings up save box. See save box help. F4SEARCHCURBrings up Search by Goto box. (See E.1). F5 GOTOBrings up Goto line/address box. F6 TOGGLEMARKInserts marker in text/deletes marker. F7SEARCHBUFBrings up Search to buffer box. (See E.1) F8FULLUNDOFull undo (takes longest path in undo tree). F9REDORedo (undo last undo whether full or fast). F10DELLINEDelete current line. sF1SPLITLINESplit line (useful in Basic mode). sF2SWAPWINDOWSwap window (to next window/last used). sF3HEXASCIIToggles hex entry mode when byte/word modes. sF4REPLACEBrings up search and replace box. (See E.2). sF5HELPBrings up this help text. sF6LASTMARKLast mark (eg after ctrl-down by mistake). sF7NEXTMATCHNext match (after an F4 or F7 search). sF8RENUMBERRenumbers a BASIC file. sF9NEXTMARKJump to next set marker. sF10DELTOSTARTDelete to start of line. cF1JOINLINEJoin line (useful in Basic mode). cF2CLOSEWINDOWClose current window (and jump to next). cF3QUICKSAVESave the file with no prompt. cF4NEWVIEWNew view (open new window on this file). cF5WORDWRAPToggle wordwrap mode (w in title). cF6FORMATTEXTFormat text to start of next paragraph. cF7LASTMATCHPrevious match (see sF7). cF8BINDTOKEYBind learnt sequence to a key. cF9SAVESELOpen the 'save selection' window. cF10DELTOENDDelete to end of line (emacs style ctrl K). scF1MODE0Text mode (display in text format) scF2MODE1Byte mode (display in hex bytes) scF3MODE2Word mode (display in hex words) scF4MODE3Ascii mode (display in characters) scF5MODE4Code mode (display in disassembled code) scF6MODE5BASIC mode (display tokenised Basic) scF7MODE6BASTXT mode (display detokenised Basic) scF8MODE7C mode (bracket matching + fn listing) scF9MODE8Colour C mode. scF10MODE9Colour Acorn assembler mode. Ctrl letters: cACLEFTStart of line - emacs compatibility. cBLEFTBack a char - emacs compatibility. cC COPYSELCopy selected region to current position. cDDELETENEXTDelete next char- emacs compatibility. cECRIGHTLine end- emacs compatibility. cFRIGHTForward a char - emacs compatibility. cGCANCELCancel search 'as you type' and return to start. Also cancel any yank operations. Escape from minibuffer. cHOUTDENTOutdent selection by current indent string. cIINDIRECTIndirect (move to the address given by word at cursor - useful in Code mode). cJINDENTIndent selection by string (see selection menu). cKDELTOENDKill line- emacs compatibility. cLLEARNLearn key sequence (see F.1). cMRETURNPerforms return action for current mode. cNDOWNNext line- emacs compatibility. cOTOFRONTBring editor window to front of windows. cPUPPrevious line- emacs compatibility. cQQUOTEInsert next character into text (even if it is a ctrl character. eg cQ,cA inserts #1). cRSEARCHBACKReverse search 'as you type'. cSSEARCHFORWARDSearch 'as you type' forwards. cTSELECTBUFFERSelect entire buffer. cUUNIVERSALARGPerform next instruction 'n' times. Eg cU 4 RETURN A inserts 4 A's. cVMOVESELMove selected region to current position. cWSETWIDTHSet the window width. cXCUTDelete/Cut selected region. cYPASTEPaste/Yank once selected region. cZCLEARSELClear selection. scAADDRESSESAddresses shown at line start. scBBASICDrop into Basic with program downloaded. scCCOMPILESaves then chains/compiles a program. scDINSERTDATEInsert current date (format in 'keys' file). scESAVEANDRUNSaves then runs a program then exits. scFRUNANDEXITRuns a program and then exits. scGTOGGLEWINDToggle window size. scHLISTFNSList function definitions. scINEXTTRACKMove forward one track. scJLASTSECTORMove back one sector. scKNEXTSECTORMove forward one sector. scLLOGICALLogical line numbers shown at line start. scMLASTTRACKMove back one track. scNNOLINENOSRemoves line numbers/addresses. scOTOGGLEHEXLine numbers shown in hex/decimal. scPPHYSICALPhysical line numbers shown at line start. scQSWAPCHARSSwap next two characters around. scRREADONLYToggle read only state (r in title). scSSWAPCASESwap case of next character/selected region. scTINSERTTIMEInsert current time (format in 'Keys' file). scURUNRun a basic program from memory. scV-Reserved. scWKEEPREGIONPut selected region into yank buffer. scXCLOSEOTHERClose other open window. scYYANKYank cyclically through deleted regions. scZKEYMAP 1Emacs prefix key (eg scZ ESC X). sc- (c_)FULLUNDOUndo - emacs compatibility. A.2 How to redefine more keys ----------------------------- At the start of the 'keys' file, the keys for keymap 0 (the default key map) are defined. Each line is of the form "comment &xxx command" where 'comment' is any text without a '&' describing the key, 'xxx' is the number of the key in hexadecimal (Zap key number - see below), ' ' is any number of spaces and tabs, and 'command' is the command (or list of commands) to be attached to that key. You may edit the file to add/remove keys as you please. 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 (or if you do then bind it to the command SUSPEND :-). A list of the valid commands you can use and their actions is given in the file 'Commands' within the 'Docs' directory. This also gives full details of the syntax used. To summarise these details, string parameters must be in double quotes (or omitted if you wish the minibuffer to be opened), and commands can be strung together with the ':' separator (as in BASIC). The Zap key numbers lie in the range &000-&1FF and 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 file E-Keycodes in the docs directory. Example: Suppose you wished ctrl-] to enter the code &1D into the file. Then you would enter the line: "c] &12D CHAR &1D". The keys c0-c9 and sc0-sc9 have been left intentionally blank. I suggest these are used for user commands/macros or binding the learnt sequence to via cF8. See the section A.5 on how to define multiple keymaps and switch between them. 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. 7) Colours. 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. The file entries are in the form: "<comment> &xxx <arg1> <arg2> ... <argn>" where 'xxx' is a number I will call the key variable number. The variable numbers in the keys file are documented below: &000-&1FFThe default keymap. arg1=the command attached to that key code. &200-&20FThese give the 16 search macros. arg1=the macro string (up to 3 chars) arg2=the replacement string. &300The date format to use for scD. arg1=format string as used by the SWI OS_ConvertDateAndTime &301The time format to use for scT. arg1=format string as used by the SWI OS_ConvertDateAndTime &302The default font name to use in font display modes. &303The number of blank lines to leave at the end of a window. &304The default font size in points. &305The number of pixels to shave off the top of a font char. &306The number of pixels to shave off the bottom of a font char. &307The codes to send to the printer at the end of a line for 'quick print'. arg1=string to be GS transed. &308Number of characters to keep cursor from the left margin. &309Number of characters to keep cursor from the right margin. &30ANumber of characters to keep cursor from the top. &30BNumber of characters to keep cursor from the bottom. &30DRight hand margin in pixels. &30EFiletype of file to be created when SELECT clicked on the iconbar. &30FFiletype of file to be created when ADJUST clicked on the iconbar. &310The number of pixels to shave off the left of a font char. &311The number of pixels to shave off the right of a font char. &314The minibuffer size in characters. &315The default indent string. &316Flashing cursor on period in centiseconds. &317Flashing cursor off period in centiseconds. &400The number of the default key map (usually 0). &4xx (xx<>0)Range of keymap xx (see A.5) arg1=smallest Zap keynumber to be supported arg2=largest Zap keynumber to be supported (inclusive) &5xxThese say which mode to load a file on dependent on the path. arg1=filetype to match (-1 for match any) arg2=filename to match - the string can contain any of the wildcards documented under searching. arg3=[+]<mode name> as for arg1 in the 1xxx's below. NB The order in which the names appear is important - the first match will be taken. &1xxxThese specify which of the Zap modes a file of filetype xxx should be loaded in as (when CTRL not pressed). arg1=[+]<mode name> If the optional '+' is present then the file will be loaded even if SHIFT is not held when you double click. The mode name is CASE SENSITIVE. Place the &1xxx variable before the &5xx ones if you want the filetype to be checked before the pathname. &2000As for &1xxx, but the mode to use for UNTYPED files. &10000+These specify alternate keymaps (see A.5). &y0xxxarg1=the command to be mapped to key with code &xxx in keymap number &y. A.4 Differences with RISCOS 2/3 ------------------------------- 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. You can always map ^F12 to the command TASKWINDOW. 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. Another set of templates has been provided for Risc Os 3 users. These are called TemplatesE and I must thank Martin Ebourne for allowing me to include them. A.5 Multiple keymaps / the Emacs keymap. ---------------------------------------- Zap can support several keymaps at once. Each keymap is numbered 0-255. In the default 'keys' file, keymap 0 is the standard Zap keymap and keymap 1 an Emacs emulation keymap. Keymaps 2-4 form part of the Emacs keymap as I will describe below. To switch to keymap n, use the command "BASEMAP n" (by pressing Ctrl-Escape or binding the command to a key). The commands DEFAULTMAP and EMACS act as BASEMAP 0 and BASEMAP 1 respectively. The default keymap to use when Zap starts up is given by variable number &400 in the keys file. Set this to 1 if you wish to use the Emacs keymap all the time. To define a new keymap, keymap number &yy say, you need to do two things. First you must enter a line in the 'keys' file reserving space for the keys. This takes the form: &4yy&aa&bb where &aa is the smallest keynumber you wish to use and &bb the largest (inclusive). See entry &401 for an example. Next you must define the keys. To define key number &xxx you must enter a line in the 'keys' file of the form: &yy0xxx<command> where <command> is the name of the command to be attached to the key. The format of the <command> field is described in A.1 and the 'Commands' file. By using multiple keymaps you can provide for a sequence of keys to execute a command. To do this you need the 'KEYMAP' command. The command 'KEYMAP n' switches the current keymap to 'n'. However, after the next key has been read, the current keymap is restored to whatever basemap you have set with the basemap command. Thus in effect, the keymap only changes for the next keypress (unless that two has a KEYMAP command). For example, in Emacs "Ctrl-X 4 F" loads a file. This is accomplished by setting: Ctrl-X in keymap 1 is bound to KEYMAP 2 4 in keymap 2 is bound to KEYMAP 4 F in keymap 4 is bound to FINDFILE After the command FINDFILE has been executed, the keymap will be restored to 1 for the next key press. A.6 Colour ---------- Colour is changed using the 'Colour' menu off the 'Display' menu, both on the main Zap window menu. The first 9 colours you can change are the same for all modes, being: ColourAction 0Background1The colour used for squares containing no text. 1Background2The colour used for squares containing text. 2ForegroundThe standard foreground colour. 3Selection-BSelection background colour. 4Selection-FSelection foreground colour. 5Cursor-BacCursor background colour (ie the cursor colour). 6Cursor-ForCursor foreground colour. 7Line numsColour used for line numbers (eg in Basic mode). 8Ctrl charsColour used for control characters (0-31). Colours 9-15 are mode dependant and lie below a dotted line. If the 'all modes' flag at the top of the menu is set then when you change one of the colours 0-8 (as above) then it is changed for all modes, not just that one mode. Colours 9-15 only set the colour for that mode regardless of the status of this flag. You will need to change modes to set up the colours for different modes differently. Of course, if you change colours from the window menu, then the colours are only changed for that window and are lost when the window is closed. To change them permanently, use the Display menu off the options menu and then click on 'save options'. ************************************************************************* * 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. (or more generally if there is a '+' for this type in the keys file). (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. (d) Press F2 then type the name of the file and RETURN (TAB completes the filename). When you load a file into Zap, it works out the best mode to load it into. At the moment there are two mechanisms for doing this, both specified in the 'keys' file. These are: (see A.3 for more details). (i) By filename: The keys variables &5xx are followed by a filetype then a filename and then a mode to use. If the (wildcarded) filename matches and the filetype matches then that mode is used. (ii) By filetype: The keys variable &1xxx is followed by the mode name to use for type &xxx. If the name is preceded by a '+' then the file is loaded even if shift is not held. If the file satisfies more than one of the above criterion, then the first one mentioned in the keys file will be used. Sometimes you may wish to load a file in a mode other than its 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]) [view number/number of views]". 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. The view number is only shown if you have more than one view on a file. RRead only and fixed as read only. rRead only but can be toggled to read/write by scR. uUndo supported by this file (so cX acts as cut, not delete). oOverwrite mode active (toggle via Insert key). hHex entry mode active for Byte/Word (toggle via F2). wWordwrap mode active (toggle via cF5). lLine edit mode active (return inserts new line). aAuto indent mode active (see the Edit submenu). nNon standard mode active (used by ARMBE emulation mode). LLine wrap 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. You can change the type of file created by SELECT/ADJUST click in the 'keys' 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. When a file is loaded, OS_FSControl, Canonicalise_Path will be called to convert any path references into full path names (unless you have RISC OS 2). B.2 Saving files ---------------- Press F3 (or click on the menu option 'File') 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 (if you have the check-dates option on - see the options.misc menu), 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 (or clicking on 'File.Save') 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 (ctrl S,D,C are also valid). 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. It sends a LF and a CR to the printer at the end of each line. You may configure the codes sent by altering the 'keys' file variable &307. 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 (or CTRL-COPY). 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. If you do a drag selection after the second/third click, then the text will be selected in words/lines. 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. The !Edit method: To move a region to the cursor position press ctrl-V. To copy a region press ctrl-C. The Emacs method: To move a region cut it with ctrl-X and then paste it with ctrl-Y (the undo buffer must be on to do this). To copy a region, grab it with shift-ctrl-W (Emacs meta-W) and paste it with ctrl-Y. Press shift-ctrl-Y (Emacs meta-Y) to cycle through the previously deleted regions. Also note that multiple presses of ctrl-K or F10 produce data which can be yanked by ctrl-Y. 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! B.6 Inserting text/control codes -------------------------------- In text mode there are two features to help you format text as you type it. The first is called 'word wrap' and is toggled on and off via cF5. The second is called 'line wrap' and can be toggled on and off via the 'Edit' menu (or you can bind the LINEWRAP command to a key if you wish). Whilst either of these modes are active, text typed beyond the 'wrap width' margin (set via the 'Edit' menu) is automatically split at spaces and placed on the next line. 'Wordwrap' differs from 'linewrap' in that when you delete characters, the paragraph will be formatted in wordwrap mode (thus pulling text back) but not in linewrap mode. There are two ways to insert control characters. The first is to 'quote' the character. To do this, press ctrl-Q and then type the control character you want to insert. Eg, ctrl-Q ctrl-A will insert the byte 1. The second is to switch to byte mode (scF2), type the digits in hex and then switch back to text mode (scF1). This assumes that 'hex entry mode' is active in byte mode. When creating macros, by binding a list of commands to a key, you may find the commands INSERT and INSERTGS useful. The first inserts a string into the text and the second GS-Trans's it first. ************************************************************************* * 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&1FFBBASIC to read: Basic&1FFBBASTXT 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 and non-standard flags 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: scBThis drops you into basic with your program loaded at PAGE. scUThis acts as cB and then Runs the program. scFThis 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: scCThis acts as cU but saves the program first and chains it from disc. scEThis 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 shift F3) 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 RISCOS 3, 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 four most useful keys in code mode are cI,Left,Right,Return. 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. The RETURN key enables you to edit an instruction (via the ASSEMBLE command). When you press it, the minibuffer will be opened with the current instruction entered as default. You should then edit the instruction and press RETURN again for it to be assembled and written back. The assembling is done by the ZapBasic module which tokenises the instruction and then uses the BASIC assembler. Hence you may use the basic functions ASC,EQUD,ADR etc. If the file is typed 'Module' then the first few offsets display the module entry point name rather than the instruction. 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 CMODE Mode -------------- This mode provides facilities for editing C, TeX, and Gopher files including bracket/dollar matching and function listing. The mode is written by Bryan Scattergood. Please see the file '3rdParty.CModeHelp' for details about this mode. D.8 C Mode ---------- This provides a coloured C mode. See the file '3rdParty.ZapMjeHelp' for more details. D.9 Assembler Mode ------------------ This provides a coloured Acorn Assembler mode. See the file '3rdParty.ZapMjeHelp' for more details. D.10 Pascal Mode ---------------- See the file '3rdParty.ZapMjeHelp' for more details. D.11 THROWBACK Mode ------------------- This mode handles the files generated by Zap's 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 GBell. 08 CTRL HMove back one character. 09 CTRL IMove forward one character. 10 CTRL JMove down a line. 11 CTRL KMove up a line. 12 CTRL LClear text window. 13 CTRL MMove to line start. 22 CTRL VChange mode. 26 CTRL ZRestore text window. 28Define text window. 30Home cursor. 31Move 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. Control keys and function keys are NOT passed on to the taskwindow so you can use CTRL-C to copy commands to the current taskwindow line. If you want to send a control key or function key to the taskwindow then this can be done by quoting it with CTRL-Q. For example, CTRL-Q CTRL-L will clear the screen, and CTRL-Q F1 will cause function key F1 to be expanded in the taskwindow. 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 beginning of the 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.Save options'. 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. xMatches character 'x' (according to case sensitivity). \xMatches 'x' case sensitively, unless \x mentioned below. `xMatches '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 the most number of repetitions of the previous expression. Thus \[0-9]\% matches '1' in '1pt' and the '395' in 'ab395rty'. \|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 letters ONLY. It's effect stops at the next wildcard/bracket/command. It doesn't affect nested/bracketed statements - this will be improved. Eg \+Fred\|Bill matches Fred case sensitively but not Bill. \-As above, but turns off case sensitivity. \\Matches a '\'. \dddWhere 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. \&hhAs above but matches the hex byte hh when h are valid hex chars. \xhhMatches hex numbers as above (where 'x' is the letter 'x'). \A-\ZMatch ctrl A to ctrl Z. \bMatches backspace (8) \fMatches a form feed (12) \nMatches a new line (10) \oMatches any character except a '.' (useful for matching filenames). \rMatches a return (13) \tMatches a tab (9) \vMatches a vertical tab (11) 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|matMatches cat or mat. re*mentMatches any occurrence of 're' then 'ment' on a line. SWI Matches any SWI (in code mode). LDR|STRMatches any load or store instruction. R6Matches any instruction using R6. BL*&0000A95CMatches any call to &0000A95C. \&0AMatches the byte &0A. \<fredMatches fred, but only at the start of a line. main`(Matches 'main(' \d\%Matches any number (where \d is macroed as \[0-9]). 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: \dddReplace with the decimal byte ddd. \&hhReplace with the hex byte hh. \xReplace with character 'x' (eg '\\' -> '\'). &nReplace 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). Note that macros like '\n' should not be inserted in a replace string, you will just get 'n'. 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. To convert spaces between columns of figures in a table into tab characters make the find string '{\d} \*' and the replace string '&1\9'. Another way to do this is replace '{\d} \%' with '&1\9'. E.3 Keyboard (incremental/interactive) search --------------------------------------------- Incremental search is activated by pressing ctrl-S (Search forward) or ctrl-R (Reverse search). When you do this a minibuffer will be opened for you to type the search string into. As you type the search string, Zap will search through the text placing the cursor at the end of the next match. If there is no match then Zap will beep and print "(fail)". You may use the DELETE key to remove characters from the search string. To halt the search at the current position, press Escape or Return. If you press an arrow or function key then the search will be halted and the key then acted upon. 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. If the search string was empty then the previous search string will be placed in the buffer. Macros are turned off during the search so ('s etc act as normal. However, \( and all other \-starting commands will still work so you must type \\ to search for a \. ************************************************************************* * 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. Once you have learnt a sequence, you may 'bind' that sequence to a key so that pressing that key in future causes the same series of actions to take place. To do this press CTRL F8 and then press the key you want to bind the sequence to (or Escape if it was a mistake - Escape won't be bound). The learn feature 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 (or Ctrl J). Type 'n' to indent by n spaces, '-n' to remove n spaces, or type a string to indent by that string. To outdent a region use Ctrl H. The region is outdented by the length of the current indent string (thus a negative indent string will cause outdent to indent :-). 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 updated 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! To configure the font name and size, change variables &302 and &304 in the keys file. You may also use variables &305/306/310/311 to shave off surplus spacing around font characters. Fonts are monospaced. When using the FAST FONT option, it should be noted that the font is only cached in one set of anti aliased colours. These are taken to be the default colours for text mode foreground and background. All other colours are drawn, but not anti-aliased. F.4 Universal arguments. ------------------------ The universal argument feature enables you to execute a keypress an arbitrary number of times. Suppose for example you wanted to insert 100 spaces. The quick way to do this is to type: CTRL-U 100 SPACE In general you type CTRL-U then the number of times you want the key to be executed, then press Return, then press the key to execute. The 'pressing Return' step can be omitted if the key you want to repeat is not delete or a digit or another valid key for editing the number you are typing (as in the example above). F.5 The minibuffer ------------------ Some Zap commands can take parameters. In order that these parameters can be entered at run time, a minibuffer is provided. If you type a command into the 'keys' file without specifying its parameter then, when you press that key, the minibuffer opens. You should type in the command argument and then press RETURN. Several examples keys are cESC,cS,cR,cW,F2. Several control keys have default meanings in the minibuffer. These can not at the moment be reconfigured, but are compatible with the Emacs minibuffer keys: cA / cLeftMove to start of line cB / LeftMove back a character cD / sDeleteDelete the next character cE / cRightMove to end of line cF / RightMove forward a character cG / EscapeQuit the minibuffer cKDelete to end of line cUClear minibuffer TABComplete key (eg after F2, TAB will complete filenames) RETURNExecute the command. These keys can be redefined by commands, but should remain as consistent as possible with the above. ************************************************************************* * Section G:How to find out more* ************************************************************************* G.1 Other help files -------------------- The 'Helpdata' file contains help for all the leaf windows, main windows, and MENU entries. You can view this by using Acorn's !Help application, or just by loading the text file. On RISC OS 2/3.0 you cannot get help on the menu entries, only the windows (but you can just read the file directly). The 'Docs.Commands' file gives a list of all currently defined Zap commands and their syntax. These will be useful for turning keys into macros. For example INSERT "Hello":RETURN. For those interested in writing an extension mode, or adding new commands, or Zap's internal workings, please look in the Docs directory. You should start with the file called ReadMe. This directory also contains a Zap keystrip in the form of a Draw file. Please see the file 'Changes' for my future plans for Zap. G.2 Obtaining future versions of Zap ------------------------------------ I will be sending any future versions (>1) of Zap to: 1) Hensa: e-mail: archive-server@micros.hensa.ac.uk (send message 'help') ftp : micros.hensa.ac.uk (IP 148.88.8.84) (The Newcastle Info Server has unfortunately been closed down :-( ). 2) The Archimedes Public Domain Library: 39 Knighton Park Road Sydenham London SE26 5RN Please look at the 'Changes' file for the anticipated release date. G.3 Contacting me with suggestions/bugs --------------------------------------- Suggestions and bug reports are welcome. See the Copyright file for my address (E-Mail preferred). Before sending suggestions please read the 'Changes' file where I list the things currently on my 'wish list'. If you find a bug then please give me as many details as possible as to the circumstances that cause it - try and get it repeatable. If you have a comment on a Zap extension mode not written by me then please write to the author (see 3rdParty.ReadMe). I hope you find Zap a useful program. Dominic Symes March 1994
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 31 2e 31 |!Zap version 1.1| 00000070 30 09 09 09 09 09 20 20 20 20 2a 0a 2a 20 43 6f |0..... *.* Co| 00000080 70 79 72 69 67 68 74 20 44 6f 6d 69 6e 69 63 20 |pyright Dominic | 00000090 53 79 6d 65 73 20 31 39 39 32 2f 31 39 39 33 2f |Symes 1992/1993/| 000000a0 31 39 39 34 2e 20 53 65 65 20 27 43 6f 70 79 72 |1994. See 'Copyr| 000000b0 69 67 68 74 27 20 66 69 6c 65 2e 20 20 20 20 20 |ight' file. | 000000c0 20 09 20 20 20 20 2a 0a 2a 20 4e 42 20 54 68 69 | . *.* NB Thi| 000000d0 73 20 70 72 6f 67 72 61 6d 20 6e 65 65 64 73 20 |s program needs | 000000e0 74 68 65 20 43 4f 4c 4f 55 52 53 20 6d 6f 64 75 |the COLOURS modu| 000000f0 6c 65 20 74 6f 20 72 75 6e 2e 20 49 74 20 69 73 |le to run. It is| 00000100 20 69 6e 20 21 53 79 73 74 65 6d 2e 4d 6f 64 75 | in !System.Modu| 00000110 6c 65 73 20 2a 0a 2a 20 20 20 6f 6e 20 41 63 6f |les *.* on Aco| 00000120 72 6e 27 73 20 41 70 70 6c 69 63 61 74 69 6f 6e |rn's Application| 00000130 20 64 69 73 63 20 31 2e 20 49 66 20 69 6e 20 64 | disc 1. If in d| 00000140 6f 75 62 74 2c 20 64 6f 75 62 6c 65 20 63 6c 69 |oubt, double cli| 00000150 63 6b 20 6f 6e 20 21 53 79 73 74 65 6d 2e 20 20 |ck on !System. | 00000160 20 20 2a 0a 2a 2a 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 0a 0a 54 68 69 73 20 69 73 20 74 68 65 20 35 |*..This is the 5| 000001c0 74 68 20 72 65 6c 65 61 73 65 20 76 65 72 73 69 |th release versi| 000001d0 6f 6e 20 6f 66 20 74 68 65 20 74 65 78 74 20 65 |on of the text e| 000001e0 64 69 74 6f 72 20 21 5a 61 70 2e 0a 0a 4d 61 69 |ditor !Zap...Mai| 000001f0 6e 20 66 65 61 74 75 72 65 73 3a 2a 20 44 69 73 |n features:* Dis| 00000200 70 6c 61 79 20 6d 61 79 20 62 65 20 69 6e 20 74 |play may be in t| 00000210 65 78 74 2c 20 62 79 74 65 20 6f 72 20 64 69 73 |ext, byte or dis| 00000220 61 73 73 65 6d 62 6c 79 20 66 6f 72 6d 61 74 2e |assembly format.| 00000230 0a 2a 20 41 6c 6c 20 6b 65 79 20 73 68 6f 72 74 |.* All key short| 00000240 20 63 75 74 73 20 61 72 65 20 75 73 65 72 20 72 | cuts are user r| 00000250 65 64 65 66 69 6e 61 62 6c 65 2e 0a 2a 20 41 75 |edefinable..* Au| 00000260 74 6f 6d 61 74 69 63 20 75 70 64 61 74 69 6e 67 |tomatic updating| 00000270 20 6c 69 6e 65 20 6e 75 6d 62 65 72 73 20 26 20 | line numbers & | 00000280 66 69 6c 65 20 61 64 64 72 65 73 73 65 73 2e 0a |file addresses..| 00000290 2a 20 46 75 6c 6c 20 28 75 6e 69 78 20 73 74 79 |* Full (unix sty| 000002a0 6c 65 29 20 77 69 6c 64 63 61 72 64 20 73 65 61 |le) wildcard sea| 000002b0 72 63 68 20 77 69 74 68 20 79 6f 75 72 20 6f 77 |rch with your ow| 000002c0 6e 20 64 65 66 69 6e 61 62 6c 65 0a 20 20 6d 61 |n definable. ma| 000002d0 63 72 6f 73 20 61 6e 64 20 73 65 61 72 63 68 20 |cros and search | 000002e0 27 74 68 72 6f 77 62 61 63 6b 27 20 62 75 66 66 |'throwback' buff| 000002f0 65 72 73 2e 0a 2a 20 50 72 6f 70 65 72 20 75 6e |ers..* Proper un| 00000300 69 78 20 74 61 62 73 20 61 6e 64 20 74 72 75 65 |ix tabs and true| 00000310 20 73 63 72 6f 6c 6c 62 61 72 20 6f 70 65 72 61 | scrollbar opera| 00000320 74 69 6f 6e 2e 0a 2a 20 46 75 6c 6c 20 75 6e 64 |tion..* Full und| 00000330 6f 20 6f 6e 20 61 6c 6c 20 6f 70 65 72 61 74 69 |o on all operati| 00000340 6f 6e 73 2e 0a 2a 20 43 4f 50 59 20 6b 65 79 20 |ons..* COPY key | 00000350 63 61 75 73 65 73 20 73 74 61 6e 64 61 72 64 20 |causes standard | 00000360 63 75 72 73 6f 72 20 65 64 69 74 69 6e 67 2e 0a |cursor editing..| 00000370 2a 20 46 61 73 74 20 72 65 64 72 61 77 20 69 6e |* Fast redraw in| 00000380 20 73 79 73 74 65 6d 20 6f 72 20 61 6e 74 69 2d | system or anti-| 00000390 61 6c 69 61 73 65 64 20 66 6f 6e 74 73 2e 0a 2a |aliased fonts..*| 000003a0 20 41 6e 79 20 6e 75 6d 62 65 72 20 6f 66 20 6d | Any number of m| 000003b0 61 72 6b 65 72 73 20 6f 6e 20 65 61 63 68 20 66 |arkers on each f| 000003c0 69 6c 65 2c 20 61 6e 64 20 61 20 66 61 63 69 6c |ile, and a facil| 000003d0 69 74 79 20 66 6f 72 0a 20 20 66 6f 6c 6c 6f 77 |ity for. follow| 000003e0 69 6e 67 20 62 72 61 6e 63 68 65 73 20 69 6e 20 |ing branches in | 000003f0 64 69 73 61 73 73 65 6d 62 6c 79 20 6d 6f 64 65 |disassembly mode| 00000400 2e 0a 2a 20 46 75 6c 6c 20 41 52 4d 42 45 20 73 |..* Full ARMBE s| 00000410 74 79 6c 65 20 42 41 53 49 43 20 45 64 69 74 6f |tyle BASIC Edito| 00000420 72 2e 0a 2a 20 53 65 61 72 63 68 20 61 73 20 79 |r..* Search as y| 00000430 6f 75 20 74 79 70 65 20 77 69 74 68 20 6d 69 6e |ou type with min| 00000440 69 62 75 66 66 65 72 2e 0a 2a 20 4c 65 61 72 6e |ibuffer..* Learn| 00000450 73 20 6b 65 79 73 20 73 65 71 75 65 6e 63 65 73 |s keys sequences| 00000460 2e 0a 2a 20 45 6d 61 63 73 20 73 74 79 6c 65 20 |..* Emacs style | 00000470 59 61 6e 6b 20 28 43 75 74 20 26 20 50 61 73 74 |Yank (Cut & Past| 00000480 65 29 20 61 6e 64 20 21 45 64 69 74 20 73 74 79 |e) and !Edit sty| 00000490 6c 65 20 6d 6f 76 65 20 61 6e 64 0a 20 20 63 6f |le move and. co| 000004a0 70 79 20 69 6d 70 6c 65 6d 65 6e 74 65 64 2e 0a |py implemented..| 000004b0 2a 20 43 20 74 68 72 6f 77 62 61 63 6b 2f 69 6e |* C throwback/in| 000004c0 66 6f 20 73 75 70 70 6f 72 74 65 64 2e 0a 2a 20 |fo supported..* | 000004d0 52 65 61 64 73 20 64 69 73 63 20 73 65 63 74 6f |Reads disc secto| 000004e0 72 73 2f 74 72 61 63 6b 73 20 61 6e 64 20 6d 65 |rs/tracks and me| 000004f0 6d 6f 72 79 20 6f 66 20 6f 74 68 65 72 20 74 61 |mory of other ta| 00000500 73 6b 73 2e 0a 2a 20 4b 65 79 62 6f 61 72 64 20 |sks..* Keyboard | 00000510 73 65 6c 65 63 74 69 6f 6e 20 6f 66 20 72 65 67 |selection of reg| 00000520 69 6f 6e 73 2e 0a 2a 20 54 61 73 6b 77 69 6e 64 |ions..* Taskwind| 00000530 6f 77 20 73 75 70 70 6f 72 74 73 20 63 6f 6e 74 |ow supports cont| 00000540 72 6f 6c 20 63 68 61 72 61 63 74 65 72 73 20 2f |rol characters /| 00000550 20 6c 69 6e 65 2d 65 64 69 74 6f 72 2e 0a 2a 20 | line-editor..* | 00000560 45 6d 61 63 73 20 63 6f 6d 70 61 74 69 62 6c 65 |Emacs compatible| 00000570 20 6b 65 79 6d 61 70 2e 0a 2a 20 41 75 74 6f 20 | keymap..* Auto | 00000580 69 6e 64 65 6e 74 2e 0a 2a 20 43 61 6e 20 65 64 |indent..* Can ed| 00000590 69 74 20 61 73 73 65 6d 62 6c 65 72 20 69 6e 73 |it assembler ins| 000005a0 74 72 75 63 74 69 6f 6e 73 20 77 68 65 6e 20 69 |tructions when i| 000005b0 6e 20 63 6f 64 65 20 6d 6f 64 65 2e 0a 2a 20 54 |n code mode..* T| 000005c0 65 73 74 65 64 20 6f 6e 20 52 69 73 63 20 4f 73 |ested on Risc Os| 000005d0 20 32 20 61 6e 64 20 33 2e 0a 0a 2a 2a 2a 2a 2a | 2 and 3...*****| 000005e0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000620 2a 2a 2a 2a 0a 2a 20 49 6d 70 6f 72 74 61 6e 74 |****.* Important| 00000630 3a 2a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |:*.*************| 00000640 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000670 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 0a 28 31 |************..(1| 00000680 29 49 66 20 79 6f 75 20 66 69 6e 64 20 74 68 69 |)If you find thi| 00000690 73 20 68 65 6c 70 20 66 69 6c 65 20 74 6f 6f 20 |s help file too | 000006a0 74 65 63 68 6e 69 63 61 6c 2c 20 74 68 65 6e 20 |technical, then | 000006b0 70 6c 65 61 73 65 20 6c 6f 6f 6b 20 69 6e 20 74 |please look in t| 000006c0 68 65 0a 5a 61 70 50 72 69 6d 65 72 20 64 69 72 |he.ZapPrimer dir| 000006d0 65 63 74 6f 72 79 2e 20 54 68 69 73 20 63 6f 6e |ectory. This con| 000006e0 74 61 69 6e 73 20 61 20 27 62 65 67 69 6e 6e 65 |tains a 'beginne| 000006f0 72 73 20 6d 61 6e 75 61 6c 27 2c 20 61 69 6d 65 |rs manual', aime| 00000700 64 20 61 74 0a 74 68 6f 73 65 20 75 73 65 64 20 |d at.those used | 00000710 74 6f 20 21 45 64 69 74 2e 20 54 68 61 6e 6b 73 |to !Edit. Thanks| 00000720 20 74 6f 20 44 61 76 69 64 20 48 6f 6c 64 65 6e | to David Holden| 00000730 20 66 6f 72 20 77 72 69 74 69 6e 67 20 74 68 69 | for writing thi| 00000740 73 2e 0a 0a 28 32 29 54 68 69 73 20 66 69 6c 65 |s...(2)This file| 00000750 20 64 6f 65 73 20 4e 4f 54 20 63 6f 6e 74 61 69 | does NOT contai| 00000760 6e 20 68 65 6c 70 20 6f 6e 20 74 68 65 20 6d 65 |n help on the me| 00000770 6e 75 20 69 74 65 6d 73 20 61 6e 64 20 64 69 61 |nu items and dia| 00000780 6c 6f 67 75 65 0a 62 6f 78 65 73 2e 20 53 65 65 |logue.boxes. See| 00000790 20 74 68 65 20 48 65 6c 70 64 61 74 61 20 66 69 | the Helpdata fi| 000007a0 6c 65 20 6f 72 20 72 75 6e 20 74 68 65 20 21 48 |le or run the !H| 000007b0 65 6c 70 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 |elp application | 000007c0 74 6f 0a 66 69 6e 64 20 6f 75 74 20 61 62 6f 75 |to.find out abou| 000007d0 74 20 74 68 65 73 65 2e 0a 0a 28 33 29 54 68 65 |t these...(3)The| 000007e0 20 33 72 64 50 61 72 74 79 20 65 78 74 65 6e 73 | 3rdParty extens| 000007f0 69 6f 6e 20 6d 6f 64 65 73 20 65 61 63 68 20 68 |ion modes each h| 00000800 61 76 65 20 74 68 65 69 72 20 6f 77 6e 20 68 65 |ave their own he| 00000810 6c 70 20 66 69 6c 65 20 69 6e 20 74 68 65 0a 33 |lp file in the.3| 00000820 72 64 50 61 72 74 79 20 64 69 72 65 63 74 6f 72 |rdParty director| 00000830 79 2e 0a 0a 28 34 29 49 66 20 79 6f 75 20 61 72 |y...(4)If you ar| 00000840 65 20 63 68 61 6e 67 69 6e 67 20 76 65 72 73 69 |e changing versi| 00000850 6f 6e 73 20 6f 66 20 5a 61 70 20 74 68 65 6e 20 |ons of Zap then | 00000860 70 6c 65 61 73 65 20 72 65 61 64 20 74 68 65 20 |please read the | 00000870 27 43 68 61 6e 67 65 73 27 0a 66 69 6c 65 20 66 |'Changes'.file f| 00000880 69 72 73 74 21 0a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a |irst!..*********| 00000890 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 000008d0 0a 2a 20 43 6f 6e 74 65 6e 74 73 3a 20 20 20 20 |.* Contents: | 000008e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000910 20 20 20 20 20 20 20 20 20 2a 0a 2a 2a 2a 2a 2a | *.*****| 00000920 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000960 2a 2a 2a 2a 0a 0a 53 65 63 74 69 6f 6e 20 41 4b |****..Section AK| 00000970 65 79 73 20 61 6e 64 20 6f 70 74 69 6f 6e 73 2e |eys and options.| 00000980 0a 41 2e 31 20 53 75 6d 6d 61 72 79 20 6f 66 20 |.A.1 Summary of | 00000990 64 65 66 61 75 6c 74 20 6b 65 79 20 61 63 74 69 |default key acti| 000009a0 6f 6e 73 2e 0a 41 2e 32 20 48 6f 77 20 74 6f 20 |ons..A.2 How to | 000009b0 28 72 65 29 64 65 66 69 6e 65 20 6d 6f 72 65 20 |(re)define more | 000009c0 6b 65 79 73 2e 0a 41 2e 33 20 48 6f 77 20 74 6f |keys..A.3 How to| 000009d0 20 63 68 61 6e 67 65 20 5a 61 70 27 73 20 64 65 | change Zap's de| 000009e0 66 61 75 6c 74 20 6f 70 74 69 6f 6e 73 2e 0a 41 |fault options..A| 000009f0 2e 34 20 44 69 66 66 65 72 65 6e 63 65 73 20 52 |.4 Differences R| 00000a00 49 53 43 4f 53 20 32 2f 33 2e 0a 41 2e 35 20 4d |ISCOS 2/3..A.5 M| 00000a10 75 6c 74 69 70 6c 65 20 6b 65 79 6d 61 70 73 20 |ultiple keymaps | 00000a20 2f 20 74 68 65 20 45 6d 61 63 73 20 6b 65 79 6d |/ the Emacs keym| 00000a30 61 70 2e 0a 41 2e 36 20 43 6f 6c 6f 75 72 20 61 |ap..A.6 Colour a| 00000a40 6e 64 20 63 68 61 6e 67 69 6e 67 20 74 68 65 20 |nd changing the | 00000a50 64 65 66 61 75 6c 74 20 63 6f 6c 6f 75 72 73 2e |default colours.| 00000a60 0a 0a 53 65 63 74 69 6f 6e 20 42 4c 6f 61 64 69 |..Section BLoadi| 00000a70 6e 67 2f 73 61 76 69 6e 67 2f 70 72 69 6e 74 69 |ng/saving/printi| 00000a80 6e 67 2f 65 64 69 74 69 6e 67 20 66 69 6c 65 73 |ng/editing files| 00000a90 0a 42 2e 31 20 4c 6f 61 64 69 6e 67 20 66 69 6c |.B.1 Loading fil| 00000aa0 65 73 2f 63 72 65 61 74 69 6e 67 20 66 69 6c 65 |es/creating file| 00000ab0 73 2e 0a 42 2e 32 20 53 61 76 69 6e 67 20 66 69 |s..B.2 Saving fi| 00000ac0 6c 65 73 2e 0a 42 2e 33 20 44 75 6d 70 69 6e 67 |les..B.3 Dumping| 00000ad0 2f 70 72 69 6e 74 69 6e 67 20 66 69 6c 65 73 2e |/printing files.| 00000ae0 0a 42 2e 34 20 53 65 6c 65 63 74 69 6e 67 20 72 |.B.4 Selecting r| 00000af0 65 67 69 6f 6e 73 2e 0a 42 2e 35 20 43 6f 70 79 |egions..B.5 Copy| 00000b00 69 6e 67 2f 63 75 74 74 69 6e 67 2f 70 61 73 74 |ing/cutting/past| 00000b10 69 6e 67 2f 79 61 6e 6b 69 6e 67 2e 0a 42 2e 36 |ing/yanking..B.6| 00000b20 20 49 6e 73 65 72 74 69 6e 67 20 74 65 78 74 2f | Inserting text/| 00000b30 63 6f 6e 74 72 6f 6c 20 63 6f 64 65 73 0a 0a 53 |control codes..S| 00000b40 65 63 74 69 6f 6e 20 43 45 64 69 74 69 6e 67 20 |ection CEditing | 00000b50 42 41 53 49 43 20 2d 20 50 4c 45 41 53 45 20 52 |BASIC - PLEASE R| 00000b60 45 41 44 0a 43 2e 31 20 48 6f 77 20 74 6f 20 63 |EAD.C.1 How to c| 00000b70 68 61 6e 67 65 20 65 64 69 74 6f 72 73 2f 6f 70 |hange editors/op| 00000b80 74 69 6f 6e 73 2e 0a 43 2e 32 20 55 73 69 6e 67 |tions..C.2 Using| 00000b90 20 42 41 53 49 43 20 69 6e 20 41 52 4d 42 45 20 | BASIC in ARMBE | 00000ba0 6d 6f 64 65 2e 0a 43 2e 33 20 54 65 73 74 69 6e |mode..C.3 Testin| 00000bb0 67 20 42 41 53 49 43 20 70 72 6f 67 72 61 6d 73 |g BASIC programs| 00000bc0 2e 0a 0a 53 65 63 74 69 6f 6e 20 44 49 6e 64 69 |...Section DIndi| 00000bd0 76 69 64 75 61 6c 20 6d 6f 64 65 20 68 65 6c 70 |vidual mode help| 00000be0 2e 0a 44 2e 30 20 54 65 78 74 20 6d 6f 64 65 0a |..D.0 Text mode.| 00000bf0 44 2e 31 20 42 79 74 65 20 6d 6f 64 65 20 2e 2e |D.1 Byte mode ..| 00000c00 20 65 74 63 20 2e 2e 0a 0a 53 65 63 74 69 6f 6e | etc ....Section| 00000c10 20 45 53 65 61 72 63 68 20 61 6e 64 20 52 65 70 | ESearch and Rep| 00000c20 6c 61 63 65 2e 0a 45 2e 31 20 54 68 65 20 53 65 |lace..E.1 The Se| 00000c30 61 72 63 68 20 77 69 6e 64 6f 77 2e 0a 45 2e 32 |arch window..E.2| 00000c40 20 54 68 65 20 52 65 70 6c 61 63 65 20 77 69 6e | The Replace win| 00000c50 64 6f 77 2e 0a 45 2e 33 20 4b 65 79 62 6f 61 72 |dow..E.3 Keyboar| 00000c60 64 20 28 69 6e 63 72 65 6d 65 6e 74 61 6c 29 20 |d (incremental) | 00000c70 73 65 61 72 63 68 2e 0a 0a 53 65 63 74 69 6f 6e |search...Section| 00000c80 20 46 4f 74 68 65 72 20 66 65 61 74 75 72 65 73 | FOther features| 00000c90 2e 0a 46 2e 31 20 4c 65 61 72 6e 69 6e 67 20 6b |..F.1 Learning k| 00000ca0 65 79 20 73 65 71 75 65 6e 63 65 73 20 2d 20 76 |ey sequences - v| 00000cb0 65 72 79 20 75 73 65 66 75 6c 2e 0a 46 2e 32 20 |ery useful..F.2 | 00000cc0 54 61 62 73 20 61 6e 64 20 69 6e 64 65 6e 74 69 |Tabs and indenti| 00000cd0 6e 67 2e 0a 46 2e 33 20 46 6f 6e 74 73 20 61 6e |ng..F.3 Fonts an| 00000ce0 64 20 66 6f 6e 74 20 73 69 7a 65 73 2e 0a 46 2e |d font sizes..F.| 00000cf0 34 20 55 6e 69 76 65 72 73 61 6c 20 61 72 67 75 |4 Universal argu| 00000d00 6d 65 6e 74 73 2e 0a 46 2e 35 20 54 68 65 20 6d |ments..F.5 The m| 00000d10 69 6e 69 62 75 66 66 65 72 0a 0a 53 65 63 74 69 |inibuffer..Secti| 00000d20 6f 6e 20 47 48 6f 77 20 74 6f 20 66 69 6e 64 20 |on GHow to find | 00000d30 6f 75 74 20 6d 6f 72 65 2e 0a 47 2e 31 20 4f 74 |out more..G.1 Ot| 00000d40 68 65 72 20 68 65 6c 70 20 66 69 6c 65 73 20 2d |her help files -| 00000d50 20 4d 45 4e 55 20 68 65 6c 70 2e 0a 47 2e 32 20 | MENU help..G.2 | 00000d60 4f 62 74 61 69 6e 69 6e 67 20 66 75 74 75 72 65 |Obtaining future| 00000d70 20 76 65 72 73 69 6f 6e 73 20 6f 66 20 5a 61 70 | versions of Zap| 00000d80 2e 0a 47 2e 33 20 43 6f 6e 74 61 63 74 69 6e 67 |..G.3 Contacting| 00000d90 20 6d 65 20 77 69 74 68 20 73 75 67 67 65 73 74 | me with suggest| 00000da0 69 6f 6e 73 2f 62 75 67 73 2e 0a 0a 2a 2a 2a 2a |ions/bugs...****| 00000db0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000df0 2a 2a 2a 2a 2a 0a 2a 20 53 65 63 74 69 6f 6e 20 |*****.* Section | 00000e00 41 3a 4b 65 79 73 20 61 6e 64 20 6f 70 74 69 6f |A:Keys and optio| 00000e10 6e 73 2e 2a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |ns.*.***********| 00000e20 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000e50 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 0a |**************..| 00000e60 41 2e 31 20 44 65 66 61 75 6c 74 20 6b 65 79 20 |A.1 Default key | 00000e70 61 63 74 69 6f 6e 73 0a 2d 2d 2d 2d 2d 2d 2d 2d |actions.--------| 00000e80 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a |---------------.| 00000e90 0a 57 68 65 6e 20 5a 61 70 20 69 73 20 6c 6f 61 |.When Zap is loa| 00000ea0 64 65 64 2c 20 69 74 20 72 65 61 64 73 20 69 6e |ded, it reads in| 00000eb0 20 74 68 65 20 27 6b 65 79 73 27 20 66 69 6c 65 | the 'keys' file| 00000ec0 2c 20 61 6e 64 20 75 73 65 73 20 74 68 69 73 20 |, and uses this | 00000ed0 74 6f 20 63 72 65 61 74 65 20 74 68 65 0a 63 75 |to create the.cu| 00000ee0 72 72 65 6e 74 20 6b 65 79 20 62 69 6e 64 69 6e |rrent key bindin| 00000ef0 67 73 2e 20 4d 61 6e 79 20 6f 74 68 65 72 20 6f |gs. Many other o| 00000f00 70 74 69 6f 6e 73 20 61 72 65 20 61 6c 73 6f 20 |ptions are also | 00000f10 73 74 6f 72 65 64 20 69 6e 20 74 68 69 73 20 66 |stored in this f| 00000f20 69 6c 65 2e 20 53 65 65 0a 73 65 63 74 69 6f 6e |ile. See.section| 00000f30 20 41 2e 33 20 66 6f 72 20 6d 6f 72 65 20 64 65 | A.3 for more de| 00000f40 74 61 69 6c 73 2e 20 45 61 63 68 20 6b 65 79 20 |tails. Each key | 00000f50 6d 65 6e 74 69 6f 6e 65 64 20 69 6e 20 74 68 65 |mentioned in the| 00000f60 20 27 6b 65 79 73 27 20 66 69 6c 65 20 68 61 73 | 'keys' file has| 00000f70 20 61 0a 63 6f 6d 6d 61 6e 64 20 6e 61 6d 65 20 | a.command name | 00000f80 66 6f 6c 6c 6f 77 69 6e 67 20 69 74 2e 20 42 79 |following it. By| 00000f90 20 65 64 69 74 69 6e 67 20 74 68 65 20 66 69 6c | editing the fil| 00000fa0 65 20 61 6e 64 20 6d 6f 76 69 6e 67 20 74 68 65 |e and moving the| 00000fb0 20 63 6f 6d 6d 61 6e 64 20 6e 61 6d 65 73 0a 61 | command names.a| 00000fc0 62 6f 75 74 2c 20 79 6f 75 20 63 61 6e 20 63 68 |bout, you can ch| 00000fd0 61 6e 67 65 20 74 68 65 20 61 63 74 69 6f 6e 20 |ange the action | 00000fe0 6f 66 20 61 6e 79 20 6b 65 79 2e 20 53 65 65 20 |of any key. See | 00000ff0 73 65 63 74 69 6f 6e 20 41 2e 32 20 66 6f 72 20 |section A.2 for | 00001000 6d 6f 72 65 20 64 65 74 61 69 6c 73 0a 28 74 68 |more details.(th| 00001010 65 20 66 6f 72 6d 61 74 20 6f 66 20 61 20 27 6b |e format of a 'k| 00001020 65 79 73 27 20 66 69 6c 65 20 65 6e 74 72 79 20 |eys' file entry | 00001030 61 6e 64 20 68 6f 77 20 74 6f 20 64 65 66 69 6e |and how to defin| 00001040 65 20 6d 75 6c 74 69 70 6c 65 20 6b 65 79 6d 61 |e multiple keyma| 00001050 70 73 29 2e 0a 0a 50 6c 65 61 73 65 20 6e 6f 74 |ps)...Please not| 00001060 65 20 74 68 61 74 20 74 68 65 20 6b 65 79 20 73 |e that the key s| 00001070 68 6f 72 74 20 63 75 74 73 20 67 69 76 65 6e 20 |hort cuts given | 00001080 69 6e 20 74 68 65 20 6d 65 6e 75 73 20 61 72 65 |in the menus are| 00001090 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 0a 75 | automatically.u| 000010a0 70 64 61 74 65 64 20 74 6f 20 72 65 66 6c 65 63 |pdated to reflec| 000010b0 74 20 79 6f 75 72 20 6e 65 77 20 63 68 6f 69 63 |t your new choic| 000010c0 65 20 6f 66 20 6b 65 79 73 20 28 66 6f 72 20 77 |e of keys (for w| 000010d0 68 61 74 65 76 65 72 20 79 6f 75 20 68 61 76 65 |hatever you have| 000010e0 20 73 65 74 20 61 73 20 74 68 65 0a 64 65 66 61 | set as the.defa| 000010f0 75 6c 74 20 6b 65 79 6d 61 70 29 2e 20 41 20 73 |ult keymap). A s| 00001100 75 6d 6d 61 72 79 20 6f 66 20 74 68 65 20 64 65 |ummary of the de| 00001110 66 61 75 6c 74 20 6b 65 79 20 62 69 6e 64 69 6e |fault key bindin| 00001120 67 73 20 69 73 20 67 69 76 65 6e 20 62 65 6c 6f |gs is given belo| 00001130 77 2e 0a 28 73 3d 53 68 69 66 74 20 63 3d 43 74 |w..(s=Shift c=Ct| 00001140 72 6c 20 73 63 3d 53 68 69 66 74 2b 43 74 72 6c |rl sc=Shift+Ctrl| 00001150 29 2e 0a 0a 4b 65 79 3a 43 6f 6d 6d 61 6e 64 3a |)...Key:Command:| 00001160 41 63 74 69 6f 6e 3a 0a 0a 52 65 74 75 72 6e 52 |Action:..ReturnR| 00001170 45 54 55 52 4e 53 70 6c 69 74 73 20 6c 69 6e 65 |ETURNSplits line| 00001180 20 2f 20 69 6e 73 65 72 74 73 20 6e 65 77 20 6c | / inserts new l| 00001190 69 6e 65 20 69 6e 20 6c 69 6e 65 20 65 64 69 74 |ine in line edit| 000011a0 0a 6d 6f 64 65 2e 20 41 6c 73 6f 20 69 6e 64 65 |.mode. Also inde| 000011b0 6e 74 73 20 69 6e 20 61 75 74 6f 2d 69 6e 64 65 |nts in auto-inde| 000011c0 6e 74 20 6d 6f 64 65 2e 0a 45 64 69 74 73 20 61 |nt mode..Edits a| 000011d0 6e 20 69 6e 73 74 72 75 63 74 69 6f 6e 20 69 6e |n instruction in| 000011e0 20 63 6f 64 65 20 6d 6f 64 65 2e 0a 73 52 65 74 | code mode..sRet| 000011f0 75 72 6e 52 45 54 55 52 4e 41 73 20 61 62 6f 76 |urnRETURNAs abov| 00001200 65 2e 0a 63 52 65 74 75 72 6e 52 45 54 55 52 4e |e..cReturnRETURN| 00001210 4e 4f 49 4e 44 45 4e 54 41 73 20 52 45 54 55 52 |NOINDENTAs RETUR| 00001220 4e 20 65 78 63 65 70 74 20 64 6f 65 73 6e 27 74 |N except doesn't| 00001230 20 61 75 74 6f 2d 69 6e 64 65 6e 74 2e 0a 0a 44 | auto-indent...D| 00001240 65 6c 65 74 65 44 45 4c 45 54 45 44 65 6c 65 74 |eleteDELETEDelet| 00001250 65 20 6c 61 73 74 20 63 68 61 72 61 63 74 65 72 |e last character| 00001260 2e 0a 73 44 65 6c 65 74 65 44 45 4c 45 54 45 4e |..sDeleteDELETEN| 00001270 45 58 54 44 65 6c 65 74 65 20 6e 65 78 74 20 63 |EXTDelete next c| 00001280 68 61 72 61 63 74 65 72 2e 0a 63 44 65 6c 65 74 |haracter..cDelet| 00001290 65 44 45 4c 4c 49 4e 45 44 65 6c 65 74 65 20 63 |eDELLINEDelete c| 000012a0 75 72 72 65 6e 74 20 6c 69 6e 65 2e 0a 73 63 44 |urrent line..scD| 000012b0 65 6c 65 74 65 44 45 4c 54 4f 45 4e 44 44 65 6c |eleteDELTOENDDel| 000012c0 65 74 65 20 74 6f 20 65 6e 64 20 6f 66 20 6c 69 |ete to end of li| 000012d0 6e 65 2e 0a 0a 54 61 62 54 41 42 49 6e 73 65 72 |ne...TabTABInser| 000012e0 74 73 20 61 20 76 61 72 69 65 74 79 20 6f 66 20 |ts a variety of | 000012f0 74 61 62 73 20 2d 20 73 65 65 20 74 61 62 20 6d |tabs - see tab m| 00001300 65 6e 75 2e 0a 73 54 61 62 53 57 49 54 43 48 54 |enu..sTabSWITCHT| 00001310 41 42 53 77 69 74 63 68 65 73 20 62 65 74 77 65 |ABSwitches betwe| 00001320 65 6e 20 55 6e 69 78 20 61 6e 64 20 21 45 64 69 |en Unix and !Edi| 00001330 74 20 74 61 62 20 6d 6f 64 65 73 2e 0a 63 54 61 |t tab modes..cTa| 00001340 62 2d 52 65 73 65 72 76 65 64 20 66 6f 72 20 21 |b-Reserved for !| 00001350 4c 61 72 67 65 72 2f 21 4d 65 6e 6f 6e 20 75 73 |Larger/!Menon us| 00001360 65 72 73 2e 0a 28 21 4c 61 72 67 65 72 20 2d 20 |ers..(!Larger - | 00001370 56 69 72 74 75 61 6c 20 64 65 73 6b 74 6f 70 20 |Virtual desktop | 00001380 77 69 74 68 20 6d 61 6e 79 20 65 78 74 72 61 0a |with many extra.| 00001390 66 65 61 74 75 72 65 73 2e 20 31 30 20 70 6f 75 |features. 10 pou| 000013a0 6e 64 73 20 66 72 6f 6d 20 52 6f 62 69 6e 20 57 |nds from Robin W| 000013b0 61 74 74 73 2f 57 61 72 6d 0a 53 69 6c 65 6e 63 |atts/Warm.Silenc| 000013c0 65 20 53 6f 66 74 77 61 72 65 20 30 38 36 35 2d |e Software 0865-| 000013d0 35 34 33 38 32 29 2e 0a 0a 45 73 63 61 70 65 20 |54382)...Escape | 000013e0 20 20 45 53 43 41 50 45 53 74 6f 70 73 20 63 6f | ESCAPEStops co| 000013f0 70 79 20 6d 6f 64 65 73 2f 73 65 6c 65 63 74 69 |py modes/selecti| 00001400 6f 6e 20 6d 6f 64 65 73 2f 73 65 61 72 63 68 0a |on modes/search.| 00001410 61 73 20 79 6f 75 20 74 79 70 65 20 6d 6f 64 65 |as you type mode| 00001420 2f 79 61 6e 6b 20 6d 6f 64 65 2e 0a 73 45 73 63 |/yank mode..sEsc| 00001430 61 70 65 20 20 20 43 41 4e 43 45 4c 43 61 6e 63 |ape CANCELCanc| 00001440 65 6c 20 6f 70 65 72 61 74 69 6f 6e 20 61 6e 64 |el operation and| 00001450 20 72 65 74 75 72 6e 20 74 6f 20 73 74 61 72 74 | return to start| 00001460 20 70 6f 73 6e 2e 0a 63 45 73 63 61 70 65 43 4f | posn..cEscapeCO| 00001470 4d 4d 41 4e 44 42 72 69 6e 67 73 20 75 70 20 61 |MMANDBrings up a| 00001480 20 6d 69 6e 69 62 75 66 66 65 72 20 69 6e 20 77 | minibuffer in w| 00001490 68 69 63 68 20 79 6f 75 20 63 61 6e 20 74 79 70 |hich you can typ| 000014a0 65 0a 61 6e 79 20 5a 61 70 20 63 6f 6d 6d 61 6e |e.any Zap comman| 000014b0 64 2e 20 45 71 75 69 76 61 6c 65 6e 74 20 6f 66 |d. Equivalent of| 000014c0 20 45 6d 61 63 73 20 4d 2d 58 2e 0a 0a 3c 2d 7c | Emacs M-X...<-|| 000014d0 44 45 4c 45 54 45 44 65 6c 65 74 65 20 6c 61 73 |DELETEDelete las| 000014e0 74 20 63 68 61 72 61 63 74 65 72 2e 0a 73 3c 2d |t character..s<-| 000014f0 7c 4c 41 53 54 4d 41 52 4b 4a 75 6d 70 20 74 6f ||LASTMARKJump to| 00001500 20 6c 61 73 74 20 6d 61 72 6b 65 72 0a 63 3c 2d | last marker.c<-| 00001510 7c 46 41 53 54 55 4e 44 4f 55 6e 64 6f 20 6c 61 ||FASTUNDOUndo la| 00001520 73 74 20 6f 70 65 72 61 74 69 6f 6e 2e 0a 0a 43 |st operation...C| 00001530 6f 70 79 43 4f 50 59 49 6e 69 74 69 61 74 65 73 |opyCOPYInitiates| 00001540 20 73 70 6c 69 74 20 63 75 72 73 6f 72 20 63 6f | split cursor co| 00001550 70 79 69 6e 67 2e 20 4d 6f 76 65 20 63 75 72 73 |pying. Move curs| 00001560 6f 72 0a 77 69 74 68 20 63 75 72 73 6f 72 20 6b |or.with cursor k| 00001570 65 79 73 20 61 6e 64 20 75 73 65 20 43 4f 50 59 |eys and use COPY| 00001580 20 6b 65 79 20 74 6f 20 63 6f 70 79 2e 0a 4e 6f | key to copy..No| 00001590 74 65 20 74 68 61 74 20 79 6f 75 20 6d 61 79 20 |te that you may | 000015a0 63 6f 70 79 20 66 72 6f 6d 20 6f 6e 65 20 77 69 |copy from one wi| 000015b0 6e 64 6f 77 20 74 6f 0a 61 6e 6f 74 68 65 72 20 |ndow to.another | 000015c0 62 79 20 70 72 65 73 73 69 6e 67 20 53 45 4c 45 |by pressing SELE| 000015d0 43 54 20 6f 6e 20 74 68 65 20 6f 74 68 65 72 2e |CT on the other.| 000015e0 0a 73 43 6f 70 79 43 4f 50 59 46 6f 72 20 74 68 |.sCopyCOPYFor th| 000015f0 6f 73 65 20 77 68 6f 20 77 69 73 68 20 74 6f 20 |ose who wish to | 00001600 72 65 64 65 66 69 6e 65 20 43 6f 70 79 20 74 6f |redefine Copy to| 00001610 20 62 65 0a 44 45 4c 45 54 45 4e 45 58 54 2e 20 | be.DELETENEXT. | 00001620 43 6f 70 79 20 6b 65 79 20 73 74 69 6c 6c 20 6f |Copy key still o| 00001630 6b 20 69 6e 20 63 6f 70 79 20 6d 6f 64 65 2e 0a |k in copy mode..| 00001640 63 43 6f 70 79 53 45 4c 52 45 47 49 4f 4e 53 74 |cCopySELREGIONSt| 00001650 61 72 74 73 20 73 65 6c 65 63 74 69 6f 6e 20 6f |arts selection o| 00001660 66 20 61 20 72 65 67 69 6f 6e 20 76 69 61 20 63 |f a region via c| 00001670 75 72 73 6f 72 20 6b 65 79 73 2e 0a 50 72 65 73 |ursor keys..Pres| 00001680 73 20 45 73 63 61 70 65 2f 63 43 6f 70 79 20 74 |s Escape/cCopy t| 00001690 6f 20 65 6e 64 20 74 68 65 20 73 65 6c 65 63 74 |o end the select| 000016a0 69 6f 6e 2e 0a 73 63 43 6f 70 79 44 55 4d 50 46 |ion..scCopyDUMPF| 000016b0 49 4c 45 50 72 6f 64 75 63 65 20 74 65 78 74 20 |ILEProduce text | 000016c0 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 20 64 |version of the d| 000016d0 69 73 70 6c 61 79 2e 0a 0a 49 6e 73 65 72 74 54 |isplay...InsertT| 000016e0 4f 47 47 4c 45 49 4e 53 45 52 54 54 6f 67 67 6c |OGGLEINSERTToggl| 000016f0 65 20 69 6e 73 65 72 74 20 61 6e 64 20 6f 76 65 |e insert and ove| 00001700 72 77 72 69 74 65 20 6d 6f 64 65 73 2e 0a 0a 50 |rwrite modes...P| 00001710 72 69 6e 74 51 55 49 43 4b 50 52 49 4e 54 53 65 |rintQUICKPRINTSe| 00001720 6e 64 20 66 69 6c 65 20 64 69 72 65 63 74 6c 79 |nd file directly| 00001730 20 74 6f 20 70 72 69 6e 74 65 72 2e 0a 73 50 72 | to printer..sPr| 00001740 69 6e 74 50 52 49 4e 54 46 49 4c 45 50 72 69 6e |intPRINTFILEPrin| 00001750 74 20 66 69 6c 65 20 74 68 72 6f 75 67 68 20 70 |t file through p| 00001760 72 69 6e 74 65 72 20 64 72 69 76 65 72 2e 0a 63 |rinter driver..c| 00001770 50 72 69 6e 74 4f 50 45 4e 50 52 49 4e 54 45 52 |PrintOPENPRINTER| 00001780 4f 70 65 6e 20 27 70 72 69 6e 74 65 72 3a 24 27 |Open 'printer:$'| 00001790 20 66 69 6c 65 72 20 77 69 6e 64 6f 77 2e 0a 73 | filer window..s| 000017a0 63 50 72 69 6e 74 43 4c 4f 53 45 50 52 49 4e 54 |cPrintCLOSEPRINT| 000017b0 45 52 43 6c 6f 73 65 20 27 70 72 69 6e 74 65 72 |ERClose 'printer| 000017c0 3a 24 27 20 66 69 6c 65 72 20 77 69 6e 64 6f 77 |:$' filer window| 000017d0 2e 0a 0a 53 70 61 63 65 20 62 61 72 43 48 41 52 |...Space barCHAR| 000017e0 20 26 32 30 49 6e 73 65 72 74 73 20 61 20 73 70 | &20Inserts a sp| 000017f0 61 63 65 2e 0a 73 53 70 61 63 65 43 48 41 52 20 |ace..sSpaceCHAR | 00001800 26 32 30 41 73 20 61 62 6f 76 65 2e 0a 63 53 70 |&20As above..cSp| 00001810 61 63 65 54 4f 47 47 4c 45 4d 41 52 4b 45 6d 61 |aceTOGGLEMARKEma| 00001820 63 73 20 63 6f 6d 70 61 74 69 62 6c 65 2e 0a 0a |cs compatible...| 00001830 43 75 72 73 6f 72 20 6b 65 79 73 3a 0a 0a 4c 65 |Cursor keys:..Le| 00001840 66 74 20 20 20 20 20 20 20 20 4c 45 46 54 4d 6f |ft LEFTMo| 00001850 76 65 73 20 31 20 6c 65 66 74 20 2f 20 67 6f 74 |ves 1 left / got| 00001860 6f 20 6c 61 73 74 20 6d 61 72 6b 20 69 6e 20 63 |o last mark in c| 00001870 6f 64 65 20 6d 6f 64 65 2e 0a 52 69 67 68 74 52 |ode mode..RightR| 00001880 49 47 48 54 4d 6f 76 65 73 20 31 20 72 69 67 68 |IGHTMoves 1 righ| 00001890 74 20 2f 20 67 6f 74 6f 20 61 64 64 72 65 73 73 |t / goto address| 000018a0 20 69 6e 20 63 6f 64 65 20 6d 6f 64 65 2e 0a 44 | in code mode..D| 000018b0 6f 77 6e 44 4f 57 4e 4d 6f 76 65 20 31 20 6c 69 |ownDOWNMove 1 li| 000018c0 6e 65 20 64 6f 77 6e 2e 0a 55 70 55 50 4d 6f 76 |ne down..UpUPMov| 000018d0 65 20 31 20 6c 69 6e 65 20 75 70 2e 0a 73 4c 65 |e 1 line up..sLe| 000018e0 66 74 20 20 53 4c 45 46 54 4d 6f 76 65 20 62 61 |ft SLEFTMove ba| 000018f0 63 6b 20 6f 6e 65 20 77 6f 72 64 2e 0a 73 52 69 |ck one word..sRi| 00001900 67 68 74 53 52 49 47 48 54 4d 6f 76 65 20 66 6f |ghtSRIGHTMove fo| 00001910 72 77 61 72 64 20 6f 6e 65 20 77 6f 72 64 2e 0a |rward one word..| 00001920 73 44 6f 77 6e 2f 50 61 67 65 44 6f 77 6e 53 44 |sDown/PageDownSD| 00001930 4f 57 4e 4d 6f 76 65 20 64 6f 77 6e 20 61 20 70 |OWNMove down a p| 00001940 61 67 65 2e 0a 73 55 70 2f 50 61 67 65 55 70 20 |age..sUp/PageUp | 00001950 20 20 20 53 55 50 4d 6f 76 65 20 75 70 20 61 20 | SUPMove up a | 00001960 70 61 67 65 2e 0a 63 4c 65 66 74 43 4c 45 46 54 |page..cLeftCLEFT| 00001970 4d 6f 76 65 20 74 6f 20 73 74 61 72 74 20 6f 66 |Move to start of| 00001980 20 6c 6f 67 69 63 61 6c 20 6c 69 6e 65 2e 0a 63 | logical line..c| 00001990 52 69 67 68 74 43 52 49 47 48 54 4d 6f 76 65 20 |RightCRIGHTMove | 000019a0 74 6f 20 65 6e 64 20 6f 66 20 6c 6f 67 69 63 61 |to end of logica| 000019b0 6c 20 6c 69 6e 65 2e 0a 63 44 6f 77 6e 43 44 4f |l line..cDownCDO| 000019c0 57 4e 4d 6f 76 65 20 74 6f 20 65 6e 64 20 6f 66 |WNMove to end of| 000019d0 20 74 65 78 74 20 28 61 6e 64 20 6c 65 61 76 65 | text (and leave| 000019e0 20 6d 61 72 6b 65 72 29 2e 0a 63 55 70 43 55 50 | marker)..cUpCUP| 000019f0 4d 6f 76 65 20 74 6f 20 73 74 61 72 74 20 6f 66 |Move to start of| 00001a00 20 74 65 78 74 20 28 61 6e 64 20 6c 65 61 76 65 | text (and leave| 00001a10 20 6d 61 72 6b 65 72 29 2e 0a 73 63 4c 65 66 74 | marker)..scLeft| 00001a20 53 43 4c 45 46 54 4d 6f 76 65 20 74 6f 20 74 68 |SCLEFTMove to th| 00001a30 65 20 6c 65 66 74 20 77 69 74 68 6f 75 74 20 6d |e left without m| 00001a40 6f 76 69 6e 67 20 63 75 72 73 6f 72 2e 0a 73 63 |oving cursor..sc| 00001a50 52 69 67 68 74 53 43 52 49 47 48 54 4d 6f 76 65 |RightSCRIGHTMove| 00001a60 20 74 6f 20 74 68 65 20 72 69 67 68 74 20 77 69 | to the right wi| 00001a70 74 68 6f 75 74 20 6d 6f 76 69 6e 67 20 63 75 72 |thout moving cur| 00001a80 73 6f 72 2e 0a 73 63 44 6f 77 6e 53 43 44 4f 57 |sor..scDownSCDOW| 00001a90 4e 4d 6f 76 65 20 64 6f 77 6e 20 77 69 74 68 6f |NMove down witho| 00001aa0 75 74 20 6d 6f 76 69 6e 67 20 63 75 72 73 6f 72 |ut moving cursor| 00001ab0 2e 0a 73 63 55 70 53 43 55 50 4d 6f 76 65 20 75 |..scUpSCUPMove u| 00001ac0 70 20 77 69 74 68 6f 75 74 20 6d 6f 76 69 6e 67 |p without moving| 00001ad0 20 63 75 72 73 6f 72 2e 0a 0a 46 75 6e 63 74 69 | cursor...Functi| 00001ae0 6f 6e 20 6b 65 79 73 3a 0a 0a 46 31 45 58 45 43 |on keys:..F1EXEC| 00001af0 55 54 45 45 78 65 63 75 74 65 20 6c 65 61 72 6e |UTEExecute learn| 00001b00 74 20 6b 65 79 20 73 65 71 75 65 6e 63 65 20 28 |t key sequence (| 00001b10 73 65 65 20 46 2e 31 29 2e 0a 46 32 46 49 4e 44 |see F.1)..F2FIND| 00001b20 46 49 4c 45 4c 6f 61 64 20 61 20 6e 61 6d 65 64 |FILELoad a named| 00001b30 20 66 69 6c 65 20 28 45 6d 61 63 73 20 43 2d 58 | file (Emacs C-X| 00001b40 20 43 2d 46 29 2e 0a 46 33 53 41 56 45 42 72 69 | C-F)..F3SAVEBri| 00001b50 6e 67 73 20 75 70 20 73 61 76 65 20 62 6f 78 2e |ngs up save box.| 00001b60 20 53 65 65 20 73 61 76 65 20 62 6f 78 20 68 65 | See save box he| 00001b70 6c 70 2e 0a 46 34 53 45 41 52 43 48 43 55 52 42 |lp..F4SEARCHCURB| 00001b80 72 69 6e 67 73 20 75 70 20 53 65 61 72 63 68 20 |rings up Search | 00001b90 62 79 20 47 6f 74 6f 20 62 6f 78 2e 20 28 53 65 |by Goto box. (Se| 00001ba0 65 20 45 2e 31 29 2e 0a 46 35 20 47 4f 54 4f 42 |e E.1)..F5 GOTOB| 00001bb0 72 69 6e 67 73 20 75 70 20 47 6f 74 6f 20 6c 69 |rings up Goto li| 00001bc0 6e 65 2f 61 64 64 72 65 73 73 20 62 6f 78 2e 0a |ne/address box..| 00001bd0 46 36 20 54 4f 47 47 4c 45 4d 41 52 4b 49 6e 73 |F6 TOGGLEMARKIns| 00001be0 65 72 74 73 20 6d 61 72 6b 65 72 20 69 6e 20 74 |erts marker in t| 00001bf0 65 78 74 2f 64 65 6c 65 74 65 73 20 6d 61 72 6b |ext/deletes mark| 00001c00 65 72 2e 0a 46 37 53 45 41 52 43 48 42 55 46 42 |er..F7SEARCHBUFB| 00001c10 72 69 6e 67 73 20 75 70 20 53 65 61 72 63 68 20 |rings up Search | 00001c20 74 6f 20 62 75 66 66 65 72 20 62 6f 78 2e 20 28 |to buffer box. (| 00001c30 53 65 65 20 45 2e 31 29 0a 46 38 46 55 4c 4c 55 |See E.1).F8FULLU| 00001c40 4e 44 4f 46 75 6c 6c 20 75 6e 64 6f 20 28 74 61 |NDOFull undo (ta| 00001c50 6b 65 73 20 6c 6f 6e 67 65 73 74 20 70 61 74 68 |kes longest path| 00001c60 20 69 6e 20 75 6e 64 6f 20 74 72 65 65 29 2e 0a | in undo tree)..| 00001c70 46 39 52 45 44 4f 52 65 64 6f 20 28 75 6e 64 6f |F9REDORedo (undo| 00001c80 20 6c 61 73 74 20 75 6e 64 6f 20 77 68 65 74 68 | last undo wheth| 00001c90 65 72 20 66 75 6c 6c 20 6f 72 20 66 61 73 74 29 |er full or fast)| 00001ca0 2e 0a 46 31 30 44 45 4c 4c 49 4e 45 44 65 6c 65 |..F10DELLINEDele| 00001cb0 74 65 20 63 75 72 72 65 6e 74 20 6c 69 6e 65 2e |te current line.| 00001cc0 0a 0a 73 46 31 53 50 4c 49 54 4c 49 4e 45 53 70 |..sF1SPLITLINESp| 00001cd0 6c 69 74 20 6c 69 6e 65 20 28 75 73 65 66 75 6c |lit line (useful| 00001ce0 20 69 6e 20 42 61 73 69 63 20 6d 6f 64 65 29 2e | in Basic mode).| 00001cf0 0a 73 46 32 53 57 41 50 57 49 4e 44 4f 57 53 77 |.sF2SWAPWINDOWSw| 00001d00 61 70 20 77 69 6e 64 6f 77 20 28 74 6f 20 6e 65 |ap window (to ne| 00001d10 78 74 20 77 69 6e 64 6f 77 2f 6c 61 73 74 20 75 |xt window/last u| 00001d20 73 65 64 29 2e 0a 73 46 33 48 45 58 41 53 43 49 |sed)..sF3HEXASCI| 00001d30 49 54 6f 67 67 6c 65 73 20 68 65 78 20 65 6e 74 |IToggles hex ent| 00001d40 72 79 20 6d 6f 64 65 20 77 68 65 6e 20 62 79 74 |ry mode when byt| 00001d50 65 2f 77 6f 72 64 20 6d 6f 64 65 73 2e 0a 73 46 |e/word modes..sF| 00001d60 34 52 45 50 4c 41 43 45 42 72 69 6e 67 73 20 75 |4REPLACEBrings u| 00001d70 70 20 73 65 61 72 63 68 20 61 6e 64 20 72 65 70 |p search and rep| 00001d80 6c 61 63 65 20 62 6f 78 2e 20 28 53 65 65 20 45 |lace box. (See E| 00001d90 2e 32 29 2e 0a 73 46 35 48 45 4c 50 42 72 69 6e |.2)..sF5HELPBrin| 00001da0 67 73 20 75 70 20 74 68 69 73 20 68 65 6c 70 20 |gs up this help | 00001db0 74 65 78 74 2e 0a 73 46 36 4c 41 53 54 4d 41 52 |text..sF6LASTMAR| 00001dc0 4b 4c 61 73 74 20 6d 61 72 6b 20 28 65 67 20 61 |KLast mark (eg a| 00001dd0 66 74 65 72 20 63 74 72 6c 2d 64 6f 77 6e 20 62 |fter ctrl-down b| 00001de0 79 20 6d 69 73 74 61 6b 65 29 2e 0a 73 46 37 4e |y mistake)..sF7N| 00001df0 45 58 54 4d 41 54 43 48 4e 65 78 74 20 6d 61 74 |EXTMATCHNext mat| 00001e00 63 68 20 28 61 66 74 65 72 20 61 6e 20 46 34 20 |ch (after an F4 | 00001e10 6f 72 20 46 37 20 73 65 61 72 63 68 29 2e 0a 73 |or F7 search)..s| 00001e20 46 38 52 45 4e 55 4d 42 45 52 52 65 6e 75 6d 62 |F8RENUMBERRenumb| 00001e30 65 72 73 20 61 20 42 41 53 49 43 20 66 69 6c 65 |ers a BASIC file| 00001e40 2e 0a 73 46 39 4e 45 58 54 4d 41 52 4b 4a 75 6d |..sF9NEXTMARKJum| 00001e50 70 20 74 6f 20 6e 65 78 74 20 73 65 74 20 6d 61 |p to next set ma| 00001e60 72 6b 65 72 2e 0a 73 46 31 30 44 45 4c 54 4f 53 |rker..sF10DELTOS| 00001e70 54 41 52 54 44 65 6c 65 74 65 20 74 6f 20 73 74 |TARTDelete to st| 00001e80 61 72 74 20 6f 66 20 6c 69 6e 65 2e 0a 0a 63 46 |art of line...cF| 00001e90 31 4a 4f 49 4e 4c 49 4e 45 4a 6f 69 6e 20 6c 69 |1JOINLINEJoin li| 00001ea0 6e 65 20 28 75 73 65 66 75 6c 20 69 6e 20 42 61 |ne (useful in Ba| 00001eb0 73 69 63 20 6d 6f 64 65 29 2e 0a 63 46 32 43 4c |sic mode)..cF2CL| 00001ec0 4f 53 45 57 49 4e 44 4f 57 43 6c 6f 73 65 20 63 |OSEWINDOWClose c| 00001ed0 75 72 72 65 6e 74 20 77 69 6e 64 6f 77 20 28 61 |urrent window (a| 00001ee0 6e 64 20 6a 75 6d 70 20 74 6f 20 6e 65 78 74 29 |nd jump to next)| 00001ef0 2e 0a 63 46 33 51 55 49 43 4b 53 41 56 45 53 61 |..cF3QUICKSAVESa| 00001f00 76 65 20 74 68 65 20 66 69 6c 65 20 77 69 74 68 |ve the file with| 00001f10 20 6e 6f 20 70 72 6f 6d 70 74 2e 0a 63 46 34 4e | no prompt..cF4N| 00001f20 45 57 56 49 45 57 4e 65 77 20 76 69 65 77 20 28 |EWVIEWNew view (| 00001f30 6f 70 65 6e 20 6e 65 77 20 77 69 6e 64 6f 77 20 |open new window | 00001f40 6f 6e 20 74 68 69 73 20 66 69 6c 65 29 2e 0a 63 |on this file)..c| 00001f50 46 35 57 4f 52 44 57 52 41 50 54 6f 67 67 6c 65 |F5WORDWRAPToggle| 00001f60 20 77 6f 72 64 77 72 61 70 20 6d 6f 64 65 20 28 | wordwrap mode (| 00001f70 77 20 69 6e 20 74 69 74 6c 65 29 2e 0a 63 46 36 |w in title)..cF6| 00001f80 46 4f 52 4d 41 54 54 45 58 54 46 6f 72 6d 61 74 |FORMATTEXTFormat| 00001f90 20 74 65 78 74 20 74 6f 20 73 74 61 72 74 20 6f | text to start o| 00001fa0 66 20 6e 65 78 74 20 70 61 72 61 67 72 61 70 68 |f next paragraph| 00001fb0 2e 0a 63 46 37 4c 41 53 54 4d 41 54 43 48 50 72 |..cF7LASTMATCHPr| 00001fc0 65 76 69 6f 75 73 20 6d 61 74 63 68 20 28 73 65 |evious match (se| 00001fd0 65 20 73 46 37 29 2e 0a 63 46 38 42 49 4e 44 54 |e sF7)..cF8BINDT| 00001fe0 4f 4b 45 59 42 69 6e 64 20 6c 65 61 72 6e 74 20 |OKEYBind learnt | 00001ff0 73 65 71 75 65 6e 63 65 20 74 6f 20 61 20 6b 65 |sequence to a ke| 00002000 79 2e 0a 63 46 39 53 41 56 45 53 45 4c 4f 70 65 |y..cF9SAVESELOpe| 00002010 6e 20 74 68 65 20 27 73 61 76 65 20 73 65 6c 65 |n the 'save sele| 00002020 63 74 69 6f 6e 27 20 77 69 6e 64 6f 77 2e 0a 63 |ction' window..c| 00002030 46 31 30 44 45 4c 54 4f 45 4e 44 44 65 6c 65 74 |F10DELTOENDDelet| 00002040 65 20 74 6f 20 65 6e 64 20 6f 66 20 6c 69 6e 65 |e to end of line| 00002050 20 28 65 6d 61 63 73 20 73 74 79 6c 65 20 63 74 | (emacs style ct| 00002060 72 6c 20 4b 29 2e 0a 0a 73 63 46 31 4d 4f 44 45 |rl K)...scF1MODE| 00002070 30 54 65 78 74 20 6d 6f 64 65 20 20 20 28 64 69 |0Text mode (di| 00002080 73 70 6c 61 79 20 69 6e 20 74 65 78 74 20 66 6f |splay in text fo| 00002090 72 6d 61 74 29 0a 73 63 46 32 4d 4f 44 45 31 42 |rmat).scF2MODE1B| 000020a0 79 74 65 20 6d 6f 64 65 20 20 20 28 64 69 73 70 |yte mode (disp| 000020b0 6c 61 79 20 69 6e 20 68 65 78 20 62 79 74 65 73 |lay in hex bytes| 000020c0 29 0a 73 63 46 33 4d 4f 44 45 32 57 6f 72 64 20 |).scF3MODE2Word | 000020d0 6d 6f 64 65 20 20 20 28 64 69 73 70 6c 61 79 20 |mode (display | 000020e0 69 6e 20 68 65 78 20 77 6f 72 64 73 29 0a 73 63 |in hex words).sc| 000020f0 46 34 4d 4f 44 45 33 41 73 63 69 69 20 6d 6f 64 |F4MODE3Ascii mod| 00002100 65 20 20 28 64 69 73 70 6c 61 79 20 69 6e 20 63 |e (display in c| 00002110 68 61 72 61 63 74 65 72 73 29 0a 73 63 46 35 4d |haracters).scF5M| 00002120 4f 44 45 34 43 6f 64 65 20 6d 6f 64 65 20 20 20 |ODE4Code mode | 00002130 28 64 69 73 70 6c 61 79 20 69 6e 20 64 69 73 61 |(display in disa| 00002140 73 73 65 6d 62 6c 65 64 20 63 6f 64 65 29 0a 73 |ssembled code).s| 00002150 63 46 36 4d 4f 44 45 35 42 41 53 49 43 20 6d 6f |cF6MODE5BASIC mo| 00002160 64 65 20 20 28 64 69 73 70 6c 61 79 20 74 6f 6b |de (display tok| 00002170 65 6e 69 73 65 64 20 42 61 73 69 63 29 0a 73 63 |enised Basic).sc| 00002180 46 37 4d 4f 44 45 36 42 41 53 54 58 54 20 6d 6f |F7MODE6BASTXT mo| 00002190 64 65 20 28 64 69 73 70 6c 61 79 20 64 65 74 6f |de (display deto| 000021a0 6b 65 6e 69 73 65 64 20 42 61 73 69 63 29 0a 73 |kenised Basic).s| 000021b0 63 46 38 4d 4f 44 45 37 43 20 6d 6f 64 65 20 20 |cF8MODE7C mode | 000021c0 20 20 20 20 28 62 72 61 63 6b 65 74 20 6d 61 74 | (bracket mat| 000021d0 63 68 69 6e 67 20 2b 20 66 6e 20 6c 69 73 74 69 |ching + fn listi| 000021e0 6e 67 29 0a 73 63 46 39 4d 4f 44 45 38 43 6f 6c |ng).scF9MODE8Col| 000021f0 6f 75 72 20 43 20 6d 6f 64 65 2e 0a 73 63 46 31 |our C mode..scF1| 00002200 30 4d 4f 44 45 39 43 6f 6c 6f 75 72 20 41 63 6f |0MODE9Colour Aco| 00002210 72 6e 20 61 73 73 65 6d 62 6c 65 72 20 6d 6f 64 |rn assembler mod| 00002220 65 2e 0a 0a 43 74 72 6c 20 6c 65 74 74 65 72 73 |e...Ctrl letters| 00002230 3a 0a 0a 63 41 43 4c 45 46 54 53 74 61 72 74 20 |:..cACLEFTStart | 00002240 6f 66 20 6c 69 6e 65 20 20 20 2d 20 65 6d 61 63 |of line - emac| 00002250 73 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 2e |s compatibility.| 00002260 0a 63 42 4c 45 46 54 42 61 63 6b 20 61 20 63 68 |.cBLEFTBack a ch| 00002270 61 72 20 20 20 20 20 2d 20 65 6d 61 63 73 20 63 |ar - emacs c| 00002280 6f 6d 70 61 74 69 62 69 6c 69 74 79 2e 0a 63 43 |ompatibility..cC| 00002290 20 43 4f 50 59 53 45 4c 43 6f 70 79 20 73 65 6c | COPYSELCopy sel| 000022a0 65 63 74 65 64 20 72 65 67 69 6f 6e 20 74 6f 20 |ected region to | 000022b0 63 75 72 72 65 6e 74 20 70 6f 73 69 74 69 6f 6e |current position| 000022c0 2e 0a 63 44 44 45 4c 45 54 45 4e 45 58 54 44 65 |..cDDELETENEXTDe| 000022d0 6c 65 74 65 20 6e 65 78 74 20 63 68 61 72 2d 20 |lete next char- | 000022e0 65 6d 61 63 73 20 63 6f 6d 70 61 74 69 62 69 6c |emacs compatibil| 000022f0 69 74 79 2e 0a 63 45 43 52 49 47 48 54 4c 69 6e |ity..cECRIGHTLin| 00002300 65 20 65 6e 64 2d 20 65 6d 61 63 73 20 63 6f 6d |e end- emacs com| 00002310 70 61 74 69 62 69 6c 69 74 79 2e 0a 63 46 52 49 |patibility..cFRI| 00002320 47 48 54 46 6f 72 77 61 72 64 20 61 20 63 68 61 |GHTForward a cha| 00002330 72 20 20 2d 20 65 6d 61 63 73 20 63 6f 6d 70 61 |r - emacs compa| 00002340 74 69 62 69 6c 69 74 79 2e 0a 63 47 43 41 4e 43 |tibility..cGCANC| 00002350 45 4c 43 61 6e 63 65 6c 20 73 65 61 72 63 68 20 |ELCancel search | 00002360 27 61 73 20 79 6f 75 20 74 79 70 65 27 20 61 6e |'as you type' an| 00002370 64 20 72 65 74 75 72 6e 20 74 6f 0a 73 74 61 72 |d return to.star| 00002380 74 2e 20 41 6c 73 6f 20 63 61 6e 63 65 6c 20 61 |t. Also cancel a| 00002390 6e 79 20 79 61 6e 6b 20 6f 70 65 72 61 74 69 6f |ny yank operatio| 000023a0 6e 73 2e 0a 45 73 63 61 70 65 20 66 72 6f 6d 20 |ns..Escape from | 000023b0 6d 69 6e 69 62 75 66 66 65 72 2e 0a 63 48 4f 55 |minibuffer..cHOU| 000023c0 54 44 45 4e 54 4f 75 74 64 65 6e 74 20 73 65 6c |TDENTOutdent sel| 000023d0 65 63 74 69 6f 6e 20 62 79 20 63 75 72 72 65 6e |ection by curren| 000023e0 74 20 69 6e 64 65 6e 74 20 73 74 72 69 6e 67 2e |t indent string.| 000023f0 0a 63 49 49 4e 44 49 52 45 43 54 49 6e 64 69 72 |.cIINDIRECTIndir| 00002400 65 63 74 20 28 6d 6f 76 65 20 74 6f 20 74 68 65 |ect (move to the| 00002410 20 61 64 64 72 65 73 73 20 67 69 76 65 6e 20 62 | address given b| 00002420 79 20 77 6f 72 64 0a 61 74 20 63 75 72 73 6f 72 |y word.at cursor| 00002430 20 2d 20 75 73 65 66 75 6c 20 69 6e 20 43 6f 64 | - useful in Cod| 00002440 65 20 6d 6f 64 65 29 2e 0a 63 4a 49 4e 44 45 4e |e mode)..cJINDEN| 00002450 54 49 6e 64 65 6e 74 20 73 65 6c 65 63 74 69 6f |TIndent selectio| 00002460 6e 20 62 79 20 73 74 72 69 6e 67 20 28 73 65 65 |n by string (see| 00002470 20 73 65 6c 65 63 74 69 6f 6e 0a 6d 65 6e 75 29 | selection.menu)| 00002480 2e 0a 63 4b 44 45 4c 54 4f 45 4e 44 4b 69 6c 6c |..cKDELTOENDKill| 00002490 20 6c 69 6e 65 2d 20 65 6d 61 63 73 20 63 6f 6d | line- emacs com| 000024a0 70 61 74 69 62 69 6c 69 74 79 2e 0a 63 4c 4c 45 |patibility..cLLE| 000024b0 41 52 4e 4c 65 61 72 6e 20 6b 65 79 20 73 65 71 |ARNLearn key seq| 000024c0 75 65 6e 63 65 20 28 73 65 65 20 46 2e 31 29 2e |uence (see F.1).| 000024d0 0a 63 4d 52 45 54 55 52 4e 50 65 72 66 6f 72 6d |.cMRETURNPerform| 000024e0 73 20 72 65 74 75 72 6e 20 61 63 74 69 6f 6e 20 |s return action | 000024f0 66 6f 72 20 63 75 72 72 65 6e 74 20 6d 6f 64 65 |for current mode| 00002500 2e 0a 63 4e 44 4f 57 4e 4e 65 78 74 20 6c 69 6e |..cNDOWNNext lin| 00002510 65 2d 20 65 6d 61 63 73 20 63 6f 6d 70 61 74 69 |e- emacs compati| 00002520 62 69 6c 69 74 79 2e 0a 63 4f 54 4f 46 52 4f 4e |bility..cOTOFRON| 00002530 54 42 72 69 6e 67 20 65 64 69 74 6f 72 20 77 69 |TBring editor wi| 00002540 6e 64 6f 77 20 74 6f 20 66 72 6f 6e 74 20 6f 66 |ndow to front of| 00002550 20 77 69 6e 64 6f 77 73 2e 0a 63 50 55 50 50 72 | windows..cPUPPr| 00002560 65 76 69 6f 75 73 20 6c 69 6e 65 2d 20 65 6d 61 |evious line- ema| 00002570 63 73 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 |cs compatibility| 00002580 2e 0a 63 51 51 55 4f 54 45 49 6e 73 65 72 74 20 |..cQQUOTEInsert | 00002590 6e 65 78 74 20 63 68 61 72 61 63 74 65 72 20 69 |next character i| 000025a0 6e 74 6f 20 74 65 78 74 20 28 65 76 65 6e 20 69 |nto text (even i| 000025b0 66 20 69 74 0a 69 73 20 61 20 63 74 72 6c 20 63 |f it.is a ctrl c| 000025c0 68 61 72 61 63 74 65 72 2e 20 65 67 20 63 51 2c |haracter. eg cQ,| 000025d0 63 41 20 69 6e 73 65 72 74 73 20 23 31 29 2e 0a |cA inserts #1)..| 000025e0 63 52 53 45 41 52 43 48 42 41 43 4b 52 65 76 65 |cRSEARCHBACKReve| 000025f0 72 73 65 20 73 65 61 72 63 68 20 27 61 73 20 79 |rse search 'as y| 00002600 6f 75 20 74 79 70 65 27 2e 0a 63 53 53 45 41 52 |ou type'..cSSEAR| 00002610 43 48 46 4f 52 57 41 52 44 53 65 61 72 63 68 20 |CHFORWARDSearch | 00002620 27 61 73 20 79 6f 75 20 74 79 70 65 27 20 66 6f |'as you type' fo| 00002630 72 77 61 72 64 73 2e 0a 63 54 53 45 4c 45 43 54 |rwards..cTSELECT| 00002640 42 55 46 46 45 52 53 65 6c 65 63 74 20 65 6e 74 |BUFFERSelect ent| 00002650 69 72 65 20 62 75 66 66 65 72 2e 0a 63 55 55 4e |ire buffer..cUUN| 00002660 49 56 45 52 53 41 4c 41 52 47 50 65 72 66 6f 72 |IVERSALARGPerfor| 00002670 6d 20 6e 65 78 74 20 69 6e 73 74 72 75 63 74 69 |m next instructi| 00002680 6f 6e 20 27 6e 27 20 74 69 6d 65 73 2e 20 45 67 |on 'n' times. Eg| 00002690 0a 63 55 20 34 20 52 45 54 55 52 4e 20 41 20 69 |.cU 4 RETURN A i| 000026a0 6e 73 65 72 74 73 20 34 20 41 27 73 2e 0a 63 56 |nserts 4 A's..cV| 000026b0 4d 4f 56 45 53 45 4c 4d 6f 76 65 20 73 65 6c 65 |MOVESELMove sele| 000026c0 63 74 65 64 20 72 65 67 69 6f 6e 20 74 6f 20 63 |cted region to c| 000026d0 75 72 72 65 6e 74 20 70 6f 73 69 74 69 6f 6e 2e |urrent position.| 000026e0 0a 63 57 53 45 54 57 49 44 54 48 53 65 74 20 74 |.cWSETWIDTHSet t| 000026f0 68 65 20 77 69 6e 64 6f 77 20 77 69 64 74 68 2e |he window width.| 00002700 0a 63 58 43 55 54 44 65 6c 65 74 65 2f 43 75 74 |.cXCUTDelete/Cut| 00002710 20 73 65 6c 65 63 74 65 64 20 72 65 67 69 6f 6e | selected region| 00002720 2e 0a 63 59 50 41 53 54 45 50 61 73 74 65 2f 59 |..cYPASTEPaste/Y| 00002730 61 6e 6b 20 6f 6e 63 65 20 73 65 6c 65 63 74 65 |ank once selecte| 00002740 64 20 72 65 67 69 6f 6e 2e 0a 63 5a 43 4c 45 41 |d region..cZCLEA| 00002750 52 53 45 4c 43 6c 65 61 72 20 73 65 6c 65 63 74 |RSELClear select| 00002760 69 6f 6e 2e 0a 0a 73 63 41 41 44 44 52 45 53 53 |ion...scAADDRESS| 00002770 45 53 41 64 64 72 65 73 73 65 73 20 73 68 6f 77 |ESAddresses show| 00002780 6e 20 61 74 20 6c 69 6e 65 20 73 74 61 72 74 2e |n at line start.| 00002790 0a 73 63 42 42 41 53 49 43 44 72 6f 70 20 69 6e |.scBBASICDrop in| 000027a0 74 6f 20 42 61 73 69 63 20 77 69 74 68 20 70 72 |to Basic with pr| 000027b0 6f 67 72 61 6d 20 64 6f 77 6e 6c 6f 61 64 65 64 |ogram downloaded| 000027c0 2e 0a 73 63 43 43 4f 4d 50 49 4c 45 53 61 76 65 |..scCCOMPILESave| 000027d0 73 20 74 68 65 6e 20 63 68 61 69 6e 73 2f 63 6f |s then chains/co| 000027e0 6d 70 69 6c 65 73 20 61 20 70 72 6f 67 72 61 6d |mpiles a program| 000027f0 2e 0a 73 63 44 49 4e 53 45 52 54 44 41 54 45 49 |..scDINSERTDATEI| 00002800 6e 73 65 72 74 20 63 75 72 72 65 6e 74 20 64 61 |nsert current da| 00002810 74 65 20 28 66 6f 72 6d 61 74 20 69 6e 20 27 6b |te (format in 'k| 00002820 65 79 73 27 20 66 69 6c 65 29 2e 0a 73 63 45 53 |eys' file)..scES| 00002830 41 56 45 41 4e 44 52 55 4e 53 61 76 65 73 20 74 |AVEANDRUNSaves t| 00002840 68 65 6e 20 72 75 6e 73 20 61 20 70 72 6f 67 72 |hen runs a progr| 00002850 61 6d 20 74 68 65 6e 20 65 78 69 74 73 2e 0a 73 |am then exits..s| 00002860 63 46 52 55 4e 41 4e 44 45 58 49 54 52 75 6e 73 |cFRUNANDEXITRuns| 00002870 20 61 20 70 72 6f 67 72 61 6d 20 61 6e 64 20 74 | a program and t| 00002880 68 65 6e 20 65 78 69 74 73 2e 0a 73 63 47 54 4f |hen exits..scGTO| 00002890 47 47 4c 45 57 49 4e 44 54 6f 67 67 6c 65 20 77 |GGLEWINDToggle w| 000028a0 69 6e 64 6f 77 20 73 69 7a 65 2e 0a 73 63 48 4c |indow size..scHL| 000028b0 49 53 54 46 4e 53 4c 69 73 74 20 66 75 6e 63 74 |ISTFNSList funct| 000028c0 69 6f 6e 20 64 65 66 69 6e 69 74 69 6f 6e 73 2e |ion definitions.| 000028d0 0a 73 63 49 4e 45 58 54 54 52 41 43 4b 4d 6f 76 |.scINEXTTRACKMov| 000028e0 65 20 66 6f 72 77 61 72 64 20 6f 6e 65 20 74 72 |e forward one tr| 000028f0 61 63 6b 2e 0a 73 63 4a 4c 41 53 54 53 45 43 54 |ack..scJLASTSECT| 00002900 4f 52 4d 6f 76 65 20 62 61 63 6b 20 6f 6e 65 20 |ORMove back one | 00002910 73 65 63 74 6f 72 2e 0a 73 63 4b 4e 45 58 54 53 |sector..scKNEXTS| 00002920 45 43 54 4f 52 4d 6f 76 65 20 66 6f 72 77 61 72 |ECTORMove forwar| 00002930 64 20 6f 6e 65 20 73 65 63 74 6f 72 2e 0a 73 63 |d one sector..sc| 00002940 4c 4c 4f 47 49 43 41 4c 4c 6f 67 69 63 61 6c 20 |LLOGICALLogical | 00002950 6c 69 6e 65 20 6e 75 6d 62 65 72 73 20 73 68 6f |line numbers sho| 00002960 77 6e 20 61 74 20 6c 69 6e 65 20 73 74 61 72 74 |wn at line start| 00002970 2e 0a 73 63 4d 4c 41 53 54 54 52 41 43 4b 4d 6f |..scMLASTTRACKMo| 00002980 76 65 20 62 61 63 6b 20 6f 6e 65 20 74 72 61 63 |ve back one trac| 00002990 6b 2e 0a 73 63 4e 4e 4f 4c 49 4e 45 4e 4f 53 52 |k..scNNOLINENOSR| 000029a0 65 6d 6f 76 65 73 20 6c 69 6e 65 20 6e 75 6d 62 |emoves line numb| 000029b0 65 72 73 2f 61 64 64 72 65 73 73 65 73 2e 0a 73 |ers/addresses..s| 000029c0 63 4f 54 4f 47 47 4c 45 48 45 58 4c 69 6e 65 20 |cOTOGGLEHEXLine | 000029d0 6e 75 6d 62 65 72 73 20 73 68 6f 77 6e 20 69 6e |numbers shown in| 000029e0 20 68 65 78 2f 64 65 63 69 6d 61 6c 2e 0a 73 63 | hex/decimal..sc| 000029f0 50 50 48 59 53 49 43 41 4c 50 68 79 73 69 63 61 |PPHYSICALPhysica| 00002a00 6c 20 6c 69 6e 65 20 6e 75 6d 62 65 72 73 20 73 |l line numbers s| 00002a10 68 6f 77 6e 20 61 74 20 6c 69 6e 65 20 73 74 61 |hown at line sta| 00002a20 72 74 2e 0a 73 63 51 53 57 41 50 43 48 41 52 53 |rt..scQSWAPCHARS| 00002a30 53 77 61 70 20 6e 65 78 74 20 74 77 6f 20 63 68 |Swap next two ch| 00002a40 61 72 61 63 74 65 72 73 20 61 72 6f 75 6e 64 2e |aracters around.| 00002a50 0a 73 63 52 52 45 41 44 4f 4e 4c 59 54 6f 67 67 |.scRREADONLYTogg| 00002a60 6c 65 20 72 65 61 64 20 6f 6e 6c 79 20 73 74 61 |le read only sta| 00002a70 74 65 20 28 72 20 69 6e 20 74 69 74 6c 65 29 2e |te (r in title).| 00002a80 0a 73 63 53 53 57 41 50 43 41 53 45 53 77 61 70 |.scSSWAPCASESwap| 00002a90 20 63 61 73 65 20 6f 66 20 6e 65 78 74 20 63 68 | case of next ch| 00002aa0 61 72 61 63 74 65 72 2f 73 65 6c 65 63 74 65 64 |aracter/selected| 00002ab0 20 72 65 67 69 6f 6e 2e 0a 73 63 54 49 4e 53 45 | region..scTINSE| 00002ac0 52 54 54 49 4d 45 49 6e 73 65 72 74 20 63 75 72 |RTTIMEInsert cur| 00002ad0 72 65 6e 74 20 74 69 6d 65 20 28 66 6f 72 6d 61 |rent time (forma| 00002ae0 74 20 69 6e 20 27 4b 65 79 73 27 20 66 69 6c 65 |t in 'Keys' file| 00002af0 29 2e 0a 73 63 55 52 55 4e 52 75 6e 20 61 20 62 |)..scURUNRun a b| 00002b00 61 73 69 63 20 70 72 6f 67 72 61 6d 20 66 72 6f |asic program fro| 00002b10 6d 20 6d 65 6d 6f 72 79 2e 0a 73 63 56 2d 52 65 |m memory..scV-Re| 00002b20 73 65 72 76 65 64 2e 0a 73 63 57 4b 45 45 50 52 |served..scWKEEPR| 00002b30 45 47 49 4f 4e 50 75 74 20 73 65 6c 65 63 74 65 |EGIONPut selecte| 00002b40 64 20 72 65 67 69 6f 6e 20 69 6e 74 6f 20 79 61 |d region into ya| 00002b50 6e 6b 20 62 75 66 66 65 72 2e 0a 73 63 58 43 4c |nk buffer..scXCL| 00002b60 4f 53 45 4f 54 48 45 52 43 6c 6f 73 65 20 6f 74 |OSEOTHERClose ot| 00002b70 68 65 72 20 6f 70 65 6e 20 77 69 6e 64 6f 77 2e |her open window.| 00002b80 0a 73 63 59 59 41 4e 4b 59 61 6e 6b 20 63 79 63 |.scYYANKYank cyc| 00002b90 6c 69 63 61 6c 6c 79 20 74 68 72 6f 75 67 68 20 |lically through | 00002ba0 64 65 6c 65 74 65 64 20 72 65 67 69 6f 6e 73 2e |deleted regions.| 00002bb0 0a 73 63 5a 4b 45 59 4d 41 50 20 31 45 6d 61 63 |.scZKEYMAP 1Emac| 00002bc0 73 20 70 72 65 66 69 78 20 6b 65 79 20 28 65 67 |s prefix key (eg| 00002bd0 20 73 63 5a 20 45 53 43 20 58 29 2e 0a 73 63 2d | scZ ESC X)..sc-| 00002be0 20 28 63 5f 29 46 55 4c 4c 55 4e 44 4f 55 6e 64 | (c_)FULLUNDOUnd| 00002bf0 6f 20 2d 20 65 6d 61 63 73 20 63 6f 6d 70 61 74 |o - emacs compat| 00002c00 69 62 69 6c 69 74 79 2e 0a 0a 41 2e 32 20 48 6f |ibility...A.2 Ho| 00002c10 77 20 74 6f 20 72 65 64 65 66 69 6e 65 20 6d 6f |w to redefine mo| 00002c20 72 65 20 6b 65 79 73 0a 2d 2d 2d 2d 2d 2d 2d 2d |re keys.--------| 00002c30 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00002c40 2d 2d 2d 2d 2d 0a 0a 41 74 20 74 68 65 20 73 74 |-----..At the st| 00002c50 61 72 74 20 6f 66 20 74 68 65 20 27 6b 65 79 73 |art of the 'keys| 00002c60 27 20 66 69 6c 65 2c 20 74 68 65 20 6b 65 79 73 |' file, the keys| 00002c70 20 66 6f 72 20 6b 65 79 6d 61 70 20 30 20 28 74 | for keymap 0 (t| 00002c80 68 65 20 64 65 66 61 75 6c 74 20 6b 65 79 20 6d |he default key m| 00002c90 61 70 29 0a 61 72 65 20 64 65 66 69 6e 65 64 2e |ap).are defined.| 00002ca0 20 45 61 63 68 20 6c 69 6e 65 20 69 73 20 6f 66 | Each line is of| 00002cb0 20 74 68 65 20 66 6f 72 6d 20 22 63 6f 6d 6d 65 | the form "comme| 00002cc0 6e 74 20 26 78 78 78 20 63 6f 6d 6d 61 6e 64 22 |nt &xxx command"| 00002cd0 20 77 68 65 72 65 20 27 63 6f 6d 6d 65 6e 74 27 | where 'comment'| 00002ce0 0a 69 73 20 61 6e 79 20 74 65 78 74 20 77 69 74 |.is any text wit| 00002cf0 68 6f 75 74 20 61 20 27 26 27 20 64 65 73 63 72 |hout a '&' descr| 00002d00 69 62 69 6e 67 20 74 68 65 20 6b 65 79 2c 20 27 |ibing the key, '| 00002d10 78 78 78 27 20 69 73 20 74 68 65 20 6e 75 6d 62 |xxx' is the numb| 00002d20 65 72 20 6f 66 20 74 68 65 20 6b 65 79 0a 69 6e |er of the key.in| 00002d30 20 68 65 78 61 64 65 63 69 6d 61 6c 20 28 5a 61 | hexadecimal (Za| 00002d40 70 20 6b 65 79 20 6e 75 6d 62 65 72 20 2d 20 73 |p key number - s| 00002d50 65 65 20 62 65 6c 6f 77 29 2c 20 27 20 27 20 69 |ee below), ' ' i| 00002d60 73 20 61 6e 79 20 6e 75 6d 62 65 72 20 6f 66 20 |s any number of | 00002d70 73 70 61 63 65 73 20 61 6e 64 0a 74 61 62 73 2c |spaces and.tabs,| 00002d80 20 61 6e 64 20 27 63 6f 6d 6d 61 6e 64 27 20 69 | and 'command' i| 00002d90 73 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 28 6f |s the command (o| 00002da0 72 20 6c 69 73 74 20 6f 66 20 63 6f 6d 6d 61 6e |r list of comman| 00002db0 64 73 29 20 74 6f 20 62 65 20 61 74 74 61 63 68 |ds) to be attach| 00002dc0 65 64 20 74 6f 0a 74 68 61 74 20 6b 65 79 2e 20 |ed to.that key. | 00002dd0 59 6f 75 20 6d 61 79 20 65 64 69 74 20 74 68 65 |You may edit the| 00002de0 20 66 69 6c 65 20 74 6f 20 61 64 64 2f 72 65 6d | file to add/rem| 00002df0 6f 76 65 20 6b 65 79 73 20 61 73 20 79 6f 75 20 |ove keys as you | 00002e00 70 6c 65 61 73 65 2e 20 20 49 66 20 61 20 6b 65 |please. If a ke| 00002e10 79 0a 69 73 20 6e 6f 74 20 6d 65 6e 74 69 6f 6e |y.is not mention| 00002e20 65 64 20 69 6e 20 74 68 65 20 6b 65 79 73 20 66 |ed in the keys f| 00002e30 69 6c 65 20 74 68 65 6e 20 69 74 20 69 73 20 70 |ile then it is p| 00002e40 61 73 73 65 64 20 6f 6e 20 74 6f 20 74 68 65 20 |assed on to the | 00002e50 6e 65 78 74 20 74 61 73 6b 2e 20 54 68 75 73 0a |next task. Thus.| 00002e60 44 4f 20 4e 4f 54 20 70 75 74 20 46 31 32 20 69 |DO NOT put F12 i| 00002e70 6e 20 74 68 65 20 27 6b 65 79 73 27 20 66 69 6c |n the 'keys' fil| 00002e80 65 20 28 6f 72 20 69 66 20 79 6f 75 20 64 6f 20 |e (or if you do | 00002e90 74 68 65 6e 20 62 69 6e 64 20 69 74 20 74 6f 20 |then bind it to | 00002ea0 74 68 65 20 63 6f 6d 6d 61 6e 64 0a 53 55 53 50 |the command.SUSP| 00002eb0 45 4e 44 20 3a 2d 29 2e 0a 0a 41 20 6c 69 73 74 |END :-)...A list| 00002ec0 20 6f 66 20 74 68 65 20 76 61 6c 69 64 20 63 6f | of the valid co| 00002ed0 6d 6d 61 6e 64 73 20 79 6f 75 20 63 61 6e 20 75 |mmands you can u| 00002ee0 73 65 20 61 6e 64 20 74 68 65 69 72 20 61 63 74 |se and their act| 00002ef0 69 6f 6e 73 20 69 73 20 67 69 76 65 6e 20 69 6e |ions is given in| 00002f00 20 74 68 65 0a 66 69 6c 65 20 27 43 6f 6d 6d 61 | the.file 'Comma| 00002f10 6e 64 73 27 20 77 69 74 68 69 6e 20 74 68 65 20 |nds' within the | 00002f20 27 44 6f 63 73 27 20 64 69 72 65 63 74 6f 72 79 |'Docs' directory| 00002f30 2e 20 54 68 69 73 20 61 6c 73 6f 20 67 69 76 65 |. This also give| 00002f40 73 20 66 75 6c 6c 20 64 65 74 61 69 6c 73 20 6f |s full details o| 00002f50 66 0a 74 68 65 20 73 79 6e 74 61 78 20 75 73 65 |f.the syntax use| 00002f60 64 2e 20 54 6f 20 73 75 6d 6d 61 72 69 73 65 20 |d. To summarise | 00002f70 74 68 65 73 65 20 64 65 74 61 69 6c 73 2c 20 73 |these details, s| 00002f80 74 72 69 6e 67 20 70 61 72 61 6d 65 74 65 72 73 |tring parameters| 00002f90 20 6d 75 73 74 20 62 65 20 69 6e 0a 64 6f 75 62 | must be in.doub| 00002fa0 6c 65 20 71 75 6f 74 65 73 20 28 6f 72 20 6f 6d |le quotes (or om| 00002fb0 69 74 74 65 64 20 69 66 20 79 6f 75 20 77 69 73 |itted if you wis| 00002fc0 68 20 74 68 65 20 6d 69 6e 69 62 75 66 66 65 72 |h the minibuffer| 00002fd0 20 74 6f 20 62 65 20 6f 70 65 6e 65 64 29 2c 20 | to be opened), | 00002fe0 61 6e 64 0a 63 6f 6d 6d 61 6e 64 73 20 63 61 6e |and.commands can| 00002ff0 20 62 65 20 73 74 72 75 6e 67 20 74 6f 67 65 74 | be strung toget| 00003000 68 65 72 20 77 69 74 68 20 74 68 65 20 27 3a 27 |her with the ':'| 00003010 20 73 65 70 61 72 61 74 6f 72 20 28 61 73 20 69 | separator (as i| 00003020 6e 20 42 41 53 49 43 29 2e 0a 0a 54 68 65 20 5a |n BASIC)...The Z| 00003030 61 70 20 6b 65 79 20 6e 75 6d 62 65 72 73 20 6c |ap key numbers l| 00003040 69 65 20 69 6e 20 74 68 65 20 72 61 6e 67 65 20 |ie in the range | 00003050 26 30 30 30 2d 26 31 46 46 20 61 6e 64 20 61 72 |&000-&1FF and ar| 00003060 65 20 62 61 73 65 64 20 6f 6e 20 74 68 6f 73 65 |e based on those| 00003070 0a 72 65 74 75 72 6e 65 64 20 62 79 20 57 69 6d |.returned by Wim| 00003080 70 5f 50 6f 6c 6c 2e 20 54 68 75 73 2c 20 74 68 |p_Poll. Thus, th| 00003090 65 20 66 75 6e 63 74 69 6f 6e 20 6b 65 79 73 20 |e function keys | 000030a0 72 65 74 75 72 6e 20 26 31 38 30 2d 26 31 46 46 |return &180-&1FF| 000030b0 2c 20 61 73 0a 64 6f 63 75 6d 65 6e 74 65 64 20 |, as.documented | 000030c0 69 6e 20 74 68 65 20 50 52 4d 73 2e 20 4a 75 73 |in the PRMs. Jus| 000030d0 74 20 6c 6f 6f 6b 20 61 74 20 74 68 65 20 27 6b |t look at the 'k| 000030e0 65 79 73 27 20 66 69 6c 65 20 69 66 20 79 6f 75 |eys' file if you| 000030f0 20 64 6f 6e 27 74 20 68 61 76 65 20 61 20 63 6f | don't have a co| 00003100 70 79 0a 6f 66 20 74 68 65 20 50 52 4d 73 2e 20 |py.of the PRMs. | 00003110 53 74 61 6e 64 61 72 64 20 63 68 61 72 61 63 74 |Standard charact| 00003120 65 72 73 20 72 65 74 75 72 6e 20 74 68 65 69 72 |ers return their| 00003130 20 61 73 63 69 69 20 76 61 6c 75 65 20 26 32 30 | ascii value &20| 00003140 2d 26 46 46 20 61 73 20 75 73 75 61 6c 2e 0a 26 |-&FF as usual..&| 00003150 37 46 20 73 74 61 6e 64 73 20 66 6f 72 20 75 6e |7F stands for un| 00003160 73 68 69 66 74 65 64 20 44 45 4c 45 54 45 2e 20 |shifted DELETE. | 00003170 49 6e 74 65 72 6e 61 6c 6c 79 20 5a 61 70 20 75 |Internally Zap u| 00003180 73 65 73 20 73 6f 6d 65 20 65 78 74 72 61 20 63 |ses some extra c| 00003190 6f 64 65 73 20 69 6e 20 74 68 65 0a 72 61 6e 67 |odes in the.rang| 000031a0 65 20 26 30 30 2d 26 31 46 20 61 6e 64 20 26 31 |e &00-&1F and &1| 000031b0 30 30 2d 26 31 37 46 20 77 68 69 63 68 20 64 69 |00-&17F which di| 000031c0 66 66 65 72 20 66 72 6f 6d 20 74 68 65 20 57 69 |ffer from the Wi| 000031d0 6d 70 27 73 2e 20 54 68 65 73 65 20 61 72 65 0a |mp's. These are.| 000031e0 64 6f 63 75 6d 65 6e 74 65 64 20 69 6e 20 74 68 |documented in th| 000031f0 65 20 66 69 6c 65 20 45 2d 4b 65 79 63 6f 64 65 |e file E-Keycode| 00003200 73 20 69 6e 20 74 68 65 20 64 6f 63 73 20 64 69 |s in the docs di| 00003210 72 65 63 74 6f 72 79 2e 0a 0a 45 78 61 6d 70 6c |rectory...Exampl| 00003220 65 3a 20 53 75 70 70 6f 73 65 20 79 6f 75 20 77 |e: Suppose you w| 00003230 69 73 68 65 64 20 63 74 72 6c 2d 5d 20 74 6f 20 |ished ctrl-] to | 00003240 65 6e 74 65 72 20 74 68 65 20 63 6f 64 65 20 26 |enter the code &| 00003250 31 44 20 69 6e 74 6f 20 74 68 65 20 66 69 6c 65 |1D into the file| 00003260 2e 20 54 68 65 6e 0a 79 6f 75 20 77 6f 75 6c 64 |. Then.you would| 00003270 20 65 6e 74 65 72 20 74 68 65 20 6c 69 6e 65 3a | enter the line:| 00003280 20 22 63 5d 20 20 20 20 20 20 20 20 26 31 32 44 | "c] &12D| 00003290 20 43 48 41 52 20 26 31 44 22 2e 0a 0a 54 68 65 | CHAR &1D"...The| 000032a0 20 6b 65 79 73 20 63 30 2d 63 39 20 61 6e 64 20 | keys c0-c9 and | 000032b0 73 63 30 2d 73 63 39 20 68 61 76 65 20 62 65 65 |sc0-sc9 have bee| 000032c0 6e 20 6c 65 66 74 20 69 6e 74 65 6e 74 69 6f 6e |n left intention| 000032d0 61 6c 6c 79 20 62 6c 61 6e 6b 2e 20 49 20 73 75 |ally blank. I su| 000032e0 67 67 65 73 74 0a 74 68 65 73 65 20 61 72 65 20 |ggest.these are | 000032f0 75 73 65 64 20 66 6f 72 20 75 73 65 72 20 63 6f |used for user co| 00003300 6d 6d 61 6e 64 73 2f 6d 61 63 72 6f 73 20 6f 72 |mmands/macros or| 00003310 20 62 69 6e 64 69 6e 67 20 74 68 65 20 6c 65 61 | binding the lea| 00003320 72 6e 74 20 73 65 71 75 65 6e 63 65 20 74 6f 20 |rnt sequence to | 00003330 76 69 61 0a 63 46 38 2e 20 53 65 65 20 74 68 65 |via.cF8. See the| 00003340 20 73 65 63 74 69 6f 6e 20 41 2e 35 20 6f 6e 20 | section A.5 on | 00003350 68 6f 77 20 74 6f 20 64 65 66 69 6e 65 20 6d 75 |how to define mu| 00003360 6c 74 69 70 6c 65 20 6b 65 79 6d 61 70 73 20 61 |ltiple keymaps a| 00003370 6e 64 20 73 77 69 74 63 68 20 62 65 74 77 65 65 |nd switch betwee| 00003380 6e 0a 74 68 65 6d 2e 0a 0a 41 2e 33 20 43 68 61 |n.them...A.3 Cha| 00003390 6e 67 69 6e 67 20 74 68 65 20 64 65 66 61 75 6c |nging the defaul| 000033a0 74 20 6f 70 74 69 6f 6e 73 0a 2d 2d 2d 2d 2d 2d |t options.------| 000033b0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 000033c0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 65 20 |----------..The | 000033d0 5a 61 70 20 6d 65 6e 75 20 79 6f 75 20 67 65 74 |Zap menu you get| 000033e0 20 77 68 65 6e 20 79 6f 75 20 63 6c 69 63 6b 20 | when you click | 000033f0 74 68 65 20 4d 45 4e 55 20 62 75 74 74 6f 6e 20 |the MENU button | 00003400 6f 6e 20 61 20 77 69 6e 64 6f 77 20 63 6f 6e 74 |on a window cont| 00003410 61 69 6e 73 20 74 68 65 0a 73 74 61 74 75 73 20 |ains the.status | 00003420 66 6f 72 20 74 68 61 74 20 77 69 6e 64 6f 77 20 |for that window | 00003430 6f 6e 6c 79 2e 20 41 6e 79 20 6f 70 74 69 6f 6e |only. Any option| 00003440 73 20 63 68 61 6e 67 65 64 20 6f 6e 20 74 68 69 |s changed on thi| 00003450 73 20 6d 65 6e 75 20 77 69 6c 6c 20 62 65 20 6c |s menu will be l| 00003460 6f 73 74 0a 69 6d 6d 65 64 69 61 74 65 6c 79 20 |ost.immediately | 00003470 74 68 65 20 77 69 6e 64 6f 77 20 69 73 20 63 6c |the window is cl| 00003480 6f 73 65 64 2e 20 54 6f 20 63 68 61 6e 67 65 20 |osed. To change | 00003490 61 6e 79 20 6f 70 74 69 6f 6e 20 70 65 72 6d 61 |any option perma| 000034a0 6e 65 6e 74 6c 79 2c 20 75 73 65 20 74 68 65 0a |nently, use the.| 000034b0 27 6f 70 74 69 6f 6e 73 27 20 6d 65 6e 75 20 6f |'options' menu o| 000034c0 62 74 61 69 6e 65 64 20 62 79 20 63 6c 69 63 6b |btained by click| 000034d0 69 6e 67 20 6f 6e 20 74 68 65 20 5a 61 70 20 69 |ing on the Zap i| 000034e0 63 6f 6e 20 6f 6e 20 74 68 65 20 69 63 6f 6e 62 |con on the iconb| 000034f0 61 72 2e 20 41 66 74 65 72 20 79 6f 75 0a 68 61 |ar. After you.ha| 00003500 76 65 20 63 68 61 6e 67 65 64 20 74 68 65 20 6f |ve changed the o| 00003510 70 74 69 6f 6e 20 6f 6e 20 74 68 69 73 20 6d 65 |ption on this me| 00003520 6e 75 20 63 6c 69 63 6b 20 74 68 65 20 27 73 61 |nu click the 'sa| 00003530 76 65 20 6f 70 74 69 6f 6e 73 27 20 65 6e 74 72 |ve options' entr| 00003540 79 2e 0a 0a 50 6c 65 61 73 65 20 6e 6f 74 65 20 |y...Please note | 00003550 74 68 61 74 20 73 6f 6d 65 20 6f 70 74 69 6f 6e |that some option| 00003560 73 20 61 72 65 20 73 74 6f 72 65 64 20 4d 4f 44 |s are stored MOD| 00003570 45 20 64 65 70 65 6e 64 61 6e 74 6c 79 2e 20 54 |E dependantly. T| 00003580 6f 20 63 68 61 6e 67 65 20 74 68 65 73 65 0a 6f |o change these.o| 00003590 70 74 69 6f 6e 73 20 69 74 20 69 73 20 66 69 72 |ptions it is fir| 000035a0 73 74 20 6e 65 63 65 73 73 61 72 79 20 74 6f 20 |st necessary to | 000035b0 53 57 49 54 43 48 20 54 4f 20 54 48 45 20 4d 4f |SWITCH TO THE MO| 000035c0 44 45 20 57 48 4f 53 45 20 4f 50 54 49 4f 4e 53 |DE WHOSE OPTIONS| 000035d0 20 59 4f 55 20 57 41 4e 54 20 54 4f 0a 43 48 41 | YOU WANT TO.CHA| 000035e0 4e 47 45 20 4f 4e 20 54 48 45 20 4f 50 54 49 4f |NGE ON THE OPTIO| 000035f0 4e 53 2e 4d 4f 44 45 20 4d 45 4e 55 2e 20 54 68 |NS.MODE MENU. Th| 00003600 65 20 6f 70 74 69 6f 6e 73 20 79 6f 75 20 6e 65 |e options you ne| 00003610 65 64 20 74 6f 20 64 6f 20 74 68 69 73 20 66 6f |ed to do this fo| 00003620 72 20 69 6e 63 6c 75 64 65 3a 0a 31 29 20 44 69 |r include:.1) Di| 00003630 73 70 6c 61 79 20 77 69 64 74 68 2e 0a 32 29 20 |splay width..2) | 00003640 4c 69 6e 65 20 6e 75 6d 62 65 72 20 73 74 61 74 |Line number stat| 00003650 75 73 2e 0a 33 29 20 41 75 74 6f 20 69 6e 64 65 |us..3) Auto inde| 00003660 6e 74 20 73 74 61 74 75 73 2e 0a 34 29 20 4c 69 |nt status..4) Li| 00003670 6e 65 20 65 64 69 74 2f 4e 6f 6e 20 73 74 61 6e |ne edit/Non stan| 00003680 64 61 72 64 20 65 64 69 74 20 73 74 61 74 75 73 |dard edit status| 00003690 2e 0a 35 29 20 48 65 78 20 65 6e 74 72 79 20 61 |..5) Hex entry a| 000036a0 6e 64 20 4f 76 65 72 77 72 69 74 65 20 73 74 61 |nd Overwrite sta| 000036b0 74 75 73 2e 0a 36 29 20 54 61 62 20 64 69 73 70 |tus..6) Tab disp| 000036c0 6c 61 79 20 73 74 61 74 75 73 2e 0a 37 29 20 43 |lay status..7) C| 000036d0 6f 6c 6f 75 72 73 2e 0a 0a 57 68 65 6e 20 79 6f |olours...When yo| 000036e0 75 20 63 68 61 6e 67 65 20 6d 6f 64 65 2c 20 74 |u change mode, t| 000036f0 68 65 20 6f 74 68 65 72 20 6f 70 74 69 6f 6e 73 |he other options| 00003700 20 6d 65 6e 75 73 20 77 69 6c 6c 20 62 65 20 75 | menus will be u| 00003710 70 64 61 74 65 64 20 74 6f 20 67 69 76 65 20 74 |pdated to give t| 00003720 68 65 0a 73 74 61 74 75 73 20 6f 66 20 74 68 65 |he.status of the| 00003730 20 66 6c 61 67 73 20 66 6f 72 20 74 68 69 73 20 | flags for this | 00003740 6d 6f 64 65 2e 0a 0a 45 78 61 6d 70 6c 65 3a 20 |mode...Example: | 00003750 54 6f 20 74 75 72 6e 20 74 68 65 20 6c 69 6e 65 |To turn the line| 00003760 20 6e 75 6d 62 65 72 73 20 6f 66 66 20 69 6e 20 | numbers off in | 00003770 42 61 73 69 63 20 65 64 69 74 69 6e 67 20 6d 6f |Basic editing mo| 00003780 64 65 20 75 73 65 20 74 68 65 20 73 65 71 75 65 |de use the seque| 00003790 6e 63 65 0a 6f 66 20 63 6c 69 63 6b 73 3a 0a 0a |nce.of clicks:..| 000037a0 7a 61 70 2e 6f 70 74 69 6f 6e 73 2e 6d 6f 64 65 |zap.options.mode| 000037b0 2e 62 61 73 69 63 0a 7a 61 70 2e 6f 70 74 69 6f |.basic.zap.optio| 000037c0 6e 73 2e 64 69 73 70 6c 61 79 2e 6c 69 6e 65 6e |ns.display.linen| 000037d0 75 6d 62 65 72 73 2e 6e 6f 6e 65 0a 7a 61 70 2e |umbers.none.zap.| 000037e0 6f 70 74 69 6f 6e 73 2e 6d 6f 64 65 2e 74 65 78 |options.mode.tex| 000037f0 74 0a 0a 54 68 65 20 6d 6f 64 65 20 73 65 74 20 |t..The mode set | 00003800 6f 6e 20 74 68 65 20 27 4f 70 74 69 6f 6e 73 2e |on the 'Options.| 00003810 4d 6f 64 65 27 20 6d 65 6e 75 20 77 69 6c 6c 20 |Mode' menu will | 00003820 61 6c 73 6f 20 62 65 20 74 68 65 20 6d 6f 64 65 |also be the mode| 00003830 20 75 73 65 64 20 66 6f 72 0a 6c 6f 61 64 69 6e | used for.loadin| 00003840 67 20 66 69 6c 65 73 20 77 68 6f 73 65 20 74 79 |g files whose ty| 00003850 70 65 20 69 73 20 6e 6f 74 20 72 65 63 6f 67 6e |pe is not recogn| 00003860 69 73 65 64 2c 20 6f 72 20 77 68 65 6e 20 79 6f |ised, or when yo| 00003870 75 20 68 6f 6c 64 20 64 6f 77 6e 20 74 68 65 20 |u hold down the | 00003880 43 54 52 4c 0a 6b 65 79 2e 20 49 6e 20 67 65 6e |CTRL.key. In gen| 00003890 65 72 61 6c 20 79 6f 75 20 73 68 6f 75 6c 64 20 |eral you should | 000038a0 61 6c 77 61 79 73 20 70 75 74 20 74 68 69 73 20 |always put this | 000038b0 6d 6f 64 65 20 62 61 63 6b 20 74 6f 20 54 45 58 |mode back to TEX| 000038c0 54 20 61 66 74 65 72 20 63 68 61 6e 67 69 6e 67 |T after changing| 000038d0 0a 6f 70 74 69 6f 6e 73 20 6f 66 20 6f 74 68 65 |.options of othe| 000038e0 72 20 6d 6f 64 65 73 2e 0a 0a 4f 74 68 65 72 20 |r modes...Other | 000038f0 6f 70 74 69 6f 6e 73 20 74 68 61 74 20 61 72 65 |options that are| 00003900 20 73 61 76 65 64 20 62 79 20 63 6c 69 63 6b 69 | saved by clicki| 00003910 6e 67 20 53 61 76 65 20 53 65 74 74 69 6e 67 73 |ng Save Settings| 00003920 20 69 6e 63 6c 75 64 65 3a 0a 31 29 20 57 68 65 | include:.1) Whe| 00003930 74 68 65 72 20 73 65 61 72 63 68 65 73 20 61 72 |ther searches ar| 00003940 65 20 63 61 73 65 20 73 65 6e 73 69 74 69 76 65 |e case sensitive| 00003950 20 6f 72 20 6e 6f 74 2e 0a 32 29 20 57 68 65 74 | or not..2) Whet| 00003960 68 65 72 20 71 75 69 63 6b 20 70 72 69 6e 74 20 |her quick print | 00003970 61 64 64 73 20 61 20 74 69 74 6c 65 20 68 65 61 |adds a title hea| 00003980 64 65 72 20 6f 72 20 6e 6f 74 2e 0a 0a 54 6f 20 |der or not...To | 00003990 63 68 61 6e 67 65 20 74 68 65 20 64 65 66 61 75 |change the defau| 000039a0 6c 74 20 64 69 73 70 6c 61 79 20 77 69 64 74 68 |lt display width| 000039b0 20 66 6f 72 20 6d 6f 64 65 20 6e 2c 20 75 73 65 | for mode n, use| 000039c0 20 74 68 65 20 6f 70 74 69 6f 6e 73 2e 6d 6f 64 | the options.mod| 000039d0 65 2e 77 69 64 74 68 0a 6d 65 6e 75 73 2e 20 54 |e.width.menus. T| 000039e0 6f 20 63 68 61 6e 67 65 20 74 68 65 20 73 69 7a |o change the siz| 000039f0 65 20 6f 66 20 61 6e 20 6f 70 65 6e 65 64 20 77 |e of an opened w| 00003a00 69 6e 64 6f 77 20 66 6f 72 20 6d 6f 64 65 20 6e |indow for mode n| 00003a10 2c 20 63 72 65 61 74 65 20 61 20 74 65 6d 70 6c |, create a templ| 00003a20 61 74 65 0a 69 6e 20 74 68 65 20 74 65 6d 70 6c |ate.in the templ| 00003a30 61 74 65 20 66 69 6c 65 20 63 61 6c 6c 65 64 20 |ate file called | 00003a40 6d 6f 64 65 5f 6e 2e 20 54 68 65 20 73 69 7a 65 |mode_n. The size| 00003a50 20 61 6e 64 20 70 6f 73 69 74 69 6f 6e 20 6f 66 | and position of| 00003a60 20 74 68 69 73 20 74 65 6d 70 6c 61 74 65 0a 64 | this template.d| 00003a70 65 74 65 72 6d 69 6e 65 73 20 74 68 65 20 6f 70 |etermines the op| 00003a80 65 6e 69 6e 67 20 73 69 7a 65 20 61 6e 64 20 70 |ening size and p| 00003a90 6f 73 69 74 69 6f 6e 20 28 6d 6f 64 75 6c 6f 20 |osition (modulo | 00003aa0 73 74 61 63 6b 69 6e 67 29 20 6f 66 20 79 6f 75 |stacking) of you| 00003ab0 72 20 77 69 6e 64 6f 77 2e 0a 54 68 65 20 6f 74 |r window..The ot| 00003ac0 68 65 72 20 74 65 6d 70 6c 61 74 65 20 66 6c 61 |her template fla| 00003ad0 67 73 20 61 72 65 20 6e 6f 74 20 6c 6f 6f 6b 65 |gs are not looke| 00003ae0 64 20 61 74 2e 0a 0a 53 6f 6d 65 20 6f 74 68 65 |d at...Some othe| 00003af0 72 20 6f 70 74 69 6f 6e 73 20 61 72 65 20 73 74 |r options are st| 00003b00 6f 72 65 64 20 69 6e 20 74 68 65 20 27 6b 65 79 |ored in the 'key| 00003b10 73 27 20 66 69 6c 65 2e 20 54 68 65 20 66 69 6c |s' file. The fil| 00003b20 65 20 65 6e 74 72 69 65 73 20 61 72 65 20 69 6e |e entries are in| 00003b30 20 74 68 65 0a 66 6f 72 6d 3a 20 22 3c 63 6f 6d | the.form: "<com| 00003b40 6d 65 6e 74 3e 20 26 78 78 78 20 3c 61 72 67 31 |ment> &xxx <arg1| 00003b50 3e 20 3c 61 72 67 32 3e 20 2e 2e 2e 20 3c 61 72 |> <arg2> ... <ar| 00003b60 67 6e 3e 22 20 77 68 65 72 65 20 27 78 78 78 27 |gn>" where 'xxx'| 00003b70 20 69 73 20 61 20 6e 75 6d 62 65 72 20 49 0a 77 | is a number I.w| 00003b80 69 6c 6c 20 63 61 6c 6c 20 74 68 65 20 6b 65 79 |ill call the key| 00003b90 20 76 61 72 69 61 62 6c 65 20 6e 75 6d 62 65 72 | variable number| 00003ba0 2e 20 54 68 65 20 76 61 72 69 61 62 6c 65 20 6e |. The variable n| 00003bb0 75 6d 62 65 72 73 20 69 6e 20 74 68 65 20 6b 65 |umbers in the ke| 00003bc0 79 73 20 66 69 6c 65 20 61 72 65 0a 64 6f 63 75 |ys file are.docu| 00003bd0 6d 65 6e 74 65 64 20 62 65 6c 6f 77 3a 0a 0a 20 |mented below:.. | 00003be0 26 30 30 30 2d 26 31 46 46 54 68 65 20 64 65 66 |&000-&1FFThe def| 00003bf0 61 75 6c 74 20 6b 65 79 6d 61 70 2e 0a 20 61 72 |ault keymap.. ar| 00003c00 67 31 3d 74 68 65 20 63 6f 6d 6d 61 6e 64 20 61 |g1=the command a| 00003c10 74 74 61 63 68 65 64 20 74 6f 20 74 68 61 74 20 |ttached to that | 00003c20 6b 65 79 20 63 6f 64 65 2e 0a 0a 20 26 32 30 30 |key code... &200| 00003c30 2d 26 32 30 46 54 68 65 73 65 20 67 69 76 65 20 |-&20FThese give | 00003c40 74 68 65 20 31 36 20 73 65 61 72 63 68 20 6d 61 |the 16 search ma| 00003c50 63 72 6f 73 2e 0a 20 61 72 67 31 3d 74 68 65 20 |cros.. arg1=the | 00003c60 6d 61 63 72 6f 20 73 74 72 69 6e 67 20 28 75 70 |macro string (up| 00003c70 20 74 6f 20 33 20 63 68 61 72 73 29 0a 20 61 72 | to 3 chars). ar| 00003c80 67 32 3d 74 68 65 20 72 65 70 6c 61 63 65 6d 65 |g2=the replaceme| 00003c90 6e 74 20 73 74 72 69 6e 67 2e 0a 20 26 33 30 30 |nt string.. &300| 00003ca0 54 68 65 20 64 61 74 65 20 66 6f 72 6d 61 74 20 |The date format | 00003cb0 74 6f 20 75 73 65 20 66 6f 72 20 73 63 44 2e 0a |to use for scD..| 00003cc0 20 61 72 67 31 3d 66 6f 72 6d 61 74 20 73 74 72 | arg1=format str| 00003cd0 69 6e 67 20 61 73 20 75 73 65 64 20 62 79 20 74 |ing as used by t| 00003ce0 68 65 20 53 57 49 20 4f 53 5f 43 6f 6e 76 65 72 |he SWI OS_Conver| 00003cf0 74 44 61 74 65 41 6e 64 54 69 6d 65 0a 20 26 33 |tDateAndTime. &3| 00003d00 30 31 54 68 65 20 74 69 6d 65 20 66 6f 72 6d 61 |01The time forma| 00003d10 74 20 74 6f 20 75 73 65 20 66 6f 72 20 73 63 54 |t to use for scT| 00003d20 2e 0a 20 61 72 67 31 3d 66 6f 72 6d 61 74 20 73 |.. arg1=format s| 00003d30 74 72 69 6e 67 20 61 73 20 75 73 65 64 20 62 79 |tring as used by| 00003d40 20 74 68 65 20 53 57 49 20 4f 53 5f 43 6f 6e 76 | the SWI OS_Conv| 00003d50 65 72 74 44 61 74 65 41 6e 64 54 69 6d 65 0a 20 |ertDateAndTime. | 00003d60 26 33 30 32 54 68 65 20 64 65 66 61 75 6c 74 20 |&302The default | 00003d70 66 6f 6e 74 20 6e 61 6d 65 20 74 6f 20 75 73 65 |font name to use| 00003d80 20 69 6e 20 66 6f 6e 74 20 64 69 73 70 6c 61 79 | in font display| 00003d90 20 6d 6f 64 65 73 2e 0a 20 26 33 30 33 54 68 65 | modes.. &303The| 00003da0 20 6e 75 6d 62 65 72 20 6f 66 20 62 6c 61 6e 6b | number of blank| 00003db0 20 6c 69 6e 65 73 20 74 6f 20 6c 65 61 76 65 20 | lines to leave | 00003dc0 61 74 20 74 68 65 20 65 6e 64 20 6f 66 20 61 20 |at the end of a | 00003dd0 77 69 6e 64 6f 77 2e 0a 20 26 33 30 34 54 68 65 |window.. &304The| 00003de0 20 64 65 66 61 75 6c 74 20 66 6f 6e 74 20 73 69 | default font si| 00003df0 7a 65 20 69 6e 20 70 6f 69 6e 74 73 2e 0a 20 26 |ze in points.. &| 00003e00 33 30 35 54 68 65 20 6e 75 6d 62 65 72 20 6f 66 |305The number of| 00003e10 20 70 69 78 65 6c 73 20 74 6f 20 73 68 61 76 65 | pixels to shave| 00003e20 20 6f 66 66 20 74 68 65 20 74 6f 70 20 6f 66 20 | off the top of | 00003e30 61 20 66 6f 6e 74 20 63 68 61 72 2e 0a 20 26 33 |a font char.. &3| 00003e40 30 36 54 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 |06The number of | 00003e50 70 69 78 65 6c 73 20 74 6f 20 73 68 61 76 65 20 |pixels to shave | 00003e60 6f 66 66 20 74 68 65 20 62 6f 74 74 6f 6d 20 6f |off the bottom o| 00003e70 66 20 61 20 66 6f 6e 74 20 63 68 61 72 2e 0a 20 |f a font char.. | 00003e80 26 33 30 37 54 68 65 20 63 6f 64 65 73 20 74 6f |&307The codes to| 00003e90 20 73 65 6e 64 20 74 6f 20 74 68 65 20 70 72 69 | send to the pri| 00003ea0 6e 74 65 72 20 61 74 20 74 68 65 20 65 6e 64 20 |nter at the end | 00003eb0 6f 66 20 61 20 6c 69 6e 65 20 66 6f 72 0a 20 27 |of a line for. '| 00003ec0 71 75 69 63 6b 20 70 72 69 6e 74 27 2e 20 61 72 |quick print'. ar| 00003ed0 67 31 3d 73 74 72 69 6e 67 20 74 6f 20 62 65 20 |g1=string to be | 00003ee0 47 53 20 74 72 61 6e 73 65 64 2e 0a 20 26 33 30 |GS transed.. &30| 00003ef0 38 4e 75 6d 62 65 72 20 6f 66 20 63 68 61 72 61 |8Number of chara| 00003f00 63 74 65 72 73 20 74 6f 20 6b 65 65 70 20 63 75 |cters to keep cu| 00003f10 72 73 6f 72 20 66 72 6f 6d 20 74 68 65 20 6c 65 |rsor from the le| 00003f20 66 74 20 6d 61 72 67 69 6e 2e 0a 20 26 33 30 39 |ft margin.. &309| 00003f30 4e 75 6d 62 65 72 20 6f 66 20 63 68 61 72 61 63 |Number of charac| 00003f40 74 65 72 73 20 74 6f 20 6b 65 65 70 20 63 75 72 |ters to keep cur| 00003f50 73 6f 72 20 66 72 6f 6d 20 74 68 65 20 72 69 67 |sor from the rig| 00003f60 68 74 20 6d 61 72 67 69 6e 2e 0a 20 26 33 30 41 |ht margin.. &30A| 00003f70 4e 75 6d 62 65 72 20 6f 66 20 63 68 61 72 61 63 |Number of charac| 00003f80 74 65 72 73 20 74 6f 20 6b 65 65 70 20 63 75 72 |ters to keep cur| 00003f90 73 6f 72 20 66 72 6f 6d 20 74 68 65 20 74 6f 70 |sor from the top| 00003fa0 2e 0a 20 26 33 30 42 4e 75 6d 62 65 72 20 6f 66 |.. &30BNumber of| 00003fb0 20 63 68 61 72 61 63 74 65 72 73 20 74 6f 20 6b | characters to k| 00003fc0 65 65 70 20 63 75 72 73 6f 72 20 66 72 6f 6d 20 |eep cursor from | 00003fd0 74 68 65 20 62 6f 74 74 6f 6d 2e 0a 20 26 33 30 |the bottom.. &30| 00003fe0 44 52 69 67 68 74 20 68 61 6e 64 20 6d 61 72 67 |DRight hand marg| 00003ff0 69 6e 20 69 6e 20 70 69 78 65 6c 73 2e 0a 20 26 |in in pixels.. &| 00004000 33 30 45 46 69 6c 65 74 79 70 65 20 6f 66 20 66 |30EFiletype of f| 00004010 69 6c 65 20 74 6f 20 62 65 20 63 72 65 61 74 65 |ile to be create| 00004020 64 20 77 68 65 6e 20 53 45 4c 45 43 54 20 63 6c |d when SELECT cl| 00004030 69 63 6b 65 64 20 6f 6e 0a 20 74 68 65 20 69 63 |icked on. the ic| 00004040 6f 6e 62 61 72 2e 0a 20 26 33 30 46 46 69 6c 65 |onbar.. &30FFile| 00004050 74 79 70 65 20 6f 66 20 66 69 6c 65 20 74 6f 20 |type of file to | 00004060 62 65 20 63 72 65 61 74 65 64 20 77 68 65 6e 20 |be created when | 00004070 41 44 4a 55 53 54 20 63 6c 69 63 6b 65 64 20 6f |ADJUST clicked o| 00004080 6e 0a 20 74 68 65 20 69 63 6f 6e 62 61 72 2e 0a |n. the iconbar..| 00004090 20 26 33 31 30 54 68 65 20 6e 75 6d 62 65 72 20 | &310The number | 000040a0 6f 66 20 70 69 78 65 6c 73 20 74 6f 20 73 68 61 |of pixels to sha| 000040b0 76 65 20 6f 66 66 20 74 68 65 20 6c 65 66 74 20 |ve off the left | 000040c0 6f 66 20 61 20 66 6f 6e 74 20 63 68 61 72 2e 0a |of a font char..| 000040d0 20 26 33 31 31 54 68 65 20 6e 75 6d 62 65 72 20 | &311The number | 000040e0 6f 66 20 70 69 78 65 6c 73 20 74 6f 20 73 68 61 |of pixels to sha| 000040f0 76 65 20 6f 66 66 20 74 68 65 20 72 69 67 68 74 |ve off the right| 00004100 20 6f 66 20 61 20 66 6f 6e 74 20 63 68 61 72 2e | of a font char.| 00004110 0a 20 26 33 31 34 54 68 65 20 6d 69 6e 69 62 75 |. &314The minibu| 00004120 66 66 65 72 20 73 69 7a 65 20 69 6e 20 63 68 61 |ffer size in cha| 00004130 72 61 63 74 65 72 73 2e 0a 20 26 33 31 35 54 68 |racters.. &315Th| 00004140 65 20 64 65 66 61 75 6c 74 20 69 6e 64 65 6e 74 |e default indent| 00004150 20 73 74 72 69 6e 67 2e 0a 20 26 33 31 36 46 6c | string.. &316Fl| 00004160 61 73 68 69 6e 67 20 63 75 72 73 6f 72 20 6f 6e |ashing cursor on| 00004170 20 70 65 72 69 6f 64 20 69 6e 20 63 65 6e 74 69 | period in centi| 00004180 73 65 63 6f 6e 64 73 2e 0a 20 26 33 31 37 46 6c |seconds.. &317Fl| 00004190 61 73 68 69 6e 67 20 63 75 72 73 6f 72 20 6f 66 |ashing cursor of| 000041a0 66 20 70 65 72 69 6f 64 20 69 6e 20 63 65 6e 74 |f period in cent| 000041b0 69 73 65 63 6f 6e 64 73 2e 0a 20 0a 20 26 34 30 |iseconds.. . &40| 000041c0 30 54 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 74 |0The number of t| 000041d0 68 65 20 64 65 66 61 75 6c 74 20 6b 65 79 20 6d |he default key m| 000041e0 61 70 20 28 75 73 75 61 6c 6c 79 20 30 29 2e 0a |ap (usually 0)..| 000041f0 20 26 34 78 78 20 28 78 78 3c 3e 30 29 52 61 6e | &4xx (xx<>0)Ran| 00004200 67 65 20 6f 66 20 6b 65 79 6d 61 70 20 78 78 20 |ge of keymap xx | 00004210 28 73 65 65 20 41 2e 35 29 0a 20 61 72 67 31 3d |(see A.5). arg1=| 00004220 73 6d 61 6c 6c 65 73 74 20 5a 61 70 20 6b 65 79 |smallest Zap key| 00004230 6e 75 6d 62 65 72 20 74 6f 20 62 65 20 73 75 70 |number to be sup| 00004240 70 6f 72 74 65 64 0a 20 61 72 67 32 3d 6c 61 72 |ported. arg2=lar| 00004250 67 65 73 74 20 5a 61 70 20 6b 65 79 6e 75 6d 62 |gest Zap keynumb| 00004260 65 72 20 74 6f 20 62 65 20 73 75 70 70 6f 72 74 |er to be support| 00004270 65 64 20 28 69 6e 63 6c 75 73 69 76 65 29 0a 20 |ed (inclusive). | 00004280 0a 20 26 35 78 78 54 68 65 73 65 20 73 61 79 20 |. &5xxThese say | 00004290 77 68 69 63 68 20 6d 6f 64 65 20 74 6f 20 6c 6f |which mode to lo| 000042a0 61 64 20 61 20 66 69 6c 65 20 6f 6e 20 64 65 70 |ad a file on dep| 000042b0 65 6e 64 65 6e 74 20 6f 6e 20 74 68 65 20 70 61 |endent on the pa| 000042c0 74 68 2e 0a 20 61 72 67 31 3d 66 69 6c 65 74 79 |th.. arg1=filety| 000042d0 70 65 20 74 6f 20 6d 61 74 63 68 20 28 2d 31 20 |pe to match (-1 | 000042e0 66 6f 72 20 6d 61 74 63 68 20 61 6e 79 29 0a 61 |for match any).a| 000042f0 72 67 32 3d 66 69 6c 65 6e 61 6d 65 20 74 6f 20 |rg2=filename to | 00004300 6d 61 74 63 68 20 2d 20 74 68 65 20 73 74 72 69 |match - the stri| 00004310 6e 67 20 63 61 6e 20 63 6f 6e 74 61 69 6e 20 61 |ng can contain a| 00004320 6e 79 20 6f 66 0a 20 20 20 20 20 74 68 65 20 77 |ny of. the w| 00004330 69 6c 64 63 61 72 64 73 20 64 6f 63 75 6d 65 6e |ildcards documen| 00004340 74 65 64 20 75 6e 64 65 72 20 73 65 61 72 63 68 |ted under search| 00004350 69 6e 67 2e 0a 61 72 67 33 3d 5b 2b 5d 3c 6d 6f |ing..arg3=[+]<mo| 00004360 64 65 20 6e 61 6d 65 3e 20 61 73 20 66 6f 72 20 |de name> as for | 00004370 61 72 67 31 20 69 6e 20 74 68 65 20 31 78 78 78 |arg1 in the 1xxx| 00004380 27 73 20 62 65 6c 6f 77 2e 0a 4e 42 20 54 68 65 |'s below..NB The| 00004390 20 6f 72 64 65 72 20 69 6e 20 77 68 69 63 68 20 | order in which | 000043a0 74 68 65 20 6e 61 6d 65 73 20 61 70 70 65 61 72 |the names appear| 000043b0 20 69 73 20 69 6d 70 6f 72 74 61 6e 74 20 2d 20 | is important - | 000043c0 74 68 65 0a 66 69 72 73 74 20 6d 61 74 63 68 20 |the.first match | 000043d0 77 69 6c 6c 20 62 65 20 74 61 6b 65 6e 2e 0a 0a |will be taken...| 000043e0 20 26 31 78 78 78 54 68 65 73 65 20 73 70 65 63 | &1xxxThese spec| 000043f0 69 66 79 20 77 68 69 63 68 20 6f 66 20 74 68 65 |ify which of the| 00004400 20 5a 61 70 20 6d 6f 64 65 73 20 61 20 66 69 6c | Zap modes a fil| 00004410 65 20 6f 66 20 66 69 6c 65 74 79 70 65 20 78 78 |e of filetype xx| 00004420 78 0a 20 73 68 6f 75 6c 64 20 62 65 20 6c 6f 61 |x. should be loa| 00004430 64 65 64 20 69 6e 20 61 73 20 28 77 68 65 6e 20 |ded in as (when | 00004440 43 54 52 4c 20 6e 6f 74 20 70 72 65 73 73 65 64 |CTRL not pressed| 00004450 29 2e 0a 20 61 72 67 31 3d 5b 2b 5d 3c 6d 6f 64 |).. arg1=[+]<mod| 00004460 65 20 6e 61 6d 65 3e 0a 20 49 66 20 74 68 65 20 |e name>. If the | 00004470 6f 70 74 69 6f 6e 61 6c 20 27 2b 27 20 69 73 20 |optional '+' is | 00004480 70 72 65 73 65 6e 74 20 74 68 65 6e 20 74 68 65 |present then the| 00004490 20 66 69 6c 65 20 77 69 6c 6c 20 62 65 20 6c 6f | file will be lo| 000044a0 61 64 65 64 0a 20 65 76 65 6e 20 69 66 20 53 48 |aded. even if SH| 000044b0 49 46 54 20 69 73 20 6e 6f 74 20 68 65 6c 64 20 |IFT is not held | 000044c0 77 68 65 6e 20 79 6f 75 20 64 6f 75 62 6c 65 20 |when you double | 000044d0 63 6c 69 63 6b 2e 0a 20 54 68 65 20 6d 6f 64 65 |click.. The mode| 000044e0 20 6e 61 6d 65 20 69 73 20 43 41 53 45 20 53 45 | name is CASE SE| 000044f0 4e 53 49 54 49 56 45 2e 0a 20 50 6c 61 63 65 20 |NSITIVE.. Place | 00004500 74 68 65 20 26 31 78 78 78 20 76 61 72 69 61 62 |the &1xxx variab| 00004510 6c 65 20 62 65 66 6f 72 65 20 74 68 65 20 26 35 |le before the &5| 00004520 78 78 20 6f 6e 65 73 20 69 66 20 79 6f 75 20 77 |xx ones if you w| 00004530 61 6e 74 0a 20 74 68 65 20 66 69 6c 65 74 79 70 |ant. the filetyp| 00004540 65 20 74 6f 20 62 65 20 63 68 65 63 6b 65 64 20 |e to be checked | 00004550 62 65 66 6f 72 65 20 74 68 65 20 70 61 74 68 6e |before the pathn| 00004560 61 6d 65 2e 0a 20 0a 20 26 32 30 30 30 41 73 20 |ame.. . &2000As | 00004570 66 6f 72 20 26 31 78 78 78 2c 20 62 75 74 20 74 |for &1xxx, but t| 00004580 68 65 20 6d 6f 64 65 20 74 6f 20 75 73 65 20 66 |he mode to use f| 00004590 6f 72 20 55 4e 54 59 50 45 44 20 66 69 6c 65 73 |or UNTYPED files| 000045a0 2e 0a 20 0a 20 26 31 30 30 30 30 2b 54 68 65 73 |.. . &10000+Thes| 000045b0 65 20 73 70 65 63 69 66 79 20 61 6c 74 65 72 6e |e specify altern| 000045c0 61 74 65 20 6b 65 79 6d 61 70 73 20 28 73 65 65 |ate keymaps (see| 000045d0 20 41 2e 35 29 2e 0a 20 26 79 30 78 78 78 61 72 | A.5).. &y0xxxar| 000045e0 67 31 3d 74 68 65 20 63 6f 6d 6d 61 6e 64 20 74 |g1=the command t| 000045f0 6f 20 62 65 20 6d 61 70 70 65 64 20 74 6f 20 6b |o be mapped to k| 00004600 65 79 20 77 69 74 68 20 63 6f 64 65 20 26 78 78 |ey with code &xx| 00004610 78 20 69 6e 0a 20 6b 65 79 6d 61 70 20 6e 75 6d |x in. keymap num| 00004620 62 65 72 20 26 79 2e 0a 0a 41 2e 34 20 44 69 66 |ber &y...A.4 Dif| 00004630 66 65 72 65 6e 63 65 73 20 77 69 74 68 20 52 49 |ferences with RI| 00004640 53 43 4f 53 20 32 2f 33 0a 2d 2d 2d 2d 2d 2d 2d |SCOS 2/3.-------| 00004650 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00004660 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 49 66 20 75 73 69 |--------..If usi| 00004670 6e 67 20 66 6f 6e 74 73 2c 20 74 68 65 6e 20 5a |ng fonts, then Z| 00004680 61 70 20 77 69 6c 6c 20 6e 65 65 64 20 74 68 65 |ap will need the| 00004690 20 6f 75 74 6c 69 6e 65 20 66 6f 6e 74 20 6d 61 | outline font ma| 000046a0 6e 61 67 65 72 20 76 73 6e 20 32 2e 34 32 2e 20 |nager vsn 2.42. | 000046b0 54 68 69 73 20 69 73 0a 75 73 65 64 20 62 79 20 |This is.used by | 000046c0 49 6d 70 72 65 73 73 69 6f 6e 20 61 6e 64 20 6f |Impression and o| 000046d0 74 68 65 72 20 44 54 50 20 70 72 6f 67 72 61 6d |ther DTP program| 000046e0 73 2e 20 49 66 20 75 73 69 6e 67 20 74 61 73 6b |s. If using task| 000046f0 20 77 69 6e 64 6f 77 73 2c 20 74 68 65 6e 20 5a | windows, then Z| 00004700 61 70 0a 77 69 6c 6c 20 65 78 70 65 63 74 20 74 |ap.will expect t| 00004710 6f 20 66 69 6e 64 20 74 68 65 20 6d 6f 64 75 6c |o find the modul| 00004720 65 20 27 54 61 73 6b 27 20 69 6e 20 74 68 65 20 |e 'Task' in the | 00004730 53 79 73 74 65 6d 3a 4d 6f 64 75 6c 65 73 20 64 |System:Modules d| 00004740 69 72 65 63 74 6f 72 79 2e 20 54 68 69 73 0a 73 |irectory. This.s| 00004750 68 6f 75 6c 64 20 62 65 20 74 68 65 20 54 61 73 |hould be the Tas| 00004760 6b 20 6d 6f 64 75 6c 65 20 73 75 70 70 6c 69 65 |k module supplie| 00004770 64 20 77 69 74 68 20 44 44 45 2e 20 4f 66 20 63 |d with DDE. Of c| 00004780 6f 75 72 73 65 20 5e 46 31 32 20 77 69 6c 6c 20 |ourse ^F12 will | 00004790 6e 6f 74 20 62 72 69 6e 67 20 75 70 0a 74 68 65 |not bring up.the| 000047a0 20 74 61 73 6b 77 69 6e 64 6f 77 20 6f 6e 20 52 | taskwindow on R| 000047b0 69 73 63 20 4f 73 20 32 2e 20 49 27 6d 20 73 6f |isc Os 2. I'm so| 000047c0 72 72 79 20 61 62 6f 75 74 20 74 68 69 73 2c 20 |rry about this, | 000047d0 62 75 74 20 69 74 27 73 20 61 20 6c 6f 74 20 6f |but it's a lot o| 000047e0 66 20 68 61 73 73 6c 65 0a 66 6f 72 20 6d 65 20 |f hassle.for me | 000047f0 74 6f 20 66 69 6e 64 20 61 20 52 69 73 63 20 4f |to find a Risc O| 00004800 73 20 32 20 6d 61 63 68 69 6e 65 20 74 6f 20 77 |s 2 machine to w| 00004810 6f 72 6b 20 6f 6e 2e 20 59 6f 75 20 63 61 6e 20 |ork on. You can | 00004820 61 6c 77 61 79 73 20 6d 61 70 20 5e 46 31 32 20 |always map ^F12 | 00004830 74 6f 20 74 68 65 0a 63 6f 6d 6d 61 6e 64 20 54 |to the.command T| 00004840 41 53 4b 57 49 4e 44 4f 57 2e 0a 0a 50 6c 65 61 |ASKWINDOW...Plea| 00004850 73 65 20 6e 6f 74 65 20 74 68 61 74 20 6f 6e 6c |se note that onl| 00004860 79 20 6c 65 66 74 20 73 68 69 66 74 20 64 6f 75 |y left shift dou| 00004870 62 6c 65 20 63 6c 69 63 6b 20 77 69 6c 6c 20 6c |ble click will l| 00004880 6f 61 64 20 61 20 6e 6f 6e 20 74 65 78 74 20 66 |oad a non text f| 00004890 69 6c 65 2e 0a 52 69 67 68 74 20 73 68 69 66 74 |ile..Right shift| 000048a0 20 69 73 20 64 65 6c 69 62 65 72 61 74 65 6c 79 | is deliberately| 000048b0 20 6e 6f 74 20 74 65 73 74 65 64 20 66 6f 72 20 | not tested for | 000048c0 61 73 20 73 6f 6d 65 20 70 65 6f 70 6c 65 20 75 |as some people u| 000048d0 73 65 20 69 74 20 66 6f 72 20 6f 74 68 65 72 0a |se it for other.| 000048e0 74 68 69 6e 67 73 2e 20 49 20 68 61 76 65 20 6e |things. I have n| 000048f0 6f 20 63 6f 6e 74 72 6f 6c 20 6f 76 65 72 20 74 |o control over t| 00004900 68 69 73 20 6f 6e 20 52 69 73 63 20 4f 73 20 33 |his on Risc Os 3| 00004910 2e 0a 0a 41 6e 6f 74 68 65 72 20 73 65 74 20 6f |...Another set o| 00004920 66 20 74 65 6d 70 6c 61 74 65 73 20 68 61 73 20 |f templates has | 00004930 62 65 65 6e 20 70 72 6f 76 69 64 65 64 20 66 6f |been provided fo| 00004940 72 20 52 69 73 63 20 4f 73 20 33 20 75 73 65 72 |r Risc Os 3 user| 00004950 73 2e 20 54 68 65 73 65 20 61 72 65 0a 63 61 6c |s. These are.cal| 00004960 6c 65 64 20 54 65 6d 70 6c 61 74 65 73 45 20 61 |led TemplatesE a| 00004970 6e 64 20 49 20 6d 75 73 74 20 74 68 61 6e 6b 20 |nd I must thank | 00004980 4d 61 72 74 69 6e 20 45 62 6f 75 72 6e 65 20 66 |Martin Ebourne f| 00004990 6f 72 20 61 6c 6c 6f 77 69 6e 67 20 6d 65 20 74 |or allowing me t| 000049a0 6f 0a 69 6e 63 6c 75 64 65 20 74 68 65 6d 2e 0a |o.include them..| 000049b0 0a 41 2e 35 20 4d 75 6c 74 69 70 6c 65 20 6b 65 |.A.5 Multiple ke| 000049c0 79 6d 61 70 73 20 2f 20 74 68 65 20 45 6d 61 63 |ymaps / the Emac| 000049d0 73 20 6b 65 79 6d 61 70 2e 0a 2d 2d 2d 2d 2d 2d |s keymap..------| 000049e0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 00004a00 2d 2d 0a 0a 5a 61 70 20 63 61 6e 20 73 75 70 70 |--..Zap can supp| 00004a10 6f 72 74 20 73 65 76 65 72 61 6c 20 6b 65 79 6d |ort several keym| 00004a20 61 70 73 20 61 74 20 6f 6e 63 65 2e 20 45 61 63 |aps at once. Eac| 00004a30 68 20 6b 65 79 6d 61 70 20 69 73 20 6e 75 6d 62 |h keymap is numb| 00004a40 65 72 65 64 20 30 2d 32 35 35 2e 0a 49 6e 20 74 |ered 0-255..In t| 00004a50 68 65 20 64 65 66 61 75 6c 74 20 27 6b 65 79 73 |he default 'keys| 00004a60 27 20 66 69 6c 65 2c 20 6b 65 79 6d 61 70 20 30 |' file, keymap 0| 00004a70 20 69 73 20 74 68 65 20 73 74 61 6e 64 61 72 64 | is the standard| 00004a80 20 5a 61 70 20 6b 65 79 6d 61 70 20 61 6e 64 20 | Zap keymap and | 00004a90 6b 65 79 6d 61 70 20 31 0a 61 6e 20 45 6d 61 63 |keymap 1.an Emac| 00004aa0 73 20 65 6d 75 6c 61 74 69 6f 6e 20 6b 65 79 6d |s emulation keym| 00004ab0 61 70 2e 20 4b 65 79 6d 61 70 73 20 32 2d 34 20 |ap. Keymaps 2-4 | 00004ac0 66 6f 72 6d 20 70 61 72 74 20 6f 66 20 74 68 65 |form part of the| 00004ad0 20 45 6d 61 63 73 20 6b 65 79 6d 61 70 20 61 73 | Emacs keymap as| 00004ae0 20 49 0a 77 69 6c 6c 20 64 65 73 63 72 69 62 65 | I.will describe| 00004af0 20 62 65 6c 6f 77 2e 20 54 6f 20 73 77 69 74 63 | below. To switc| 00004b00 68 20 74 6f 20 6b 65 79 6d 61 70 20 6e 2c 20 75 |h to keymap n, u| 00004b10 73 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 22 |se the command "| 00004b20 42 41 53 45 4d 41 50 20 6e 22 20 28 62 79 0a 70 |BASEMAP n" (by.p| 00004b30 72 65 73 73 69 6e 67 20 43 74 72 6c 2d 45 73 63 |ressing Ctrl-Esc| 00004b40 61 70 65 20 6f 72 20 62 69 6e 64 69 6e 67 20 74 |ape or binding t| 00004b50 68 65 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 61 20 |he command to a | 00004b60 6b 65 79 29 2e 20 54 68 65 20 63 6f 6d 6d 61 6e |key). The comman| 00004b70 64 73 0a 44 45 46 41 55 4c 54 4d 41 50 20 61 6e |ds.DEFAULTMAP an| 00004b80 64 20 45 4d 41 43 53 20 61 63 74 20 61 73 20 42 |d EMACS act as B| 00004b90 41 53 45 4d 41 50 20 30 20 61 6e 64 20 42 41 53 |ASEMAP 0 and BAS| 00004ba0 45 4d 41 50 20 31 20 72 65 73 70 65 63 74 69 76 |EMAP 1 respectiv| 00004bb0 65 6c 79 2e 0a 0a 54 68 65 20 64 65 66 61 75 6c |ely...The defaul| 00004bc0 74 20 6b 65 79 6d 61 70 20 74 6f 20 75 73 65 20 |t keymap to use | 00004bd0 77 68 65 6e 20 5a 61 70 20 73 74 61 72 74 73 20 |when Zap starts | 00004be0 75 70 20 69 73 20 67 69 76 65 6e 20 62 79 20 76 |up is given by v| 00004bf0 61 72 69 61 62 6c 65 20 6e 75 6d 62 65 72 20 26 |ariable number &| 00004c00 34 30 30 0a 69 6e 20 74 68 65 20 6b 65 79 73 20 |400.in the keys | 00004c10 66 69 6c 65 2e 20 53 65 74 20 74 68 69 73 20 74 |file. Set this t| 00004c20 6f 20 31 20 69 66 20 79 6f 75 20 77 69 73 68 20 |o 1 if you wish | 00004c30 74 6f 20 75 73 65 20 74 68 65 20 45 6d 61 63 73 |to use the Emacs| 00004c40 20 6b 65 79 6d 61 70 20 61 6c 6c 20 74 68 65 0a | keymap all the.| 00004c50 74 69 6d 65 2e 0a 0a 54 6f 20 64 65 66 69 6e 65 |time...To define| 00004c60 20 61 20 6e 65 77 20 6b 65 79 6d 61 70 2c 20 6b | a new keymap, k| 00004c70 65 79 6d 61 70 20 6e 75 6d 62 65 72 20 26 79 79 |eymap number &yy| 00004c80 20 73 61 79 2c 20 79 6f 75 20 6e 65 65 64 20 74 | say, you need t| 00004c90 6f 20 64 6f 20 74 77 6f 20 74 68 69 6e 67 73 2e |o do two things.| 00004ca0 0a 46 69 72 73 74 20 79 6f 75 20 6d 75 73 74 20 |.First you must | 00004cb0 65 6e 74 65 72 20 61 20 6c 69 6e 65 20 69 6e 20 |enter a line in | 00004cc0 74 68 65 20 27 6b 65 79 73 27 20 66 69 6c 65 20 |the 'keys' file | 00004cd0 72 65 73 65 72 76 69 6e 67 20 73 70 61 63 65 20 |reserving space | 00004ce0 66 6f 72 20 74 68 65 20 6b 65 79 73 2e 0a 54 68 |for the keys..Th| 00004cf0 69 73 20 74 61 6b 65 73 20 74 68 65 20 66 6f 72 |is takes the for| 00004d00 6d 3a 0a 0a 26 34 79 79 26 61 61 26 62 62 0a 0a |m:..&4yy&aa&bb..| 00004d10 77 68 65 72 65 20 26 61 61 20 69 73 20 74 68 65 |where &aa is the| 00004d20 20 73 6d 61 6c 6c 65 73 74 20 6b 65 79 6e 75 6d | smallest keynum| 00004d30 62 65 72 20 79 6f 75 20 77 69 73 68 20 74 6f 20 |ber you wish to | 00004d40 75 73 65 20 61 6e 64 20 26 62 62 20 74 68 65 20 |use and &bb the | 00004d50 6c 61 72 67 65 73 74 0a 28 69 6e 63 6c 75 73 69 |largest.(inclusi| 00004d60 76 65 29 2e 20 53 65 65 20 65 6e 74 72 79 20 26 |ve). See entry &| 00004d70 34 30 31 20 66 6f 72 20 61 6e 20 65 78 61 6d 70 |401 for an examp| 00004d80 6c 65 2e 0a 0a 4e 65 78 74 20 79 6f 75 20 6d 75 |le...Next you mu| 00004d90 73 74 20 64 65 66 69 6e 65 20 74 68 65 20 6b 65 |st define the ke| 00004da0 79 73 2e 20 54 6f 20 64 65 66 69 6e 65 20 6b 65 |ys. To define ke| 00004db0 79 20 6e 75 6d 62 65 72 20 26 78 78 78 20 79 6f |y number &xxx yo| 00004dc0 75 20 6d 75 73 74 20 65 6e 74 65 72 20 61 0a 6c |u must enter a.l| 00004dd0 69 6e 65 20 69 6e 20 74 68 65 20 27 6b 65 79 73 |ine in the 'keys| 00004de0 27 20 66 69 6c 65 20 6f 66 20 74 68 65 20 66 6f |' file of the fo| 00004df0 72 6d 3a 0a 0a 26 79 79 30 78 78 78 3c 63 6f 6d |rm:..&yy0xxx<com| 00004e00 6d 61 6e 64 3e 0a 0a 77 68 65 72 65 20 3c 63 6f |mand>..where <co| 00004e10 6d 6d 61 6e 64 3e 20 69 73 20 74 68 65 20 6e 61 |mmand> is the na| 00004e20 6d 65 20 6f 66 20 74 68 65 20 63 6f 6d 6d 61 6e |me of the comman| 00004e30 64 20 74 6f 20 62 65 20 61 74 74 61 63 68 65 64 |d to be attached| 00004e40 20 74 6f 20 74 68 65 20 6b 65 79 2e 20 54 68 65 | to the key. The| 00004e50 0a 66 6f 72 6d 61 74 20 6f 66 20 74 68 65 20 3c |.format of the <| 00004e60 63 6f 6d 6d 61 6e 64 3e 20 66 69 65 6c 64 20 69 |command> field i| 00004e70 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 41 |s described in A| 00004e80 2e 31 20 61 6e 64 20 74 68 65 20 27 43 6f 6d 6d |.1 and the 'Comm| 00004e90 61 6e 64 73 27 20 66 69 6c 65 2e 0a 0a 42 79 20 |ands' file...By | 00004ea0 75 73 69 6e 67 20 6d 75 6c 74 69 70 6c 65 20 6b |using multiple k| 00004eb0 65 79 6d 61 70 73 20 79 6f 75 20 63 61 6e 20 70 |eymaps you can p| 00004ec0 72 6f 76 69 64 65 20 66 6f 72 20 61 20 73 65 71 |rovide for a seq| 00004ed0 75 65 6e 63 65 20 6f 66 20 6b 65 79 73 20 74 6f |uence of keys to| 00004ee0 20 65 78 65 63 75 74 65 20 61 0a 63 6f 6d 6d 61 | execute a.comma| 00004ef0 6e 64 2e 20 54 6f 20 64 6f 20 74 68 69 73 20 79 |nd. To do this y| 00004f00 6f 75 20 6e 65 65 64 20 74 68 65 20 27 4b 45 59 |ou need the 'KEY| 00004f10 4d 41 50 27 20 63 6f 6d 6d 61 6e 64 2e 20 54 68 |MAP' command. Th| 00004f20 65 20 63 6f 6d 6d 61 6e 64 20 27 4b 45 59 4d 41 |e command 'KEYMA| 00004f30 50 20 6e 27 0a 73 77 69 74 63 68 65 73 20 74 68 |P n'.switches th| 00004f40 65 20 63 75 72 72 65 6e 74 20 6b 65 79 6d 61 70 |e current keymap| 00004f50 20 74 6f 20 27 6e 27 2e 20 48 6f 77 65 76 65 72 | to 'n'. However| 00004f60 2c 20 61 66 74 65 72 20 74 68 65 20 6e 65 78 74 |, after the next| 00004f70 20 6b 65 79 20 68 61 73 20 62 65 65 6e 0a 72 65 | key has been.re| 00004f80 61 64 2c 20 74 68 65 20 63 75 72 72 65 6e 74 20 |ad, the current | 00004f90 6b 65 79 6d 61 70 20 69 73 20 72 65 73 74 6f 72 |keymap is restor| 00004fa0 65 64 20 74 6f 20 77 68 61 74 65 76 65 72 20 62 |ed to whatever b| 00004fb0 61 73 65 6d 61 70 20 79 6f 75 20 68 61 76 65 20 |asemap you have | 00004fc0 73 65 74 20 77 69 74 68 0a 74 68 65 20 62 61 73 |set with.the bas| 00004fd0 65 6d 61 70 20 63 6f 6d 6d 61 6e 64 2e 20 54 68 |emap command. Th| 00004fe0 75 73 20 69 6e 20 65 66 66 65 63 74 2c 20 74 68 |us in effect, th| 00004ff0 65 20 6b 65 79 6d 61 70 20 6f 6e 6c 79 20 63 68 |e keymap only ch| 00005000 61 6e 67 65 73 20 66 6f 72 20 74 68 65 20 6e 65 |anges for the ne| 00005010 78 74 0a 6b 65 79 70 72 65 73 73 20 28 75 6e 6c |xt.keypress (unl| 00005020 65 73 73 20 74 68 61 74 20 74 77 6f 20 68 61 73 |ess that two has| 00005030 20 61 20 4b 45 59 4d 41 50 20 63 6f 6d 6d 61 6e | a KEYMAP comman| 00005040 64 29 2e 0a 0a 46 6f 72 20 65 78 61 6d 70 6c 65 |d)...For example| 00005050 2c 20 69 6e 20 45 6d 61 63 73 20 22 43 74 72 6c |, in Emacs "Ctrl| 00005060 2d 58 20 34 20 46 22 20 6c 6f 61 64 73 20 61 20 |-X 4 F" loads a | 00005070 66 69 6c 65 2e 20 54 68 69 73 20 69 73 20 61 63 |file. This is ac| 00005080 63 6f 6d 70 6c 69 73 68 65 64 20 62 79 0a 73 65 |complished by.se| 00005090 74 74 69 6e 67 3a 0a 0a 43 74 72 6c 2d 58 20 69 |tting:..Ctrl-X i| 000050a0 6e 20 6b 65 79 6d 61 70 20 31 20 69 73 20 62 6f |n keymap 1 is bo| 000050b0 75 6e 64 20 74 6f 20 4b 45 59 4d 41 50 20 32 0a |und to KEYMAP 2.| 000050c0 34 20 69 6e 20 6b 65 79 6d 61 70 20 32 20 69 73 |4 in keymap 2 is| 000050d0 20 62 6f 75 6e 64 20 74 6f 20 4b 45 59 4d 41 50 | bound to KEYMAP| 000050e0 20 34 0a 46 20 69 6e 20 6b 65 79 6d 61 70 20 34 | 4.F in keymap 4| 000050f0 20 69 73 20 62 6f 75 6e 64 20 74 6f 20 46 49 4e | is bound to FIN| 00005100 44 46 49 4c 45 0a 0a 41 66 74 65 72 20 74 68 65 |DFILE..After the| 00005110 20 63 6f 6d 6d 61 6e 64 20 46 49 4e 44 46 49 4c | command FINDFIL| 00005120 45 20 68 61 73 20 62 65 65 6e 20 65 78 65 63 75 |E has been execu| 00005130 74 65 64 2c 20 74 68 65 20 6b 65 79 6d 61 70 20 |ted, the keymap | 00005140 77 69 6c 6c 20 62 65 20 72 65 73 74 6f 72 65 64 |will be restored| 00005150 20 74 6f 0a 31 20 66 6f 72 20 74 68 65 20 6e 65 | to.1 for the ne| 00005160 78 74 20 6b 65 79 20 70 72 65 73 73 2e 0a 0a 41 |xt key press...A| 00005170 2e 36 20 43 6f 6c 6f 75 72 0a 2d 2d 2d 2d 2d 2d |.6 Colour.------| 00005180 2d 2d 2d 2d 0a 0a 43 6f 6c 6f 75 72 20 69 73 20 |----..Colour is | 00005190 63 68 61 6e 67 65 64 20 75 73 69 6e 67 20 74 68 |changed using th| 000051a0 65 20 27 43 6f 6c 6f 75 72 27 20 6d 65 6e 75 20 |e 'Colour' menu | 000051b0 6f 66 66 20 74 68 65 20 27 44 69 73 70 6c 61 79 |off the 'Display| 000051c0 27 20 6d 65 6e 75 2c 20 62 6f 74 68 20 6f 6e 0a |' menu, both on.| 000051d0 74 68 65 20 6d 61 69 6e 20 5a 61 70 20 77 69 6e |the main Zap win| 000051e0 64 6f 77 20 6d 65 6e 75 2e 20 54 68 65 20 66 69 |dow menu. The fi| 000051f0 72 73 74 20 39 20 63 6f 6c 6f 75 72 73 20 79 6f |rst 9 colours yo| 00005200 75 20 63 61 6e 20 63 68 61 6e 67 65 20 61 72 65 |u can change are| 00005210 20 74 68 65 20 73 61 6d 65 0a 66 6f 72 20 61 6c | the same.for al| 00005220 6c 20 6d 6f 64 65 73 2c 20 62 65 69 6e 67 3a 0a |l modes, being:.| 00005230 0a 43 6f 6c 6f 75 72 41 63 74 69 6f 6e 0a 0a 30 |.ColourAction..0| 00005240 42 61 63 6b 67 72 6f 75 6e 64 31 54 68 65 20 63 |Background1The c| 00005250 6f 6c 6f 75 72 20 75 73 65 64 20 66 6f 72 20 73 |olour used for s| 00005260 71 75 61 72 65 73 20 63 6f 6e 74 61 69 6e 69 6e |quares containin| 00005270 67 20 6e 6f 20 74 65 78 74 2e 0a 31 42 61 63 6b |g no text..1Back| 00005280 67 72 6f 75 6e 64 32 54 68 65 20 63 6f 6c 6f 75 |ground2The colou| 00005290 72 20 75 73 65 64 20 66 6f 72 20 73 71 75 61 72 |r used for squar| 000052a0 65 73 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74 65 |es containing te| 000052b0 78 74 2e 0a 32 46 6f 72 65 67 72 6f 75 6e 64 54 |xt..2ForegroundT| 000052c0 68 65 20 73 74 61 6e 64 61 72 64 20 66 6f 72 65 |he standard fore| 000052d0 67 72 6f 75 6e 64 20 63 6f 6c 6f 75 72 2e 0a 33 |ground colour..3| 000052e0 53 65 6c 65 63 74 69 6f 6e 2d 42 53 65 6c 65 63 |Selection-BSelec| 000052f0 74 69 6f 6e 20 62 61 63 6b 67 72 6f 75 6e 64 20 |tion background | 00005300 63 6f 6c 6f 75 72 2e 0a 34 53 65 6c 65 63 74 69 |colour..4Selecti| 00005310 6f 6e 2d 46 53 65 6c 65 63 74 69 6f 6e 20 66 6f |on-FSelection fo| 00005320 72 65 67 72 6f 75 6e 64 20 63 6f 6c 6f 75 72 2e |reground colour.| 00005330 0a 35 43 75 72 73 6f 72 2d 42 61 63 43 75 72 73 |.5Cursor-BacCurs| 00005340 6f 72 20 62 61 63 6b 67 72 6f 75 6e 64 20 63 6f |or background co| 00005350 6c 6f 75 72 20 28 69 65 20 74 68 65 20 63 75 72 |lour (ie the cur| 00005360 73 6f 72 20 63 6f 6c 6f 75 72 29 2e 0a 36 43 75 |sor colour)..6Cu| 00005370 72 73 6f 72 2d 46 6f 72 43 75 72 73 6f 72 20 66 |rsor-ForCursor f| 00005380 6f 72 65 67 72 6f 75 6e 64 20 63 6f 6c 6f 75 72 |oreground colour| 00005390 2e 0a 37 4c 69 6e 65 20 6e 75 6d 73 43 6f 6c 6f |..7Line numsColo| 000053a0 75 72 20 75 73 65 64 20 66 6f 72 20 6c 69 6e 65 |ur used for line| 000053b0 20 6e 75 6d 62 65 72 73 20 28 65 67 20 69 6e 20 | numbers (eg in | 000053c0 42 61 73 69 63 20 6d 6f 64 65 29 2e 0a 38 43 74 |Basic mode)..8Ct| 000053d0 72 6c 20 63 68 61 72 73 43 6f 6c 6f 75 72 20 75 |rl charsColour u| 000053e0 73 65 64 20 66 6f 72 20 63 6f 6e 74 72 6f 6c 20 |sed for control | 000053f0 63 68 61 72 61 63 74 65 72 73 20 28 30 2d 33 31 |characters (0-31| 00005400 29 2e 0a 0a 43 6f 6c 6f 75 72 73 20 39 2d 31 35 |)...Colours 9-15| 00005410 20 61 72 65 20 6d 6f 64 65 20 64 65 70 65 6e 64 | are mode depend| 00005420 61 6e 74 20 61 6e 64 20 6c 69 65 20 62 65 6c 6f |ant and lie belo| 00005430 77 20 61 20 64 6f 74 74 65 64 20 6c 69 6e 65 2e |w a dotted line.| 00005440 20 49 66 20 74 68 65 20 27 61 6c 6c 0a 6d 6f 64 | If the 'all.mod| 00005450 65 73 27 20 66 6c 61 67 20 61 74 20 74 68 65 20 |es' flag at the | 00005460 74 6f 70 20 6f 66 20 74 68 65 20 6d 65 6e 75 20 |top of the menu | 00005470 69 73 20 73 65 74 20 74 68 65 6e 20 77 68 65 6e |is set then when| 00005480 20 79 6f 75 20 63 68 61 6e 67 65 20 6f 6e 65 20 | you change one | 00005490 6f 66 20 74 68 65 0a 63 6f 6c 6f 75 72 73 20 30 |of the.colours 0| 000054a0 2d 38 20 28 61 73 20 61 62 6f 76 65 29 20 74 68 |-8 (as above) th| 000054b0 65 6e 20 69 74 20 69 73 20 63 68 61 6e 67 65 64 |en it is changed| 000054c0 20 66 6f 72 20 61 6c 6c 20 6d 6f 64 65 73 2c 20 | for all modes, | 000054d0 6e 6f 74 20 6a 75 73 74 20 74 68 61 74 20 6f 6e |not just that on| 000054e0 65 0a 6d 6f 64 65 2e 20 43 6f 6c 6f 75 72 73 20 |e.mode. Colours | 000054f0 39 2d 31 35 20 6f 6e 6c 79 20 73 65 74 20 74 68 |9-15 only set th| 00005500 65 20 63 6f 6c 6f 75 72 20 66 6f 72 20 74 68 61 |e colour for tha| 00005510 74 20 6d 6f 64 65 20 72 65 67 61 72 64 6c 65 73 |t mode regardles| 00005520 73 20 6f 66 20 74 68 65 20 73 74 61 74 75 73 0a |s of the status.| 00005530 6f 66 20 74 68 69 73 20 66 6c 61 67 2e 20 59 6f |of this flag. Yo| 00005540 75 20 77 69 6c 6c 20 6e 65 65 64 20 74 6f 20 63 |u will need to c| 00005550 68 61 6e 67 65 20 6d 6f 64 65 73 20 74 6f 20 73 |hange modes to s| 00005560 65 74 20 75 70 20 74 68 65 20 63 6f 6c 6f 75 72 |et up the colour| 00005570 73 20 66 6f 72 0a 64 69 66 66 65 72 65 6e 74 20 |s for.different | 00005580 6d 6f 64 65 73 20 64 69 66 66 65 72 65 6e 74 6c |modes differentl| 00005590 79 2e 0a 0a 4f 66 20 63 6f 75 72 73 65 2c 20 69 |y...Of course, i| 000055a0 66 20 79 6f 75 20 63 68 61 6e 67 65 20 63 6f 6c |f you change col| 000055b0 6f 75 72 73 20 66 72 6f 6d 20 74 68 65 20 77 69 |ours from the wi| 000055c0 6e 64 6f 77 20 6d 65 6e 75 2c 20 74 68 65 6e 20 |ndow menu, then | 000055d0 74 68 65 20 63 6f 6c 6f 75 72 73 20 61 72 65 0a |the colours are.| 000055e0 6f 6e 6c 79 20 63 68 61 6e 67 65 64 20 66 6f 72 |only changed for| 000055f0 20 74 68 61 74 20 77 69 6e 64 6f 77 20 61 6e 64 | that window and| 00005600 20 61 72 65 20 6c 6f 73 74 20 77 68 65 6e 20 74 | are lost when t| 00005610 68 65 20 77 69 6e 64 6f 77 20 69 73 20 63 6c 6f |he window is clo| 00005620 73 65 64 2e 20 54 6f 0a 63 68 61 6e 67 65 20 74 |sed. To.change t| 00005630 68 65 6d 20 70 65 72 6d 61 6e 65 6e 74 6c 79 2c |hem permanently,| 00005640 20 75 73 65 20 74 68 65 20 44 69 73 70 6c 61 79 | use the Display| 00005650 20 6d 65 6e 75 20 6f 66 66 20 74 68 65 20 6f 70 | menu off the op| 00005660 74 69 6f 6e 73 20 6d 65 6e 75 20 61 6e 64 20 74 |tions menu and t| 00005670 68 65 6e 0a 63 6c 69 63 6b 20 6f 6e 20 27 73 61 |hen.click on 'sa| 00005680 76 65 20 6f 70 74 69 6f 6e 73 27 2e 0a 0a 2a 2a |ve options'...**| 00005690 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 000056d0 2a 2a 2a 2a 2a 2a 2a 0a 2a 20 53 65 63 74 69 6f |*******.* Sectio| 000056e0 6e 20 42 3a 4c 6f 61 64 69 6e 67 2c 53 61 76 69 |n B:Loading,Savi| 000056f0 6e 67 2c 50 72 69 6e 74 69 6e 67 2c 45 64 69 74 |ng,Printing,Edit| 00005700 69 6e 67 20 66 69 6c 65 73 2a 0a 2a 2a 2a 2a 2a |ing files*.*****| 00005710 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00005750 2a 2a 2a 2a 0a 0a 42 2e 31 20 4c 6f 61 64 69 6e |****..B.1 Loadin| 00005760 67 2f 63 72 65 61 74 69 6e 67 20 66 69 6c 65 73 |g/creating files| 00005770 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |.---------------| 00005780 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 65 |-----------..The| 00005790 73 65 20 61 72 65 20 74 68 65 20 77 61 79 73 20 |se are the ways | 000057a0 74 6f 20 6c 6f 61 64 20 61 20 66 69 6c 65 20 69 |to load a file i| 000057b0 6e 74 6f 20 5a 61 70 3a 0a 20 28 61 29 20 49 66 |nto Zap:. (a) If| 000057c0 20 74 68 65 20 66 69 6c 65 20 69 73 20 61 20 74 | the file is a t| 000057d0 65 78 74 20 66 69 6c 65 20 74 68 65 6e 20 64 6f |ext file then do| 000057e0 75 62 6c 65 20 63 6c 69 63 6b 20 6f 6e 20 69 74 |uble click on it| 000057f0 2e 0a 20 20 20 20 20 28 6f 72 20 6d 6f 72 65 20 |.. (or more | 00005800 67 65 6e 65 72 61 6c 6c 79 20 69 66 20 74 68 65 |generally if the| 00005810 72 65 20 69 73 20 61 20 27 2b 27 20 66 6f 72 20 |re is a '+' for | 00005820 74 68 69 73 20 74 79 70 65 20 69 6e 20 74 68 65 |this type in the| 00005830 20 6b 65 79 73 20 66 69 6c 65 29 2e 0a 20 28 62 | keys file).. (b| 00005840 29 20 49 66 20 74 68 65 20 66 69 6c 65 20 69 73 |) If the file is| 00005850 20 74 79 70 65 64 20 74 68 65 6e 20 68 6f 6c 64 | typed then hold| 00005860 20 64 6f 77 6e 20 6c 65 66 74 20 73 68 69 66 74 | down left shift| 00005870 20 61 6e 64 20 64 6f 75 62 6c 65 20 63 6c 69 63 | and double clic| 00005880 6b 20 6f 6e 20 69 74 2e 0a 20 28 63 29 20 49 66 |k on it.. (c) If| 00005890 20 74 68 65 20 66 69 6c 65 20 69 73 20 75 6e 74 | the file is unt| 000058a0 79 70 65 64 20 74 68 65 6e 20 64 72 61 67 20 69 |yped then drag i| 000058b0 74 20 6f 6e 74 6f 20 74 68 65 20 5a 61 70 20 69 |t onto the Zap i| 000058c0 63 6f 6e 20 6f 6e 20 74 68 65 20 69 63 6f 6e 62 |con on the iconb| 000058d0 61 72 2e 0a 20 28 64 29 20 50 72 65 73 73 20 46 |ar.. (d) Press F| 000058e0 32 20 74 68 65 6e 20 74 79 70 65 20 74 68 65 20 |2 then type the | 000058f0 6e 61 6d 65 20 6f 66 20 74 68 65 20 66 69 6c 65 |name of the file| 00005900 20 61 6e 64 20 52 45 54 55 52 4e 20 28 54 41 42 | and RETURN (TAB| 00005910 20 63 6f 6d 70 6c 65 74 65 73 20 74 68 65 0a 20 | completes the. | 00005920 20 20 20 20 66 69 6c 65 6e 61 6d 65 29 2e 0a 20 | filename).. | 00005930 0a 57 68 65 6e 20 79 6f 75 20 6c 6f 61 64 20 61 |.When you load a| 00005940 20 66 69 6c 65 20 69 6e 74 6f 20 5a 61 70 2c 20 | file into Zap, | 00005950 69 74 20 77 6f 72 6b 73 20 6f 75 74 20 74 68 65 |it works out the| 00005960 20 62 65 73 74 20 6d 6f 64 65 20 74 6f 20 6c 6f | best mode to lo| 00005970 61 64 20 69 74 20 69 6e 74 6f 2e 20 41 74 0a 74 |ad it into. At.t| 00005980 68 65 20 6d 6f 6d 65 6e 74 20 74 68 65 72 65 20 |he moment there | 00005990 61 72 65 20 74 77 6f 20 6d 65 63 68 61 6e 69 73 |are two mechanis| 000059a0 6d 73 20 66 6f 72 20 64 6f 69 6e 67 20 74 68 69 |ms for doing thi| 000059b0 73 2c 20 62 6f 74 68 20 73 70 65 63 69 66 69 65 |s, both specifie| 000059c0 64 20 69 6e 20 74 68 65 0a 27 6b 65 79 73 27 20 |d in the.'keys' | 000059d0 66 69 6c 65 2e 20 54 68 65 73 65 20 61 72 65 3a |file. These are:| 000059e0 20 28 73 65 65 20 41 2e 33 20 66 6f 72 20 6d 6f | (see A.3 for mo| 000059f0 72 65 20 64 65 74 61 69 6c 73 29 2e 0a 0a 28 69 |re details)...(i| 00005a00 29 20 42 79 20 66 69 6c 65 6e 61 6d 65 3a 20 54 |) By filename: T| 00005a10 68 65 20 6b 65 79 73 20 76 61 72 69 61 62 6c 65 |he keys variable| 00005a20 73 20 26 35 78 78 20 61 72 65 20 66 6f 6c 6c 6f |s &5xx are follo| 00005a30 77 65 64 20 62 79 20 61 20 66 69 6c 65 74 79 70 |wed by a filetyp| 00005a40 65 20 74 68 65 6e 20 61 0a 20 20 20 20 66 69 6c |e then a. fil| 00005a50 65 6e 61 6d 65 20 61 6e 64 20 74 68 65 6e 20 61 |ename and then a| 00005a60 20 6d 6f 64 65 20 74 6f 20 75 73 65 2e 20 49 66 | mode to use. If| 00005a70 20 74 68 65 20 28 77 69 6c 64 63 61 72 64 65 64 | the (wildcarded| 00005a80 29 20 66 69 6c 65 6e 61 6d 65 20 6d 61 74 63 68 |) filename match| 00005a90 65 73 0a 20 20 20 20 61 6e 64 20 74 68 65 20 66 |es. and the f| 00005aa0 69 6c 65 74 79 70 65 20 6d 61 74 63 68 65 73 20 |iletype matches | 00005ab0 74 68 65 6e 20 74 68 61 74 20 6d 6f 64 65 20 69 |then that mode i| 00005ac0 73 20 75 73 65 64 2e 0a 20 20 20 20 0a 28 69 69 |s used.. .(ii| 00005ad0 29 20 42 79 20 66 69 6c 65 74 79 70 65 3a 20 54 |) By filetype: T| 00005ae0 68 65 20 6b 65 79 73 20 76 61 72 69 61 62 6c 65 |he keys variable| 00005af0 20 26 31 78 78 78 20 69 73 20 66 6f 6c 6c 6f 77 | &1xxx is follow| 00005b00 65 64 20 62 79 20 74 68 65 20 6d 6f 64 65 20 6e |ed by the mode n| 00005b10 61 6d 65 20 74 6f 0a 20 20 20 20 20 75 73 65 20 |ame to. use | 00005b20 66 6f 72 20 74 79 70 65 20 26 78 78 78 2e 20 49 |for type &xxx. I| 00005b30 66 20 74 68 65 20 6e 61 6d 65 20 69 73 20 70 72 |f the name is pr| 00005b40 65 63 65 64 65 64 20 62 79 20 61 20 27 2b 27 20 |eceded by a '+' | 00005b50 74 68 65 6e 20 74 68 65 20 66 69 6c 65 20 69 73 |then the file is| 00005b60 0a 20 20 20 20 20 6c 6f 61 64 65 64 20 65 76 65 |. loaded eve| 00005b70 6e 20 69 66 20 73 68 69 66 74 20 69 73 20 6e 6f |n if shift is no| 00005b80 74 20 68 65 6c 64 2e 0a 20 20 20 20 20 0a 49 66 |t held.. .If| 00005b90 20 74 68 65 20 66 69 6c 65 20 73 61 74 69 73 66 | the file satisf| 00005ba0 69 65 73 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e |ies more than on| 00005bb0 65 20 6f 66 20 74 68 65 20 61 62 6f 76 65 20 63 |e of the above c| 00005bc0 72 69 74 65 72 69 6f 6e 2c 20 74 68 65 6e 20 74 |riterion, then t| 00005bd0 68 65 20 66 69 72 73 74 0a 6f 6e 65 20 6d 65 6e |he first.one men| 00005be0 74 69 6f 6e 65 64 20 69 6e 20 74 68 65 20 6b 65 |tioned in the ke| 00005bf0 79 73 20 66 69 6c 65 20 77 69 6c 6c 20 62 65 20 |ys file will be | 00005c00 75 73 65 64 2e 0a 0a 53 6f 6d 65 74 69 6d 65 73 |used...Sometimes| 00005c10 20 79 6f 75 20 6d 61 79 20 77 69 73 68 20 74 6f | you may wish to| 00005c20 20 6c 6f 61 64 20 61 20 66 69 6c 65 20 69 6e 20 | load a file in | 00005c30 61 20 6d 6f 64 65 20 6f 74 68 65 72 20 74 68 61 |a mode other tha| 00005c40 6e 20 69 74 73 20 64 65 66 61 75 6c 74 20 6f 6e |n its default on| 00005c50 65 2e 0a 54 6f 20 64 6f 20 74 68 69 73 2c 20 73 |e..To do this, s| 00005c60 65 74 20 74 68 65 20 72 65 71 75 69 72 65 64 20 |et the required | 00005c70 6d 6f 64 65 20 6f 6e 20 74 68 65 20 27 4f 70 74 |mode on the 'Opt| 00005c80 69 6f 6e 73 2e 4d 6f 64 65 27 20 6d 65 6e 75 2c |ions.Mode' menu,| 00005c90 20 61 6e 64 20 74 68 65 6e 20 68 6f 6c 64 0a 64 | and then hold.d| 00005ca0 6f 77 6e 20 74 68 65 20 43 54 52 4c 20 6b 65 79 |own the CTRL key| 00005cb0 20 77 68 69 6c 65 20 6c 6f 61 64 69 6e 67 20 74 | while loading t| 00005cc0 68 65 20 66 69 6c 65 2e 20 28 45 67 20 53 68 69 |he file. (Eg Shi| 00005cd0 66 74 2d 43 74 72 6c 20 64 6f 75 62 6c 65 20 63 |ft-Ctrl double c| 00005ce0 6c 69 63 6b 20 6f 6e 20 74 68 65 0a 66 69 6c 65 |lick on the.file| 00005cf0 29 2e 20 49 74 20 77 69 6c 6c 20 74 68 65 6e 20 |). It will then | 00005d00 62 65 20 6c 6f 61 64 65 64 20 69 6e 20 74 68 65 |be loaded in the| 00005d10 20 73 65 6c 65 63 74 65 64 20 6d 6f 64 65 20 28 | selected mode (| 00005d20 75 73 75 61 6c 6c 79 20 74 65 78 74 29 2e 0a 0a |usually text)...| 00005d30 44 72 61 67 67 69 6e 67 20 61 20 66 69 6c 65 20 |Dragging a file | 00005d40 69 6e 74 6f 20 61 6e 20 6f 70 65 6e 20 77 69 6e |into an open win| 00005d50 64 6f 77 20 69 6e 73 65 72 74 73 20 74 68 65 20 |dow inserts the | 00005d60 64 61 74 61 20 61 74 20 74 68 65 20 63 75 72 72 |data at the curr| 00005d70 65 6e 74 20 63 75 72 73 6f 72 0a 70 6f 73 69 74 |ent cursor.posit| 00005d80 69 6f 6e 2e 20 52 41 4d 20 6c 6f 61 64 73 2f 73 |ion. RAM loads/s| 00005d90 61 76 65 73 20 61 72 65 20 66 75 6c 6c 79 20 73 |aves are fully s| 00005da0 75 70 70 6f 72 74 65 64 20 61 6e 64 20 79 6f 75 |upported and you| 00005db0 20 6d 61 79 20 65 76 65 6e 20 73 61 76 65 20 61 | may even save a| 00005dc0 20 66 69 6c 65 0a 69 6e 74 6f 20 69 74 73 65 6c | file.into itsel| 00005dd0 66 2e 20 49 66 20 79 6f 75 20 61 72 65 20 73 68 |f. If you are sh| 00005de0 6f 72 74 20 6f 66 20 6d 65 6d 6f 72 79 20 74 68 |ort of memory th| 00005df0 65 6e 20 49 20 73 75 67 67 65 73 74 20 79 6f 75 |en I suggest you| 00005e00 20 73 77 69 74 63 68 20 74 68 65 20 75 6e 64 6f | switch the undo| 00005e10 0a 62 75 66 66 65 72 20 6f 66 66 20 62 65 66 6f |.buffer off befo| 00005e20 72 65 20 70 65 72 66 6f 72 6d 69 6e 67 20 73 75 |re performing su| 00005e30 63 68 20 64 72 61 67 73 2e 20 28 55 73 65 20 74 |ch drags. (Use t| 00005e40 68 65 20 46 69 6c 65 20 6d 65 6e 75 29 2e 0a 0a |he File menu)...| 00005e50 49 6e 20 61 6e 79 20 6d 6f 64 65 20 74 68 65 20 |In any mode the | 00005e60 77 69 6e 64 6f 77 20 74 69 74 6c 65 20 69 73 20 |window title is | 00005e70 6f 66 20 74 68 65 20 66 6f 72 6d 3a 0a 0a 20 22 |of the form:.. "| 00005e80 3c 66 69 6c 65 6e 61 6d 65 3e 20 5b 2a 5d 20 28 |<filename> [*] (| 00005e90 5b 6f 70 74 69 6f 6e 73 5d 29 20 5b 76 69 65 77 |[options]) [view| 00005ea0 20 6e 75 6d 62 65 72 2f 6e 75 6d 62 65 72 20 6f | number/number o| 00005eb0 66 20 76 69 65 77 73 5d 22 2e 0a 0a 54 68 65 20 |f views]"...The | 00005ec0 74 69 74 6c 65 20 69 73 20 63 65 6e 74 65 72 65 |title is centere| 00005ed0 64 20 75 6e 6c 65 73 73 20 74 68 65 20 77 69 6e |d unless the win| 00005ee0 64 6f 77 20 69 73 20 73 6d 61 6c 6c 20 77 68 65 |dow is small whe| 00005ef0 6e 20 69 74 20 69 73 20 72 69 67 68 74 20 61 6c |n it is right al| 00005f00 69 67 6e 65 64 20 73 6f 0a 79 6f 75 20 63 61 6e |igned so.you can| 00005f10 20 73 65 65 20 74 68 65 20 6c 65 61 66 20 6e 61 | see the leaf na| 00005f20 6d 65 20 61 6e 64 20 6f 70 74 69 6f 6e 73 20 6f |me and options o| 00005f30 66 20 74 68 65 20 66 69 6c 65 2e 20 41 20 27 2a |f the file. A '*| 00005f40 27 20 69 6e 64 69 63 61 74 65 73 20 74 68 61 74 |' indicates that| 00005f50 20 74 68 65 0a 66 69 6c 65 20 68 61 73 20 62 65 | the.file has be| 00005f60 65 6e 20 61 6c 74 65 72 65 64 20 73 69 6e 63 65 |en altered since| 00005f70 20 6c 61 73 74 20 73 61 76 65 64 2e 20 54 68 65 | last saved. The| 00005f80 20 6f 70 74 69 6f 6e 73 20 63 68 61 72 61 63 74 | options charact| 00005f90 65 72 73 20 61 72 65 20 64 65 73 63 72 69 62 65 |ers are describe| 00005fa0 64 0a 62 65 6c 6f 77 2e 20 54 68 65 20 76 69 65 |d.below. The vie| 00005fb0 77 20 6e 75 6d 62 65 72 20 69 73 20 6f 6e 6c 79 |w number is only| 00005fc0 20 73 68 6f 77 6e 20 69 66 20 79 6f 75 20 68 61 | shown if you ha| 00005fd0 76 65 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e 65 |ve more than one| 00005fe0 20 76 69 65 77 20 6f 6e 20 61 0a 66 69 6c 65 2e | view on a.file.| 00005ff0 0a 0a 20 52 52 65 61 64 20 6f 6e 6c 79 20 61 6e |.. RRead only an| 00006000 64 20 66 69 78 65 64 20 61 73 20 72 65 61 64 20 |d fixed as read | 00006010 6f 6e 6c 79 2e 0a 20 72 52 65 61 64 20 6f 6e 6c |only.. rRead onl| 00006020 79 20 62 75 74 20 63 61 6e 20 62 65 20 74 6f 67 |y but can be tog| 00006030 67 6c 65 64 20 74 6f 20 72 65 61 64 2f 77 72 69 |gled to read/wri| 00006040 74 65 20 62 79 20 73 63 52 2e 0a 20 75 55 6e 64 |te by scR.. uUnd| 00006050 6f 20 73 75 70 70 6f 72 74 65 64 20 62 79 20 74 |o supported by t| 00006060 68 69 73 20 66 69 6c 65 20 28 73 6f 20 63 58 20 |his file (so cX | 00006070 61 63 74 73 20 61 73 20 63 75 74 2c 20 6e 6f 74 |acts as cut, not| 00006080 20 64 65 6c 65 74 65 29 2e 0a 20 6f 4f 76 65 72 | delete).. oOver| 00006090 77 72 69 74 65 20 6d 6f 64 65 20 61 63 74 69 76 |write mode activ| 000060a0 65 20 28 74 6f 67 67 6c 65 20 76 69 61 20 49 6e |e (toggle via In| 000060b0 73 65 72 74 20 6b 65 79 29 2e 0a 20 68 48 65 78 |sert key).. hHex| 000060c0 20 65 6e 74 72 79 20 6d 6f 64 65 20 61 63 74 69 | entry mode acti| 000060d0 76 65 20 66 6f 72 20 42 79 74 65 2f 57 6f 72 64 |ve for Byte/Word| 000060e0 20 28 74 6f 67 67 6c 65 20 76 69 61 20 46 32 29 | (toggle via F2)| 000060f0 2e 0a 20 77 57 6f 72 64 77 72 61 70 20 6d 6f 64 |.. wWordwrap mod| 00006100 65 20 61 63 74 69 76 65 20 28 74 6f 67 67 6c 65 |e active (toggle| 00006110 20 76 69 61 20 63 46 35 29 2e 0a 20 6c 4c 69 6e | via cF5).. lLin| 00006120 65 20 65 64 69 74 20 6d 6f 64 65 20 61 63 74 69 |e edit mode acti| 00006130 76 65 20 28 72 65 74 75 72 6e 20 69 6e 73 65 72 |ve (return inser| 00006140 74 73 20 6e 65 77 20 6c 69 6e 65 29 2e 0a 20 61 |ts new line).. a| 00006150 41 75 74 6f 20 69 6e 64 65 6e 74 20 6d 6f 64 65 |Auto indent mode| 00006160 20 61 63 74 69 76 65 20 28 73 65 65 20 74 68 65 | active (see the| 00006170 20 45 64 69 74 20 73 75 62 6d 65 6e 75 29 2e 0a | Edit submenu)..| 00006180 20 6e 4e 6f 6e 20 73 74 61 6e 64 61 72 64 20 6d | nNon standard m| 00006190 6f 64 65 20 61 63 74 69 76 65 20 28 75 73 65 64 |ode active (used| 000061a0 20 62 79 20 41 52 4d 42 45 20 65 6d 75 6c 61 74 | by ARMBE emulat| 000061b0 69 6f 6e 20 6d 6f 64 65 29 2e 0a 20 4c 4c 69 6e |ion mode).. LLin| 000061c0 65 20 77 72 61 70 20 6d 6f 64 65 2e 0a 20 0a 59 |e wrap mode.. .Y| 000061d0 6f 75 20 6d 61 79 20 61 6c 73 6f 20 63 72 65 61 |ou may also crea| 000061e0 74 65 20 66 69 6c 65 73 20 6f 66 20 61 20 67 69 |te files of a gi| 000061f0 76 65 6e 20 74 79 70 65 20 75 73 69 6e 67 20 74 |ven type using t| 00006200 68 65 20 27 43 72 65 61 74 65 2e 54 79 70 65 27 |he 'Create.Type'| 00006210 20 6d 65 6e 75 2c 20 6f 72 0a 67 72 61 62 20 6d | menu, or.grab m| 00006220 6f 64 75 6c 65 73 20 75 73 69 6e 67 20 74 68 65 |odules using the| 00006230 20 27 43 72 65 61 74 65 2e 47 65 74 6d 6f 64 75 | 'Create.Getmodu| 00006240 6c 65 27 20 6d 65 6e 75 2e 20 5a 61 70 20 63 61 |le' menu. Zap ca| 00006250 6e 20 61 6c 73 6f 20 72 65 61 64 20 64 69 73 63 |n also read disc| 00006260 0a 73 65 63 74 6f 72 73 20 61 6e 64 20 6f 74 68 |.sectors and oth| 00006270 65 72 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 20 |er applications | 00006280 6d 65 6d 6f 72 79 2e 20 43 6c 69 63 6b 20 53 45 |memory. Click SE| 00006290 4c 45 43 54 20 6f 6e 20 74 68 65 20 5a 61 70 20 |LECT on the Zap | 000062a0 69 63 6f 6e 20 74 6f 20 63 72 65 61 74 65 0a 61 |icon to create.a| 000062b0 20 6e 65 77 20 74 65 78 74 20 66 69 6c 65 20 61 | new text file a| 000062c0 6e 64 20 41 44 4a 55 53 54 20 6f 6e 20 74 68 65 |nd ADJUST on the| 000062d0 20 5a 61 70 20 69 63 6f 6e 20 74 6f 20 63 72 65 | Zap icon to cre| 000062e0 61 74 65 20 61 20 6e 65 77 20 42 41 53 49 43 20 |ate a new BASIC | 000062f0 66 69 6c 65 2e 20 59 6f 75 0a 63 61 6e 20 63 68 |file. You.can ch| 00006300 61 6e 67 65 20 74 68 65 20 74 79 70 65 20 6f 66 |ange the type of| 00006310 20 66 69 6c 65 20 63 72 65 61 74 65 64 20 62 79 | file created by| 00006320 20 53 45 4c 45 43 54 2f 41 44 4a 55 53 54 20 63 | SELECT/ADJUST c| 00006330 6c 69 63 6b 20 69 6e 20 74 68 65 20 27 6b 65 79 |lick in the 'key| 00006340 73 27 0a 66 69 6c 65 2e 0a 0a 5a 61 70 20 77 69 |s'.file...Zap wi| 00006350 6c 6c 20 77 61 72 6e 20 79 6f 75 20 62 65 66 6f |ll warn you befo| 00006360 72 65 20 6f 76 65 72 77 72 69 74 69 6e 67 20 61 |re overwriting a| 00006370 20 66 69 6c 65 20 6f 66 20 74 68 65 20 73 61 6d | file of the sam| 00006380 65 20 6e 61 6d 65 20 69 66 20 69 74 20 69 73 0a |e name if it is.| 00006390 61 6c 74 65 72 65 64 2e 20 49 66 20 69 74 20 69 |altered. If it i| 000063a0 73 20 75 6e 61 6c 74 65 72 65 64 20 74 68 65 6e |s unaltered then| 000063b0 20 74 68 65 20 6e 65 77 6c 79 20 6c 6f 61 64 65 | the newly loade| 000063c0 64 20 66 69 6c 65 20 77 69 6c 6c 20 72 65 70 6c |d file will repl| 000063d0 61 63 65 20 74 68 65 20 6f 6e 65 0a 63 75 72 72 |ace the one.curr| 000063e0 65 6e 74 6c 79 20 6c 6f 61 64 65 64 20 61 73 20 |ently loaded as | 000063f0 69 6e 20 21 45 64 69 74 2e 0a 0a 57 68 65 6e 20 |in !Edit...When | 00006400 61 20 66 69 6c 65 20 69 73 20 6c 6f 61 64 65 64 |a file is loaded| 00006410 2c 20 4f 53 5f 46 53 43 6f 6e 74 72 6f 6c 2c 20 |, OS_FSControl, | 00006420 43 61 6e 6f 6e 69 63 61 6c 69 73 65 5f 50 61 74 |Canonicalise_Pat| 00006430 68 20 77 69 6c 6c 20 62 65 20 63 61 6c 6c 65 64 |h will be called| 00006440 20 74 6f 0a 63 6f 6e 76 65 72 74 20 61 6e 79 20 | to.convert any | 00006450 70 61 74 68 20 72 65 66 65 72 65 6e 63 65 73 20 |path references | 00006460 69 6e 74 6f 20 66 75 6c 6c 20 70 61 74 68 20 6e |into full path n| 00006470 61 6d 65 73 20 28 75 6e 6c 65 73 73 20 79 6f 75 |ames (unless you| 00006480 20 68 61 76 65 20 52 49 53 43 20 4f 53 20 32 29 | have RISC OS 2)| 00006490 2e 0a 0a 42 2e 32 20 53 61 76 69 6e 67 20 66 69 |...B.2 Saving fi| 000064a0 6c 65 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |les.------------| 000064b0 2d 2d 2d 2d 0a 0a 50 72 65 73 73 20 46 33 20 28 |----..Press F3 (| 000064c0 6f 72 20 63 6c 69 63 6b 20 6f 6e 20 74 68 65 20 |or click on the | 000064d0 6d 65 6e 75 20 6f 70 74 69 6f 6e 20 27 46 69 6c |menu option 'Fil| 000064e0 65 27 29 20 74 6f 20 6f 70 65 6e 20 74 68 65 20 |e') to open the | 000064f0 73 61 76 65 20 62 6f 78 2e 20 59 6f 75 20 6d 61 |save box. You ma| 00006500 79 0a 63 68 61 6e 67 65 20 74 68 65 20 66 69 6c |y.change the fil| 00006510 65 20 74 79 70 65 20 65 69 74 68 65 72 20 62 79 |e type either by| 00006520 20 63 6c 69 63 6b 69 6e 67 20 74 68 65 20 4d 45 | clicking the ME| 00006530 4e 55 20 62 75 74 74 6f 6e 2c 20 6f 72 20 62 79 |NU button, or by| 00006540 20 6d 6f 76 69 6e 67 20 74 6f 20 74 68 65 0a 74 | moving to the.t| 00006550 79 70 65 20 6e 61 6d 65 20 77 69 6e 64 6f 77 2c |ype name window,| 00006560 20 74 79 70 69 6e 67 20 74 68 65 20 6e 65 77 20 | typing the new | 00006570 74 79 70 65 20 6e 61 6d 65 20 61 6e 64 20 70 72 |type name and pr| 00006580 65 73 73 69 6e 67 20 52 45 54 55 52 4e 2e 20 5a |essing RETURN. Z| 00006590 61 70 20 77 69 6c 6c 20 77 61 72 6e 0a 79 6f 75 |ap will warn.you| 000065a0 20 69 66 20 79 6f 75 20 61 72 65 20 61 62 6f 75 | if you are abou| 000065b0 74 20 74 6f 20 6f 76 65 72 77 72 69 74 65 20 61 |t to overwrite a| 000065c0 20 6d 6f 72 65 20 72 65 63 65 6e 74 20 66 69 6c | more recent fil| 000065d0 65 20 28 69 66 20 79 6f 75 20 68 61 76 65 20 74 |e (if you have t| 000065e0 68 65 0a 63 68 65 63 6b 2d 64 61 74 65 73 20 6f |he.check-dates o| 000065f0 70 74 69 6f 6e 20 6f 6e 20 2d 20 73 65 65 20 74 |ption on - see t| 00006600 68 65 20 6f 70 74 69 6f 6e 73 2e 6d 69 73 63 20 |he options.misc | 00006610 6d 65 6e 75 29 2c 20 6f 72 20 69 66 20 74 68 65 |menu), or if the| 00006620 20 66 69 6c 65 20 63 6f 6e 74 61 69 6e 73 0a 6e | file contains.n| 00006630 6f 20 70 61 74 68 2e 20 49 66 20 79 6f 75 20 69 |o path. If you i| 00006640 67 6e 6f 72 65 20 74 68 65 20 77 61 72 6e 69 6e |gnore the warnin| 00006650 67 20 74 68 65 6e 20 69 74 20 77 69 6c 6c 20 73 |g then it will s| 00006660 61 76 65 20 74 68 65 20 66 69 6c 65 20 74 6f 20 |ave the file to | 00006670 74 68 65 0a 63 75 72 72 65 6e 74 6c 79 20 73 65 |the.currently se| 00006680 6c 65 63 74 65 64 20 64 69 72 65 63 74 6f 72 79 |lected directory| 00006690 2e 0a 0a 43 74 72 6c 2d 46 33 20 28 6f 72 20 63 |...Ctrl-F3 (or c| 000066a0 6c 69 63 6b 69 6e 67 20 6f 6e 20 27 46 69 6c 65 |licking on 'File| 000066b0 2e 53 61 76 65 27 29 20 64 6f 65 73 20 61 20 64 |.Save') does a d| 000066c0 69 72 65 63 74 20 73 61 76 65 2e 20 43 74 72 6c |irect save. Ctrl| 000066d0 2d 46 32 20 64 65 6c 65 74 65 73 20 74 68 65 0a |-F2 deletes the.| 000066e0 63 75 72 72 65 6e 74 20 66 69 6c 65 20 61 6e 64 |current file and| 000066f0 20 53 68 69 66 74 2d 43 74 72 6c 2d 58 20 64 65 | Shift-Ctrl-X de| 00006700 6c 65 74 65 73 20 74 68 65 20 6f 74 68 65 72 20 |letes the other | 00006710 66 69 6c 65 20 62 65 69 6e 67 20 76 69 65 77 65 |file being viewe| 00006720 64 2e 20 50 6c 65 61 73 65 0a 6e 6f 74 65 20 74 |d. Please.note t| 00006730 68 61 74 20 77 68 65 6e 20 74 68 65 20 53 41 56 |hat when the SAV| 00006740 45 2c 44 49 53 43 41 52 44 2c 43 41 4e 43 45 4c |E,DISCARD,CANCEL| 00006750 20 62 6f 78 20 70 6f 70 73 20 75 70 20 79 6f 75 | box pops up you| 00006760 20 6d 61 79 20 73 69 6d 70 6c 79 20 70 72 65 73 | may simply pres| 00006770 73 0a 27 53 27 2c 27 44 27 2c 6f 72 20 27 43 27 |s.'S','D',or 'C'| 00006780 20 69 6e 73 74 65 61 64 20 6f 66 20 75 73 69 6e | instead of usin| 00006790 67 20 74 68 65 20 6d 6f 75 73 65 2e 20 54 68 65 |g the mouse. The| 000067a0 20 73 61 6d 65 20 68 6f 6c 64 73 20 66 6f 72 20 | same holds for | 000067b0 6f 74 68 65 72 20 64 69 61 6c 6f 67 75 65 0a 62 |other dialogue.b| 000067c0 6f 78 65 73 20 28 63 74 72 6c 20 53 2c 44 2c 43 |oxes (ctrl S,D,C| 000067d0 20 61 72 65 20 61 6c 73 6f 20 76 61 6c 69 64 29 | are also valid)| 000067e0 2e 0a 0a 49 66 20 79 6f 75 20 61 72 65 20 75 73 |...If you are us| 000067f0 69 6e 67 20 6f 6e 65 20 6f 66 20 74 68 65 20 62 |ing one of the b| 00006800 61 73 69 63 20 6d 6f 64 65 73 20 74 68 65 6e 20 |asic modes then | 00006810 70 6c 65 61 73 65 20 6e 6f 74 65 20 74 68 61 74 |please note that| 00006820 20 79 6f 75 20 6d 75 73 74 20 73 61 76 65 0a 66 | you must save.f| 00006830 72 6f 6d 20 61 20 77 69 6e 64 6f 77 20 69 6e 20 |rom a window in | 00006840 74 68 65 20 63 6f 72 72 65 63 74 20 6d 6f 64 65 |the correct mode| 00006850 2e 20 49 66 20 79 6f 75 20 73 77 69 74 63 68 20 |. If you switch | 00006860 74 6f 20 74 65 78 74 20 6d 6f 64 65 20 61 6e 64 |to text mode and| 00006870 20 74 68 65 6e 20 73 61 76 65 2c 0a 79 6f 75 72 | then save,.your| 00006880 20 66 69 6c 65 20 77 69 6c 6c 20 62 65 20 73 61 | file will be sa| 00006890 76 65 64 20 61 73 20 61 20 74 65 78 74 20 66 69 |ved as a text fi| 000068a0 6c 65 20 61 6e 64 20 6e 6f 74 20 61 20 42 61 73 |le and not a Bas| 000068b0 69 63 20 70 72 6f 67 72 61 6d 2e 0a 0a 42 2e 33 |ic program...B.3| 000068c0 20 44 75 6d 70 69 6e 67 2c 20 70 72 69 6e 74 69 | Dumping, printi| 000068d0 6e 67 20 66 69 6c 65 73 0a 2d 2d 2d 2d 2d 2d 2d |ng files.-------| 000068e0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 000068f0 2d 2d 2d 2d 0a 0a 46 69 72 73 74 20 6e 6f 74 65 |----..First note| 00006900 20 74 68 61 74 20 61 6e 79 20 77 69 6e 64 6f 77 | that any window| 00006910 20 64 69 73 70 6c 61 79 20 6d 61 79 20 62 65 20 | display may be | 00006920 74 75 72 6e 65 64 20 69 6e 74 6f 20 61 20 74 65 |turned into a te| 00006930 78 74 20 66 69 6c 65 20 73 69 6d 70 6c 79 20 62 |xt file simply b| 00006940 79 0a 70 72 65 73 73 69 6e 67 20 53 48 49 46 54 |y.pressing SHIFT| 00006950 2d 43 54 52 4c 2d 43 4f 50 59 2e 20 4f 6e 63 65 |-CTRL-COPY. Once| 00006960 20 79 6f 75 20 68 61 76 65 20 64 6f 6e 65 20 74 | you have done t| 00006970 68 69 73 20 79 6f 75 20 63 6f 75 6c 64 20 70 72 |his you could pr| 00006980 69 6e 74 20 61 20 66 69 6c 65 0a 73 69 6d 70 6c |int a file.simpl| 00006990 79 20 62 79 20 73 61 76 69 6e 67 20 69 74 20 74 |y by saving it t| 000069a0 6f 20 61 20 70 72 69 6e 74 65 72 20 64 72 69 76 |o a printer driv| 000069b0 65 72 2c 20 6f 72 20 62 79 20 6f 70 65 6e 69 6e |er, or by openin| 000069c0 67 20 74 68 65 20 27 70 72 69 6e 74 65 72 3a 24 |g the 'printer:$| 000069d0 27 20 66 69 6c 69 6e 67 0a 73 79 73 74 65 6d 20 |' filing.system | 000069e0 28 70 72 65 73 73 20 63 74 72 6c 2d 70 72 69 6e |(press ctrl-prin| 000069f0 74 29 20 61 6e 64 20 73 61 76 69 6e 67 20 74 68 |t) and saving th| 00006a00 65 20 66 69 6c 65 20 69 6e 74 6f 20 69 74 2e 20 |e file into it. | 00006a10 5a 61 70 20 61 6c 73 6f 20 70 72 6f 76 69 64 65 |Zap also provide| 00006a20 73 20 74 77 6f 0a 6f 74 68 65 72 20 70 72 69 6e |s two.other prin| 00006a30 74 6f 75 74 20 63 6f 6d 6d 61 6e 64 73 2e 0a 0a |tout commands...| 00006a40 54 68 65 20 66 69 72 73 74 2c 20 27 71 75 69 63 |The first, 'quic| 00006a50 6b 20 70 72 69 6e 74 27 20 63 61 6e 20 62 65 20 |k print' can be | 00006a60 67 6f 74 20 62 79 20 70 72 65 73 73 69 6e 67 20 |got by pressing | 00006a70 74 68 65 20 27 50 72 69 6e 74 27 20 6b 65 79 2e |the 'Print' key.| 00006a80 20 57 68 65 6e 20 79 6f 75 0a 70 72 65 73 73 20 | When you.press | 00006a90 52 65 74 75 72 6e 2c 20 6f 72 20 63 6c 69 63 6b |Return, or click| 00006aa0 20 27 50 52 49 4e 54 27 2c 20 69 74 20 77 69 6c | 'PRINT', it wil| 00006ab0 6c 20 73 65 6e 64 20 74 68 65 20 64 69 73 70 6c |l send the displ| 00006ac0 61 79 20 74 6f 20 74 68 65 20 70 72 69 6e 74 65 |ay to the printe| 00006ad0 72 0a 64 69 72 65 63 74 6c 79 2e 20 49 74 20 73 |r.directly. It s| 00006ae0 65 6e 64 73 20 61 20 4c 46 20 61 6e 64 20 61 20 |ends a LF and a | 00006af0 43 52 20 74 6f 20 74 68 65 20 70 72 69 6e 74 65 |CR to the printe| 00006b00 72 20 61 74 20 74 68 65 20 65 6e 64 20 6f 66 20 |r at the end of | 00006b10 65 61 63 68 20 6c 69 6e 65 2e 20 59 6f 75 0a 6d |each line. You.m| 00006b20 61 79 20 63 6f 6e 66 69 67 75 72 65 20 74 68 65 |ay configure the| 00006b30 20 63 6f 64 65 73 20 73 65 6e 74 20 62 79 20 61 | codes sent by a| 00006b40 6c 74 65 72 69 6e 67 20 74 68 65 20 27 6b 65 79 |ltering the 'key| 00006b50 73 27 20 66 69 6c 65 20 76 61 72 69 61 62 6c 65 |s' file variable| 00006b60 20 26 33 30 37 2e 0a 0a 54 68 65 20 73 65 63 6f | &307...The seco| 00006b70 6e 64 2c 20 27 66 61 6e 63 79 20 70 72 69 6e 74 |nd, 'fancy print| 00006b80 27 20 63 61 6e 20 62 65 20 67 6f 74 20 62 79 20 |' can be got by | 00006b90 70 72 65 73 73 69 6e 67 20 27 53 68 69 66 74 2d |pressing 'Shift-| 00006ba0 50 72 69 6e 74 27 2e 20 59 6f 75 20 6d 75 73 74 |Print'. You must| 00006bb0 20 68 61 76 65 0a 61 20 70 72 69 6e 74 65 72 20 | have.a printer | 00006bc0 64 72 69 76 65 72 20 6c 6f 61 64 65 64 2e 20 54 |driver loaded. T| 00006bd0 68 65 20 66 69 6c 65 20 77 69 6c 6c 20 74 68 65 |he file will the| 00006be0 6e 20 62 65 20 6f 75 74 70 75 74 20 76 69 61 20 |n be output via | 00006bf0 74 68 65 20 70 72 69 6e 74 65 72 20 64 72 69 76 |the printer driv| 00006c00 65 72 0a 69 6e 20 74 68 65 20 63 75 72 72 65 6e |er.in the curren| 00006c10 74 20 6f 75 74 6c 69 6e 65 20 66 6f 6e 74 20 73 |t outline font s| 00006c20 65 6c 65 63 74 65 64 20 76 69 61 20 74 68 65 20 |elected via the | 00006c30 27 44 69 73 70 6c 61 79 2e 46 6f 6e 74 2e 4f 74 |'Display.Font.Ot| 00006c40 68 65 72 6e 61 6d 65 27 20 6d 65 6e 75 2e 0a 0a |hername' menu...| 00006c50 42 2e 34 20 53 65 6c 65 63 74 69 6e 67 20 72 65 |B.4 Selecting re| 00006c60 67 69 6f 6e 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |gions.----------| 00006c70 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 65 |-----------..The| 00006c80 72 65 20 61 72 65 20 73 65 76 65 72 61 6c 20 77 |re are several w| 00006c90 61 79 73 20 74 6f 20 6d 61 72 6b 20 72 65 67 69 |ays to mark regi| 00006ca0 6f 6e 73 20 69 6e 20 5a 61 70 2e 20 54 68 65 20 |ons in Zap. The | 00006cb0 6d 6f 73 74 20 6f 62 76 69 6f 75 73 20 69 73 20 |most obvious is | 00006cc0 74 6f 20 75 73 65 20 74 68 65 0a 6d 6f 75 73 65 |to use the.mouse| 00006cd0 2e 0a 0a 49 66 20 74 68 65 72 65 20 69 73 20 6e |...If there is n| 00006ce0 6f 20 72 65 67 69 6f 6e 20 73 65 6c 65 63 74 65 |o region selecte| 00006cf0 64 20 74 68 65 6e 20 44 52 41 47 20 53 45 4c 45 |d then DRAG SELE| 00006d00 43 54 20 77 69 6c 6c 20 6d 61 72 6b 20 61 20 6e |CT will mark a n| 00006d10 65 77 20 72 65 67 69 6f 6e 2c 20 61 6e 64 0a 41 |ew region, and.A| 00006d20 44 4a 55 53 54 20 43 4c 49 43 4b 2f 44 52 41 47 |DJUST CLICK/DRAG| 00006d30 20 77 69 6c 6c 20 73 65 6c 65 63 74 20 62 65 74 | will select bet| 00006d40 77 65 65 6e 20 74 68 65 20 63 6c 69 63 6b 65 64 |ween the clicked| 00006d50 20 70 6f 69 6e 74 20 61 6e 64 20 74 68 65 20 63 | point and the c| 00006d60 75 72 73 6f 72 2e 20 49 66 0a 74 68 65 72 65 20 |ursor. If.there | 00006d70 69 73 20 61 6c 72 65 61 64 79 20 61 20 72 65 67 |is already a reg| 00006d80 69 6f 6e 20 73 65 6c 65 63 74 65 64 20 74 68 65 |ion selected the| 00006d90 6e 20 44 52 41 47 20 53 45 4c 45 43 54 20 77 69 |n DRAG SELECT wi| 00006da0 6c 6c 20 73 74 61 72 74 20 73 65 6c 65 63 74 69 |ll start selecti| 00006db0 6e 67 20 61 0a 6e 65 77 20 72 65 67 69 6f 6e 2c |ng a.new region,| 00006dc0 20 41 44 4a 55 53 54 20 43 4c 49 43 4b 2f 44 52 | ADJUST CLICK/DR| 00006dd0 41 47 20 77 69 6c 6c 20 61 6c 74 65 72 20 74 68 |AG will alter th| 00006de0 65 20 6f 6c 64 20 72 65 67 69 6f 6e 2e 20 49 6e |e old region. In| 00006df0 20 65 69 74 68 65 72 20 63 61 73 65 2c 20 68 6f | either case, ho| 00006e00 6c 64 0a 64 6f 77 6e 20 74 68 65 20 43 54 52 4c |ld.down the CTRL| 00006e10 20 6b 65 79 20 74 6f 20 6c 65 61 76 65 20 74 68 | key to leave th| 00006e20 65 20 63 75 72 73 6f 72 20 75 6e 61 66 66 65 63 |e cursor unaffec| 00006e30 74 65 64 20 62 79 20 74 68 65 20 73 65 6c 65 63 |ted by the selec| 00006e40 74 69 6f 6e 2e 0a 0a 54 68 65 20 73 65 63 6f 6e |tion...The secon| 00006e50 64 20 6d 65 74 68 6f 64 20 69 73 20 74 6f 20 75 |d method is to u| 00006e60 73 65 20 74 68 65 20 6b 65 79 62 6f 61 72 64 2e |se the keyboard.| 00006e70 20 54 68 69 73 20 6d 65 74 68 6f 64 20 69 73 20 | This method is | 00006e80 6d 75 63 68 20 66 61 73 74 65 72 20 77 68 65 6e |much faster when| 00006e90 0a 79 6f 75 20 68 61 76 65 20 67 6f 74 20 75 73 |.you have got us| 00006ea0 65 64 20 74 6f 20 69 74 2e 20 46 69 72 73 74 20 |ed to it. First | 00006eb0 6d 6f 76 65 20 74 6f 20 74 68 65 20 73 74 61 72 |move to the star| 00006ec0 74 20 6f 66 20 74 68 65 20 72 65 67 69 6f 6e 20 |t of the region | 00006ed0 79 6f 75 20 77 69 73 68 20 74 6f 0a 6d 61 72 6b |you wish to.mark| 00006ee0 2e 20 54 68 65 6e 20 70 72 65 73 73 20 43 54 52 |. Then press CTR| 00006ef0 4c 2d 43 4f 50 59 20 61 6e 64 20 6d 6f 76 65 20 |L-COPY and move | 00006f00 28 76 69 61 20 74 68 65 20 63 75 72 73 6f 72 20 |(via the cursor | 00006f10 6b 65 79 73 29 20 74 6f 20 74 68 65 20 65 6e 64 |keys) to the end| 00006f20 20 6f 66 20 74 68 65 0a 72 65 67 69 6f 6e 2e 20 | of the.region. | 00006f30 54 68 65 6e 20 70 72 65 73 73 20 45 53 43 41 50 |Then press ESCAP| 00006f40 45 20 28 6f 72 20 43 54 52 4c 2d 43 4f 50 59 29 |E (or CTRL-COPY)| 00006f50 2e 0a 0a 54 68 65 20 74 68 69 72 64 20 6d 65 74 |...The third met| 00006f60 68 6f 64 20 69 73 20 74 6f 20 75 73 65 20 6d 75 |hod is to use mu| 00006f70 6c 74 69 70 6c 65 20 63 6c 69 63 6b 73 2e 20 44 |ltiple clicks. D| 00006f80 6f 75 62 6c 65 20 63 6c 69 63 6b 20 6d 61 72 6b |ouble click mark| 00006f90 73 20 61 20 77 6f 72 64 2c 20 74 72 69 70 6c 65 |s a word, triple| 00006fa0 0a 63 6c 69 63 6b 20 61 20 6c 69 6e 65 2c 20 71 |.click a line, q| 00006fb0 75 61 64 72 75 70 6c 65 20 63 6c 69 63 6b 20 61 |uadruple click a| 00006fc0 20 70 61 72 61 67 72 61 70 68 20 61 6e 64 20 71 | paragraph and q| 00006fd0 75 69 6e 74 75 70 6c 65 20 63 6c 69 63 6b 20 74 |uintuple click t| 00006fe0 68 65 20 77 68 6f 6c 65 0a 66 69 6c 65 2e 20 49 |he whole.file. I| 00006ff0 66 20 79 6f 75 20 64 6f 20 61 20 64 72 61 67 20 |f you do a drag | 00007000 73 65 6c 65 63 74 69 6f 6e 20 61 66 74 65 72 20 |selection after | 00007010 74 68 65 20 73 65 63 6f 6e 64 2f 74 68 69 72 64 |the second/third| 00007020 20 63 6c 69 63 6b 2c 20 74 68 65 6e 20 74 68 65 | click, then the| 00007030 20 74 65 78 74 0a 77 69 6c 6c 20 62 65 20 73 65 | text.will be se| 00007040 6c 65 63 74 65 64 20 69 6e 20 77 6f 72 64 73 2f |lected in words/| 00007050 6c 69 6e 65 73 2e 20 4e 6f 74 65 20 74 68 61 74 |lines. Note that| 00007060 20 74 68 65 20 42 41 53 49 43 20 6d 6f 64 65 20 | the BASIC mode | 00007070 6c 69 6d 69 74 73 20 73 65 6c 65 63 74 65 64 0a |limits selected.| 00007080 72 65 67 69 6f 6e 73 20 61 63 72 6f 73 73 20 6c |regions across l| 00007090 69 6e 65 73 20 74 6f 20 66 75 6c 6c 20 42 61 73 |ines to full Bas| 000070a0 69 63 20 6c 69 6e 65 73 20 28 6c 69 6b 65 20 74 |ic lines (like t| 000070b0 68 65 20 41 52 4d 42 45 29 2e 0a 0a 42 2e 35 20 |he ARMBE)...B.5 | 000070c0 43 6f 70 79 69 6e 67 2f 70 61 73 74 69 6e 67 2f |Copying/pasting/| 000070d0 63 75 74 74 69 6e 67 2f 79 61 6e 6b 69 6e 67 0a |cutting/yanking.| 000070e0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 00007100 2d 2d 2d 0a 0a 5a 61 70 20 69 6d 70 6c 65 6d 65 |---..Zap impleme| 00007110 6e 74 73 20 62 6f 74 68 20 74 68 65 20 21 45 64 |nts both the !Ed| 00007120 69 74 20 73 74 79 6c 65 20 63 6f 70 79 2f 6d 6f |it style copy/mo| 00007130 76 65 20 61 6e 64 20 74 68 65 20 45 6d 61 63 73 |ve and the Emacs| 00007140 20 73 74 79 6c 65 20 70 61 73 74 65 2f 79 61 6e | style paste/yan| 00007150 6b 2e 0a 0a 54 68 65 20 21 45 64 69 74 20 6d 65 |k...The !Edit me| 00007160 74 68 6f 64 3a 20 54 6f 20 6d 6f 76 65 20 61 20 |thod: To move a | 00007170 72 65 67 69 6f 6e 20 74 6f 20 74 68 65 20 63 75 |region to the cu| 00007180 72 73 6f 72 20 70 6f 73 69 74 69 6f 6e 20 70 72 |rsor position pr| 00007190 65 73 73 20 63 74 72 6c 2d 56 2e 20 54 6f 0a 63 |ess ctrl-V. To.c| 000071a0 6f 70 79 20 61 20 72 65 67 69 6f 6e 20 70 72 65 |opy a region pre| 000071b0 73 73 20 63 74 72 6c 2d 43 2e 0a 0a 54 68 65 20 |ss ctrl-C...The | 000071c0 45 6d 61 63 73 20 6d 65 74 68 6f 64 3a 20 54 6f |Emacs method: To| 000071d0 20 6d 6f 76 65 20 61 20 72 65 67 69 6f 6e 20 63 | move a region c| 000071e0 75 74 20 69 74 20 77 69 74 68 20 63 74 72 6c 2d |ut it with ctrl-| 000071f0 58 20 61 6e 64 20 74 68 65 6e 20 70 61 73 74 65 |X and then paste| 00007200 20 69 74 20 77 69 74 68 0a 63 74 72 6c 2d 59 20 | it with.ctrl-Y | 00007210 28 74 68 65 20 75 6e 64 6f 20 62 75 66 66 65 72 |(the undo buffer| 00007220 20 6d 75 73 74 20 62 65 20 6f 6e 20 74 6f 20 64 | must be on to d| 00007230 6f 20 74 68 69 73 29 2e 20 54 6f 20 63 6f 70 79 |o this). To copy| 00007240 20 61 20 72 65 67 69 6f 6e 2c 20 67 72 61 62 20 | a region, grab | 00007250 69 74 0a 77 69 74 68 20 73 68 69 66 74 2d 63 74 |it.with shift-ct| 00007260 72 6c 2d 57 20 28 45 6d 61 63 73 20 6d 65 74 61 |rl-W (Emacs meta| 00007270 2d 57 29 20 61 6e 64 20 70 61 73 74 65 20 69 74 |-W) and paste it| 00007280 20 77 69 74 68 20 63 74 72 6c 2d 59 2e 20 50 72 | with ctrl-Y. Pr| 00007290 65 73 73 20 73 68 69 66 74 2d 63 74 72 6c 2d 59 |ess shift-ctrl-Y| 000072a0 0a 28 45 6d 61 63 73 20 6d 65 74 61 2d 59 29 20 |.(Emacs meta-Y) | 000072b0 74 6f 20 63 79 63 6c 65 20 74 68 72 6f 75 67 68 |to cycle through| 000072c0 20 74 68 65 20 70 72 65 76 69 6f 75 73 6c 79 20 | the previously | 000072d0 64 65 6c 65 74 65 64 20 72 65 67 69 6f 6e 73 2e |deleted regions.| 000072e0 20 41 6c 73 6f 20 6e 6f 74 65 0a 74 68 61 74 20 | Also note.that | 000072f0 6d 75 6c 74 69 70 6c 65 20 70 72 65 73 73 65 73 |multiple presses| 00007300 20 6f 66 20 63 74 72 6c 2d 4b 20 6f 72 20 46 31 | of ctrl-K or F1| 00007310 30 20 70 72 6f 64 75 63 65 20 64 61 74 61 20 77 |0 produce data w| 00007320 68 69 63 68 20 63 61 6e 20 62 65 20 79 61 6e 6b |hich can be yank| 00007330 65 64 20 62 79 0a 63 74 72 6c 2d 59 2e 0a 0a 41 |ed by.ctrl-Y...A| 00007340 6e 6f 74 68 65 72 20 77 61 79 20 74 6f 20 63 6f |nother way to co| 00007350 70 79 20 74 65 78 74 20 69 73 20 76 69 61 20 74 |py text is via t| 00007360 68 65 20 43 4f 50 59 20 6b 65 79 2e 20 54 68 69 |he COPY key. Thi| 00007370 73 20 69 73 20 66 61 73 74 65 72 20 66 6f 72 20 |s is faster for | 00007380 63 6f 70 79 69 6e 67 0a 73 6d 61 6c 6c 20 73 65 |copying.small se| 00007390 63 74 69 6f 6e 73 20 6f 66 20 6f 74 68 65 72 20 |ctions of other | 000073a0 6c 69 6e 65 73 2e 20 46 69 72 73 74 20 70 72 65 |lines. First pre| 000073b0 73 73 20 74 68 65 20 43 4f 50 59 20 6b 65 79 20 |ss the COPY key | 000073c0 74 6f 20 73 70 6c 69 74 20 74 68 65 20 63 75 72 |to split the cur| 000073d0 73 6f 72 0a 69 6e 74 6f 20 74 77 6f 2e 20 4f 6e |sor.into two. On| 000073e0 65 20 63 75 72 73 6f 72 20 63 61 6e 20 62 65 20 |e cursor can be | 000073f0 6d 6f 76 65 64 20 61 62 6f 75 74 20 62 79 20 74 |moved about by t| 00007400 68 65 20 63 75 72 73 6f 72 20 6b 65 79 73 2e 20 |he cursor keys. | 00007410 4d 6f 76 65 20 74 68 69 73 20 74 6f 20 74 68 65 |Move this to the| 00007420 0a 61 72 65 61 20 79 6f 75 20 77 69 73 68 20 74 |.area you wish t| 00007430 6f 20 63 6f 70 79 20 66 72 6f 6d 20 61 6e 64 20 |o copy from and | 00007440 70 72 65 73 73 20 74 68 65 20 43 4f 50 59 20 6b |press the COPY k| 00007450 65 79 20 6f 6e 63 65 20 66 6f 72 20 65 61 63 68 |ey once for each| 00007460 20 63 68 61 72 61 63 74 65 72 2e 0a 50 72 65 73 | character..Pres| 00007470 73 20 45 53 43 41 50 45 20 6f 72 20 52 45 54 55 |s ESCAPE or RETU| 00007480 52 4e 20 74 6f 20 63 61 6e 63 65 6c 20 74 68 65 |RN to cancel the| 00007490 20 63 6f 70 79 20 6d 6f 64 65 2e 20 50 6c 65 61 | copy mode. Plea| 000074a0 73 65 20 6e 6f 74 65 20 74 68 61 74 20 79 6f 75 |se note that you| 000074b0 20 63 61 6e 20 61 6c 73 6f 0a 75 73 65 20 74 68 | can also.use th| 000074c0 69 73 20 6d 65 74 68 6f 64 20 61 63 72 6f 73 73 |is method across| 000074d0 20 77 69 6e 64 6f 77 73 20 61 6e 64 20 65 76 65 | windows and eve| 000074e0 6e 20 61 63 72 6f 73 73 20 6d 6f 64 65 73 21 0a |n across modes!.| 000074f0 0a 42 2e 36 20 49 6e 73 65 72 74 69 6e 67 20 74 |.B.6 Inserting t| 00007500 65 78 74 2f 63 6f 6e 74 72 6f 6c 20 63 6f 64 65 |ext/control code| 00007510 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |s.--------------| 00007520 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00007530 2d 2d 0a 0a 49 6e 20 74 65 78 74 20 6d 6f 64 65 |--..In text mode| 00007540 20 74 68 65 72 65 20 61 72 65 20 74 77 6f 20 66 | there are two f| 00007550 65 61 74 75 72 65 73 20 74 6f 20 68 65 6c 70 20 |eatures to help | 00007560 79 6f 75 20 66 6f 72 6d 61 74 20 74 65 78 74 20 |you format text | 00007570 61 73 20 79 6f 75 20 74 79 70 65 20 69 74 2e 0a |as you type it..| 00007580 54 68 65 20 66 69 72 73 74 20 69 73 20 63 61 6c |The first is cal| 00007590 6c 65 64 20 27 77 6f 72 64 20 77 72 61 70 27 20 |led 'word wrap' | 000075a0 61 6e 64 20 69 73 20 74 6f 67 67 6c 65 64 20 6f |and is toggled o| 000075b0 6e 20 61 6e 64 20 6f 66 66 20 76 69 61 20 63 46 |n and off via cF| 000075c0 35 2e 20 54 68 65 20 73 65 63 6f 6e 64 0a 69 73 |5. The second.is| 000075d0 20 63 61 6c 6c 65 64 20 27 6c 69 6e 65 20 77 72 | called 'line wr| 000075e0 61 70 27 20 61 6e 64 20 63 61 6e 20 62 65 20 74 |ap' and can be t| 000075f0 6f 67 67 6c 65 64 20 6f 6e 20 61 6e 64 20 6f 66 |oggled on and of| 00007600 66 20 76 69 61 20 74 68 65 20 27 45 64 69 74 27 |f via the 'Edit'| 00007610 20 6d 65 6e 75 20 28 6f 72 0a 79 6f 75 20 63 61 | menu (or.you ca| 00007620 6e 20 62 69 6e 64 20 74 68 65 20 4c 49 4e 45 57 |n bind the LINEW| 00007630 52 41 50 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 61 |RAP command to a| 00007640 20 6b 65 79 20 69 66 20 79 6f 75 20 77 69 73 68 | key if you wish| 00007650 29 2e 20 57 68 69 6c 73 74 20 65 69 74 68 65 72 |). Whilst either| 00007660 20 6f 66 0a 74 68 65 73 65 20 6d 6f 64 65 73 20 | of.these modes | 00007670 61 72 65 20 61 63 74 69 76 65 2c 20 74 65 78 74 |are active, text| 00007680 20 74 79 70 65 64 20 62 65 79 6f 6e 64 20 74 68 | typed beyond th| 00007690 65 20 27 77 72 61 70 20 77 69 64 74 68 27 20 6d |e 'wrap width' m| 000076a0 61 72 67 69 6e 20 28 73 65 74 20 76 69 61 0a 74 |argin (set via.t| 000076b0 68 65 20 27 45 64 69 74 27 20 6d 65 6e 75 29 20 |he 'Edit' menu) | 000076c0 69 73 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 |is automatically| 000076d0 20 73 70 6c 69 74 20 61 74 20 73 70 61 63 65 73 | split at spaces| 000076e0 20 61 6e 64 20 70 6c 61 63 65 64 20 6f 6e 20 74 | and placed on t| 000076f0 68 65 20 6e 65 78 74 0a 6c 69 6e 65 2e 20 27 57 |he next.line. 'W| 00007700 6f 72 64 77 72 61 70 27 20 64 69 66 66 65 72 73 |ordwrap' differs| 00007710 20 66 72 6f 6d 20 27 6c 69 6e 65 77 72 61 70 27 | from 'linewrap'| 00007720 20 69 6e 20 74 68 61 74 20 77 68 65 6e 20 79 6f | in that when yo| 00007730 75 20 64 65 6c 65 74 65 20 63 68 61 72 61 63 74 |u delete charact| 00007740 65 72 73 2c 0a 74 68 65 20 70 61 72 61 67 72 61 |ers,.the paragra| 00007750 70 68 20 77 69 6c 6c 20 62 65 20 66 6f 72 6d 61 |ph will be forma| 00007760 74 74 65 64 20 69 6e 20 77 6f 72 64 77 72 61 70 |tted in wordwrap| 00007770 20 6d 6f 64 65 20 28 74 68 75 73 20 70 75 6c 6c | mode (thus pull| 00007780 69 6e 67 20 74 65 78 74 20 62 61 63 6b 29 20 62 |ing text back) b| 00007790 75 74 0a 6e 6f 74 20 69 6e 20 6c 69 6e 65 77 72 |ut.not in linewr| 000077a0 61 70 20 6d 6f 64 65 2e 0a 0a 54 68 65 72 65 20 |ap mode...There | 000077b0 61 72 65 20 74 77 6f 20 77 61 79 73 20 74 6f 20 |are two ways to | 000077c0 69 6e 73 65 72 74 20 63 6f 6e 74 72 6f 6c 20 63 |insert control c| 000077d0 68 61 72 61 63 74 65 72 73 2e 20 54 68 65 20 66 |haracters. The f| 000077e0 69 72 73 74 20 69 73 20 74 6f 20 27 71 75 6f 74 |irst is to 'quot| 000077f0 65 27 20 74 68 65 0a 63 68 61 72 61 63 74 65 72 |e' the.character| 00007800 2e 20 54 6f 20 64 6f 20 74 68 69 73 2c 20 70 72 |. To do this, pr| 00007810 65 73 73 20 63 74 72 6c 2d 51 20 61 6e 64 20 74 |ess ctrl-Q and t| 00007820 68 65 6e 20 74 79 70 65 20 74 68 65 20 63 6f 6e |hen type the con| 00007830 74 72 6f 6c 20 63 68 61 72 61 63 74 65 72 20 79 |trol character y| 00007840 6f 75 0a 77 61 6e 74 20 74 6f 20 69 6e 73 65 72 |ou.want to inser| 00007850 74 2e 20 45 67 2c 20 63 74 72 6c 2d 51 20 63 74 |t. Eg, ctrl-Q ct| 00007860 72 6c 2d 41 20 77 69 6c 6c 20 69 6e 73 65 72 74 |rl-A will insert| 00007870 20 74 68 65 20 62 79 74 65 20 31 2e 20 54 68 65 | the byte 1. The| 00007880 20 73 65 63 6f 6e 64 20 69 73 20 74 6f 0a 73 77 | second is to.sw| 00007890 69 74 63 68 20 74 6f 20 62 79 74 65 20 6d 6f 64 |itch to byte mod| 000078a0 65 20 28 73 63 46 32 29 2c 20 74 79 70 65 20 74 |e (scF2), type t| 000078b0 68 65 20 64 69 67 69 74 73 20 69 6e 20 68 65 78 |he digits in hex| 000078c0 20 61 6e 64 20 74 68 65 6e 20 73 77 69 74 63 68 | and then switch| 000078d0 20 62 61 63 6b 20 74 6f 0a 74 65 78 74 20 6d 6f | back to.text mo| 000078e0 64 65 20 28 73 63 46 31 29 2e 20 54 68 69 73 20 |de (scF1). This | 000078f0 61 73 73 75 6d 65 73 20 74 68 61 74 20 27 68 65 |assumes that 'he| 00007900 78 20 65 6e 74 72 79 20 6d 6f 64 65 27 20 69 73 |x entry mode' is| 00007910 20 61 63 74 69 76 65 20 69 6e 20 62 79 74 65 20 | active in byte | 00007920 6d 6f 64 65 2e 0a 0a 57 68 65 6e 20 63 72 65 61 |mode...When crea| 00007930 74 69 6e 67 20 6d 61 63 72 6f 73 2c 20 62 79 20 |ting macros, by | 00007940 62 69 6e 64 69 6e 67 20 61 20 6c 69 73 74 20 6f |binding a list o| 00007950 66 20 63 6f 6d 6d 61 6e 64 73 20 74 6f 20 61 20 |f commands to a | 00007960 6b 65 79 2c 20 79 6f 75 20 6d 61 79 20 66 69 6e |key, you may fin| 00007970 64 0a 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 49 |d.the commands I| 00007980 4e 53 45 52 54 20 61 6e 64 20 49 4e 53 45 52 54 |NSERT and INSERT| 00007990 47 53 20 75 73 65 66 75 6c 2e 20 54 68 65 20 66 |GS useful. The f| 000079a0 69 72 73 74 20 69 6e 73 65 72 74 73 20 61 20 73 |irst inserts a s| 000079b0 74 72 69 6e 67 20 69 6e 74 6f 20 74 68 65 0a 74 |tring into the.t| 000079c0 65 78 74 20 61 6e 64 20 74 68 65 20 73 65 63 6f |ext and the seco| 000079d0 6e 64 20 47 53 2d 54 72 61 6e 73 27 73 20 69 74 |nd GS-Trans's it| 000079e0 20 66 69 72 73 74 2e 0a 0a 2a 2a 2a 2a 2a 2a 2a | first...*******| 000079f0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00007a30 2a 2a 0a 2a 20 53 65 63 74 69 6f 6e 20 43 3a 45 |**.* Section C:E| 00007a40 64 69 74 69 6e 67 20 42 41 53 49 43 20 2d 20 50 |diting BASIC - P| 00007a50 4c 45 41 53 45 20 52 45 41 44 2a 0a 2a 2a 2a 2a |LEASE READ*.****| 00007a60 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00007aa0 2a 2a 2a 2a 2a 0a 0a 43 2e 31 20 43 68 61 6e 67 |*****..C.1 Chang| 00007ab0 69 6e 67 20 65 64 69 74 6f 72 73 2f 6f 70 74 69 |ing editors/opti| 00007ac0 6f 6e 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |ons.------------| 00007ad0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00007ae0 0a 0a 54 68 65 72 65 20 61 72 65 20 65 73 73 65 |..There are esse| 00007af0 6e 74 69 61 6c 6c 79 20 33 20 77 61 79 73 20 74 |ntially 3 ways t| 00007b00 6f 20 65 64 69 74 20 62 61 73 69 63 20 70 72 6f |o edit basic pro| 00007b10 67 72 61 6d 73 20 69 6e 20 5a 61 70 2e 20 44 6f |grams in Zap. Do| 00007b20 20 6e 6f 74 20 62 65 20 70 75 74 20 6f 66 66 0a | not be put off.| 00007b30 69 66 20 79 6f 75 20 64 69 73 6c 69 6b 65 20 74 |if you dislike t| 00007b40 68 65 20 64 65 66 61 75 6c 74 20 63 6f 6e 66 69 |he default confi| 00007b50 67 75 72 61 74 69 6f 6e 2e 20 59 6f 75 20 6d 61 |guration. You ma| 00007b60 79 20 63 68 61 6e 67 65 20 6d 6f 73 74 20 74 68 |y change most th| 00007b70 69 6e 67 73 20 74 6f 20 79 6f 75 72 0a 70 72 65 |ings to your.pre| 00007b80 66 65 72 65 6e 63 65 2e 0a 0a 49 6e 20 74 68 65 |ference...In the| 00007b90 20 64 65 66 61 75 6c 74 20 63 6f 6e 66 69 67 75 | default configu| 00007ba0 72 61 74 69 6f 6e 2c 20 62 61 73 69 63 20 70 72 |ration, basic pr| 00007bb0 6f 67 72 61 6d 73 20 61 72 65 20 65 64 69 74 65 |ograms are edite| 00007bc0 64 20 69 6e 20 74 68 65 20 7a 61 70 20 65 78 74 |d in the zap ext| 00007bd0 65 6e 73 69 6f 6e 0a 6d 6f 64 65 20 63 61 6c 6c |ension.mode call| 00007be0 65 64 20 42 41 53 49 43 2e 20 54 68 69 73 20 69 |ed BASIC. This i| 00007bf0 73 20 64 65 73 69 67 6e 65 64 20 74 6f 20 62 65 |s designed to be| 00007c00 20 61 20 64 65 73 6b 74 6f 70 20 76 65 72 73 69 | a desktop versi| 00007c10 6f 6e 20 6f 66 20 41 63 6f 72 6e 27 73 20 41 52 |on of Acorn's AR| 00007c20 4d 42 45 2e 0a 54 68 6f 73 65 20 70 65 6f 70 6c |MBE..Those peopl| 00007c30 65 20 75 73 65 64 20 74 6f 20 41 52 4d 42 45 20 |e used to ARMBE | 00007c40 73 68 6f 75 6c 64 20 66 69 6e 64 20 74 68 69 73 |should find this| 00007c50 20 6d 6f 64 65 20 76 65 72 79 20 65 61 73 79 20 | mode very easy | 00007c60 74 6f 20 75 73 65 2e 20 54 68 65 20 6d 61 69 6e |to use. The main| 00007c70 0a 70 6f 69 6e 74 73 20 61 72 65 20 74 68 61 74 |.points are that| 00007c80 20 69 73 20 65 64 69 74 73 20 74 68 65 20 70 72 | is edits the pr| 00007c90 6f 67 72 61 6d 20 77 68 69 6c 65 20 74 6f 6b 65 |ogram while toke| 00007ca0 6e 69 73 65 64 2c 20 61 6e 64 20 61 63 74 73 20 |nised, and acts | 00007cb0 61 73 20 61 20 6c 69 6e 65 0a 65 64 69 74 6f 72 |as a line.editor| 00007cc0 2e 20 49 65 2c 20 52 45 54 55 52 4e 20 69 6e 73 |. Ie, RETURN ins| 00007cd0 65 72 74 73 20 61 20 6e 65 77 20 6c 69 6e 65 20 |erts a new line | 00007ce0 61 66 74 65 72 20 74 68 65 20 63 75 72 72 65 6e |after the curren| 00007cf0 74 20 6f 6e 65 2c 20 61 6e 64 20 74 68 65 0a 66 |t one, and the.f| 00007d00 75 6e 63 74 69 6f 6e 73 20 53 50 4c 49 54 2c 4a |unctions SPLIT,J| 00007d10 4f 49 4e 20 6f 6e 20 73 68 69 66 74 2d 46 31 20 |OIN on shift-F1 | 00007d20 61 6e 64 20 63 74 72 6c 2d 46 31 20 61 72 65 20 |and ctrl-F1 are | 00007d30 75 73 65 64 20 74 6f 20 6d 61 6e 69 70 75 6c 61 |used to manipula| 00007d40 74 65 20 6c 69 6e 65 73 2e 0a 0a 46 6f 72 20 74 |te lines...For t| 00007d50 68 6f 73 65 20 70 65 6f 70 6c 65 20 77 68 6f 20 |hose people who | 00007d60 77 69 73 68 20 74 6f 20 65 64 69 74 20 42 41 53 |wish to edit BAS| 00007d70 49 43 20 69 6e 20 74 6f 6b 65 6e 69 73 65 64 20 |IC in tokenised | 00007d80 66 6f 72 6d 2c 20 61 6e 64 20 74 68 75 73 20 77 |form, and thus w| 00007d90 69 74 68 20 6c 69 6e 65 0a 6e 75 6d 62 65 72 73 |ith line.numbers| 00007da0 20 61 63 63 65 73 73 69 62 6c 65 2c 20 62 75 74 | accessible, but| 00007db0 20 77 68 6f 20 64 6f 20 6e 6f 74 20 6c 69 6b 65 | who do not like| 00007dc0 20 27 6c 69 6e 65 20 65 64 69 74 6f 72 73 27 20 | 'line editors' | 00007dd0 61 73 20 64 65 73 63 72 69 62 65 64 20 61 62 6f |as described abo| 00007de0 76 65 2c 0a 70 65 72 66 6f 72 6d 20 74 68 65 20 |ve,.perform the | 00007df0 6f 70 74 69 6f 6e 20 63 68 61 6e 67 65 73 20 69 |option changes i| 00007e00 6e 64 69 63 61 74 65 64 20 62 79 20 74 68 65 20 |ndicated by the | 00007e10 63 6c 69 63 6b 73 3a 0a 0a 6f 70 74 69 6f 6e 73 |clicks:..options| 00007e20 2e 6d 6f 64 65 2e 42 41 53 49 43 20 3b 20 63 6f |.mode.BASIC ; co| 00007e30 6e 66 69 67 75 72 65 20 62 61 73 69 63 20 6d 6f |nfigure basic mo| 00007e40 64 65 0a 6f 70 74 69 6f 6e 73 2e 65 64 69 74 2e |de.options.edit.| 00007e50 6c 69 6e 65 20 65 64 69 74 20 3b 20 74 75 72 6e |line edit ; turn| 00007e60 20 6f 66 66 20 6c 69 6e 65 20 65 64 69 74 6f 72 | off line editor| 00007e70 20 6d 6f 64 65 0a 6f 70 74 69 6f 6e 73 2e 65 64 | mode.options.ed| 00007e80 69 74 2e 6e 6f 6e 20 73 74 61 6e 64 61 72 64 20 |it.non standard | 00007e90 3b 20 74 75 72 6e 20 6f 66 66 20 6e 6f 6e 20 73 |; turn off non s| 00007ea0 74 61 6e 64 61 72 64 20 73 70 6c 69 74 2f 6a 6f |tandard split/jo| 00007eb0 69 6e 0a 6f 70 74 69 6f 6e 73 2e 64 69 73 70 6c |in.options.displ| 00007ec0 61 79 2e 6c 69 6e 65 6e 75 6d 62 65 72 73 2e 6e |ay.linenumbers.n| 00007ed0 6f 6e 65 20 3b 20 74 75 72 6e 20 6f 66 66 20 6c |one ; turn off l| 00007ee0 69 6e 65 20 6e 75 6d 62 65 72 73 0a 6f 70 74 69 |ine numbers.opti| 00007ef0 6f 6e 73 2e 6d 6f 64 65 2e 54 45 58 54 20 3b 20 |ons.mode.TEXT ; | 00007f00 72 65 74 75 72 6e 20 63 6f 6e 66 69 67 20 6d 6f |return config mo| 00007f10 64 65 20 74 6f 20 74 65 78 74 0a 6f 70 74 69 6f |de to text.optio| 00007f20 6e 73 2e 73 61 76 65 20 6f 70 74 69 6f 6e 73 20 |ns.save options | 00007f30 3b 20 73 61 76 65 20 79 6f 75 72 20 21 43 6f 6e |; save your !Con| 00007f40 66 69 67 20 66 69 6c 65 0a 0a 54 68 69 73 20 77 |fig file..This w| 00007f50 69 6c 6c 20 72 65 73 75 6c 74 20 69 6e 20 61 20 |ill result in a | 00007f60 6d 6f 64 65 20 77 68 65 72 65 20 74 68 65 20 42 |mode where the B| 00007f70 41 53 49 43 20 70 72 6f 67 72 61 6d 20 69 73 20 |ASIC program is | 00007f80 73 74 69 6c 6c 20 74 6f 6b 65 6e 69 73 65 64 2c |still tokenised,| 00007f90 20 62 75 74 0a 52 45 54 55 52 4e 20 61 6e 64 20 | but.RETURN and | 00007fa0 44 45 4c 45 54 45 20 61 63 74 20 6e 6f 72 6d 61 |DELETE act norma| 00007fb0 6c 6c 79 20 61 73 20 73 70 6c 69 74 20 61 6e 64 |lly as split and| 00007fc0 20 6a 6f 69 6e 20 6f 70 65 72 61 74 6f 72 73 2e | join operators.| 00007fd0 20 41 6c 73 6f 20 74 68 65 20 6c 69 6e 65 0a 6e | Also the line.n| 00007fe0 75 6d 62 65 72 73 20 68 61 76 65 20 62 65 65 6e |umbers have been| 00007ff0 20 73 77 69 74 63 68 65 64 20 6f 66 66 2e 0a 0a | switched off...| 00008000 46 6f 72 20 74 68 6f 73 65 20 77 68 6f 20 70 72 |For those who pr| 00008010 65 66 65 72 20 74 6f 20 65 64 69 74 20 62 61 73 |efer to edit bas| 00008020 69 63 20 69 6e 20 64 65 74 6f 6b 65 6e 69 73 65 |ic in detokenise| 00008030 64 20 66 6f 72 6d 2c 20 74 68 65 72 65 20 69 73 |d form, there is| 00008040 20 61 20 73 65 70 61 72 61 74 65 0a 6d 6f 64 65 | a separate.mode| 00008050 20 6e 61 6d 65 64 20 42 41 53 54 58 54 20 77 68 | named BASTXT wh| 00008060 69 63 68 20 61 63 63 6f 6d 70 6c 69 73 68 65 73 |ich accomplishes| 00008070 20 74 68 69 73 2e 20 54 6f 20 6c 6f 61 64 20 61 | this. To load a| 00008080 20 73 69 6e 67 6c 65 20 66 69 6c 65 20 69 6e 20 | single file in | 00008090 75 73 69 6e 67 0a 74 68 69 73 20 6d 6f 64 65 20 |using.this mode | 000080a0 69 74 20 69 73 20 65 61 73 69 65 73 74 20 74 6f |it is easiest to| 000080b0 20 73 65 74 20 74 68 65 20 6f 70 74 69 6f 6e 73 | set the options| 000080c0 20 6d 65 6e 75 20 6d 6f 64 65 20 74 6f 20 42 41 | menu mode to BA| 000080d0 53 54 58 54 20 61 6e 64 20 68 6f 6c 64 20 64 6f |STXT and hold do| 000080e0 77 6e 0a 43 54 52 4c 20 6b 65 79 20 77 68 69 6c |wn.CTRL key whil| 000080f0 65 20 6c 6f 61 64 69 6e 67 20 74 68 65 20 66 69 |e loading the fi| 00008100 6c 65 2e 20 54 6f 20 63 68 61 6e 67 65 20 74 6f |le. To change to| 00008110 20 74 68 65 20 42 41 53 54 58 54 20 6d 6f 64 65 | the BASTXT mode| 00008120 20 70 65 72 6d 61 6e 65 6e 74 6c 79 2c 0a 63 68 | permanently,.ch| 00008130 61 6e 67 65 20 74 68 65 20 6c 69 6e 65 20 6f 66 |ange the line of| 00008140 20 74 68 65 20 27 4b 65 79 73 27 20 66 69 6c 65 | the 'Keys' file| 00008150 20 77 68 69 63 68 20 72 65 61 64 73 3a 0a 0a 42 | which reads:..B| 00008160 61 73 69 63 26 31 46 46 42 42 41 53 49 43 0a 0a |asic&1FFBBASIC..| 00008170 74 6f 20 72 65 61 64 3a 0a 0a 42 61 73 69 63 26 |to read:..Basic&| 00008180 31 46 46 42 42 41 53 54 58 54 0a 0a 49 6e 20 74 |1FFBBASTXT..In t| 00008190 68 69 73 20 6d 6f 64 65 2c 20 77 68 65 6e 65 76 |his mode, whenev| 000081a0 65 72 20 61 20 66 69 6c 65 20 69 73 20 6c 6f 61 |er a file is loa| 000081b0 64 65 64 20 69 74 20 69 73 20 63 6f 6e 76 65 72 |ded it is conver| 000081c0 74 65 64 20 69 6e 74 6f 20 74 65 78 74 20 77 69 |ted into text wi| 000081d0 74 68 20 6c 69 6e 65 0a 6e 75 6d 62 65 72 73 20 |th line.numbers | 000081e0 73 74 72 69 70 65 64 2e 20 53 61 76 69 6e 67 20 |striped. Saving | 000081f0 69 73 20 74 68 65 20 63 6f 6e 76 65 72 73 65 2e |is the converse.| 00008200 20 50 6c 65 61 73 65 20 6e 6f 74 65 20 74 68 61 | Please note tha| 00008210 74 20 69 66 20 74 68 65 20 70 72 6f 67 72 61 6d |t if the program| 00008220 0a 63 6f 6e 74 61 69 6e 65 64 20 6c 69 6e 65 20 |.contained line | 00008230 6e 75 6d 62 65 72 20 72 65 66 65 72 65 6e 63 65 |number reference| 00008240 73 2c 20 74 68 65 6e 20 5a 61 70 20 77 69 6c 6c |s, then Zap will| 00008250 20 62 65 65 70 20 62 65 66 6f 72 65 20 66 6f 72 | beep before for| 00008260 63 69 6e 67 20 74 68 65 20 42 41 53 49 43 0a 6d |cing the BASIC.m| 00008270 6f 64 65 20 64 65 73 63 72 69 62 65 64 20 69 6e |ode described in| 00008280 20 43 2e 32 2e 0a 0a 43 2e 32 20 55 73 69 6e 67 | C.2...C.2 Using| 00008290 20 42 41 53 49 43 20 69 6e 20 41 52 4d 42 45 20 | BASIC in ARMBE | 000082a0 6d 6f 64 65 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |mode.-----------| 000082b0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 000082c0 2d 2d 0a 0a 49 6e 20 69 74 27 73 20 64 65 66 61 |--..In it's defa| 000082d0 75 6c 74 20 73 65 74 75 70 20 74 68 65 20 42 41 |ult setup the BA| 000082e0 53 49 43 20 6d 6f 64 65 20 69 73 20 64 65 73 69 |SIC mode is desi| 000082f0 67 6e 65 64 20 74 6f 20 65 6d 75 6c 61 74 65 20 |gned to emulate | 00008300 41 52 4d 42 45 2e 20 54 68 75 73 20 6c 69 6e 65 |ARMBE. Thus line| 00008310 0a 6e 75 6d 62 65 72 73 20 61 72 65 20 64 69 73 |.numbers are dis| 00008320 70 6c 61 79 65 64 20 69 6e 20 74 68 65 20 6c 65 |played in the le| 00008330 66 74 20 6d 61 72 67 69 6e 2c 20 61 6e 64 20 61 |ft margin, and a| 00008340 75 74 6f 6d 61 74 69 63 20 72 65 6e 75 6d 62 65 |utomatic renumbe| 00008350 72 69 6e 67 20 74 61 6b 65 73 0a 70 6c 61 63 65 |ring takes.place| 00008360 20 61 73 20 6c 69 6e 65 73 20 61 72 65 20 61 64 | as lines are ad| 00008370 64 65 64 20 74 6f 20 74 68 65 20 66 69 6c 65 2e |ded to the file.| 00008380 20 41 6c 6c 20 47 4f 54 4f 20 61 6e 64 20 47 4f | All GOTO and GO| 00008390 53 55 42 20 6c 69 6e 65 20 6e 75 6d 62 65 72 0a |SUB line number.| 000083a0 72 65 66 65 72 65 6e 63 65 73 20 61 72 65 20 61 |references are a| 000083b0 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 75 70 64 |utomatically upd| 000083c0 61 74 65 64 2e 0a 0a 49 6e 20 6c 69 6e 65 20 65 |ated...In line e| 000083d0 64 69 74 6f 72 20 6d 6f 64 65 2c 20 74 68 65 20 |ditor mode, the | 000083e0 52 45 54 55 52 4e 20 6b 65 79 20 69 6e 73 65 72 |RETURN key inser| 000083f0 74 73 20 61 20 6e 65 77 20 6c 6f 67 69 63 61 6c |ts a new logical| 00008400 20 6c 69 6e 65 2e 20 54 6f 20 73 70 6c 69 74 20 | line. To split | 00008410 74 68 65 0a 6c 69 6e 65 20 69 6e 20 74 77 6f 20 |the.line in two | 00008420 61 74 20 74 68 65 20 63 75 72 72 65 6e 74 20 63 |at the current c| 00008430 75 72 73 6f 72 20 70 6f 73 69 74 69 6f 6e 20 70 |ursor position p| 00008440 72 65 73 73 20 53 48 49 46 54 2d 46 31 20 61 6e |ress SHIFT-F1 an| 00008450 64 20 74 6f 20 6a 6f 69 6e 20 74 77 6f 0a 6c 69 |d to join two.li| 00008460 6e 65 73 20 70 72 65 73 73 20 43 54 52 4c 2d 46 |nes press CTRL-F| 00008470 31 2e 20 57 68 65 6e 20 74 77 6f 20 6c 69 6e 65 |1. When two line| 00008480 73 20 61 72 65 20 6a 6f 69 6e 65 64 2c 20 61 20 |s are joined, a | 00008490 27 3a 27 20 69 73 20 69 6e 73 65 72 74 65 64 20 |':' is inserted | 000084a0 62 65 74 77 65 65 6e 20 74 68 65 0a 73 74 61 74 |between the.stat| 000084b0 65 6d 65 6e 74 73 2e 20 49 66 20 79 6f 75 20 64 |ements. If you d| 000084c0 6f 20 6e 6f 74 20 6c 69 6b 65 20 74 68 69 73 2c |o not like this,| 000084d0 20 69 74 20 63 61 6e 20 62 65 20 73 77 69 74 63 | it can be switc| 000084e0 68 65 64 20 6f 66 66 20 62 79 20 74 75 72 6e 69 |hed off by turni| 000084f0 6e 67 20 6f 66 66 0a 74 68 65 20 6c 69 6e 65 2d |ng off.the line-| 00008500 65 64 69 74 20 61 6e 64 20 6e 6f 6e 2d 73 74 61 |edit and non-sta| 00008510 6e 64 61 72 64 20 66 6c 61 67 73 20 6f 6e 20 74 |ndard flags on t| 00008520 68 65 20 65 64 69 74 20 6d 65 6e 75 2e 20 53 65 |he edit menu. Se| 00008530 65 20 61 62 6f 76 65 2e 0a 0a 54 65 78 74 20 69 |e above...Text i| 00008540 73 20 74 79 70 65 64 20 61 73 20 75 73 75 61 6c |s typed as usual| 00008550 20 77 69 74 68 20 74 68 65 20 70 72 6f 76 69 73 | with the provis| 00008560 6f 20 74 68 61 74 20 74 6f 6b 65 6e 73 20 61 72 |o that tokens ar| 00008570 65 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 0a |e automatically.| 00008580 65 78 70 61 6e 64 65 64 2e 20 46 6f 72 20 65 78 |expanded. For ex| 00008590 61 6d 70 6c 65 20 27 50 2e 27 20 77 69 6c 6c 20 |ample 'P.' will | 000085a0 62 65 20 65 78 70 61 6e 64 65 64 20 74 6f 20 27 |be expanded to '| 000085b0 50 52 49 4e 54 27 20 77 68 65 6e 20 79 6f 75 20 |PRINT' when you | 000085c0 70 72 65 73 73 20 74 68 65 0a 64 6f 74 2e 20 41 |press the.dot. A| 000085d0 6c 73 6f 20 6e 6f 74 65 20 74 68 61 74 20 69 6e |lso note that in| 000085e0 20 6e 6f 6e 2d 73 74 61 6e 64 61 72 64 20 65 64 | non-standard ed| 000085f0 69 74 69 6e 67 20 6d 6f 64 65 20 65 78 63 65 73 |iting mode exces| 00008600 73 20 73 70 61 63 65 73 20 61 72 65 0a 61 75 74 |s spaces are.aut| 00008610 6f 6d 61 74 69 63 61 6c 6c 79 20 72 65 6d 6f 76 |omatically remov| 00008620 65 64 20 66 72 6f 6d 20 74 68 65 20 65 6e 64 20 |ed from the end | 00008630 6f 66 20 61 20 6c 69 6e 65 20 28 65 78 63 65 70 |of a line (excep| 00008640 74 20 77 68 65 6e 20 74 68 69 73 20 77 6f 75 6c |t when this woul| 00008650 64 20 70 72 65 76 65 6e 74 0a 74 68 65 20 6c 69 |d prevent.the li| 00008660 6e 65 20 77 72 61 70 70 69 6e 67 20 6f 6e 74 6f |ne wrapping onto| 00008670 20 74 68 65 20 6e 65 78 74 29 2e 20 27 55 6e 69 | the next). 'Uni| 00008680 78 27 20 74 61 62 20 6d 6f 64 65 20 6a 75 73 74 |x' tab mode just| 00008690 20 61 64 76 61 6e 63 65 73 20 74 68 65 20 63 75 | advances the cu| 000086a0 72 73 6f 72 20 74 6f 0a 74 68 65 20 6e 65 78 74 |rsor to.the next| 000086b0 20 74 61 62 20 73 74 6f 70 20 61 73 20 69 6e 20 | tab stop as in | 000086c0 41 52 4d 42 45 2e 20 54 68 65 20 6f 74 68 65 72 |ARMBE. The other| 000086d0 20 74 61 62 20 6d 6f 64 65 73 2c 20 21 45 64 69 | tab modes, !Edi| 000086e0 74 20 61 6e 64 20 43 6f 6c 74 61 62 20 77 6f 72 |t and Coltab wor| 000086f0 6b 20 61 73 0a 69 6e 20 74 68 65 20 74 65 78 74 |k as.in the text| 00008700 20 6d 6f 64 65 2e 0a 0a 43 6f 70 79 69 6e 67 20 | mode...Copying | 00008710 62 69 74 73 20 6f 75 74 20 6f 66 20 74 68 65 20 |bits out of the | 00008720 6d 69 64 64 6c 65 20 6f 66 20 6c 69 6e 65 73 20 |middle of lines | 00008730 69 73 20 70 65 72 66 6f 72 6d 65 64 20 75 73 69 |is performed usi| 00008740 6e 67 20 74 68 65 20 43 4f 50 59 20 6b 65 79 2e |ng the COPY key.| 00008750 0a 47 72 6f 75 70 73 20 6f 66 20 6c 69 6e 65 73 |.Groups of lines| 00008760 20 61 72 65 20 73 65 6c 65 63 74 65 64 2c 20 63 | are selected, c| 00008770 75 74 20 61 6e 64 20 6d 6f 76 65 64 2f 63 6f 70 |ut and moved/cop| 00008780 69 65 64 20 61 73 20 75 73 75 61 6c 20 66 6f 72 |ied as usual for| 00008790 20 61 6e 79 20 74 65 78 74 0a 72 65 67 69 6f 6e | any text.region| 000087a0 2e 20 54 68 65 20 72 65 67 69 6f 6e 73 20 61 72 |. The regions ar| 000087b0 65 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 |e automatically | 000087c0 72 65 6e 75 6d 62 65 72 65 64 20 69 6e 74 65 72 |renumbered inter| 000087d0 6e 61 6c 6c 79 2e 20 46 6f 72 20 74 68 6f 73 65 |nally. For those| 000087e0 20 28 6c 69 6b 65 0a 6d 65 29 20 75 73 65 64 20 | (like.me) used | 000087f0 74 6f 20 74 68 65 20 41 52 4d 42 45 20 77 61 79 |to the ARMBE way| 00008800 20 6f 66 20 6d 6f 76 69 6e 67 20 72 65 67 69 6f | of moving regio| 00008810 6e 73 2c 20 74 68 65 72 65 20 69 73 20 61 20 6e |ns, there is a n| 00008820 61 74 75 72 61 6c 20 72 65 70 6c 61 63 65 6d 65 |atural replaceme| 00008830 6e 74 2e 0a 46 6f 72 20 65 78 61 6d 70 6c 65 20 |nt..For example | 00008840 73 75 70 70 6f 73 65 20 79 6f 75 20 77 69 73 68 |suppose you wish| 00008850 20 74 6f 20 6d 6f 76 65 20 6c 69 6e 65 73 20 31 | to move lines 1| 00008860 30 2d 35 30 2c 20 74 6f 20 62 65 66 6f 72 65 20 |0-50, to before | 00008870 6c 69 6e 65 20 31 30 30 2e 20 49 6e 20 74 68 65 |line 100. In the| 00008880 0a 41 52 4d 42 45 20 79 6f 75 20 77 6f 75 6c 64 |.ARMBE you would| 00008890 20 64 6f 3a 0a 0a 20 20 4d 6f 76 65 20 74 6f 20 | do:.. Move to | 000088a0 6c 69 6e 65 20 31 30 2c 20 63 4d 20 63 4d 2c 20 |line 10, cM cM, | 000088b0 6d 6f 76 65 20 74 6f 20 6c 69 6e 65 20 35 30 2c |move to line 50,| 000088c0 20 63 4d 20 63 4d 2c 20 6d 6f 76 65 20 74 6f 20 | cM cM, move to | 000088d0 6c 69 6e 65 20 31 30 30 2c 20 63 42 2c 20 66 31 |line 100, cB, f1| 000088e0 32 0a 20 20 0a 49 6e 20 5a 61 70 20 79 6f 75 20 |2. .In Zap you | 000088f0 64 6f 3a 0a 0a 20 20 4d 6f 76 65 20 74 6f 20 6c |do:.. Move to l| 00008900 69 6e 65 20 31 30 2c 20 63 43 4f 50 59 2c 20 6d |ine 10, cCOPY, m| 00008910 6f 76 65 20 74 6f 20 6c 69 6e 65 20 36 30 2c 20 |ove to line 60, | 00008920 45 53 43 41 50 45 2c 20 6d 6f 76 65 20 74 6f 20 |ESCAPE, move to | 00008930 6c 69 6e 65 20 31 30 30 2c 20 63 56 0a 0a 47 6f |line 100, cV..Go| 00008940 74 6f 27 73 20 61 72 65 20 61 75 74 6f 6d 61 74 |to's are automat| 00008950 69 63 61 6c 6c 79 20 75 70 64 61 74 65 64 2e 20 |ically updated. | 00008960 46 6f 72 20 65 78 61 6d 70 6c 65 20 63 6f 70 79 |For example copy| 00008970 20 74 68 65 20 6c 69 6e 65 73 20 31 30 20 61 6e | the lines 10 an| 00008980 64 20 32 30 20 62 65 6c 6f 77 0a 73 65 76 65 72 |d 20 below.sever| 00008990 61 6c 20 74 69 6d 65 73 20 69 6e 20 61 20 62 61 |al times in a ba| 000089a0 73 69 63 20 70 72 6f 67 72 61 6d 2e 0a 0a 31 30 |sic program...10| 000089b0 20 50 52 49 4e 54 20 22 48 45 4c 4c 4f 22 0a 32 | PRINT "HELLO".2| 000089c0 30 20 47 4f 54 4f 20 31 30 0a 0a 53 68 69 66 74 |0 GOTO 10..Shift| 000089d0 2d 46 38 20 72 65 6e 75 6d 62 65 72 73 20 61 6e |-F8 renumbers an| 000089e0 79 20 70 72 6f 67 72 61 6d 20 69 6e 20 73 74 65 |y program in ste| 000089f0 70 73 20 6f 66 20 31 30 2e 20 50 6c 65 61 73 65 |ps of 10. Please| 00008a00 20 6e 6f 74 65 20 74 68 61 74 20 6c 69 6e 65 20 | note that line | 00008a10 6e 75 6d 62 65 72 73 0a 61 72 65 20 6e 6f 74 20 |numbers.are not | 00008a20 73 74 6f 72 65 64 20 69 6e 20 74 68 65 20 75 6e |stored in the un| 00008a30 64 6f 20 62 75 66 66 65 72 20 61 73 20 74 68 69 |do buffer as thi| 00008a40 73 20 77 6f 75 6c 64 20 62 65 20 61 20 77 61 73 |s would be a was| 00008a50 74 65 20 6f 66 20 73 70 61 63 65 2e 20 54 68 75 |te of space. Thu| 00008a60 73 0a 61 66 74 65 72 20 6d 75 6c 74 69 70 6c 65 |s.after multiple| 00008a70 20 75 6e 64 6f 27 73 2c 20 74 68 65 20 6c 69 6e | undo's, the lin| 00008a80 65 20 6e 75 6d 62 65 72 73 20 6d 61 79 20 67 65 |e numbers may ge| 00008a90 74 20 6f 75 74 20 6f 66 20 6f 72 64 65 72 2e 20 |t out of order. | 00008aa0 54 68 69 73 20 63 61 6e 20 62 65 0a 72 65 63 74 |This can be.rect| 00008ab0 69 66 69 65 64 20 62 79 20 53 68 69 66 74 2d 46 |ified by Shift-F| 00008ac0 38 2e 20 42 61 73 69 63 20 70 72 6f 67 72 61 6d |8. Basic program| 00008ad0 73 20 63 61 6e 20 62 65 20 61 70 70 65 6e 64 65 |s can be appende| 00008ae0 64 20 62 79 20 73 69 6d 70 6c 79 20 64 72 6f 70 |d by simply drop| 00008af0 70 69 6e 67 20 74 68 65 6d 0a 69 6e 74 6f 20 74 |ping them.into t| 00008b00 68 65 20 77 69 6e 64 6f 77 2e 0a 0a 43 2e 33 20 |he window...C.3 | 00008b10 54 65 73 74 69 6e 67 20 42 41 53 49 43 20 70 72 |Testing BASIC pr| 00008b20 6f 67 72 61 6d 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d |ograms.---------| 00008b30 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00008b40 2d 0a 0a 5a 61 70 20 70 72 6f 76 69 64 65 73 20 |-..Zap provides | 00008b50 61 20 6e 75 6d 62 65 72 20 6f 66 20 66 75 6e 63 |a number of func| 00008b60 74 69 6f 6e 73 20 74 6f 20 74 65 73 74 20 6f 75 |tions to test ou| 00008b70 74 20 62 61 73 69 63 20 70 72 6f 67 72 61 6d 73 |t basic programs| 00008b80 20 77 68 69 6c 65 20 74 68 65 79 20 61 72 65 0a | while they are.| 00008b90 62 65 69 6e 67 20 65 64 69 74 65 64 2e 20 54 68 |being edited. Th| 00008ba0 65 20 66 69 72 73 74 20 33 20 73 74 61 72 74 20 |e first 3 start | 00008bb0 75 70 20 61 20 6e 65 77 20 42 41 53 49 43 20 74 |up a new BASIC t| 00008bc0 61 73 6b 20 61 6e 64 20 72 61 6d 20 74 72 61 6e |ask and ram tran| 00008bd0 73 66 65 72 73 20 79 6f 75 72 0a 70 72 6f 67 72 |sfers your.progr| 00008be0 61 6d 20 74 6f 20 74 68 65 20 6e 65 77 20 74 61 |am to the new ta| 00008bf0 73 6b 2c 20 6c 6f 61 64 69 6e 67 20 69 74 20 61 |sk, loading it a| 00008c00 20 50 41 47 45 3a 0a 0a 20 73 63 42 54 68 69 73 | PAGE:.. scBThis| 00008c10 20 64 72 6f 70 73 20 79 6f 75 20 69 6e 74 6f 20 | drops you into | 00008c20 62 61 73 69 63 20 77 69 74 68 20 79 6f 75 72 20 |basic with your | 00008c30 70 72 6f 67 72 61 6d 20 6c 6f 61 64 65 64 20 61 |program loaded a| 00008c40 74 20 50 41 47 45 2e 0a 20 73 63 55 54 68 69 73 |t PAGE.. scUThis| 00008c50 20 61 63 74 73 20 61 73 20 63 42 20 61 6e 64 20 | acts as cB and | 00008c60 74 68 65 6e 20 52 75 6e 73 20 74 68 65 20 70 72 |then Runs the pr| 00008c70 6f 67 72 61 6d 2e 0a 20 73 63 46 54 68 69 73 20 |ogram.. scFThis | 00008c80 61 63 74 73 20 61 73 20 63 55 20 62 75 74 20 61 |acts as cU but a| 00008c90 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 71 75 69 |utomatically qui| 00008ca0 74 73 20 42 41 53 49 43 20 77 68 65 6e 20 66 69 |ts BASIC when fi| 00008cb0 6e 69 73 68 65 64 2e 0a 20 0a 54 68 65 20 6f 74 |nished.. .The ot| 00008cc0 68 65 72 20 74 77 6f 20 63 6f 6d 6d 61 6e 64 73 |her two commands| 00008cd0 20 73 61 76 65 20 74 68 65 20 70 72 6f 67 72 61 | save the progra| 00008ce0 6d 20 66 69 72 73 74 2c 20 61 6e 64 20 74 68 65 |m first, and the| 00008cf0 6e 20 72 75 6e 20 74 68 65 6d 20 66 72 6f 6d 20 |n run them from | 00008d00 64 69 73 63 2e 0a 54 68 65 73 65 20 61 72 65 20 |disc..These are | 00008d10 6f 66 20 63 6f 75 72 73 65 20 73 6c 6f 77 65 72 |of course slower| 00008d20 3a 0a 0a 20 73 63 43 54 68 69 73 20 61 63 74 73 |:.. scCThis acts| 00008d30 20 61 73 20 63 55 20 62 75 74 20 73 61 76 65 73 | as cU but saves| 00008d40 20 74 68 65 20 70 72 6f 67 72 61 6d 20 66 69 72 | the program fir| 00008d50 73 74 20 61 6e 64 20 63 68 61 69 6e 73 20 69 74 |st and chains it| 00008d60 20 66 72 6f 6d 20 64 69 73 63 2e 0a 20 73 63 45 | from disc.. scE| 00008d70 54 68 69 73 20 61 63 74 73 20 61 73 20 63 46 20 |This acts as cF | 00008d80 62 75 74 20 73 61 76 65 73 20 74 68 65 20 70 72 |but saves the pr| 00008d90 6f 67 72 61 6d 20 66 69 72 73 74 20 61 6e 64 20 |ogram first and | 00008da0 63 68 61 69 6e 73 20 69 74 20 66 72 6f 6d 20 64 |chains it from d| 00008db0 69 73 63 2e 0a 0a 5a 61 70 20 63 61 6c 63 75 6c |isc...Zap calcul| 00008dc0 61 74 65 73 20 74 68 65 20 61 6d 6f 75 6e 74 20 |ates the amount | 00008dd0 6f 66 20 72 6f 6f 6d 20 6e 65 65 64 65 64 20 74 |of room needed t| 00008de0 6f 20 72 75 6e 20 74 68 65 20 70 72 6f 67 72 61 |o run the progra| 00008df0 6d 20 61 73 20 74 68 65 20 6d 61 78 69 6d 75 6d |m as the maximum| 00008e00 0a 6f 66 3a 20 31 29 20 4e 65 78 74 20 73 6c 6f |.of: 1) Next slo| 00008e10 74 20 73 69 7a 65 20 32 29 20 50 72 6f 67 72 61 |t size 2) Progra| 00008e20 6d 20 73 69 7a 65 2b 31 36 6b 20 33 29 20 50 72 |m size+16k 3) Pr| 00008e30 6f 67 72 61 6d 20 73 69 7a 65 20 2a 20 31 2e 35 |ogram size * 1.5| 00008e40 2e 0a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |...*************| 00008e50 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00008e80 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 2a 20 53 |************.* S| 00008e90 65 63 74 69 6f 6e 20 44 3a 49 6e 64 69 76 69 64 |ection D:Individ| 00008ea0 75 61 6c 20 6d 6f 64 65 20 68 65 6c 70 2a 0a 2a |ual mode help*.*| 00008eb0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00008ef0 2a 2a 2a 2a 2a 2a 2a 2a 0a 0a 5a 61 70 20 63 61 |********..Zap ca| 00008f00 6e 20 68 61 6e 64 6c 65 20 75 70 20 74 6f 20 32 |n handle up to 2| 00008f10 35 36 20 74 65 78 74 20 70 72 6f 63 65 73 73 69 |56 text processi| 00008f20 6e 67 20 6d 6f 64 65 73 2e 20 49 20 68 61 76 65 |ng modes. I have| 00008f30 20 63 75 72 72 65 6e 74 6c 79 20 61 6c 6c 6f 63 | currently alloc| 00008f40 61 74 65 64 0a 73 70 61 63 65 20 66 6f 72 20 31 |ated.space for 1| 00008f50 36 2e 20 46 6f 72 20 64 65 74 61 69 6c 73 20 6f |6. For details o| 00008f60 6e 20 68 6f 77 20 74 6f 20 77 72 69 74 65 20 79 |n how to write y| 00008f70 6f 75 72 20 6f 77 6e 20 6d 6f 64 65 20 73 65 65 |our own mode see| 00008f80 20 74 68 65 20 27 44 6f 63 73 27 0a 64 69 72 65 | the 'Docs'.dire| 00008f90 63 74 6f 72 79 2e 20 54 68 65 20 63 75 72 72 65 |ctory. The curre| 00008fa0 6e 74 6c 79 20 64 65 66 69 6e 65 64 20 6d 6f 64 |ntly defined mod| 00008fb0 65 73 20 61 72 65 20 64 65 73 63 72 69 62 65 64 |es are described| 00008fc0 20 62 65 6c 6f 77 2e 0a 0a 44 2e 30 20 54 65 78 | below...D.0 Tex| 00008fd0 74 20 4d 6f 64 65 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d |t Mode.---------| 00008fe0 2d 2d 2d 2d 0a 0a 54 68 69 73 20 69 73 20 61 20 |----..This is a | 00008ff0 62 61 73 69 63 20 74 65 78 74 20 65 64 69 74 69 |basic text editi| 00009000 6e 67 20 6d 6f 64 65 2e 20 4d 6f 73 74 20 6f 66 |ng mode. Most of| 00009010 20 74 68 65 20 66 75 6e 63 74 69 6f 6e 73 20 61 | the functions a| 00009020 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 74 |ssociated with t| 00009030 68 69 73 0a 6d 6f 64 65 20 61 72 65 20 64 65 74 |his.mode are det| 00009040 61 69 6c 65 64 20 65 6c 73 65 77 68 65 72 65 2e |ailed elsewhere.| 00009050 20 53 65 65 20 74 68 65 20 27 48 65 6c 70 64 61 | See the 'Helpda| 00009060 74 61 27 20 66 69 6c 65 20 66 6f 72 20 61 20 64 |ta' file for a d| 00009070 65 74 61 69 6c 65 64 20 6c 69 73 74 69 6e 67 0a |etailed listing.| 00009080 6f 66 20 6d 65 6e 75 20 6f 70 74 69 6f 6e 73 2e |of menu options.| 00009090 20 54 6f 20 69 6e 73 65 72 74 20 63 6f 6e 74 72 | To insert contr| 000090a0 6f 6c 20 63 68 61 72 61 63 74 65 72 73 20 69 6e |ol characters in| 000090b0 20 74 68 65 20 74 65 78 74 20 69 74 20 69 73 20 | the text it is | 000090c0 65 61 73 69 65 73 74 20 74 6f 0a 73 77 69 74 63 |easiest to.switc| 000090d0 68 20 74 65 6d 70 6f 72 61 72 69 6c 79 20 74 6f |h temporarily to| 000090e0 20 62 79 74 65 20 6d 6f 64 65 2e 20 54 68 65 20 | byte mode. The | 000090f0 63 68 61 72 61 63 74 65 72 20 26 30 39 20 69 6e |character &09 in| 00009100 20 61 20 74 65 78 74 20 66 69 6c 65 20 69 73 20 | a text file is | 00009110 74 61 6b 65 6e 20 74 6f 0a 64 65 6e 6f 74 65 20 |taken to.denote | 00009120 61 20 74 61 62 20 74 6f 20 6e 65 78 74 20 63 6f |a tab to next co| 00009130 6c 75 6d 6e 20 6f 66 20 38 2e 20 59 6f 75 20 6d |lumn of 8. You m| 00009140 61 79 20 63 68 61 6e 67 65 20 74 68 69 73 20 63 |ay change this c| 00009150 68 61 72 61 63 74 65 72 20 61 6e 64 20 74 68 65 |haracter and the| 00009160 20 77 61 79 0a 69 74 20 69 73 20 64 69 73 70 6c | way.it is displ| 00009170 61 79 65 64 20 66 72 6f 6d 20 74 68 65 20 64 69 |ayed from the di| 00009180 73 70 6c 61 79 20 6d 65 6e 75 2e 20 54 61 62 20 |splay menu. Tab | 00009190 61 63 74 69 6f 6e 20 6d 61 79 20 62 65 20 63 68 |action may be ch| 000091a0 61 6e 67 65 64 20 62 79 20 74 68 65 0a 27 4d 69 |anged by the.'Mi| 000091b0 73 63 2e 54 61 62 73 27 20 6d 65 6e 75 2e 0a 0a |sc.Tabs' menu...| 000091c0 44 2e 31 20 42 79 74 65 20 4d 6f 64 65 0a 2d 2d |D.1 Byte Mode.--| 000091d0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 69 |-----------..Thi| 000091e0 73 20 6d 6f 64 65 20 67 69 76 65 73 20 64 69 73 |s mode gives dis| 000091f0 70 6c 61 79 73 20 74 68 65 20 66 69 6c 65 20 69 |plays the file i| 00009200 6e 20 68 65 78 20 62 79 74 65 73 20 61 6e 64 20 |n hex bytes and | 00009210 69 73 20 75 73 65 64 20 66 6f 72 20 65 78 61 6d |is used for exam| 00009220 69 6e 69 6e 67 20 64 61 74 61 0a 6f 72 20 69 6e |ining data.or in| 00009230 73 65 72 74 69 6e 67 20 63 6f 6e 74 72 6f 6c 20 |serting control | 00009240 63 68 61 72 61 63 74 65 72 73 2e 20 54 68 65 20 |characters. The | 00009250 68 65 78 2d 65 6e 74 72 79 20 66 6c 61 67 20 28 |hex-entry flag (| 00009260 74 6f 67 67 6c 65 64 20 62 79 20 73 68 69 66 74 |toggled by shift| 00009270 20 46 33 29 0a 63 6f 6e 74 72 6f 6c 73 20 74 68 | F3).controls th| 00009280 69 73 20 61 63 74 69 6f 6e 2e 20 49 66 20 69 74 |is action. If it| 00009290 20 69 73 20 6f 66 66 20 61 6e 64 20 79 6f 75 20 | is off and you | 000092a0 74 79 70 65 20 27 30 42 27 20 74 68 65 6e 20 74 |type '0B' then t| 000092b0 68 65 20 6c 65 74 74 65 72 73 20 27 30 27 20 61 |he letters '0' a| 000092c0 6e 64 0a 27 42 27 20 77 69 6c 6c 20 62 65 20 69 |nd.'B' will be i| 000092d0 6e 73 65 72 74 65 64 2e 20 49 66 20 68 65 78 2d |nserted. If hex-| 000092e0 65 6e 74 72 79 20 69 73 20 6f 6e 20 28 68 20 69 |entry is on (h i| 000092f0 6e 20 74 69 74 6c 65 29 20 74 68 65 6e 20 74 68 |n title) then th| 00009300 65 20 62 79 74 65 20 26 30 42 20 77 69 6c 6c 0a |e byte &0B will.| 00009310 62 65 20 69 6e 73 65 72 74 65 64 2e 20 55 73 65 |be inserted. Use| 00009320 20 74 68 65 20 6f 76 65 72 77 72 69 74 65 20 6d | the overwrite m| 00009330 6f 64 65 20 28 74 6f 67 67 6c 65 64 20 76 69 61 |ode (toggled via| 00009340 20 74 68 65 20 69 6e 73 65 72 74 20 6b 65 79 29 | the insert key)| 00009350 20 74 6f 20 63 68 61 6e 67 65 0a 74 68 65 20 64 | to change.the d| 00009360 61 74 61 20 77 69 74 68 6f 75 74 20 73 68 69 66 |ata without shif| 00009370 74 69 6e 67 20 74 68 65 20 66 69 6c 65 2e 0a 0a |ting the file...| 00009380 44 2e 32 20 57 6f 72 64 20 4d 6f 64 65 0a 2d 2d |D.2 Word Mode.--| 00009390 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 69 |-----------..Thi| 000093a0 73 20 69 73 20 73 69 6d 69 6c 61 72 20 74 6f 20 |s is similar to | 000093b0 62 79 74 65 20 6d 6f 64 65 20 65 78 63 65 70 74 |byte mode except| 000093c0 20 74 68 65 20 64 61 74 61 20 69 73 20 73 68 6f | the data is sho| 000093d0 77 6e 20 69 6e 20 77 6f 72 64 20 66 6f 72 6d 2e |wn in word form.| 000093e0 20 54 79 70 69 6e 67 0a 63 68 61 72 61 63 74 65 | Typing.characte| 000093f0 72 73 20 77 69 74 68 20 68 65 78 2d 65 6e 74 72 |rs with hex-entr| 00009400 79 20 6d 6f 64 65 20 6f 66 66 20 68 61 73 20 6e |y mode off has n| 00009410 6f 20 65 66 66 65 63 74 2c 20 62 75 74 20 74 79 |o effect, but ty| 00009420 70 69 6e 67 20 77 69 74 68 20 69 74 20 6f 6e 0a |ping with it on.| 00009430 69 6e 73 65 72 74 73 20 74 68 65 20 67 69 76 65 |inserts the give| 00009440 6e 20 77 6f 72 64 20 69 6e 20 68 65 78 2e 0a 0a |n word in hex...| 00009450 44 2e 33 20 41 73 63 69 69 20 4d 6f 64 65 0a 2d |D.3 Ascii Mode.-| 00009460 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 |-------------..T| 00009470 68 69 73 20 6d 6f 64 65 20 64 69 73 70 6c 61 79 |his mode display| 00009480 73 20 64 61 74 61 20 69 6e 20 61 73 63 69 69 20 |s data in ascii | 00009490 64 75 6d 70 20 66 6f 72 6d 2e 20 4c 65 74 74 65 |dump form. Lette| 000094a0 72 73 20 74 79 70 65 64 20 61 72 65 20 69 6e 73 |rs typed are ins| 000094b0 65 72 74 65 64 20 61 73 0a 75 73 75 61 6c 2e 0a |erted as.usual..| 000094c0 0a 44 2e 34 20 43 6f 64 65 20 4d 6f 64 65 0a 2d |.D.4 Code Mode.-| 000094d0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 |------------..Th| 000094e0 69 73 20 6d 6f 64 65 20 64 69 73 70 6c 61 79 73 |is mode displays| 000094f0 20 64 61 74 61 20 69 6e 20 64 69 73 61 73 73 65 | data in disasse| 00009500 6d 62 6c 65 64 20 66 6f 72 6d 61 74 20 77 69 74 |mbled format wit| 00009510 68 20 31 20 69 6e 73 74 72 75 63 74 69 6f 6e 20 |h 1 instruction | 00009520 70 65 72 20 6c 69 6e 65 2e 0a 50 6c 65 61 73 65 |per line..Please| 00009530 20 6e 6f 74 65 20 74 68 61 74 20 69 6e 20 52 49 | note that in RI| 00009540 53 43 4f 53 20 33 2c 20 74 68 65 20 64 65 62 75 |SCOS 3, the debu| 00009550 67 67 65 72 20 61 64 64 73 20 73 6f 6d 65 20 65 |gger adds some e| 00009560 78 74 72 61 20 69 6e 66 6f 72 6d 61 74 69 6f 6e |xtra information| 00009570 20 61 66 74 65 72 0a 73 6f 6d 65 20 69 6e 73 74 | after.some inst| 00009580 72 75 63 74 69 6f 6e 73 2c 20 62 75 74 20 73 6f |ructions, but so| 00009590 6d 65 20 6f 66 20 74 68 69 73 20 6f 6e 6c 79 20 |me of this only | 000095a0 61 70 70 65 61 72 73 20 69 66 20 79 6f 75 20 64 |appears if you d| 000095b0 69 73 61 73 73 65 6d 62 6c 65 0a 73 65 71 75 65 |isassemble.seque| 000095c0 6e 74 69 61 6c 6c 79 2e 20 45 67 20 54 45 51 50 |ntially. Eg TEQP| 000095d0 20 52 30 2c 23 30 20 66 6f 6c 6c 6f 77 65 64 20 | R0,#0 followed | 000095e0 62 79 20 4d 4f 56 20 52 38 2c 23 30 20 67 69 76 |by MOV R8,#0 giv| 000095f0 65 73 20 74 68 65 20 77 61 72 6e 69 6e 67 20 27 |es the warning '| 00009600 4e 6f 74 0a 72 38 2d 72 31 34 27 2e 20 48 6f 77 |Not.r8-r14'. How| 00009610 65 76 65 72 20 74 68 69 73 20 6d 61 79 20 76 61 |ever this may va| 00009620 6e 69 73 68 20 69 66 20 79 6f 75 20 61 72 65 20 |nish if you are | 00009630 6d 6f 76 69 6e 67 20 62 61 63 6b 77 61 72 64 73 |moving backwards| 00009640 20 75 70 20 74 68 65 20 66 69 6c 65 0a 69 6e 73 | up the file.ins| 00009650 74 65 61 64 20 6f 66 20 66 6f 72 77 61 72 64 73 |tead of forwards| 00009660 2e 20 54 68 69 73 20 68 61 70 70 65 6e 73 20 76 |. This happens v| 00009670 65 72 79 20 72 61 72 65 6c 79 20 62 75 74 20 69 |ery rarely but i| 00009680 74 20 6d 61 79 20 63 61 75 73 65 20 63 6f 6e 66 |t may cause conf| 00009690 75 73 69 6f 6e 20 69 66 0a 79 6f 75 20 64 6f 6e |usion if.you don| 000096a0 27 74 20 75 6e 64 65 72 73 74 61 6e 64 20 77 68 |'t understand wh| 000096b0 61 74 27 73 20 68 61 70 70 65 6e 69 6e 67 2e 0a |at's happening..| 000096c0 0a 54 68 65 20 66 6f 75 72 20 6d 6f 73 74 20 75 |.The four most u| 000096d0 73 65 66 75 6c 20 6b 65 79 73 20 69 6e 20 63 6f |seful keys in co| 000096e0 64 65 20 6d 6f 64 65 20 61 72 65 20 63 49 2c 4c |de mode are cI,L| 000096f0 65 66 74 2c 52 69 67 68 74 2c 52 65 74 75 72 6e |eft,Right,Return| 00009700 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 0a 69 66 |. For example.if| 00009710 20 79 6f 75 20 61 72 65 20 61 74 20 74 68 65 20 | you are at the | 00009720 73 74 61 72 74 20 6f 66 20 61 20 6d 6f 64 75 6c |start of a modul| 00009730 65 20 74 68 65 6e 20 70 72 65 73 73 69 6e 67 20 |e then pressing | 00009740 63 49 20 77 69 6c 6c 20 63 61 75 73 65 20 79 6f |cI will cause yo| 00009750 75 20 74 6f 20 6a 75 6d 70 0a 74 6f 20 74 68 65 |u to jump.to the| 00009760 20 73 74 61 72 74 20 6f 66 66 73 65 74 20 6f 66 | start offset of| 00009770 20 74 68 65 20 6d 6f 64 75 6c 65 2e 20 49 66 20 | the module. If | 00009780 79 6f 75 20 61 72 65 20 6f 6e 20 61 6e 20 69 6e |you are on an in| 00009790 73 74 72 75 63 74 69 6f 6e 20 27 42 4c 0a 26 30 |struction 'BL.&0| 000097a0 30 30 31 32 33 34 35 27 20 6f 72 20 27 41 44 52 |0012345' or 'ADR| 000097b0 20 72 30 2c 26 30 31 38 32 32 34 34 35 27 20 74 | r0,&01822445' t| 000097c0 68 65 6e 20 70 72 65 73 73 69 6e 67 20 52 69 67 |hen pressing Rig| 000097d0 68 74 20 77 69 6c 6c 20 6a 75 6d 70 20 74 6f 20 |ht will jump to | 000097e0 74 68 65 0a 69 6e 64 69 63 61 74 65 64 20 61 64 |the.indicated ad| 000097f0 64 72 65 73 73 2e 20 41 74 20 61 6e 79 20 74 69 |dress. At any ti| 00009800 6d 65 2c 20 4c 65 66 74 20 77 69 6c 6c 20 6d 6f |me, Left will mo| 00009810 76 65 20 79 6f 75 20 62 61 63 6b 20 74 6f 20 79 |ve you back to y| 00009820 6f 75 72 20 70 72 65 76 69 6f 75 73 0a 70 6f 73 |our previous.pos| 00009830 69 74 69 6f 6e 2e 20 54 68 69 73 20 6a 75 6d 70 |ition. This jump| 00009840 69 6e 67 20 75 73 65 73 20 74 68 65 20 6d 61 72 |ing uses the mar| 00009850 6b 65 72 20 62 75 66 66 65 72 20 61 6e 64 20 63 |ker buffer and c| 00009860 61 6e 20 62 65 20 64 6f 6e 65 20 74 6f 20 61 6e |an be done to an| 00009870 79 20 64 65 70 74 68 0a 79 6f 75 20 72 65 71 75 |y depth.you requ| 00009880 69 72 65 2e 0a 0a 54 68 65 20 52 45 54 55 52 4e |ire...The RETURN| 00009890 20 6b 65 79 20 65 6e 61 62 6c 65 73 20 79 6f 75 | key enables you| 000098a0 20 74 6f 20 65 64 69 74 20 61 6e 20 69 6e 73 74 | to edit an inst| 000098b0 72 75 63 74 69 6f 6e 20 28 76 69 61 20 74 68 65 |ruction (via the| 000098c0 20 41 53 53 45 4d 42 4c 45 20 63 6f 6d 6d 61 6e | ASSEMBLE comman| 000098d0 64 29 2e 0a 57 68 65 6e 20 79 6f 75 20 70 72 65 |d)..When you pre| 000098e0 73 73 20 69 74 2c 20 74 68 65 20 6d 69 6e 69 62 |ss it, the minib| 000098f0 75 66 66 65 72 20 77 69 6c 6c 20 62 65 20 6f 70 |uffer will be op| 00009900 65 6e 65 64 20 77 69 74 68 20 74 68 65 20 63 75 |ened with the cu| 00009910 72 72 65 6e 74 20 69 6e 73 74 72 75 63 74 69 6f |rrent instructio| 00009920 6e 0a 65 6e 74 65 72 65 64 20 61 73 20 64 65 66 |n.entered as def| 00009930 61 75 6c 74 2e 20 59 6f 75 20 73 68 6f 75 6c 64 |ault. You should| 00009940 20 74 68 65 6e 20 65 64 69 74 20 74 68 65 20 69 | then edit the i| 00009950 6e 73 74 72 75 63 74 69 6f 6e 20 61 6e 64 20 70 |nstruction and p| 00009960 72 65 73 73 20 52 45 54 55 52 4e 0a 61 67 61 69 |ress RETURN.agai| 00009970 6e 20 66 6f 72 20 69 74 20 74 6f 20 62 65 20 61 |n for it to be a| 00009980 73 73 65 6d 62 6c 65 64 20 61 6e 64 20 77 72 69 |ssembled and wri| 00009990 74 74 65 6e 20 62 61 63 6b 2e 20 54 68 65 20 61 |tten back. The a| 000099a0 73 73 65 6d 62 6c 69 6e 67 20 69 73 20 64 6f 6e |ssembling is don| 000099b0 65 20 62 79 20 74 68 65 0a 5a 61 70 42 61 73 69 |e by the.ZapBasi| 000099c0 63 20 6d 6f 64 75 6c 65 20 77 68 69 63 68 20 74 |c module which t| 000099d0 6f 6b 65 6e 69 73 65 73 20 74 68 65 20 69 6e 73 |okenises the ins| 000099e0 74 72 75 63 74 69 6f 6e 20 61 6e 64 20 74 68 65 |truction and the| 000099f0 6e 20 75 73 65 73 20 74 68 65 20 42 41 53 49 43 |n uses the BASIC| 00009a00 0a 61 73 73 65 6d 62 6c 65 72 2e 20 48 65 6e 63 |.assembler. Henc| 00009a10 65 20 79 6f 75 20 6d 61 79 20 75 73 65 20 74 68 |e you may use th| 00009a20 65 20 62 61 73 69 63 20 66 75 6e 63 74 69 6f 6e |e basic function| 00009a30 73 20 41 53 43 2c 45 51 55 44 2c 41 44 52 20 65 |s ASC,EQUD,ADR e| 00009a40 74 63 2e 0a 0a 49 66 20 74 68 65 20 66 69 6c 65 |tc...If the file| 00009a50 20 69 73 20 74 79 70 65 64 20 27 4d 6f 64 75 6c | is typed 'Modul| 00009a60 65 27 20 74 68 65 6e 20 74 68 65 20 66 69 72 73 |e' then the firs| 00009a70 74 20 66 65 77 20 6f 66 66 73 65 74 73 20 64 69 |t few offsets di| 00009a80 73 70 6c 61 79 20 74 68 65 20 6d 6f 64 75 6c 65 |splay the module| 00009a90 0a 65 6e 74 72 79 20 70 6f 69 6e 74 20 6e 61 6d |.entry point nam| 00009aa0 65 20 72 61 74 68 65 72 20 74 68 61 6e 20 74 68 |e rather than th| 00009ab0 65 20 69 6e 73 74 72 75 63 74 69 6f 6e 2e 20 0a |e instruction. .| 00009ac0 0a 44 2e 35 20 42 41 53 49 43 20 4d 6f 64 65 0a |.D.5 BASIC Mode.| 00009ad0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a |--------------..| 00009ae0 53 65 65 20 73 65 63 74 69 6f 6e 73 20 43 2e 31 |See sections C.1| 00009af0 2c 20 43 2e 32 20 61 6e 64 20 43 2e 33 20 66 6f |, C.2 and C.3 fo| 00009b00 72 20 64 65 74 61 69 6c 73 20 61 62 6f 75 74 20 |r details about | 00009b10 68 6f 77 20 74 6f 20 75 73 65 20 74 68 69 73 20 |how to use this | 00009b20 6d 6f 64 65 2e 0a 0a 41 20 73 6c 69 67 68 74 20 |mode...A slight | 00009b30 6d 6f 64 69 66 69 63 61 74 69 6f 6e 20 69 73 20 |modification is | 00009b40 6d 61 64 65 20 74 6f 20 74 68 65 20 42 41 53 49 |made to the BASI| 00009b50 43 20 70 72 6f 67 72 61 6d 20 6f 6e 20 6c 6f 61 |C program on loa| 00009b60 64 69 6e 67 2e 20 54 68 65 20 61 63 74 75 61 6c |ding. The actual| 00009b70 0a 66 69 6c 65 20 66 6f 72 6d 61 74 20 65 64 69 |.file format edi| 00009b80 74 65 64 20 69 73 20 20 61 20 6e 75 6d 62 65 72 |ted is a number| 00009b90 20 6f 66 20 6c 69 6e 65 73 20 6f 66 20 74 68 65 | of lines of the| 00009ba0 20 66 6f 72 6d 3a 0a 0a 20 78 78 20 79 79 20 7a | form:.. xx yy z| 00009bb0 7a 20 22 54 6f 6b 65 6e 69 73 65 64 20 6c 69 6e |z "Tokenised lin| 00009bc0 65 22 20 26 30 44 0a 20 0a 57 68 65 72 65 20 78 |e" &0D. .Where x| 00009bd0 78 20 79 79 20 7a 7a 20 69 73 20 74 68 65 20 6c |x yy zz is the l| 00009be0 69 6e 65 20 6e 75 6d 62 65 72 20 69 6e 20 33 20 |ine number in 3 | 00009bf0 62 79 74 65 20 74 65 78 74 20 66 6f 72 6d 20 61 |byte text form a| 00009c00 73 20 73 74 6f 72 65 64 20 61 66 74 65 72 20 61 |s stored after a| 00009c10 20 47 4f 54 4f 0a 6f 72 20 47 4f 53 55 42 20 73 | GOTO.or GOSUB s| 00009c20 74 61 74 65 6d 65 6e 74 2e 0a 0a 44 2e 36 20 42 |tatement...D.6 B| 00009c30 41 53 54 58 54 20 4d 6f 64 65 0a 2d 2d 2d 2d 2d |ASTXT Mode.-----| 00009c40 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 69 73 |----------..This| 00009c50 20 65 64 69 74 73 20 42 61 73 69 63 20 66 69 6c | edits Basic fil| 00009c60 65 73 20 69 6e 20 64 65 74 6f 6b 65 6e 69 73 65 |es in detokenise| 00009c70 64 20 66 6f 72 6d 2e 20 53 65 65 20 73 65 63 74 |d form. See sect| 00009c80 69 6f 6e 73 20 43 2e 31 20 61 6e 64 20 43 2e 33 |ions C.1 and C.3| 00009c90 20 66 6f 72 0a 64 65 74 61 69 6c 73 2e 0a 0a 44 | for.details...D| 00009ca0 2e 37 20 43 4d 4f 44 45 20 4d 6f 64 65 0a 2d 2d |.7 CMODE Mode.--| 00009cb0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 |------------..Th| 00009cc0 69 73 20 6d 6f 64 65 20 70 72 6f 76 69 64 65 73 |is mode provides| 00009cd0 20 66 61 63 69 6c 69 74 69 65 73 20 66 6f 72 20 | facilities for | 00009ce0 65 64 69 74 69 6e 67 20 43 2c 20 54 65 58 2c 20 |editing C, TeX, | 00009cf0 61 6e 64 20 47 6f 70 68 65 72 20 66 69 6c 65 73 |and Gopher files| 00009d00 20 69 6e 63 6c 75 64 69 6e 67 0a 62 72 61 63 6b | including.brack| 00009d10 65 74 2f 64 6f 6c 6c 61 72 20 6d 61 74 63 68 69 |et/dollar matchi| 00009d20 6e 67 20 61 6e 64 20 66 75 6e 63 74 69 6f 6e 20 |ng and function | 00009d30 6c 69 73 74 69 6e 67 2e 20 54 68 65 20 6d 6f 64 |listing. The mod| 00009d40 65 20 69 73 20 77 72 69 74 74 65 6e 20 62 79 20 |e is written by | 00009d50 42 72 79 61 6e 0a 53 63 61 74 74 65 72 67 6f 6f |Bryan.Scattergoo| 00009d60 64 2e 20 50 6c 65 61 73 65 20 73 65 65 20 74 68 |d. Please see th| 00009d70 65 20 66 69 6c 65 20 27 33 72 64 50 61 72 74 79 |e file '3rdParty| 00009d80 2e 43 4d 6f 64 65 48 65 6c 70 27 20 66 6f 72 20 |.CModeHelp' for | 00009d90 64 65 74 61 69 6c 73 20 61 62 6f 75 74 20 74 68 |details about th| 00009da0 69 73 0a 6d 6f 64 65 2e 0a 0a 44 2e 38 20 43 20 |is.mode...D.8 C | 00009db0 4d 6f 64 65 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a |Mode.----------.| 00009dc0 0a 54 68 69 73 20 70 72 6f 76 69 64 65 73 20 61 |.This provides a| 00009dd0 20 63 6f 6c 6f 75 72 65 64 20 43 20 6d 6f 64 65 | coloured C mode| 00009de0 2e 20 53 65 65 20 74 68 65 20 66 69 6c 65 20 27 |. See the file '| 00009df0 33 72 64 50 61 72 74 79 2e 5a 61 70 4d 6a 65 48 |3rdParty.ZapMjeH| 00009e00 65 6c 70 27 20 66 6f 72 20 6d 6f 72 65 0a 64 65 |elp' for more.de| 00009e10 74 61 69 6c 73 2e 0a 0a 44 2e 39 20 41 73 73 65 |tails...D.9 Asse| 00009e20 6d 62 6c 65 72 20 4d 6f 64 65 0a 2d 2d 2d 2d 2d |mbler Mode.-----| 00009e30 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 |-------------..T| 00009e40 68 69 73 20 70 72 6f 76 69 64 65 73 20 61 20 63 |his provides a c| 00009e50 6f 6c 6f 75 72 65 64 20 41 63 6f 72 6e 20 41 73 |oloured Acorn As| 00009e60 73 65 6d 62 6c 65 72 20 6d 6f 64 65 2e 20 53 65 |sembler mode. Se| 00009e70 65 20 74 68 65 20 66 69 6c 65 0a 27 33 72 64 50 |e the file.'3rdP| 00009e80 61 72 74 79 2e 5a 61 70 4d 6a 65 48 65 6c 70 27 |arty.ZapMjeHelp'| 00009e90 20 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 69 6c | for more detail| 00009ea0 73 2e 0a 0a 44 2e 31 30 20 50 61 73 63 61 6c 20 |s...D.10 Pascal | 00009eb0 4d 6f 64 65 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |Mode.-----------| 00009ec0 2d 2d 2d 2d 2d 0a 0a 53 65 65 20 74 68 65 20 66 |-----..See the f| 00009ed0 69 6c 65 20 27 33 72 64 50 61 72 74 79 2e 5a 61 |ile '3rdParty.Za| 00009ee0 70 4d 6a 65 48 65 6c 70 27 20 66 6f 72 20 6d 6f |pMjeHelp' for mo| 00009ef0 72 65 20 64 65 74 61 69 6c 73 2e 0a 0a 44 2e 31 |re details...D.1| 00009f00 31 20 54 48 52 4f 57 42 41 43 4b 20 4d 6f 64 65 |1 THROWBACK Mode| 00009f10 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |.---------------| 00009f20 2d 2d 2d 2d 0a 0a 54 68 69 73 20 6d 6f 64 65 20 |----..This mode | 00009f30 68 61 6e 64 6c 65 73 20 74 68 65 20 66 69 6c 65 |handles the file| 00009f40 73 20 67 65 6e 65 72 61 74 65 64 20 62 79 20 5a |s generated by Z| 00009f50 61 70 27 73 20 73 65 61 72 63 68 20 74 6f 20 62 |ap's search to b| 00009f60 75 66 66 65 72 2c 20 43 20 74 68 72 6f 77 62 61 |uffer, C throwba| 00009f70 63 6b 0a 61 6e 64 20 21 46 69 6e 64 20 69 6e 66 |ck.and !Find inf| 00009f80 6f 20 6f 75 74 70 75 74 2e 20 44 6f 75 62 6c 65 |o output. Double| 00009f90 20 63 6c 69 63 6b 69 6e 67 20 6f 6e 20 61 6e 20 | clicking on an | 00009fa0 69 74 65 6d 20 77 69 6c 6c 20 6a 75 6d 70 20 74 |item will jump t| 00009fb0 6f 20 74 68 61 74 20 69 74 65 6d 20 69 6e 0a 74 |o that item in.t| 00009fc0 68 65 20 73 6f 75 72 63 65 20 66 69 6c 65 2e 20 |he source file. | 00009fd0 53 68 69 66 74 20 64 6f 75 62 6c 65 20 63 6c 69 |Shift double cli| 00009fe0 63 6b 69 6e 67 20 77 69 6c 6c 20 6a 75 6d 70 20 |cking will jump | 00009ff0 74 6f 20 74 68 65 20 69 74 65 6d 20 61 6e 64 20 |to the item and | 0000a000 74 68 65 6e 20 6b 69 6c 6c 0a 74 68 65 20 74 68 |then kill.the th| 0000a010 72 6f 77 62 61 63 6b 20 62 75 66 66 65 72 2e 20 |rowback buffer. | 0000a020 43 6c 69 63 6b 69 6e 67 20 41 44 4a 55 53 54 20 |Clicking ADJUST | 0000a030 6f 6e 20 61 20 6c 69 6e 65 20 77 69 6c 6c 20 72 |on a line will r| 0000a040 65 6d 6f 76 65 20 74 68 65 20 6c 69 6e 65 20 66 |emove the line f| 0000a050 72 6f 6d 20 74 68 65 0a 66 69 6c 65 2e 0a 0a 41 |rom the.file...A| 0000a060 6c 73 6f 20 6e 6f 74 65 20 74 68 61 74 20 52 45 |lso note that RE| 0000a070 54 55 52 4e 20 61 63 74 73 20 69 6e 20 74 68 65 |TURN acts in the| 0000a080 20 73 61 6d 65 20 77 61 79 20 61 73 20 64 6f 75 | same way as dou| 0000a090 62 6c 65 20 63 6c 69 63 6b 20 61 6e 64 20 44 45 |ble click and DE| 0000a0a0 4c 45 54 45 20 69 6e 20 74 68 65 0a 73 61 6d 65 |LETE in the.same| 0000a0b0 20 77 61 79 20 61 73 20 61 64 6a 75 73 74 20 69 | way as adjust i| 0000a0c0 66 20 79 6f 75 20 6d 6f 76 65 20 69 6e 74 6f 20 |f you move into | 0000a0d0 74 68 65 20 66 69 6c 65 2e 0a 0a 44 2e 31 32 20 |the file...D.12 | 0000a0e0 54 61 73 6b 77 69 6e 64 6f 77 20 4d 6f 64 65 0a |Taskwindow Mode.| 0000a0f0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 0000a100 2d 2d 2d 2d 0a 0a 54 68 69 73 20 6d 6f 64 65 20 |----..This mode | 0000a110 68 61 6e 64 6c 65 73 20 74 61 73 6b 20 77 69 6e |handles task win| 0000a120 64 6f 77 73 2e 20 54 6f 20 63 72 65 61 74 65 20 |dows. To create | 0000a130 61 20 74 61 73 6b 20 77 69 6e 64 6f 77 20 75 73 |a task window us| 0000a140 65 20 74 68 65 0a 27 43 72 65 61 74 65 2e 54 61 |e the.'Create.Ta| 0000a150 73 6b 77 69 6e 64 6f 77 27 20 6d 65 6e 75 20 6f |skwindow' menu o| 0000a160 70 74 69 6f 6e 20 6f 72 20 70 72 65 73 73 20 63 |ption or press c| 0000a170 74 72 6c 2d 46 31 32 2e 20 41 74 20 61 6e 79 20 |trl-F12. At any | 0000a180 74 69 6d 65 2c 20 63 68 61 6e 67 69 6e 67 20 6d |time, changing m| 0000a190 6f 64 65 0a 74 6f 20 54 45 58 54 20 77 69 6c 6c |ode.to TEXT will| 0000a1a0 20 73 75 73 70 65 6e 64 20 74 68 65 20 74 61 73 | suspend the tas| 0000a1b0 6b 2c 20 61 6e 64 20 63 68 61 6e 67 69 6e 67 20 |k, and changing | 0000a1c0 6d 6f 64 65 20 62 61 63 6b 20 74 6f 20 54 41 53 |mode back to TAS| 0000a1d0 4b 57 49 4e 44 4f 57 20 77 69 6c 6c 0a 72 65 73 |KWINDOW will.res| 0000a1e0 75 6d 65 20 69 74 2e 20 54 68 65 20 74 61 73 6b |ume it. The task| 0000a1f0 77 69 6e 64 6f 77 20 6f 75 74 70 75 74 20 73 75 |window output su| 0000a200 70 70 6f 72 74 73 20 74 68 65 20 43 4f 50 59 20 |pports the COPY | 0000a210 6b 65 79 20 61 6e 64 20 74 68 65 20 66 6f 6c 6c |key and the foll| 0000a220 6f 77 69 6e 67 20 56 44 55 0a 61 63 74 69 6f 6e |owing VDU.action| 0000a230 73 3a 0a 0a 30 37 20 43 54 52 4c 20 47 42 65 6c |s:..07 CTRL GBel| 0000a240 6c 2e 0a 30 38 20 43 54 52 4c 20 48 4d 6f 76 65 |l..08 CTRL HMove| 0000a250 20 62 61 63 6b 20 6f 6e 65 20 63 68 61 72 61 63 | back one charac| 0000a260 74 65 72 2e 0a 30 39 20 43 54 52 4c 20 49 4d 6f |ter..09 CTRL IMo| 0000a270 76 65 20 66 6f 72 77 61 72 64 20 6f 6e 65 20 63 |ve forward one c| 0000a280 68 61 72 61 63 74 65 72 2e 0a 31 30 20 43 54 52 |haracter..10 CTR| 0000a290 4c 20 4a 4d 6f 76 65 20 64 6f 77 6e 20 61 20 6c |L JMove down a l| 0000a2a0 69 6e 65 2e 0a 31 31 20 43 54 52 4c 20 4b 4d 6f |ine..11 CTRL KMo| 0000a2b0 76 65 20 75 70 20 61 20 6c 69 6e 65 2e 0a 31 32 |ve up a line..12| 0000a2c0 20 43 54 52 4c 20 4c 43 6c 65 61 72 20 74 65 78 | CTRL LClear tex| 0000a2d0 74 20 77 69 6e 64 6f 77 2e 0a 31 33 20 43 54 52 |t window..13 CTR| 0000a2e0 4c 20 4d 4d 6f 76 65 20 74 6f 20 6c 69 6e 65 20 |L MMove to line | 0000a2f0 73 74 61 72 74 2e 0a 32 32 20 43 54 52 4c 20 56 |start..22 CTRL V| 0000a300 43 68 61 6e 67 65 20 6d 6f 64 65 2e 0a 32 36 20 |Change mode..26 | 0000a310 43 54 52 4c 20 5a 52 65 73 74 6f 72 65 20 74 65 |CTRL ZRestore te| 0000a320 78 74 20 77 69 6e 64 6f 77 2e 0a 32 38 44 65 66 |xt window..28Def| 0000a330 69 6e 65 20 74 65 78 74 20 77 69 6e 64 6f 77 2e |ine text window.| 0000a340 0a 33 30 48 6f 6d 65 20 63 75 72 73 6f 72 2e 0a |.30Home cursor..| 0000a350 33 31 4d 6f 76 65 20 74 6f 20 78 2c 79 20 28 54 |31Move to x,y (T| 0000a360 41 42 29 2e 0a 0a 49 66 20 79 6f 75 20 75 73 65 |AB)...If you use| 0000a370 20 52 69 63 68 61 72 64 20 4b 2e 20 4c 6c 6f 79 | Richard K. Lloy| 0000a380 64 27 73 20 77 6f 6e 64 65 72 66 75 6c 20 27 4c |d's wonderful 'L| 0000a390 69 6e 65 20 45 64 69 74 6f 72 27 20 6d 6f 64 75 |ine Editor' modu| 0000a3a0 6c 65 20 74 68 65 6e 20 79 6f 75 27 6c 6c 20 66 |le then you'll f| 0000a3b0 69 6e 64 0a 69 74 20 6e 6f 77 20 77 6f 72 6b 73 |ind.it now works| 0000a3c0 20 77 69 74 68 69 6e 20 74 68 65 20 74 61 73 6b | within the task| 0000a3d0 77 69 6e 64 6f 77 2e 20 54 68 65 72 65 20 69 73 |window. There is| 0000a3e0 20 61 20 70 72 6f 62 6c 65 6d 20 69 6e 20 74 68 | a problem in th| 0000a3f0 61 74 20 69 74 20 63 68 61 6e 67 65 73 20 74 68 |at it changes th| 0000a400 65 0a 46 58 20 34 20 76 61 6c 75 65 20 61 6e 64 |e.FX 4 value and| 0000a410 20 74 68 75 73 20 74 68 65 20 43 4f 50 59 20 6b | thus the COPY k| 0000a420 65 79 20 77 69 6c 6c 20 6e 6f 74 20 77 6f 72 6b |ey will not work| 0000a430 20 69 6e 20 74 68 65 20 74 61 73 6b 77 69 6e 64 | in the taskwind| 0000a440 6f 77 20 69 66 20 79 6f 75 20 68 61 76 65 0a 74 |ow if you have.t| 0000a450 68 65 20 6c 69 6e 65 20 65 64 69 74 6f 72 20 6c |he line editor l| 0000a460 6f 61 64 65 64 2e 20 54 68 65 20 73 6f 6c 75 74 |oaded. The solut| 0000a470 69 6f 6e 20 69 73 20 74 6f 20 70 72 65 73 73 20 |ion is to press | 0000a480 46 31 32 20 74 68 65 6e 20 52 45 54 55 52 4e 20 |F12 then RETURN | 0000a490 74 6f 20 72 65 73 65 74 20 74 68 65 0a 46 58 20 |to reset the.FX | 0000a4a0 34 20 76 61 6c 75 65 20 62 65 66 6f 72 65 20 75 |4 value before u| 0000a4b0 73 69 6e 67 20 74 68 65 20 63 6f 70 79 20 6b 65 |sing the copy ke| 0000a4c0 79 2e 20 4d 6f 64 65 20 63 68 61 6e 67 65 73 20 |y. Mode changes | 0000a4d0 61 72 65 20 72 65 66 6c 65 63 74 65 64 20 62 79 |are reflected by| 0000a4e0 20 63 68 61 6e 67 69 6e 67 0a 74 68 65 20 77 69 | changing.the wi| 0000a4f0 64 74 68 20 61 6e 64 20 68 65 69 67 68 74 20 6f |dth and height o| 0000a500 66 20 74 68 65 20 77 69 6e 64 6f 77 2e 0a 0a 43 |f the window...C| 0000a510 6f 6e 74 72 6f 6c 20 6b 65 79 73 20 61 6e 64 20 |ontrol keys and | 0000a520 66 75 6e 63 74 69 6f 6e 20 6b 65 79 73 20 61 72 |function keys ar| 0000a530 65 20 4e 4f 54 20 70 61 73 73 65 64 20 6f 6e 20 |e NOT passed on | 0000a540 74 6f 20 74 68 65 20 74 61 73 6b 77 69 6e 64 6f |to the taskwindo| 0000a550 77 20 73 6f 20 79 6f 75 0a 63 61 6e 20 75 73 65 |w so you.can use| 0000a560 20 43 54 52 4c 2d 43 20 74 6f 20 63 6f 70 79 20 | CTRL-C to copy | 0000a570 63 6f 6d 6d 61 6e 64 73 20 74 6f 20 74 68 65 20 |commands to the | 0000a580 63 75 72 72 65 6e 74 20 74 61 73 6b 77 69 6e 64 |current taskwind| 0000a590 6f 77 20 6c 69 6e 65 2e 20 49 66 20 79 6f 75 0a |ow line. If you.| 0000a5a0 77 61 6e 74 20 74 6f 20 73 65 6e 64 20 61 20 63 |want to send a c| 0000a5b0 6f 6e 74 72 6f 6c 20 6b 65 79 20 6f 72 20 66 75 |ontrol key or fu| 0000a5c0 6e 63 74 69 6f 6e 20 6b 65 79 20 74 6f 20 74 68 |nction key to th| 0000a5d0 65 20 74 61 73 6b 77 69 6e 64 6f 77 20 74 68 65 |e taskwindow the| 0000a5e0 6e 20 74 68 69 73 20 63 61 6e 0a 62 65 20 64 6f |n this can.be do| 0000a5f0 6e 65 20 62 79 20 71 75 6f 74 69 6e 67 20 69 74 |ne by quoting it| 0000a600 20 77 69 74 68 20 43 54 52 4c 2d 51 2e 20 46 6f | with CTRL-Q. Fo| 0000a610 72 20 65 78 61 6d 70 6c 65 2c 20 43 54 52 4c 2d |r example, CTRL-| 0000a620 51 20 43 54 52 4c 2d 4c 20 77 69 6c 6c 20 63 6c |Q CTRL-L will cl| 0000a630 65 61 72 0a 74 68 65 20 73 63 72 65 65 6e 2c 20 |ear.the screen, | 0000a640 61 6e 64 20 43 54 52 4c 2d 51 20 46 31 20 77 69 |and CTRL-Q F1 wi| 0000a650 6c 6c 20 63 61 75 73 65 20 66 75 6e 63 74 69 6f |ll cause functio| 0000a660 6e 20 6b 65 79 20 46 31 20 74 6f 20 62 65 20 65 |n key F1 to be e| 0000a670 78 70 61 6e 64 65 64 20 69 6e 20 74 68 65 0a 74 |xpanded in the.t| 0000a680 61 73 6b 77 69 6e 64 6f 77 2e 0a 0a 44 2e 31 33 |askwindow...D.13| 0000a690 2d 44 2e 31 35 20 54 68 65 73 65 20 6d 6f 64 65 |-D.15 These mode| 0000a6a0 73 20 61 72 65 20 72 65 73 65 72 76 65 64 0a 2d |s are reserved.-| 0000a6b0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 0000a6d0 2d 0a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |-..*************| 0000a6e0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 0000a710 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 2a 20 53 |************.* S| 0000a720 65 63 74 69 6f 6e 20 45 3a 53 65 61 72 63 68 20 |ection E:Search | 0000a730 61 6e 64 20 52 65 70 6c 61 63 65 2a 0a 2a 2a 2a |and Replace*.***| 0000a740 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 0000a780 2a 2a 2a 2a 2a 2a 0a 0a 45 2e 31 20 54 68 65 20 |******..E.1 The | 0000a790 53 65 61 72 63 68 20 77 69 6e 64 6f 77 0a 2d 2d |Search window.--| 0000a7a0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 0000a7b0 2d 2d 2d 0a 0a 5a 61 70 20 68 61 73 20 71 75 69 |---..Zap has qui| 0000a7c0 74 65 20 61 20 70 6f 77 65 72 66 75 6c 20 73 65 |te a powerful se| 0000a7d0 61 72 63 68 20 66 61 63 69 6c 69 74 79 20 77 68 |arch facility wh| 0000a7e0 69 63 68 20 69 73 20 62 61 73 65 64 20 6c 6f 6f |ich is based loo| 0000a7f0 73 65 6c 79 20 6f 6e 20 65 6d 61 63 73 0a 73 65 |sely on emacs.se| 0000a800 61 72 63 68 2c 20 61 6c 6c 6f 77 69 6e 67 20 27 |arch, allowing '| 0000a810 4f 52 27 20 63 6f 6e 73 74 72 75 63 74 73 20 61 |OR' constructs a| 0000a820 6e 64 20 63 68 61 72 61 63 74 65 72 20 72 61 6e |nd character ran| 0000a830 67 65 73 2e 20 54 68 65 20 73 65 61 72 63 68 20 |ges. The search | 0000a840 77 69 6e 64 6f 77 20 63 61 6e 0a 63 72 65 61 74 |window can.creat| 0000a850 65 64 20 62 79 20 70 72 65 73 73 69 6e 67 20 46 |ed by pressing F| 0000a860 34 20 6f 72 20 46 37 20 6f 72 20 75 73 69 6e 67 |4 or F7 or using| 0000a870 20 74 68 65 20 27 66 69 6c 65 27 20 6d 65 6e 75 | the 'file' menu| 0000a880 2e 20 50 72 65 73 73 69 6e 67 20 46 34 20 77 69 |. Pressing F4 wi| 0000a890 6c 6c 0a 65 6e 73 75 72 65 20 74 68 61 74 20 73 |ll.ensure that s| 0000a8a0 65 61 72 63 68 20 6d 61 74 63 68 65 73 20 61 72 |earch matches ar| 0000a8b0 65 20 6a 75 6d 70 65 64 20 74 6f 2c 20 77 68 65 |e jumped to, whe| 0000a8c0 72 65 61 73 20 70 72 65 73 73 69 6e 67 20 46 37 |reas pressing F7| 0000a8d0 20 77 69 6c 6c 20 63 61 75 73 65 20 61 6c 6c 0a | will cause all.| 0000a8e0 6d 61 74 63 68 65 73 20 74 6f 20 62 65 20 70 6c |matches to be pl| 0000a8f0 61 63 65 64 20 69 6e 20 61 20 73 65 70 61 72 61 |aced in a separa| 0000a900 74 65 20 74 68 72 6f 77 62 61 63 6b 20 62 75 66 |te throwback buf| 0000a910 66 65 72 2e 20 44 6f 75 62 6c 65 20 63 6c 69 63 |fer. Double clic| 0000a920 6b 69 6e 67 20 6f 6e 20 61 0a 6d 61 74 63 68 20 |king on a.match | 0000a930 69 6e 20 74 68 65 20 62 75 66 66 65 72 20 74 68 |in the buffer th| 0000a940 65 6e 20 6a 75 6d 70 73 20 74 6f 20 74 68 65 20 |en jumps to the | 0000a950 6d 61 74 63 68 2e 20 53 65 65 20 73 65 63 74 69 |match. See secti| 0000a960 6f 6e 20 44 2e 31 31 2e 0a 0a 54 68 65 20 66 69 |on D.11...The fi| 0000a970 72 73 74 20 63 6f 6c 75 6d 6e 20 6f 66 20 74 68 |rst column of th| 0000a980 65 20 73 65 61 72 63 68 20 77 69 6e 64 6f 77 20 |e search window | 0000a990 73 65 6c 65 63 74 73 20 77 68 65 74 68 65 72 20 |selects whether | 0000a9a0 79 6f 75 20 77 69 73 68 20 74 6f 20 73 65 61 72 |you wish to sear| 0000a9b0 63 68 20 66 6f 72 0a 61 20 73 74 72 69 6e 67 2c |ch for.a string,| 0000a9c0 20 69 6e 73 74 72 75 63 74 69 6f 6e 20 6f 72 20 | instruction or | 0000a9d0 77 6f 72 64 20 28 34 20 62 79 74 65 73 29 2e 20 |word (4 bytes). | 0000a9e0 49 6e 20 74 68 65 20 66 69 72 73 74 20 74 77 6f |In the first two| 0000a9f0 20 63 61 73 65 73 20 65 6e 74 65 72 20 74 68 65 | cases enter the| 0000aa00 0a 73 74 72 69 6e 67 20 74 6f 20 6d 61 74 63 68 |.string to match| 0000aa10 2e 20 49 6e 20 74 68 65 20 74 68 69 72 64 20 63 |. In the third c| 0000aa20 61 73 65 20 65 6e 74 65 72 20 61 6e 20 65 78 70 |ase enter an exp| 0000aa30 72 65 73 73 69 6f 6e 20 65 76 61 6c 75 61 74 69 |ression evaluati| 0000aa40 6e 67 20 74 6f 20 61 20 6e 75 6d 62 65 72 0a 74 |ng to a number.t| 0000aa50 6f 20 73 65 61 72 63 68 20 66 6f 72 2e 0a 0a 54 |o search for...T| 0000aa60 68 65 20 73 65 63 6f 6e 64 20 63 6f 6c 75 6d 6e |he second column| 0000aa70 20 73 65 6c 65 63 74 73 20 77 68 65 72 65 20 74 | selects where t| 0000aa80 68 65 20 73 65 61 72 63 68 20 73 68 6f 75 6c 64 |he search should| 0000aa90 20 73 74 61 72 74 20 61 6e 64 20 74 68 65 20 64 | start and the d| 0000aaa0 69 72 65 63 74 69 6f 6e 20 6f 66 0a 74 68 65 20 |irection of.the | 0000aab0 73 65 61 72 63 68 2e 20 59 6f 75 20 6d 61 79 20 |search. You may | 0000aac0 73 74 61 72 74 20 61 74 20 74 68 65 20 62 65 67 |start at the beg| 0000aad0 69 6e 6e 69 6e 67 20 6f 66 20 74 68 65 20 74 65 |inning of the te| 0000aae0 78 74 20 6f 72 20 66 6f 72 77 61 72 64 73 2f 62 |xt or forwards/b| 0000aaf0 61 63 6b 77 61 72 64 73 0a 66 72 6f 6d 20 74 68 |ackwards.from th| 0000ab00 65 20 63 75 72 72 65 6e 74 20 63 75 72 73 6f 72 |e current cursor| 0000ab10 20 70 6f 73 69 74 69 6f 6e 2e 20 49 66 20 79 6f | position. If yo| 0000ab20 75 20 77 69 73 68 20 74 6f 20 63 68 61 6e 67 65 |u wish to change| 0000ab30 20 74 68 65 20 64 65 66 61 75 6c 74 20 6f 70 74 | the default opt| 0000ab40 69 6f 6e 0a 66 6f 72 20 74 68 69 73 20 74 68 65 |ion.for this the| 0000ab50 6e 20 6a 75 73 74 20 65 64 69 74 20 74 68 65 20 |n just edit the | 0000ab60 74 65 6d 70 6c 61 74 65 20 66 69 6c 65 2e 0a 0a |template file...| 0000ab70 54 68 65 20 74 68 69 72 64 20 63 6f 6c 75 6d 6e |The third column| 0000ab80 20 73 65 6c 65 63 74 73 20 74 68 65 20 6f 75 74 | selects the out| 0000ab90 70 75 74 2e 20 49 66 20 79 6f 75 20 63 68 6f 6f |put. If you choo| 0000aba0 73 65 20 63 75 72 73 6f 72 20 6f 75 74 70 75 74 |se cursor output| 0000abb0 20 28 46 34 29 20 74 68 65 6e 0a 74 68 65 20 63 | (F4) then.the c| 0000abc0 75 72 73 6f 72 20 77 69 6c 6c 20 62 65 20 6d 6f |ursor will be mo| 0000abd0 76 65 64 20 74 6f 20 74 68 65 20 66 69 72 73 74 |ved to the first| 0000abe0 20 6d 61 74 63 68 20 61 6e 64 20 73 75 62 73 65 | match and subse| 0000abf0 71 75 65 6e 74 20 6d 61 74 63 68 65 73 20 6d 61 |quent matches ma| 0000ac00 79 20 62 65 0a 67 6f 74 20 62 79 20 73 46 37 20 |y be.got by sF7 | 0000ac10 28 4e 65 78 74 20 6d 61 74 63 68 29 20 61 6e 64 |(Next match) and| 0000ac20 20 73 63 46 37 20 28 50 72 65 76 69 6f 75 73 20 | scF7 (Previous | 0000ac30 6d 61 74 63 68 29 20 61 73 20 69 6e 20 74 68 65 |match) as in the| 0000ac40 20 42 61 73 69 63 20 45 64 69 74 6f 72 2e 20 41 | Basic Editor. A| 0000ac50 0a 62 65 65 70 20 77 69 6c 6c 20 73 6f 75 6e 64 |.beep will sound| 0000ac60 20 69 66 20 74 68 65 72 65 20 61 72 65 20 6e 6f | if there are no| 0000ac70 20 6d 6f 72 65 20 6d 61 74 63 68 65 73 20 61 6e | more matches an| 0000ac80 64 20 74 68 65 20 63 75 72 73 6f 72 20 77 69 6c |d the cursor wil| 0000ac90 6c 20 6e 6f 74 20 6d 6f 76 65 2e 20 49 66 0a 79 |l not move. If.y| 0000aca0 6f 75 20 63 68 6f 6f 73 65 20 27 74 6f 20 62 75 |ou choose 'to bu| 0000acb0 66 66 65 72 27 20 28 46 37 29 20 74 68 65 6e 20 |ffer' (F7) then | 0000acc0 61 6c 6c 20 6d 61 74 63 68 65 73 20 61 72 65 20 |all matches are | 0000acd0 70 6c 61 63 65 64 20 69 6e 20 61 20 6e 65 77 20 |placed in a new | 0000ace0 28 74 65 78 74 29 20 66 69 6c 65 2e 0a 44 6f 75 |(text) file..Dou| 0000acf0 62 6c 65 20 63 6c 69 63 6b 69 6e 67 20 6f 6e 20 |ble clicking on | 0000ad00 65 6e 74 72 69 65 73 20 69 6e 20 74 68 69 73 20 |entries in this | 0000ad10 74 65 78 74 20 66 69 6c 65 20 63 61 75 73 65 20 |text file cause | 0000ad20 74 68 65 20 63 75 72 73 6f 72 20 74 6f 20 62 65 |the cursor to be| 0000ad30 20 6d 6f 76 65 64 20 74 6f 0a 74 68 65 20 63 6f | moved to.the co| 0000ad40 72 72 65 73 70 6f 6e 64 69 6e 67 20 6d 61 74 63 |rresponding matc| 0000ad50 68 2e 0a 0a 4e 6f 77 20 74 6f 20 74 68 65 20 73 |h...Now to the s| 0000ad60 65 61 72 63 68 20 73 74 72 69 6e 67 2e 20 49 6e |earch string. In| 0000ad70 20 6f 72 64 65 72 20 74 68 61 74 20 74 68 65 20 | order that the | 0000ad80 75 73 65 72 20 6d 61 79 20 68 61 76 65 20 61 6e |user may have an| 0000ad90 79 20 73 65 61 72 63 68 20 73 79 6e 74 61 78 0a |y search syntax.| 0000ada0 68 65 2f 73 68 65 20 63 68 6f 6f 73 65 73 2c 20 |he/she chooses, | 0000adb0 49 20 68 61 76 65 20 61 64 6f 70 74 65 64 20 74 |I have adopted t| 0000adc0 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 61 70 70 |he following app| 0000add0 72 6f 61 63 68 3a 0a 0a 20 2a 20 41 6c 6c 20 77 |roach:.. * All w| 0000ade0 69 6c 64 63 61 72 64 73 2f 63 6f 6d 6d 61 6e 64 |ildcards/command| 0000adf0 73 20 62 65 67 69 6e 20 77 69 74 68 20 61 20 27 |s begin with a '| 0000ae00 5c 27 20 61 73 20 6c 69 73 74 65 64 20 62 65 6c |\' as listed bel| 0000ae10 6f 77 2e 0a 20 2a 20 54 68 65 20 75 73 65 72 20 |ow.. * The user | 0000ae20 6d 61 79 20 64 65 66 69 6e 65 20 75 70 20 74 6f |may define up to| 0000ae30 20 31 36 20 6d 61 63 72 6f 73 20 28 61 6c 69 61 | 16 macros (alia| 0000ae40 73 65 73 29 20 69 6e 20 74 65 72 6d 73 20 6f 66 |ses) in terms of| 0000ae50 20 74 68 65 73 65 20 63 6f 6d 6d 61 6e 64 73 2e | these commands.| 0000ae60 0a 20 2a 20 57 68 65 6e 20 74 68 65 20 73 65 61 |. * When the sea| 0000ae70 72 63 68 20 73 74 72 69 6e 67 20 69 73 20 65 6e |rch string is en| 0000ae80 74 65 72 65 64 2c 20 61 6c 6c 20 74 68 65 20 75 |tered, all the u| 0000ae90 73 65 72 73 20 6d 61 63 72 6f 73 20 61 72 65 20 |sers macros are | 0000aea0 73 75 62 73 74 69 74 75 74 65 64 0a 20 20 20 62 |substituted. b| 0000aeb0 65 66 6f 72 65 20 74 68 65 20 73 65 61 72 63 68 |efore the search| 0000aec0 20 74 61 6b 65 73 20 70 6c 61 63 65 2e 0a 0a 54 | takes place...T| 0000aed0 68 65 20 6d 61 63 72 6f 73 20 6d 61 79 20 62 65 |he macros may be| 0000aee0 20 65 78 61 6d 69 6e 65 64 20 61 6e 64 20 61 6c | examined and al| 0000aef0 74 65 72 65 64 20 62 79 20 63 6c 69 63 6b 69 6e |tered by clickin| 0000af00 67 20 6f 6e 20 74 68 65 20 27 53 68 6f 77 20 4d |g on the 'Show M| 0000af10 61 63 72 6f 73 27 0a 62 75 74 74 6f 6e 2e 20 54 |acros'.button. T| 0000af20 68 65 20 64 65 66 61 75 6c 74 20 6d 61 63 72 6f |he default macro| 0000af30 20 64 65 66 69 6e 69 74 69 6f 6e 73 20 61 72 65 | definitions are| 0000af40 20 73 74 6f 72 65 64 20 69 6e 20 74 68 65 20 27 | stored in the '| 0000af50 4b 65 79 73 27 20 66 69 6c 65 20 61 6e 64 20 6d |Keys' file and m| 0000af60 61 79 0a 62 65 20 61 6c 74 65 72 65 64 20 74 68 |ay.be altered th| 0000af70 65 72 65 2e 20 54 68 65 20 6d 61 63 72 6f 73 20 |ere. The macros | 0000af80 63 61 6e 20 62 65 20 74 65 6d 70 6f 72 61 72 69 |can be temporari| 0000af90 6c 79 20 74 75 72 6e 65 64 20 6f 66 66 20 69 6e |ly turned off in| 0000afa0 20 74 68 65 20 27 4d 61 63 72 6f 73 27 0a 77 69 | the 'Macros'.wi| 0000afb0 6e 64 6f 77 2e 20 54 68 69 73 20 77 69 6e 64 6f |ndow. This windo| 0000afc0 77 20 61 6c 73 6f 20 63 6f 6e 74 72 6f 6c 73 20 |w also controls | 0000afd0 77 68 65 74 68 65 72 20 74 68 65 20 73 65 61 72 |whether the sear| 0000afe0 63 68 20 69 73 20 63 61 73 65 20 73 65 6e 73 69 |ch is case sensi| 0000aff0 74 69 76 65 20 6f 72 0a 6e 6f 74 2e 20 54 68 65 |tive or.not. The| 0000b000 73 65 20 6f 70 74 69 6f 6e 73 20 61 72 65 20 73 |se options are s| 0000b010 74 6f 72 65 64 20 69 6e 20 74 68 65 20 21 43 6f |tored in the !Co| 0000b020 6e 66 69 67 20 66 69 6c 65 20 61 6e 64 20 73 61 |nfig file and sa| 0000b030 76 65 64 20 76 69 61 20 74 68 65 20 6d 65 6e 75 |ved via the menu| 0000b040 0a 6f 70 74 69 6f 6e 20 27 4f 70 74 69 6f 6e 73 |.option 'Options| 0000b050 2e 53 61 76 65 20 6f 70 74 69 6f 6e 73 27 2e 0a |.Save options'..| 0000b060 0a 46 6f 72 20 65 78 61 6d 70 6c 65 3b 20 49 20 |.For example; I | 0000b070 68 61 76 65 20 2a 20 61 73 20 61 20 73 74 61 6e |have * as a stan| 0000b080 64 61 72 64 20 6d 61 63 72 6f 20 66 6f 72 20 5c |dard macro for \| 0000b090 2e 5c 2a 2e 20 54 68 75 73 20 69 66 20 49 20 74 |.\*. Thus if I t| 0000b0a0 79 70 65 64 20 69 6e 20 61 2a 62 2c 0a 74 68 65 |yped in a*b,.the| 0000b0b0 20 73 74 72 69 6e 67 20 77 6f 75 6c 64 20 62 65 | string would be| 0000b0c0 20 63 6f 6e 76 65 72 74 65 64 20 74 6f 20 61 5c | converted to a\| 0000b0d0 2e 5c 2a 62 2e 20 48 6f 77 65 76 65 72 20 61 5c |.\*b. However a\| 0000b0e0 2a 62 20 77 6f 75 6c 64 20 72 65 6d 61 69 6e 20 |*b would remain | 0000b0f0 61 73 20 61 5c 2a 62 20 61 73 0a 74 68 65 20 2a |as a\*b as.the *| 0000b100 20 66 6f 6c 6c 6f 77 73 20 61 20 5c 20 61 6e 64 | follows a \ and| 0000b110 20 69 73 20 74 68 75 73 20 74 72 65 61 74 65 64 | is thus treated| 0000b120 20 61 73 20 61 20 63 6f 6d 6d 61 6e 64 2e 0a 0a | as a command...| 0000b130 54 68 65 20 74 61 62 6c 65 20 62 65 6c 6f 77 20 |The table below | 0000b140 64 65 74 61 69 6c 73 20 61 6c 6c 20 74 68 65 20 |details all the | 0000b150 65 73 63 61 70 65 20 63 68 61 72 61 63 74 65 72 |escape character| 0000b160 73 20 61 6e 64 20 63 6f 6d 6d 61 6e 64 73 2e 20 |s and commands. | 0000b170 49 6e 20 69 74 20 49 20 77 69 6c 6c 0a 75 73 65 |In it I will.use| 0000b180 20 27 78 27 20 74 6f 20 73 74 61 6e 64 20 66 6f | 'x' to stand fo| 0000b190 72 20 61 6e 79 20 61 73 63 69 69 20 63 68 61 72 |r any ascii char| 0000b1a0 61 63 74 65 72 20 75 6e 6c 65 73 73 20 6f 74 68 |acter unless oth| 0000b1b0 65 72 77 69 73 65 20 6d 65 6e 74 69 6f 6e 65 64 |erwise mentioned| 0000b1c0 2e 0a 0a 78 4d 61 74 63 68 65 73 20 63 68 61 72 |...xMatches char| 0000b1d0 61 63 74 65 72 20 27 78 27 20 28 61 63 63 6f 72 |acter 'x' (accor| 0000b1e0 64 69 6e 67 20 74 6f 20 63 61 73 65 20 73 65 6e |ding to case sen| 0000b1f0 73 69 74 69 76 69 74 79 29 2e 0a 5c 78 4d 61 74 |sitivity)..\xMat| 0000b200 63 68 65 73 20 27 78 27 20 63 61 73 65 20 73 65 |ches 'x' case se| 0000b210 6e 73 69 74 69 76 65 6c 79 2c 20 75 6e 6c 65 73 |nsitively, unles| 0000b220 73 20 5c 78 20 6d 65 6e 74 69 6f 6e 65 64 20 62 |s \x mentioned b| 0000b230 65 6c 6f 77 2e 0a 60 78 4d 61 74 63 68 65 73 20 |elow..`xMatches | 0000b240 27 78 27 20 6f 6e 6c 79 20 28 77 69 74 68 6f 75 |'x' only (withou| 0000b250 74 20 61 6e 79 20 72 65 70 6c 61 63 65 6d 65 6e |t any replacemen| 0000b260 74 20 6f 66 20 6d 61 63 72 6f 73 29 2e 0a 5c 28 |t of macros)..\(| 0000b270 20 5c 29 41 63 74 20 61 73 20 62 72 61 63 6b 65 | \)Act as bracke| 0000b280 74 73 20 66 6f 72 20 6e 65 73 74 69 6e 67 20 65 |ts for nesting e| 0000b290 78 70 72 65 73 73 69 6f 6e 73 2e 0a 5c 7b 20 5c |xpressions..\{ \| 0000b2a0 7d 41 63 74 20 61 73 20 74 68 65 20 6e 6f 72 6d |}Act as the norm| 0000b2b0 61 6c 20 62 72 61 63 6b 65 74 73 20 61 62 6f 76 |al brackets abov| 0000b2c0 65 2c 20 62 75 74 20 6d 61 79 20 62 65 20 72 65 |e, but may be re| 0000b2d0 66 65 72 72 65 64 0a 74 6f 20 69 6e 20 74 68 65 |ferred.to in the| 0000b2e0 20 72 65 70 6c 61 63 65 20 73 74 72 69 6e 67 20 | replace string | 0000b2f0 64 75 72 69 6e 67 20 61 20 73 65 61 72 63 68 20 |during a search | 0000b300 61 6e 64 20 72 65 70 6c 61 63 65 2e 20 53 65 65 |and replace. See| 0000b310 20 45 2e 32 2e 0a 5c 23 4d 61 74 63 68 65 73 20 | E.2..\#Matches | 0000b320 61 6e 79 20 63 68 61 72 61 63 74 65 72 2e 20 45 |any character. E| 0000b330 67 20 61 5c 23 64 20 6d 61 74 63 68 65 73 20 27 |g a\#d matches '| 0000b340 61 6e 64 27 2c 27 61 61 64 27 20 62 75 74 20 6e |and','aad' but n| 0000b350 6f 74 20 27 61 64 27 2e 0a 5c 2e 4d 61 74 63 68 |ot 'ad'..\.Match| 0000b360 65 73 20 61 6e 79 20 63 68 61 72 61 63 74 65 72 |es any character| 0000b370 20 65 78 63 65 70 74 20 74 68 65 20 72 65 74 75 | except the retu| 0000b380 72 6e 20 63 68 61 72 61 63 74 65 72 2e 0a 5c 2a |rn character..\*| 0000b390 4d 61 74 63 68 65 73 20 61 6e 79 20 6e 75 6d 62 |Matches any numb| 0000b3a0 65 72 20 6f 66 20 74 68 65 20 70 72 65 76 69 6f |er of the previo| 0000b3b0 75 73 20 65 78 70 72 65 73 73 69 6f 6e 2e 20 45 |us expression. E| 0000b3c0 67 20 66 6f 5c 2a 20 6d 61 74 63 68 65 73 0a 27 |g fo\* matches.'| 0000b3d0 66 27 2c 27 66 6f 27 2c 27 66 6f 6f 27 20 65 74 |f','fo','foo' et| 0000b3e0 63 2e 20 61 6e 64 20 5c 28 61 6e 64 5c 29 5c 2a |c. and \(and\)\*| 0000b3f0 20 6d 61 74 63 68 65 73 20 27 27 2c 27 61 6e 64 | matches '','and| 0000b400 27 2c 27 61 6e 64 61 6e 64 27 20 65 74 63 2e 0a |','andand' etc..| 0000b410 5c 25 4d 61 74 63 68 65 73 20 74 68 65 20 6d 6f |\%Matches the mo| 0000b420 73 74 20 6e 75 6d 62 65 72 20 6f 66 20 72 65 70 |st number of rep| 0000b430 65 74 69 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 |etitions of the | 0000b440 70 72 65 76 69 6f 75 73 20 65 78 70 72 65 73 73 |previous express| 0000b450 69 6f 6e 2e 0a 54 68 75 73 20 5c 5b 30 2d 39 5d |ion..Thus \[0-9]| 0000b460 5c 25 20 6d 61 74 63 68 65 73 20 27 31 27 20 69 |\% matches '1' i| 0000b470 6e 20 27 31 70 74 27 20 61 6e 64 20 74 68 65 20 |n '1pt' and the | 0000b480 27 33 39 35 27 20 69 6e 20 27 61 62 33 39 35 72 |'395' in 'ab395r| 0000b490 74 79 27 2e 0a 5c 7c 4d 61 74 63 68 65 73 20 6f |ty'..\|Matches o| 0000b4a0 6e 65 20 65 78 70 72 65 73 73 69 6f 6e 20 4f 52 |ne expression OR| 0000b4b0 20 61 6e 6f 74 68 65 72 2e 20 45 67 20 68 65 6c | another. Eg hel| 0000b4c0 6c 6f 5c 7c 67 6f 6f 64 62 79 65 5c 7c 66 72 65 |lo\|goodbye\|fre| 0000b4d0 64 2e 0a 45 67 20 5c 28 61 5c 7c 62 5c 29 5c 2a |d..Eg \(a\|b\)\*| 0000b4e0 20 6d 61 74 63 68 65 73 20 27 61 62 61 62 61 62 | matches 'ababab| 0000b4f0 61 27 2c 27 61 62 62 62 61 27 20 65 74 63 2e 0a |a','abbba' etc..| 0000b500 5c 5b 2e 2e 5d 4d 61 74 63 68 65 73 20 61 20 72 |\[..]Matches a r| 0000b510 61 6e 67 65 20 6f 66 20 63 68 61 72 61 63 74 65 |ange of characte| 0000b520 72 73 2e 20 45 67 20 5c 5b 61 2d 7a 41 2d 5a 25 |rs. Eg \[a-zA-Z%| 0000b530 5d 20 6d 61 74 63 68 65 73 20 61 6e 79 20 6c 65 |] matches any le| 0000b540 74 74 65 72 20 6f 72 0a 61 20 27 25 27 2e 20 49 |tter or.a '%'. I| 0000b550 66 20 61 20 27 5e 27 20 69 73 20 67 69 76 65 6e |f a '^' is given| 0000b560 20 61 66 74 65 72 20 74 68 65 20 6f 70 65 6e 69 | after the openi| 0000b570 6e 67 20 62 72 61 63 6b 65 74 20 74 68 65 6e 0a |ng bracket then.| 0000b580 69 74 20 61 63 74 73 20 61 73 20 61 20 4e 4f 54 |it acts as a NOT| 0000b590 2e 20 54 68 75 73 20 5c 5b 5e 61 62 63 5d 20 6d |. Thus \[^abc] m| 0000b5a0 61 74 63 68 65 73 20 61 6e 79 20 63 68 61 72 61 |atches any chara| 0000b5b0 63 74 65 72 20 65 78 63 65 70 74 20 61 2c 62 2c |cter except a,b,| 0000b5c0 63 2e 0a 5c 3c 4d 61 74 63 68 65 73 20 6e 75 6c |c..\<Matches nul| 0000b5d0 6c 20 73 74 72 69 6e 67 20 61 74 20 6c 69 6e 65 |l string at line| 0000b5e0 20 73 74 61 72 74 20 28 61 6e 64 20 66 69 6c 65 | start (and file| 0000b5f0 20 73 74 61 72 74 29 2e 0a 5c 3e 4d 61 74 63 68 | start)..\>Match| 0000b600 65 73 20 6e 75 6c 6c 20 73 74 72 69 6e 67 20 61 |es null string a| 0000b610 74 20 6c 69 6e 65 20 65 6e 64 2e 0a 5c 2b 54 75 |t line end..\+Tu| 0000b620 72 6e 73 20 6f 6e 20 63 61 73 65 20 73 65 6e 73 |rns on case sens| 0000b630 69 74 69 76 69 74 79 20 66 6f 72 20 74 68 65 20 |itivity for the | 0000b640 66 6f 6c 6c 6f 77 69 6e 67 20 6c 65 74 74 65 72 |following letter| 0000b650 73 20 4f 4e 4c 59 2e 20 49 74 27 73 0a 65 66 66 |s ONLY. It's.eff| 0000b660 65 63 74 20 73 74 6f 70 73 20 61 74 20 74 68 65 |ect stops at the| 0000b670 20 6e 65 78 74 20 77 69 6c 64 63 61 72 64 2f 62 | next wildcard/b| 0000b680 72 61 63 6b 65 74 2f 63 6f 6d 6d 61 6e 64 2e 20 |racket/command. | 0000b690 49 74 20 64 6f 65 73 6e 27 74 0a 61 66 66 65 63 |It doesn't.affec| 0000b6a0 74 20 6e 65 73 74 65 64 2f 62 72 61 63 6b 65 74 |t nested/bracket| 0000b6b0 65 64 20 73 74 61 74 65 6d 65 6e 74 73 20 2d 20 |ed statements - | 0000b6c0 74 68 69 73 20 77 69 6c 6c 20 62 65 20 69 6d 70 |this will be imp| 0000b6d0 72 6f 76 65 64 2e 0a 45 67 20 5c 2b 46 72 65 64 |roved..Eg \+Fred| 0000b6e0 5c 7c 42 69 6c 6c 20 6d 61 74 63 68 65 73 20 46 |\|Bill matches F| 0000b6f0 72 65 64 20 63 61 73 65 20 73 65 6e 73 69 74 69 |red case sensiti| 0000b700 76 65 6c 79 20 62 75 74 20 6e 6f 74 20 42 69 6c |vely but not Bil| 0000b710 6c 2e 0a 5c 2d 41 73 20 61 62 6f 76 65 2c 20 62 |l..\-As above, b| 0000b720 75 74 20 74 75 72 6e 73 20 6f 66 66 20 63 61 73 |ut turns off cas| 0000b730 65 20 73 65 6e 73 69 74 69 76 69 74 79 2e 0a 5c |e sensitivity..\| 0000b740 5c 4d 61 74 63 68 65 73 20 61 20 27 5c 27 2e 0a |\Matches a '\'..| 0000b750 5c 64 64 64 57 68 65 72 65 20 64 20 69 73 20 61 |\dddWhere d is a| 0000b760 6e 79 20 64 65 63 69 6d 61 6c 20 64 69 67 69 74 |ny decimal digit| 0000b770 20 6d 61 74 63 68 65 73 20 74 68 61 74 20 6e 75 | matches that nu| 0000b780 6d 62 65 72 2e 0a 45 67 20 27 5c 30 61 6c 66 27 |mber..Eg '\0alf'| 0000b790 20 6d 61 74 63 68 65 73 20 62 79 74 65 20 30 2c | matches byte 0,| 0000b7a0 27 61 6c 66 27 20 61 6e 64 20 5c 32 33 33 20 6d |'alf' and \233 m| 0000b7b0 61 74 63 68 65 73 20 62 79 74 65 20 32 33 33 2e |atches byte 233.| 0000b7c0 0a 50 6c 65 61 73 65 20 6e 6f 74 65 20 74 68 61 |.Please note tha| 0000b7d0 74 20 5c 39 39 39 20 6d 61 74 63 68 65 73 20 62 |t \999 matches b| 0000b7e0 79 74 65 20 39 39 20 66 6f 6c 6c 6f 77 65 64 20 |yte 99 followed | 0000b7f0 62 79 20 27 39 27 20 61 73 20 39 39 39 3e 32 35 |by '9' as 999>25| 0000b800 35 2e 0a 5c 26 68 68 41 73 20 61 62 6f 76 65 20 |5..\&hhAs above | 0000b810 62 75 74 20 6d 61 74 63 68 65 73 20 74 68 65 20 |but matches the | 0000b820 68 65 78 20 62 79 74 65 20 68 68 20 77 68 65 6e |hex byte hh when| 0000b830 20 68 20 61 72 65 20 76 61 6c 69 64 20 68 65 78 | h are valid hex| 0000b840 20 63 68 61 72 73 2e 0a 5c 78 68 68 4d 61 74 63 | chars..\xhhMatc| 0000b850 68 65 73 20 68 65 78 20 6e 75 6d 62 65 72 73 20 |hes hex numbers | 0000b860 61 73 20 61 62 6f 76 65 20 28 77 68 65 72 65 20 |as above (where | 0000b870 27 78 27 20 69 73 20 74 68 65 20 6c 65 74 74 65 |'x' is the lette| 0000b880 72 20 27 78 27 29 2e 0a 5c 41 2d 5c 5a 4d 61 74 |r 'x')..\A-\ZMat| 0000b890 63 68 20 63 74 72 6c 20 41 20 74 6f 20 63 74 72 |ch ctrl A to ctr| 0000b8a0 6c 20 5a 2e 0a 5c 62 4d 61 74 63 68 65 73 20 62 |l Z..\bMatches b| 0000b8b0 61 63 6b 73 70 61 63 65 20 28 38 29 0a 5c 66 4d |ackspace (8).\fM| 0000b8c0 61 74 63 68 65 73 20 61 20 66 6f 72 6d 20 66 65 |atches a form fe| 0000b8d0 65 64 20 28 31 32 29 0a 5c 6e 4d 61 74 63 68 65 |ed (12).\nMatche| 0000b8e0 73 20 61 20 6e 65 77 20 6c 69 6e 65 20 28 31 30 |s a new line (10| 0000b8f0 29 0a 5c 6f 4d 61 74 63 68 65 73 20 61 6e 79 20 |).\oMatches any | 0000b900 63 68 61 72 61 63 74 65 72 20 65 78 63 65 70 74 |character except| 0000b910 20 61 20 27 2e 27 20 28 75 73 65 66 75 6c 20 66 | a '.' (useful f| 0000b920 6f 72 20 6d 61 74 63 68 69 6e 67 20 66 69 6c 65 |or matching file| 0000b930 6e 61 6d 65 73 29 2e 0a 5c 72 4d 61 74 63 68 65 |names)..\rMatche| 0000b940 73 20 61 20 72 65 74 75 72 6e 20 28 31 33 29 0a |s a return (13).| 0000b950 5c 74 4d 61 74 63 68 65 73 20 61 20 74 61 62 20 |\tMatches a tab | 0000b960 28 39 29 0a 5c 76 4d 61 74 63 68 65 73 20 61 20 |(9).\vMatches a | 0000b970 76 65 72 74 69 63 61 6c 20 74 61 62 20 28 31 31 |vertical tab (11| 0000b980 29 0a 0a 49 6e 20 6d 6f 73 74 20 63 61 73 65 73 |)..In most cases| 0000b990 20 79 6f 75 20 77 69 6c 6c 20 77 69 73 68 20 74 | you will wish t| 0000b9a0 6f 20 6d 61 63 72 6f 20 27 7c 27 20 61 73 20 62 |o macro '|' as b| 0000b9b0 65 69 6e 67 20 27 5c 7c 27 20 61 6e 64 20 27 28 |eing '\|' and '(| 0000b9c0 27 20 61 73 20 27 5c 28 27 20 65 74 63 2e 0a 54 |' as '\(' etc..T| 0000b9d0 68 69 73 20 69 73 20 68 6f 77 20 74 68 65 20 64 |his is how the d| 0000b9e0 65 66 61 75 6c 74 20 6d 61 63 72 6f 73 20 61 72 |efault macros ar| 0000b9f0 65 20 73 65 74 20 75 70 2e 20 4d 61 63 72 6f 73 |e set up. Macros| 0000ba00 20 63 61 6e 20 62 65 20 73 77 69 74 63 68 65 64 | can be switched| 0000ba10 20 6f 66 66 20 69 6e 20 74 68 65 0a 6d 61 63 72 | off in the.macr| 0000ba20 6f 20 62 6f 78 2e 20 49 6e 20 74 68 65 20 65 78 |o box. In the ex| 0000ba30 61 6d 70 6c 65 73 20 62 65 6c 6f 77 2c 20 74 68 |amples below, th| 0000ba40 65 20 64 65 66 61 75 6c 74 20 6d 61 63 72 6f 73 |e default macros| 0000ba50 20 61 72 65 20 61 73 73 75 6d 65 64 2e 20 50 6c | are assumed. Pl| 0000ba60 65 61 73 65 20 6e 6f 74 65 0a 74 68 61 74 20 79 |ease note.that y| 0000ba70 6f 75 20 6d 61 79 20 6d 61 63 72 6f 20 74 68 65 |ou may macro the| 0000ba80 20 6d 61 63 72 6f 73 21 20 45 67 2c 20 79 6f 75 | macros! Eg, you| 0000ba90 20 63 6f 75 6c 64 20 64 65 66 69 6e 65 20 27 28 | could define '(| 0000baa0 27 20 74 6f 20 62 65 20 27 5c 28 27 20 61 6e 64 |' to be '\(' and| 0000bab0 20 27 5c 28 20 74 6f 0a 62 65 20 27 28 27 20 69 | '\( to.be '(' i| 0000bac0 66 20 79 6f 75 20 77 69 73 68 65 64 2e 0a 0a 45 |f you wished...E| 0000bad0 78 61 6d 70 6c 65 73 3a 0a 0a 20 63 61 74 7c 6d |xamples:.. cat|m| 0000bae0 61 74 4d 61 74 63 68 65 73 20 63 61 74 20 6f 72 |atMatches cat or| 0000baf0 20 6d 61 74 2e 0a 20 72 65 2a 6d 65 6e 74 4d 61 | mat.. re*mentMa| 0000bb00 74 63 68 65 73 20 61 6e 79 20 6f 63 63 75 72 72 |tches any occurr| 0000bb10 65 6e 63 65 20 6f 66 20 27 72 65 27 20 74 68 65 |ence of 're' the| 0000bb20 6e 20 27 6d 65 6e 74 27 20 6f 6e 20 61 20 6c 69 |n 'ment' on a li| 0000bb30 6e 65 2e 0a 20 53 57 49 20 20 20 20 4d 61 74 63 |ne.. SWI Matc| 0000bb40 68 65 73 20 61 6e 79 20 53 57 49 20 28 69 6e 20 |hes any SWI (in | 0000bb50 63 6f 64 65 20 6d 6f 64 65 29 2e 0a 20 4c 44 52 |code mode).. LDR| 0000bb60 7c 53 54 52 4d 61 74 63 68 65 73 20 61 6e 79 20 ||STRMatches any | 0000bb70 6c 6f 61 64 20 6f 72 20 73 74 6f 72 65 20 69 6e |load or store in| 0000bb80 73 74 72 75 63 74 69 6f 6e 2e 0a 20 52 36 4d 61 |struction.. R6Ma| 0000bb90 74 63 68 65 73 20 61 6e 79 20 69 6e 73 74 72 75 |tches any instru| 0000bba0 63 74 69 6f 6e 20 75 73 69 6e 67 20 52 36 2e 0a |ction using R6..| 0000bbb0 20 42 4c 2a 26 30 30 30 30 41 39 35 43 4d 61 74 | BL*&0000A95CMat| 0000bbc0 63 68 65 73 20 61 6e 79 20 63 61 6c 6c 20 74 6f |ches any call to| 0000bbd0 20 26 30 30 30 30 41 39 35 43 2e 0a 20 5c 26 30 | &0000A95C.. \&0| 0000bbe0 41 4d 61 74 63 68 65 73 20 74 68 65 20 62 79 74 |AMatches the byt| 0000bbf0 65 20 26 30 41 2e 0a 20 5c 3c 66 72 65 64 4d 61 |e &0A.. \<fredMa| 0000bc00 74 63 68 65 73 20 66 72 65 64 2c 20 62 75 74 20 |tches fred, but | 0000bc10 6f 6e 6c 79 20 61 74 20 74 68 65 20 73 74 61 72 |only at the star| 0000bc20 74 20 6f 66 20 61 20 6c 69 6e 65 2e 0a 20 6d 61 |t of a line.. ma| 0000bc30 69 6e 60 28 4d 61 74 63 68 65 73 20 27 6d 61 69 |in`(Matches 'mai| 0000bc40 6e 28 27 0a 20 5c 64 5c 25 4d 61 74 63 68 65 73 |n('. \d\%Matches| 0000bc50 20 61 6e 79 20 6e 75 6d 62 65 72 20 28 77 68 65 | any number (whe| 0000bc60 72 65 20 5c 64 20 69 73 20 6d 61 63 72 6f 65 64 |re \d is macroed| 0000bc70 20 61 73 20 5c 5b 30 2d 39 5d 29 2e 0a 0a 48 69 | as \[0-9])...Hi| 0000bc80 6e 74 73 3a 0a 0a 54 68 65 20 73 65 61 72 63 68 |nts:..The search| 0000bc90 20 77 69 6c 6c 20 62 65 20 4d 55 43 48 20 66 61 | will be MUCH fa| 0000bca0 73 74 65 72 20 69 66 20 79 6f 75 20 67 69 76 65 |ster if you give| 0000bcb0 20 61 20 64 65 66 69 6e 69 74 65 20 66 69 72 73 | a definite firs| 0000bcc0 74 20 63 68 61 72 61 63 74 65 72 20 74 6f 0a 73 |t character to.s| 0000bcd0 74 61 72 74 20 77 69 74 68 2e 20 45 67 20 27 61 |tart with. Eg 'a| 0000bce0 5c 28 6e 64 5c 7c 70 70 6c 65 5c 29 27 20 77 69 |\(nd\|pple\)' wi| 0000bcf0 6c 6c 20 62 65 20 61 20 6c 6f 74 20 66 61 73 74 |ll be a lot fast| 0000bd00 65 72 20 74 68 61 6e 20 27 61 6e 64 5c 7c 61 70 |er than 'and\|ap| 0000bd10 70 6c 65 27 2e 0a 49 66 20 74 68 65 20 73 65 61 |ple'..If the sea| 0000bd20 72 63 68 20 74 61 6b 65 73 20 6c 6f 6e 67 65 72 |rch takes longer| 0000bd30 20 74 68 61 6e 20 31 2f 33 20 73 65 63 6f 6e 64 | than 1/3 second| 0000bd40 2c 20 74 68 65 6e 20 61 6e 20 68 6f 75 72 67 6c |, then an hourgl| 0000bd50 61 73 73 20 77 69 6c 6c 20 63 6f 6d 65 20 75 70 |ass will come up| 0000bd60 0a 64 69 73 70 6c 61 79 69 6e 67 20 74 68 65 20 |.displaying the | 0000bd70 70 6f 73 69 74 69 6f 6e 20 69 6e 20 74 68 65 20 |position in the | 0000bd80 66 69 6c 65 20 61 73 20 61 20 70 65 72 63 65 6e |file as a percen| 0000bd90 74 61 67 65 20 75 6e 64 65 72 6e 65 61 74 68 2e |tage underneath.| 0000bda0 20 59 6f 75 20 6d 61 79 20 73 74 6f 70 0a 74 68 | You may stop.th| 0000bdb0 65 20 73 65 61 72 63 68 20 62 79 20 70 72 65 73 |e search by pres| 0000bdc0 73 69 6e 67 20 45 73 63 61 70 65 2c 20 61 6e 64 |sing Escape, and| 0000bdd0 20 74 68 65 20 70 61 72 74 69 61 6c 20 72 65 73 | the partial res| 0000bde0 75 6c 74 73 20 77 69 6c 6c 20 62 65 20 64 69 73 |ults will be dis| 0000bdf0 70 6c 61 79 65 64 20 69 66 0a 79 6f 75 20 61 72 |played if.you ar| 0000be00 65 20 75 73 69 6e 67 20 27 53 65 61 72 63 68 20 |e using 'Search | 0000be10 74 6f 20 62 75 66 66 65 72 27 2e 0a 0a 45 2e 32 |to buffer'...E.2| 0000be20 20 54 68 65 20 52 65 70 6c 61 63 65 20 77 69 6e | The Replace win| 0000be30 64 6f 77 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |dow.------------| 0000be40 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 41 20 53 65 |----------..A Se| 0000be50 61 72 63 68 20 61 6e 64 20 52 65 70 6c 61 63 65 |arch and Replace| 0000be60 20 77 69 6e 64 6f 77 20 63 61 6e 20 62 65 20 63 | window can be c| 0000be70 72 65 61 74 65 64 20 62 79 20 70 72 65 73 73 69 |reated by pressi| 0000be80 6e 67 20 73 68 69 66 74 2d 46 34 20 6f 72 20 66 |ng shift-F4 or f| 0000be90 72 6f 6d 20 74 68 65 0a 27 66 69 6c 65 27 20 6d |rom the.'file' m| 0000bea0 65 6e 75 2e 20 54 68 65 20 66 69 72 73 74 20 63 |enu. The first c| 0000beb0 6f 6c 75 6d 6e 20 73 65 74 73 20 74 68 65 20 73 |olumn sets the s| 0000bec0 65 61 72 63 68 20 73 74 61 72 74 20 70 6f 73 69 |earch start posi| 0000bed0 74 69 6f 6e 20 61 6e 64 20 64 69 72 65 63 74 69 |tion and directi| 0000bee0 6f 6e 20 61 73 0a 69 6e 20 74 68 65 20 53 65 61 |on as.in the Sea| 0000bef0 72 63 68 20 77 69 6e 64 6f 77 20 64 65 73 63 72 |rch window descr| 0000bf00 69 62 65 64 20 61 62 6f 76 65 2e 20 54 68 65 20 |ibed above. The | 0000bf10 73 65 63 6f 6e 64 20 63 6f 6c 75 6d 6e 20 73 65 |second column se| 0000bf20 6c 65 63 74 73 20 65 69 74 68 65 72 0a 73 65 6c |lects either.sel| 0000bf30 65 63 74 69 76 65 20 6f 72 20 67 6c 6f 62 61 6c |ective or global| 0000bf40 20 72 65 70 6c 61 63 65 2e 0a 0a 46 6f 72 20 61 | replace...For a| 0000bf50 20 73 65 6c 65 63 74 69 76 65 20 72 65 70 6c 61 | selective repla| 0000bf60 63 65 2c 20 65 61 63 68 20 6d 61 74 63 68 20 77 |ce, each match w| 0000bf70 69 6c 6c 20 62 65 20 68 69 67 68 6c 69 67 68 74 |ill be highlight| 0000bf80 65 64 20 61 6e 64 20 61 20 27 52 65 70 6c 61 63 |ed and a 'Replac| 0000bf90 65 20 3f 27 0a 77 69 6e 64 6f 77 20 77 69 6c 6c |e ?'.window will| 0000bfa0 20 61 70 70 65 61 72 2e 20 50 72 65 73 73 20 27 | appear. Press '| 0000bfb0 52 27 20 74 6f 20 72 65 70 6c 61 63 65 20 74 68 |R' to replace th| 0000bfc0 61 74 20 6d 61 74 63 68 20 61 6e 64 20 6d 6f 76 |at match and mov| 0000bfd0 65 20 6f 6e 74 6f 20 74 68 65 20 6e 65 78 74 0a |e onto the next.| 0000bfe0 6d 61 74 63 68 2e 20 50 72 65 73 73 20 27 53 27 |match. Press 'S'| 0000bff0 20 74 6f 20 73 6b 69 70 20 74 6f 20 74 68 65 20 | to skip to the | 0000c000 6e 65 78 74 20 6d 61 74 63 68 20 77 69 74 68 6f |next match witho| 0000c010 75 74 20 72 65 70 6c 61 63 65 6d 65 6e 74 2e 20 |ut replacement. | 0000c020 50 72 65 73 73 20 27 54 27 20 6f 72 0a 27 45 27 |Press 'T' or.'E'| 0000c030 20 74 6f 20 72 65 70 6c 61 63 65 20 61 6c 6c 20 | to replace all | 0000c040 6d 61 74 63 68 65 73 20 66 72 6f 6d 20 74 68 69 |matches from thi| 0000c050 73 20 70 6f 69 6e 74 20 28 69 6e 63 6c 75 73 69 |s point (inclusi| 0000c060 76 65 29 20 74 6f 20 74 68 65 20 65 6e 64 20 6f |ve) to the end o| 0000c070 66 20 74 68 65 0a 66 69 6c 65 2e 20 50 72 65 73 |f the.file. Pres| 0000c080 73 20 27 43 27 20 6f 72 20 45 53 43 41 50 45 20 |s 'C' or ESCAPE | 0000c090 74 6f 20 73 74 6f 70 20 74 68 65 20 73 65 6c 65 |to stop the sele| 0000c0a0 63 74 69 76 65 20 72 65 70 6c 61 63 65 2e 0a 0a |ctive replace...| 0000c0b0 54 68 65 20 66 6f 72 6d 61 74 20 6f 66 20 74 68 |The format of th| 0000c0c0 65 20 73 65 61 72 63 68 20 73 74 72 69 6e 67 20 |e search string | 0000c0d0 69 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 |is described in | 0000c0e0 73 65 63 74 69 6f 6e 20 45 2e 32 2e 20 49 6e 20 |section E.2. In | 0000c0f0 74 68 65 20 72 65 70 6c 61 63 65 0a 73 74 72 69 |the replace.stri| 0000c100 6e 67 2c 20 4d 41 43 52 4f 53 20 41 52 45 20 4e |ng, MACROS ARE N| 0000c110 4f 54 20 45 58 50 41 4e 44 45 44 20 61 6e 64 20 |OT EXPANDED and | 0000c120 79 6f 75 20 6d 61 79 20 75 73 65 20 74 68 65 20 |you may use the | 0000c130 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 74 72 6f |following contro| 0000c140 6c 0a 73 65 71 75 65 6e 63 65 73 3a 0a 0a 5c 64 |l.sequences:..\d| 0000c150 64 64 52 65 70 6c 61 63 65 20 77 69 74 68 20 74 |ddReplace with t| 0000c160 68 65 20 64 65 63 69 6d 61 6c 20 62 79 74 65 20 |he decimal byte | 0000c170 64 64 64 2e 0a 5c 26 68 68 52 65 70 6c 61 63 65 |ddd..\&hhReplace| 0000c180 20 77 69 74 68 20 74 68 65 20 68 65 78 20 62 79 | with the hex by| 0000c190 74 65 20 68 68 2e 0a 5c 78 52 65 70 6c 61 63 65 |te hh..\xReplace| 0000c1a0 20 77 69 74 68 20 63 68 61 72 61 63 74 65 72 20 | with character | 0000c1b0 27 78 27 20 28 65 67 20 27 5c 5c 27 20 2d 3e 20 |'x' (eg '\\' -> | 0000c1c0 27 5c 27 29 2e 0a 26 6e 52 65 70 6c 61 63 65 20 |'\')..&nReplace | 0000c1d0 77 69 74 68 20 74 68 65 20 6e 27 74 68 20 5c 7b |with the n'th \{| 0000c1e0 2c 5c 7d 20 65 78 70 72 65 73 73 69 6f 6e 20 69 |,\} expression i| 0000c1f0 6e 20 74 68 65 20 73 65 61 72 63 68 20 73 74 72 |n the search str| 0000c200 69 6e 67 20 28 6e 3c 31 30 29 2e 0a 26 26 72 65 |ing (n<10)..&&re| 0000c210 70 6c 61 63 65 20 77 69 74 68 20 61 6e 20 27 26 |place with an '&| 0000c220 27 0a 0a 49 66 20 79 6f 75 20 77 69 73 68 20 74 |'..If you wish t| 0000c230 6f 20 69 6e 63 6c 75 64 65 20 70 61 72 74 73 20 |o include parts | 0000c240 6f 66 20 74 68 65 20 6d 61 74 63 68 20 73 74 72 |of the match str| 0000c250 69 6e 67 20 69 6e 20 74 68 65 20 72 65 70 6c 61 |ing in the repla| 0000c260 63 65 6d 65 6e 74 20 73 74 72 69 6e 67 0a 74 68 |cement string.th| 0000c270 65 6e 20 79 6f 75 20 6d 75 73 74 20 73 75 72 72 |en you must surr| 0000c280 6f 75 6e 64 20 74 68 65 20 72 65 6c 65 76 61 6e |ound the relevan| 0000c290 74 20 73 65 63 74 69 6f 6e 73 20 69 6e 20 74 68 |t sections in th| 0000c2a0 65 20 73 65 61 72 63 68 20 73 74 72 69 6e 67 20 |e search string | 0000c2b0 77 69 74 68 20 7b 2c 7d 0a 74 79 70 65 20 62 72 |with {,}.type br| 0000c2c0 61 63 6b 65 74 73 20 28 61 73 73 75 6d 69 6e 67 |ackets (assuming| 0000c2d0 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 6d 61 | the standard ma| 0000c2e0 63 72 6f 73 29 2e 20 4e 6f 74 65 20 74 68 61 74 |cros). Note that| 0000c2f0 20 6d 61 63 72 6f 73 20 6c 69 6b 65 20 27 5c 6e | macros like '\n| 0000c300 27 0a 73 68 6f 75 6c 64 20 6e 6f 74 20 62 65 20 |'.should not be | 0000c310 69 6e 73 65 72 74 65 64 20 69 6e 20 61 20 72 65 |inserted in a re| 0000c320 70 6c 61 63 65 20 73 74 72 69 6e 67 2c 20 79 6f |place string, yo| 0000c330 75 20 77 69 6c 6c 20 6a 75 73 74 20 67 65 74 20 |u will just get | 0000c340 27 6e 27 2e 0a 0a 45 78 61 6d 70 6c 65 73 3a 0a |'n'...Examples:.| 0000c350 0a 20 53 65 61 72 63 68 20 73 74 72 69 6e 67 3a |. Search string:| 0000c360 52 65 70 6c 61 63 65 20 73 74 72 69 6e 67 3a 41 |Replace string:A| 0000c370 63 74 69 6f 6e 3a 0a 0a 20 27 63 61 74 27 27 27 |ction:.. 'cat'''| 0000c380 52 65 6d 6f 76 65 73 20 61 6c 6c 20 6f 63 63 75 |Removes all occu| 0000c390 72 72 65 6e 63 65 73 20 6f 66 20 27 63 61 74 27 |rrences of 'cat'| 0000c3a0 0a 20 27 7b 63 61 74 7d 27 27 26 31 73 27 52 65 |. '{cat}''&1s'Re| 0000c3b0 70 6c 61 63 65 73 20 27 63 61 74 27 20 77 69 74 |places 'cat' wit| 0000c3c0 68 20 27 63 61 74 73 27 20 70 72 65 73 65 72 76 |h 'cats' preserv| 0000c3d0 69 6e 67 20 63 61 73 65 2e 0a 20 27 74 69 6d 65 |ing case.. 'time| 0000c3e0 3d 7b 23 7d 27 27 74 69 6d 65 20 69 73 20 26 31 |={#}''time is &1| 0000c3f0 27 52 65 70 6c 61 63 65 73 20 27 74 69 6d 65 3d |'Replaces 'time=| 0000c400 35 38 27 20 77 69 74 68 20 27 74 69 6d 65 20 69 |58' with 'time i| 0000c410 73 20 35 38 27 20 65 74 63 2e 0a 0a 54 6f 20 63 |s 58' etc...To c| 0000c420 6f 6e 76 65 72 74 20 73 70 61 63 65 73 20 62 65 |onvert spaces be| 0000c430 74 77 65 65 6e 20 63 6f 6c 75 6d 6e 73 20 6f 66 |tween columns of| 0000c440 20 66 69 67 75 72 65 73 20 69 6e 20 61 20 74 61 | figures in a ta| 0000c450 62 6c 65 20 69 6e 74 6f 20 74 61 62 20 63 68 61 |ble into tab cha| 0000c460 72 61 63 74 65 72 73 0a 6d 61 6b 65 20 74 68 65 |racters.make the| 0000c470 20 66 69 6e 64 20 73 74 72 69 6e 67 20 27 7b 5c | find string '{\| 0000c480 64 7d 20 20 5c 2a 27 20 61 6e 64 20 74 68 65 20 |d} \*' and the | 0000c490 72 65 70 6c 61 63 65 20 73 74 72 69 6e 67 20 27 |replace string '| 0000c4a0 26 31 5c 39 27 2e 20 41 6e 6f 74 68 65 72 20 77 |&1\9'. Another w| 0000c4b0 61 79 0a 74 6f 20 64 6f 20 74 68 69 73 20 69 73 |ay.to do this is| 0000c4c0 20 72 65 70 6c 61 63 65 20 27 7b 5c 64 7d 20 5c | replace '{\d} \| 0000c4d0 25 27 20 77 69 74 68 20 27 26 31 5c 39 27 2e 0a |%' with '&1\9'..| 0000c4e0 20 0a 45 2e 33 20 4b 65 79 62 6f 61 72 64 20 28 | .E.3 Keyboard (| 0000c4f0 69 6e 63 72 65 6d 65 6e 74 61 6c 2f 69 6e 74 65 |incremental/inte| 0000c500 72 61 63 74 69 76 65 29 20 73 65 61 72 63 68 0a |ractive) search.| 0000c510 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 0000c530 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 49 |-------------..I| 0000c540 6e 63 72 65 6d 65 6e 74 61 6c 20 73 65 61 72 63 |ncremental searc| 0000c550 68 20 69 73 20 61 63 74 69 76 61 74 65 64 20 62 |h is activated b| 0000c560 79 20 70 72 65 73 73 69 6e 67 20 63 74 72 6c 2d |y pressing ctrl-| 0000c570 53 20 28 53 65 61 72 63 68 20 66 6f 72 77 61 72 |S (Search forwar| 0000c580 64 29 20 6f 72 20 63 74 72 6c 2d 52 0a 28 52 65 |d) or ctrl-R.(Re| 0000c590 76 65 72 73 65 20 73 65 61 72 63 68 29 2e 20 57 |verse search). W| 0000c5a0 68 65 6e 20 79 6f 75 20 64 6f 20 74 68 69 73 20 |hen you do this | 0000c5b0 61 20 6d 69 6e 69 62 75 66 66 65 72 20 77 69 6c |a minibuffer wil| 0000c5c0 6c 20 62 65 20 6f 70 65 6e 65 64 20 66 6f 72 20 |l be opened for | 0000c5d0 79 6f 75 20 74 6f 0a 74 79 70 65 20 74 68 65 20 |you to.type the | 0000c5e0 73 65 61 72 63 68 20 73 74 72 69 6e 67 20 69 6e |search string in| 0000c5f0 74 6f 2e 20 41 73 20 79 6f 75 20 74 79 70 65 20 |to. As you type | 0000c600 74 68 65 20 73 65 61 72 63 68 20 73 74 72 69 6e |the search strin| 0000c610 67 2c 20 5a 61 70 20 77 69 6c 6c 0a 73 65 61 72 |g, Zap will.sear| 0000c620 63 68 20 74 68 72 6f 75 67 68 20 74 68 65 20 74 |ch through the t| 0000c630 65 78 74 20 70 6c 61 63 69 6e 67 20 74 68 65 20 |ext placing the | 0000c640 63 75 72 73 6f 72 20 61 74 20 74 68 65 20 65 6e |cursor at the en| 0000c650 64 20 6f 66 20 74 68 65 20 6e 65 78 74 20 6d 61 |d of the next ma| 0000c660 74 63 68 2e 0a 49 66 20 74 68 65 72 65 20 69 73 |tch..If there is| 0000c670 20 6e 6f 20 6d 61 74 63 68 20 74 68 65 6e 20 5a | no match then Z| 0000c680 61 70 20 77 69 6c 6c 20 62 65 65 70 20 61 6e 64 |ap will beep and| 0000c690 20 70 72 69 6e 74 20 22 28 66 61 69 6c 29 22 2e | print "(fail)".| 0000c6a0 20 59 6f 75 20 6d 61 79 20 75 73 65 20 74 68 65 | You may use the| 0000c6b0 0a 44 45 4c 45 54 45 20 6b 65 79 20 74 6f 20 72 |.DELETE key to r| 0000c6c0 65 6d 6f 76 65 20 63 68 61 72 61 63 74 65 72 73 |emove characters| 0000c6d0 20 66 72 6f 6d 20 74 68 65 20 73 65 61 72 63 68 | from the search| 0000c6e0 20 73 74 72 69 6e 67 2e 0a 0a 54 6f 20 68 61 6c | string...To hal| 0000c6f0 74 20 74 68 65 20 73 65 61 72 63 68 20 61 74 20 |t the search at | 0000c700 74 68 65 20 63 75 72 72 65 6e 74 20 70 6f 73 69 |the current posi| 0000c710 74 69 6f 6e 2c 20 70 72 65 73 73 20 45 73 63 61 |tion, press Esca| 0000c720 70 65 20 6f 72 20 52 65 74 75 72 6e 2e 20 49 66 |pe or Return. If| 0000c730 20 79 6f 75 0a 70 72 65 73 73 20 61 6e 20 61 72 | you.press an ar| 0000c740 72 6f 77 20 6f 72 20 66 75 6e 63 74 69 6f 6e 20 |row or function | 0000c750 6b 65 79 20 74 68 65 6e 20 74 68 65 20 73 65 61 |key then the sea| 0000c760 72 63 68 20 77 69 6c 6c 20 62 65 20 68 61 6c 74 |rch will be halt| 0000c770 65 64 20 61 6e 64 20 74 68 65 20 6b 65 79 0a 74 |ed and the key.t| 0000c780 68 65 6e 20 61 63 74 65 64 20 75 70 6f 6e 2e 20 |hen acted upon. | 0000c790 41 6c 74 65 72 6e 61 74 69 76 65 6c 79 2c 20 70 |Alternatively, p| 0000c7a0 72 65 73 73 69 6e 67 20 63 47 20 28 43 61 6e 63 |ressing cG (Canc| 0000c7b0 65 6c 29 20 77 69 6c 6c 20 63 61 75 73 65 20 74 |el) will cause t| 0000c7c0 68 65 20 73 65 61 72 63 68 20 74 6f 0a 62 65 20 |he search to.be | 0000c7d0 63 61 6e 63 65 6c 6c 65 64 20 61 6e 64 20 74 68 |cancelled and th| 0000c7e0 65 20 63 75 72 73 6f 72 20 72 65 74 75 72 6e 65 |e cursor returne| 0000c7f0 64 20 74 6f 20 69 74 73 20 69 6e 69 74 69 61 6c |d to its initial| 0000c800 20 70 6f 73 69 74 69 6f 6e 2e 20 54 68 69 73 20 | position. This | 0000c810 73 65 74 75 70 0a 73 68 6f 75 6c 64 20 62 65 20 |setup.should be | 0000c820 66 61 6d 69 6c 69 61 72 20 74 6f 20 75 73 65 72 |familiar to user| 0000c830 73 20 6f 66 20 45 6d 61 63 73 2e 0a 0a 50 72 65 |s of Emacs...Pre| 0000c840 73 73 69 6e 67 20 63 74 72 6c 2d 53 20 6f 72 20 |ssing ctrl-S or | 0000c850 63 74 72 6c 2d 52 20 77 68 69 6c 73 74 20 69 6e |ctrl-R whilst in| 0000c860 20 73 65 61 72 63 68 20 6d 6f 64 65 20 77 69 6c | search mode wil| 0000c870 6c 20 6d 6f 76 65 20 79 6f 75 20 74 6f 20 74 68 |l move you to th| 0000c880 65 0a 6e 65 78 74 2f 70 72 65 76 69 6f 75 73 20 |e.next/previous | 0000c890 6d 61 74 63 68 65 73 2e 20 49 66 20 74 68 65 20 |matches. If the | 0000c8a0 73 65 61 72 63 68 20 73 74 72 69 6e 67 20 77 61 |search string wa| 0000c8b0 73 20 65 6d 70 74 79 20 74 68 65 6e 20 74 68 65 |s empty then the| 0000c8c0 20 70 72 65 76 69 6f 75 73 0a 73 65 61 72 63 68 | previous.search| 0000c8d0 20 73 74 72 69 6e 67 20 77 69 6c 6c 20 62 65 20 | string will be | 0000c8e0 70 6c 61 63 65 64 20 69 6e 20 74 68 65 20 62 75 |placed in the bu| 0000c8f0 66 66 65 72 2e 0a 0a 4d 61 63 72 6f 73 20 61 72 |ffer...Macros ar| 0000c900 65 20 74 75 72 6e 65 64 20 6f 66 66 20 64 75 72 |e turned off dur| 0000c910 69 6e 67 20 74 68 65 20 73 65 61 72 63 68 20 73 |ing the search s| 0000c920 6f 20 28 27 73 20 65 74 63 20 61 63 74 20 61 73 |o ('s etc act as| 0000c930 20 6e 6f 72 6d 61 6c 2e 20 48 6f 77 65 76 65 72 | normal. However| 0000c940 2c 0a 5c 28 20 61 6e 64 20 61 6c 6c 20 6f 74 68 |,.\( and all oth| 0000c950 65 72 20 5c 2d 73 74 61 72 74 69 6e 67 20 63 6f |er \-starting co| 0000c960 6d 6d 61 6e 64 73 20 77 69 6c 6c 20 73 74 69 6c |mmands will stil| 0000c970 6c 20 77 6f 72 6b 20 73 6f 20 79 6f 75 20 6d 75 |l work so you mu| 0000c980 73 74 20 74 79 70 65 20 5c 5c 0a 74 6f 20 73 65 |st type \\.to se| 0000c990 61 72 63 68 20 66 6f 72 20 61 20 5c 2e 0a 0a 2a |arch for a \...*| 0000c9a0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 0000c9e0 2a 2a 2a 2a 2a 2a 2a 2a 0a 2a 20 53 65 63 74 69 |********.* Secti| 0000c9f0 6f 6e 20 46 3a 4f 74 68 65 72 20 66 65 61 74 75 |on F:Other featu| 0000ca00 72 65 73 2a 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |res*.***********| 0000ca10 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 0000ca40 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 0a 0a |**************..| 0000ca50 46 2e 31 20 4c 65 61 72 6e 69 6e 67 20 6b 65 79 |F.1 Learning key| 0000ca60 20 73 65 71 75 65 6e 63 65 73 0a 2d 2d 2d 2d 2d | sequences.-----| 0000ca70 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 0000ca80 2d 2d 2d 2d 2d 0a 0a 54 68 69 73 20 66 65 61 74 |-----..This feat| 0000ca90 75 72 65 20 6f 66 20 5a 61 70 20 69 73 20 76 65 |ure of Zap is ve| 0000caa0 72 79 20 73 69 6d 70 6c 65 20 74 6f 20 75 73 65 |ry simple to use| 0000cab0 2c 20 61 6e 64 20 76 65 72 79 20 75 73 65 66 75 |, and very usefu| 0000cac0 6c 2e 20 54 6f 20 73 74 61 72 74 0a 27 6c 65 61 |l. To start.'lea| 0000cad0 72 6e 69 6e 67 27 20 61 20 6b 65 79 20 73 65 71 |rning' a key seq| 0000cae0 75 65 6e 63 65 2c 20 73 69 6d 70 6c 79 20 70 72 |uence, simply pr| 0000caf0 65 73 73 20 63 74 72 6c 2d 4c 2e 20 54 79 70 65 |ess ctrl-L. Type| 0000cb00 20 74 68 65 20 73 65 71 75 65 6e 63 65 20 79 6f | the sequence yo| 0000cb10 75 20 77 69 73 68 20 74 6f 0a 6c 65 61 72 6e 20 |u wish to.learn | 0000cb20 61 6e 64 20 74 68 65 6e 20 70 72 65 73 73 20 63 |and then press c| 0000cb30 74 72 6c 2d 4c 20 61 67 61 69 6e 2e 20 50 72 65 |trl-L again. Pre| 0000cb40 73 73 20 46 31 20 74 6f 20 65 78 65 63 75 74 65 |ss F1 to execute| 0000cb50 20 74 68 65 20 6c 65 61 72 6e 74 20 73 65 71 75 | the learnt sequ| 0000cb60 65 6e 63 65 2e 0a 0a 4e 6f 74 65 20 66 69 72 73 |ence...Note firs| 0000cb70 74 6c 79 20 74 68 61 74 20 5a 61 70 20 77 69 6c |tly that Zap wil| 0000cb80 6c 20 62 65 65 70 20 61 66 74 65 72 20 65 76 65 |l beep after eve| 0000cb90 72 79 20 6b 65 79 70 72 65 73 73 20 79 6f 75 20 |ry keypress you | 0000cba0 6d 61 6b 65 20 74 6f 20 72 65 6d 69 6e 64 20 79 |make to remind y| 0000cbb0 6f 75 0a 74 68 61 74 20 69 74 20 69 73 20 62 65 |ou.that it is be| 0000cbc0 69 6e 67 20 73 74 6f 72 65 64 2e 20 53 65 63 6f |ing stored. Seco| 0000cbd0 6e 64 6c 79 20 6e 6f 74 65 20 74 68 61 74 20 74 |ndly note that t| 0000cbe0 68 65 20 45 53 43 41 50 45 20 6b 65 79 20 77 69 |he ESCAPE key wi| 0000cbf0 6c 6c 20 4e 4f 54 20 73 74 6f 70 20 74 68 65 0a |ll NOT stop the.| 0000cc00 6c 65 61 72 6e 69 6e 67 20 70 72 6f 63 65 73 73 |learning process| 0000cc10 2e 20 4f 6e 6c 79 20 63 74 72 6c 2d 4c 20 77 69 |. Only ctrl-L wi| 0000cc20 6c 6c 20 73 74 6f 70 20 69 74 2e 20 54 68 75 73 |ll stop it. Thus| 0000cc30 20 79 6f 75 20 63 61 6e 20 6c 65 61 72 6e 20 73 | you can learn s| 0000cc40 65 71 75 65 6e 63 65 73 0a 77 68 69 63 68 20 75 |equences.which u| 0000cc50 73 65 20 69 6e 63 72 65 6d 65 6e 74 61 6c 20 73 |se incremental s| 0000cc60 65 61 72 63 68 2c 20 6f 72 20 6b 65 79 62 6f 61 |earch, or keyboa| 0000cc70 72 64 20 73 65 6c 65 63 74 69 6f 6e 20 6f 66 20 |rd selection of | 0000cc80 72 65 67 69 6f 6e 73 2e 20 42 6f 74 68 20 74 68 |regions. Both th| 0000cc90 65 73 65 0a 61 63 74 69 6f 6e 73 20 69 6e 76 6f |ese.actions invo| 0000cca0 6c 76 65 20 74 68 65 20 45 73 63 61 70 65 20 6b |lve the Escape k| 0000ccb0 65 79 2e 0a 0a 4f 6e 63 65 20 79 6f 75 20 68 61 |ey...Once you ha| 0000ccc0 76 65 20 6c 65 61 72 6e 74 20 61 20 73 65 71 75 |ve learnt a sequ| 0000ccd0 65 6e 63 65 2c 20 79 6f 75 20 6d 61 79 20 27 62 |ence, you may 'b| 0000cce0 69 6e 64 27 20 74 68 61 74 20 73 65 71 75 65 6e |ind' that sequen| 0000ccf0 63 65 20 74 6f 20 61 20 6b 65 79 20 73 6f 0a 74 |ce to a key so.t| 0000cd00 68 61 74 20 70 72 65 73 73 69 6e 67 20 74 68 61 |hat pressing tha| 0000cd10 74 20 6b 65 79 20 69 6e 20 66 75 74 75 72 65 20 |t key in future | 0000cd20 63 61 75 73 65 73 20 74 68 65 20 73 61 6d 65 20 |causes the same | 0000cd30 73 65 72 69 65 73 20 6f 66 20 61 63 74 69 6f 6e |series of action| 0000cd40 73 20 74 6f 20 74 61 6b 65 0a 70 6c 61 63 65 2e |s to take.place.| 0000cd50 20 54 6f 20 64 6f 20 74 68 69 73 20 70 72 65 73 | To do this pres| 0000cd60 73 20 43 54 52 4c 20 46 38 20 61 6e 64 20 74 68 |s CTRL F8 and th| 0000cd70 65 6e 20 70 72 65 73 73 20 74 68 65 20 6b 65 79 |en press the key| 0000cd80 20 79 6f 75 20 77 61 6e 74 20 74 6f 20 62 69 6e | you want to bin| 0000cd90 64 20 74 68 65 0a 73 65 71 75 65 6e 63 65 20 74 |d the.sequence t| 0000cda0 6f 20 28 6f 72 20 45 73 63 61 70 65 20 69 66 20 |o (or Escape if | 0000cdb0 69 74 20 77 61 73 20 61 20 6d 69 73 74 61 6b 65 |it was a mistake| 0000cdc0 20 2d 20 45 73 63 61 70 65 20 77 6f 6e 27 74 20 | - Escape won't | 0000cdd0 62 65 20 62 6f 75 6e 64 29 2e 0a 0a 54 68 65 20 |be bound)...The | 0000cde0 6c 65 61 72 6e 20 66 65 61 74 75 72 65 20 68 61 |learn feature ha| 0000cdf0 73 20 6d 61 6e 79 20 75 73 65 73 3a 0a 0a 45 78 |s many uses:..Ex| 0000ce00 61 6d 70 6c 65 20 31 3a 0a 0a 53 75 70 70 6f 73 |ample 1:..Suppos| 0000ce10 65 20 79 6f 75 20 77 61 6e 74 65 64 20 74 6f 20 |e you wanted to | 0000ce20 69 6e 73 65 72 74 20 61 20 74 61 62 20 61 74 20 |insert a tab at | 0000ce30 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 |the beginning of| 0000ce40 20 61 20 67 72 6f 75 70 20 6f 66 20 6c 69 6e 65 | a group of line| 0000ce50 73 2e 20 4f 6e 65 0a 77 61 79 20 77 6f 75 6c 64 |s. One.way would| 0000ce60 20 62 65 20 74 6f 20 75 73 65 20 74 68 65 20 69 | be to use the i| 0000ce70 6e 64 65 6e 74 20 72 65 67 69 6f 6e 20 6f 70 74 |ndent region opt| 0000ce80 69 6f 6e 2e 20 41 6e 6f 74 68 65 72 20 77 61 79 |ion. Another way| 0000ce90 20 68 6f 77 65 76 65 72 20 77 6f 75 6c 64 20 62 | however would b| 0000cea0 65 20 74 6f 0a 6c 65 61 72 6e 20 74 68 65 20 73 |e to.learn the s| 0000ceb0 65 71 75 65 6e 63 65 3a 20 54 41 42 2c 44 4f 57 |equence: TAB,DOW| 0000cec0 4e 2c 43 4c 45 46 54 20 61 6e 64 20 74 68 65 6e |N,CLEFT and then| 0000ced0 20 70 72 65 73 73 20 46 31 20 61 20 6e 75 6d 62 | press F1 a numb| 0000cee0 65 72 20 6f 66 20 74 69 6d 65 73 2e 0a 0a 45 78 |er of times...Ex| 0000cef0 61 6d 70 6c 65 20 32 3a 0a 0a 53 75 70 70 6f 73 |ample 2:..Suppos| 0000cf00 65 20 79 6f 75 20 77 61 6e 74 65 64 20 74 6f 20 |e you wanted to | 0000cf10 67 6f 20 74 6f 20 74 68 65 20 6e 65 78 74 20 6d |go to the next m| 0000cf20 61 74 63 68 20 6f 66 20 27 63 61 74 27 20 61 6e |atch of 'cat' an| 0000cf30 64 20 73 77 69 74 63 68 20 74 68 65 20 63 61 73 |d switch the cas| 0000cf40 65 20 6f 66 0a 74 68 65 20 6c 65 74 74 65 72 73 |e of.the letters| 0000cf50 2e 20 59 6f 75 20 63 6f 75 6c 64 20 6c 65 61 72 |. You could lear| 0000cf60 6e 20 74 68 65 20 73 65 71 75 65 6e 63 65 3a 0a |n the sequence:.| 0000cf70 0a 20 63 74 72 6c 2d 53 20 43 20 41 20 54 20 45 |. ctrl-S C A T E| 0000cf80 53 43 41 50 45 20 4c 45 46 54 20 4c 45 46 54 20 |SCAPE LEFT LEFT | 0000cf90 4c 45 46 54 20 73 63 53 20 73 63 53 20 73 63 53 |LEFT scS scS scS| 0000cfa0 0a 20 0a 61 6e 64 20 74 68 65 6e 20 70 72 65 73 |. .and then pres| 0000cfb0 73 20 46 31 20 61 20 6e 75 6d 62 65 72 20 6f 66 |s F1 a number of| 0000cfc0 20 74 69 6d 65 73 2e 0a 0a 45 78 65 72 63 69 73 | times...Exercis| 0000cfd0 65 20 28 66 6f 72 20 74 68 65 20 72 65 61 64 65 |e (for the reade| 0000cfe0 72 29 3a 0a 0a 57 68 65 6e 20 65 64 69 74 69 6e |r):..When editin| 0000cff0 67 20 74 68 69 73 20 21 48 65 6c 70 20 66 69 6c |g this !Help fil| 0000d000 65 20 49 20 64 65 63 69 64 65 64 20 74 6f 20 73 |e I decided to s| 0000d010 77 69 74 63 68 20 74 68 65 20 63 6f 6c 75 6d 6e |witch the column| 0000d020 73 20 6c 61 62 65 6c 6c 65 64 20 27 4b 65 79 3a |s labelled 'Key:| 0000d030 27 0a 61 6e 64 20 27 43 6f 6d 6d 61 6e 64 3a 27 |'.and 'Command:'| 0000d040 20 61 72 6f 75 6e 64 20 69 6e 20 73 65 63 74 69 | around in secti| 0000d050 6f 6e 20 41 2e 31 2e 20 49 20 64 69 64 20 74 68 |on A.1. I did th| 0000d060 69 73 20 62 79 20 6c 65 61 72 6e 69 6e 67 20 61 |is by learning a| 0000d070 20 6b 65 79 20 73 65 71 75 65 6e 63 65 0a 61 6e | key sequence.an| 0000d080 64 20 74 68 65 6e 20 49 20 6f 6e 6c 79 20 68 61 |d then I only ha| 0000d090 64 20 74 6f 20 70 72 65 73 73 20 46 31 20 6f 6e |d to press F1 on| 0000d0a0 63 65 20 66 6f 72 20 65 61 63 68 20 6c 69 6e 65 |ce for each line| 0000d0b0 2e 20 57 68 61 74 20 77 61 73 20 74 68 65 20 73 |. What was the s| 0000d0c0 65 71 75 65 6e 63 65 3f 0a 28 6e 6f 20 70 72 69 |equence?.(no pri| 0000d0d0 7a 65 73 20 75 6e 66 6f 72 74 75 6e 61 74 65 6c |zes unfortunatel| 0000d0e0 79 29 2e 0a 0a 46 2e 32 20 54 61 62 73 20 61 6e |y)...F.2 Tabs an| 0000d0f0 64 20 69 6e 64 65 6e 74 69 6e 67 0a 2d 2d 2d 2d |d indenting.----| 0000d100 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 0000d110 2d 2d 0a 0a 54 68 65 20 73 74 61 6e 64 61 72 64 |--..The standard| 0000d120 20 74 61 62 20 63 68 61 72 61 63 74 65 72 20 69 | tab character i| 0000d130 73 20 74 61 6b 65 6e 20 74 6f 20 62 65 20 26 30 |s taken to be &0| 0000d140 39 2e 20 59 6f 75 20 6d 61 79 20 61 6c 74 65 72 |9. You may alter| 0000d150 20 74 68 69 73 20 66 72 6f 6d 20 74 68 65 0a 27 | this from the.'| 0000d160 44 69 73 70 6c 61 79 2e 54 61 62 73 27 20 6d 65 |Display.Tabs' me| 0000d170 6e 75 2e 20 54 68 69 73 20 6d 65 6e 75 20 61 6c |nu. This menu al| 0000d180 73 6f 20 61 6c 6c 6f 77 73 20 79 6f 75 20 74 6f |so allows you to| 0000d190 20 61 6c 74 65 72 20 74 68 65 20 61 70 70 65 61 | alter the appea| 0000d1a0 72 61 6e 63 65 20 6f 66 0a 54 61 62 73 2e 20 54 |rance of.Tabs. T| 0000d1b0 68 65 20 6d 65 6e 75 20 27 4d 69 73 63 2e 54 61 |he menu 'Misc.Ta| 0000d1c0 62 20 6d 6f 64 65 27 20 63 6f 6e 74 72 6f 6c 73 |b mode' controls| 0000d1d0 20 68 6f 77 20 74 61 62 73 20 61 72 65 20 65 6e | how tabs are en| 0000d1e0 74 65 72 65 64 20 77 68 65 6e 20 79 6f 75 20 70 |tered when you p| 0000d1f0 72 65 73 73 0a 74 68 65 20 54 41 42 20 6b 65 79 |ress.the TAB key| 0000d200 2e 20 49 6e 20 27 55 6e 69 78 27 20 6d 6f 64 65 |. In 'Unix' mode| 0000d210 20 74 68 65 20 63 68 61 72 61 63 74 65 72 20 26 | the character &| 0000d220 30 39 20 69 73 20 69 6e 73 65 72 74 65 64 2e 20 |09 is inserted. | 0000d230 49 6e 20 27 21 45 64 69 74 27 20 6d 6f 64 65 2c |In '!Edit' mode,| 0000d240 0a 74 68 65 20 63 75 72 73 6f 72 20 6d 6f 76 65 |.the cursor move| 0000d250 73 20 74 6f 20 74 68 65 20 63 6f 6c 75 6d 6e 20 |s to the column | 0000d260 77 68 69 63 68 20 73 74 61 72 74 73 20 74 68 65 |which starts the| 0000d270 20 6e 65 78 74 20 77 6f 72 64 20 6f 6e 20 74 68 | next word on th| 0000d280 65 20 61 62 6f 76 65 20 6c 69 6e 65 2e 0a 49 6e |e above line..In| 0000d290 20 63 6f 6c 74 61 62 20 6d 6f 64 65 2c 20 74 68 | coltab mode, th| 0000d2a0 65 20 63 75 72 73 6f 72 20 6d 6f 76 65 73 20 66 |e cursor moves f| 0000d2b0 6f 72 77 61 72 64 20 27 6e 27 20 63 68 61 72 61 |orward 'n' chara| 0000d2c0 63 74 65 72 73 20 77 68 65 72 65 20 27 6e 27 20 |cters where 'n' | 0000d2d0 69 73 20 74 68 65 0a 63 75 72 72 65 6e 74 20 63 |is the.current c| 0000d2e0 6f 6c 74 61 62 20 77 69 64 74 68 2e 20 49 6e 20 |oltab width. In | 0000d2f0 74 68 65 20 6c 61 74 74 65 72 20 74 77 6f 2c 20 |the latter two, | 0000d300 61 73 20 6d 61 6e 79 20 74 61 62 20 63 68 61 72 |as many tab char| 0000d310 61 63 74 65 72 73 20 61 73 20 70 6f 73 73 69 62 |acters as possib| 0000d320 6c 65 0a 61 72 65 20 69 6e 73 65 72 74 65 64 2e |le.are inserted.| 0000d330 20 49 66 20 79 6f 75 20 77 69 73 68 20 73 70 61 | If you wish spa| 0000d340 63 65 73 20 6f 6e 6c 79 20 74 6f 20 62 65 20 69 |ces only to be i| 0000d350 6e 73 65 72 74 65 64 2c 20 74 68 65 6e 20 74 69 |nserted, then ti| 0000d360 63 6b 20 74 68 65 20 27 61 73 0a 73 70 61 63 65 |ck the 'as.space| 0000d370 73 27 20 6d 65 6e 75 20 6f 70 74 69 6f 6e 2e 20 |s' menu option. | 0000d380 55 73 65 20 73 68 69 66 74 2d 54 41 42 20 74 6f |Use shift-TAB to| 0000d390 20 73 77 69 74 63 68 20 62 65 74 77 65 65 6e 20 | switch between | 0000d3a0 27 55 6e 69 78 27 20 61 6e 64 20 27 21 45 64 69 |'Unix' and '!Edi| 0000d3b0 74 27 20 74 61 62 0a 6d 6f 64 65 73 2e 0a 0a 54 |t' tab.modes...T| 0000d3c0 6f 20 69 6e 64 65 6e 74 20 61 20 72 65 67 69 6f |o indent a regio| 0000d3d0 6e 2c 20 66 69 72 73 74 20 73 65 6c 65 63 74 20 |n, first select | 0000d3e0 69 74 20 61 6e 64 20 74 68 65 20 75 73 65 20 74 |it and the use t| 0000d3f0 68 65 20 27 53 65 6c 65 63 74 69 6f 6e 2e 49 6e |he 'Selection.In| 0000d400 64 65 6e 74 27 20 6d 65 6e 75 0a 6f 70 74 69 6f |dent' menu.optio| 0000d410 6e 20 28 6f 72 20 43 74 72 6c 20 4a 29 2e 20 54 |n (or Ctrl J). T| 0000d420 79 70 65 20 27 6e 27 20 74 6f 20 69 6e 64 65 6e |ype 'n' to inden| 0000d430 74 20 62 79 20 6e 20 73 70 61 63 65 73 2c 20 27 |t by n spaces, '| 0000d440 2d 6e 27 20 74 6f 20 72 65 6d 6f 76 65 20 6e 20 |-n' to remove n | 0000d450 73 70 61 63 65 73 2c 0a 6f 72 20 74 79 70 65 20 |spaces,.or type | 0000d460 61 20 73 74 72 69 6e 67 20 74 6f 20 69 6e 64 65 |a string to inde| 0000d470 6e 74 20 62 79 20 74 68 61 74 20 73 74 72 69 6e |nt by that strin| 0000d480 67 2e 20 54 6f 20 6f 75 74 64 65 6e 74 20 61 20 |g. To outdent a | 0000d490 72 65 67 69 6f 6e 20 75 73 65 20 43 74 72 6c 20 |region use Ctrl | 0000d4a0 48 2e 0a 54 68 65 20 72 65 67 69 6f 6e 20 69 73 |H..The region is| 0000d4b0 20 6f 75 74 64 65 6e 74 65 64 20 62 79 20 74 68 | outdented by th| 0000d4c0 65 20 6c 65 6e 67 74 68 20 6f 66 20 74 68 65 20 |e length of the | 0000d4d0 63 75 72 72 65 6e 74 20 69 6e 64 65 6e 74 20 73 |current indent s| 0000d4e0 74 72 69 6e 67 20 28 74 68 75 73 20 61 0a 6e 65 |tring (thus a.ne| 0000d4f0 67 61 74 69 76 65 20 69 6e 64 65 6e 74 20 73 74 |gative indent st| 0000d500 72 69 6e 67 20 77 69 6c 6c 20 63 61 75 73 65 20 |ring will cause | 0000d510 6f 75 74 64 65 6e 74 20 74 6f 20 69 6e 64 65 6e |outdent to inden| 0000d520 74 20 3a 2d 29 2e 0a 0a 46 2e 33 20 46 6f 6e 74 |t :-)...F.3 Font| 0000d530 73 20 61 6e 64 20 66 6f 6e 74 20 73 69 7a 65 73 |s and font sizes| 0000d540 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |.---------------| 0000d550 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 65 20 66 |---------..The f| 0000d560 6f 6e 74 20 75 73 65 64 20 69 6e 20 61 20 5a 61 |ont used in a Za| 0000d570 70 20 77 69 6e 64 6f 77 20 69 73 20 64 65 74 65 |p window is dete| 0000d580 72 6d 69 6e 65 64 20 62 79 20 74 68 65 20 27 44 |rmined by the 'D| 0000d590 69 73 70 6c 61 79 2e 46 6f 6e 74 27 20 6d 65 6e |isplay.Font' men| 0000d5a0 75 2e 20 54 68 65 0a 66 69 72 73 74 20 33 20 69 |u. The.first 3 i| 0000d5b0 74 65 6d 73 20 73 65 6c 65 63 74 20 74 68 65 20 |tems select the | 0000d5c0 73 79 73 74 65 6d 20 66 6f 6e 74 20 64 72 61 77 |system font draw| 0000d5d0 6e 20 69 6e 20 61 20 6e 75 6d 62 65 72 20 6f 66 |n in a number of| 0000d5e0 20 64 69 66 66 65 72 65 6e 74 20 77 61 79 73 2e | different ways.| 0000d5f0 20 54 68 65 0a 66 69 72 73 74 20 74 77 6f 20 75 | The.first two u| 0000d600 73 65 20 64 69 72 65 63 74 20 73 63 72 65 65 6e |se direct screen| 0000d610 20 61 63 63 65 73 73 20 61 6e 64 20 74 68 65 20 | access and the | 0000d620 6c 61 74 74 65 72 20 75 73 65 73 20 74 68 65 20 |latter uses the | 0000d630 56 44 55 20 64 72 69 76 65 72 73 2e 20 54 68 65 |VDU drivers. The| 0000d640 0a 63 61 63 68 65 64 20 73 79 73 74 65 6d 20 66 |.cached system f| 0000d650 6f 6e 74 20 6d 61 79 20 62 65 20 75 70 64 61 74 |ont may be updat| 0000d660 65 64 20 62 79 20 63 6c 69 63 6b 69 6e 67 20 6f |ed by clicking o| 0000d670 6e 20 27 4f 70 74 69 6f 6e 73 2e 43 74 72 6c 63 |n 'Options.Ctrlc| 0000d680 68 61 72 73 2e 44 65 66 61 75 6c 74 27 2e 0a 0a |hars.Default'...| 0000d690 54 6f 20 75 73 65 20 61 20 66 6f 6e 74 20 6f 74 |To use a font ot| 0000d6a0 68 65 72 20 74 68 61 6e 20 74 68 65 20 73 79 73 |her than the sys| 0000d6b0 74 65 6d 20 66 6f 6e 74 20 73 65 6c 65 63 74 20 |tem font select | 0000d6c0 65 69 74 68 65 72 20 74 68 65 20 66 6f 75 72 74 |either the fourt| 0000d6d0 68 20 6f 72 20 66 69 66 74 68 0a 69 74 65 6d 73 |h or fifth.items| 0000d6e0 2e 20 54 68 65 20 66 6f 75 72 74 68 20 64 69 73 |. The fourth dis| 0000d6f0 70 6c 61 79 73 20 61 6e 20 61 6e 74 69 2d 61 6c |plays an anti-al| 0000d700 69 61 73 65 64 20 66 6f 6e 74 20 62 79 20 64 69 |iased font by di| 0000d710 72 65 63 74 20 73 63 72 65 65 6e 20 61 63 63 65 |rect screen acce| 0000d720 73 73 20 28 61 6e 64 0a 74 68 75 73 20 75 73 65 |ss (and.thus use| 0000d730 73 20 71 75 69 74 65 20 61 20 62 69 74 20 6f 66 |s quite a bit of| 0000d740 20 6d 65 6d 6f 72 79 29 20 61 6e 64 20 74 68 65 | memory) and the| 0000d750 20 66 69 66 74 68 20 76 69 61 20 6e 6f 72 6d 61 | fifth via norma| 0000d760 6c 20 46 6f 6e 74 5f 50 61 69 6e 74 20 63 61 6c |l Font_Paint cal| 0000d770 6c 2e 0a 54 68 65 20 66 6f 6e 74 20 6e 61 6d 65 |l..The font name| 0000d780 20 61 6e 64 20 73 69 7a 65 20 63 61 6e 20 62 65 | and size can be| 0000d790 20 73 65 6c 65 63 74 65 64 20 76 69 61 20 74 68 | selected via th| 0000d7a0 65 20 6c 61 73 74 20 74 77 6f 20 69 74 65 6d 73 |e last two items| 0000d7b0 2e 20 49 66 20 79 6f 75 20 74 79 70 65 20 69 6e |. If you type in| 0000d7c0 0a 61 20 6c 75 64 69 63 72 6f 75 73 6c 79 20 6c |.a ludicrously l| 0000d7d0 61 72 67 65 20 73 69 7a 65 2c 20 74 68 65 6e 20 |arge size, then | 0000d7e0 77 65 69 72 64 20 74 68 69 6e 67 73 20 6d 61 79 |weird things may| 0000d7f0 20 68 61 70 70 65 6e 21 0a 0a 54 6f 20 63 6f 6e | happen!..To con| 0000d800 66 69 67 75 72 65 20 74 68 65 20 66 6f 6e 74 20 |figure the font | 0000d810 6e 61 6d 65 20 61 6e 64 20 73 69 7a 65 2c 20 63 |name and size, c| 0000d820 68 61 6e 67 65 20 76 61 72 69 61 62 6c 65 73 20 |hange variables | 0000d830 26 33 30 32 20 61 6e 64 20 26 33 30 34 20 69 6e |&302 and &304 in| 0000d840 20 74 68 65 0a 6b 65 79 73 20 66 69 6c 65 2e 20 | the.keys file. | 0000d850 59 6f 75 20 6d 61 79 20 61 6c 73 6f 20 75 73 65 |You may also use| 0000d860 20 76 61 72 69 61 62 6c 65 73 20 26 33 30 35 2f | variables &305/| 0000d870 33 30 36 2f 33 31 30 2f 33 31 31 20 74 6f 20 73 |306/310/311 to s| 0000d880 68 61 76 65 20 6f 66 66 20 73 75 72 70 6c 75 73 |have off surplus| 0000d890 0a 73 70 61 63 69 6e 67 20 61 72 6f 75 6e 64 20 |.spacing around | 0000d8a0 66 6f 6e 74 20 63 68 61 72 61 63 74 65 72 73 2e |font characters.| 0000d8b0 20 46 6f 6e 74 73 20 61 72 65 20 6d 6f 6e 6f 73 | Fonts are monos| 0000d8c0 70 61 63 65 64 2e 0a 0a 57 68 65 6e 20 75 73 69 |paced...When usi| 0000d8d0 6e 67 20 74 68 65 20 46 41 53 54 20 46 4f 4e 54 |ng the FAST FONT| 0000d8e0 20 6f 70 74 69 6f 6e 2c 20 69 74 20 73 68 6f 75 | option, it shou| 0000d8f0 6c 64 20 62 65 20 6e 6f 74 65 64 20 74 68 61 74 |ld be noted that| 0000d900 20 74 68 65 20 66 6f 6e 74 20 69 73 20 6f 6e 6c | the font is onl| 0000d910 79 0a 63 61 63 68 65 64 20 69 6e 20 6f 6e 65 20 |y.cached in one | 0000d920 73 65 74 20 6f 66 20 61 6e 74 69 20 61 6c 69 61 |set of anti alia| 0000d930 73 65 64 20 63 6f 6c 6f 75 72 73 2e 20 54 68 65 |sed colours. The| 0000d940 73 65 20 61 72 65 20 74 61 6b 65 6e 20 74 6f 20 |se are taken to | 0000d950 62 65 20 74 68 65 20 64 65 66 61 75 6c 74 0a 63 |be the default.c| 0000d960 6f 6c 6f 75 72 73 20 66 6f 72 20 74 65 78 74 20 |olours for text | 0000d970 6d 6f 64 65 20 66 6f 72 65 67 72 6f 75 6e 64 20 |mode foreground | 0000d980 61 6e 64 20 62 61 63 6b 67 72 6f 75 6e 64 2e 20 |and background. | 0000d990 41 6c 6c 20 6f 74 68 65 72 20 63 6f 6c 6f 75 72 |All other colour| 0000d9a0 73 20 61 72 65 20 64 72 61 77 6e 2c 0a 62 75 74 |s are drawn,.but| 0000d9b0 20 6e 6f 74 20 61 6e 74 69 2d 61 6c 69 61 73 65 | not anti-aliase| 0000d9c0 64 2e 0a 0a 46 2e 34 20 55 6e 69 76 65 72 73 61 |d...F.4 Universa| 0000d9d0 6c 20 61 72 67 75 6d 65 6e 74 73 2e 0a 2d 2d 2d |l arguments..---| 0000d9e0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 0000d9f0 2d 2d 2d 2d 2d 0a 0a 54 68 65 20 75 6e 69 76 65 |-----..The unive| 0000da00 72 73 61 6c 20 61 72 67 75 6d 65 6e 74 20 66 65 |rsal argument fe| 0000da10 61 74 75 72 65 20 65 6e 61 62 6c 65 73 20 79 6f |ature enables yo| 0000da20 75 20 74 6f 20 65 78 65 63 75 74 65 20 61 20 6b |u to execute a k| 0000da30 65 79 70 72 65 73 73 20 61 6e 20 61 72 62 69 74 |eypress an arbit| 0000da40 72 61 72 79 0a 6e 75 6d 62 65 72 20 6f 66 20 74 |rary.number of t| 0000da50 69 6d 65 73 2e 20 53 75 70 70 6f 73 65 20 66 6f |imes. Suppose fo| 0000da60 72 20 65 78 61 6d 70 6c 65 20 79 6f 75 20 77 61 |r example you wa| 0000da70 6e 74 65 64 20 74 6f 20 69 6e 73 65 72 74 20 31 |nted to insert 1| 0000da80 30 30 20 73 70 61 63 65 73 2e 20 54 68 65 0a 71 |00 spaces. The.q| 0000da90 75 69 63 6b 20 77 61 79 20 74 6f 20 64 6f 20 74 |uick way to do t| 0000daa0 68 69 73 20 69 73 20 74 6f 20 74 79 70 65 3a 0a |his is to type:.| 0000dab0 0a 43 54 52 4c 2d 55 20 31 30 30 20 53 50 41 43 |.CTRL-U 100 SPAC| 0000dac0 45 0a 0a 49 6e 20 67 65 6e 65 72 61 6c 20 79 6f |E..In general yo| 0000dad0 75 20 74 79 70 65 20 43 54 52 4c 2d 55 20 74 68 |u type CTRL-U th| 0000dae0 65 6e 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 |en the number of| 0000daf0 20 74 69 6d 65 73 20 79 6f 75 20 77 61 6e 74 20 | times you want | 0000db00 74 68 65 20 6b 65 79 20 74 6f 20 62 65 0a 65 78 |the key to be.ex| 0000db10 65 63 75 74 65 64 2c 20 74 68 65 6e 20 70 72 65 |ecuted, then pre| 0000db20 73 73 20 52 65 74 75 72 6e 2c 20 74 68 65 6e 20 |ss Return, then | 0000db30 70 72 65 73 73 20 74 68 65 20 6b 65 79 20 74 6f |press the key to| 0000db40 20 65 78 65 63 75 74 65 2e 20 54 68 65 20 27 70 | execute. The 'p| 0000db50 72 65 73 73 69 6e 67 0a 52 65 74 75 72 6e 27 20 |ressing.Return' | 0000db60 73 74 65 70 20 63 61 6e 20 62 65 20 6f 6d 69 74 |step can be omit| 0000db70 74 65 64 20 69 66 20 74 68 65 20 6b 65 79 20 79 |ted if the key y| 0000db80 6f 75 20 77 61 6e 74 20 74 6f 20 72 65 70 65 61 |ou want to repea| 0000db90 74 20 69 73 20 6e 6f 74 20 64 65 6c 65 74 65 20 |t is not delete | 0000dba0 6f 72 20 61 0a 64 69 67 69 74 20 6f 72 20 61 6e |or a.digit or an| 0000dbb0 6f 74 68 65 72 20 76 61 6c 69 64 20 6b 65 79 20 |other valid key | 0000dbc0 66 6f 72 20 65 64 69 74 69 6e 67 20 74 68 65 20 |for editing the | 0000dbd0 6e 75 6d 62 65 72 20 79 6f 75 20 61 72 65 20 74 |number you are t| 0000dbe0 79 70 69 6e 67 20 28 61 73 20 69 6e 20 74 68 65 |yping (as in the| 0000dbf0 0a 65 78 61 6d 70 6c 65 20 61 62 6f 76 65 29 2e |.example above).| 0000dc00 0a 0a 46 2e 35 20 54 68 65 20 6d 69 6e 69 62 75 |..F.5 The minibu| 0000dc10 66 66 65 72 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |ffer.-----------| 0000dc20 2d 2d 2d 2d 2d 2d 2d 0a 0a 53 6f 6d 65 20 5a 61 |-------..Some Za| 0000dc30 70 20 63 6f 6d 6d 61 6e 64 73 20 63 61 6e 20 74 |p commands can t| 0000dc40 61 6b 65 20 70 61 72 61 6d 65 74 65 72 73 2e 20 |ake parameters. | 0000dc50 49 6e 20 6f 72 64 65 72 20 74 68 61 74 20 74 68 |In order that th| 0000dc60 65 73 65 20 70 61 72 61 6d 65 74 65 72 73 20 63 |ese parameters c| 0000dc70 61 6e 0a 62 65 20 65 6e 74 65 72 65 64 20 61 74 |an.be entered at| 0000dc80 20 72 75 6e 20 74 69 6d 65 2c 20 61 20 6d 69 6e | run time, a min| 0000dc90 69 62 75 66 66 65 72 20 69 73 20 70 72 6f 76 69 |ibuffer is provi| 0000dca0 64 65 64 2e 20 49 66 20 79 6f 75 20 74 79 70 65 |ded. If you type| 0000dcb0 20 61 20 63 6f 6d 6d 61 6e 64 20 69 6e 74 6f 0a | a command into.| 0000dcc0 74 68 65 20 27 6b 65 79 73 27 20 66 69 6c 65 20 |the 'keys' file | 0000dcd0 77 69 74 68 6f 75 74 20 73 70 65 63 69 66 79 69 |without specifyi| 0000dce0 6e 67 20 69 74 73 20 70 61 72 61 6d 65 74 65 72 |ng its parameter| 0000dcf0 20 74 68 65 6e 2c 20 77 68 65 6e 20 79 6f 75 20 | then, when you | 0000dd00 70 72 65 73 73 20 74 68 61 74 0a 6b 65 79 2c 20 |press that.key, | 0000dd10 74 68 65 20 6d 69 6e 69 62 75 66 66 65 72 20 6f |the minibuffer o| 0000dd20 70 65 6e 73 2e 20 59 6f 75 20 73 68 6f 75 6c 64 |pens. You should| 0000dd30 20 74 79 70 65 20 69 6e 20 74 68 65 20 63 6f 6d | type in the com| 0000dd40 6d 61 6e 64 20 61 72 67 75 6d 65 6e 74 20 61 6e |mand argument an| 0000dd50 64 20 74 68 65 6e 0a 70 72 65 73 73 20 52 45 54 |d then.press RET| 0000dd60 55 52 4e 2e 20 53 65 76 65 72 61 6c 20 65 78 61 |URN. Several exa| 0000dd70 6d 70 6c 65 73 20 6b 65 79 73 20 61 72 65 20 63 |mples keys are c| 0000dd80 45 53 43 2c 63 53 2c 63 52 2c 63 57 2c 46 32 2e |ESC,cS,cR,cW,F2.| 0000dd90 0a 0a 53 65 76 65 72 61 6c 20 63 6f 6e 74 72 6f |..Several contro| 0000dda0 6c 20 6b 65 79 73 20 68 61 76 65 20 64 65 66 61 |l keys have defa| 0000ddb0 75 6c 74 20 6d 65 61 6e 69 6e 67 73 20 69 6e 20 |ult meanings in | 0000ddc0 74 68 65 20 6d 69 6e 69 62 75 66 66 65 72 2e 20 |the minibuffer. | 0000ddd0 54 68 65 73 65 20 63 61 6e 20 6e 6f 74 0a 61 74 |These can not.at| 0000dde0 20 74 68 65 20 6d 6f 6d 65 6e 74 20 62 65 20 72 | the moment be r| 0000ddf0 65 63 6f 6e 66 69 67 75 72 65 64 2c 20 62 75 74 |econfigured, but| 0000de00 20 61 72 65 20 63 6f 6d 70 61 74 69 62 6c 65 20 | are compatible | 0000de10 77 69 74 68 20 74 68 65 20 45 6d 61 63 73 20 6d |with the Emacs m| 0000de20 69 6e 69 62 75 66 66 65 72 0a 6b 65 79 73 3a 0a |inibuffer.keys:.| 0000de30 0a 63 41 20 2f 20 63 4c 65 66 74 4d 6f 76 65 20 |.cA / cLeftMove | 0000de40 74 6f 20 73 74 61 72 74 20 6f 66 20 6c 69 6e 65 |to start of line| 0000de50 0a 63 42 20 2f 20 4c 65 66 74 4d 6f 76 65 20 62 |.cB / LeftMove b| 0000de60 61 63 6b 20 61 20 63 68 61 72 61 63 74 65 72 0a |ack a character.| 0000de70 63 44 20 2f 20 73 44 65 6c 65 74 65 44 65 6c 65 |cD / sDeleteDele| 0000de80 74 65 20 74 68 65 20 6e 65 78 74 20 63 68 61 72 |te the next char| 0000de90 61 63 74 65 72 0a 63 45 20 2f 20 63 52 69 67 68 |acter.cE / cRigh| 0000dea0 74 4d 6f 76 65 20 74 6f 20 65 6e 64 20 6f 66 20 |tMove to end of | 0000deb0 6c 69 6e 65 0a 63 46 20 2f 20 52 69 67 68 74 4d |line.cF / RightM| 0000dec0 6f 76 65 20 66 6f 72 77 61 72 64 20 61 20 63 68 |ove forward a ch| 0000ded0 61 72 61 63 74 65 72 0a 63 47 20 2f 20 45 73 63 |aracter.cG / Esc| 0000dee0 61 70 65 51 75 69 74 20 74 68 65 20 6d 69 6e 69 |apeQuit the mini| 0000def0 62 75 66 66 65 72 0a 63 4b 44 65 6c 65 74 65 20 |buffer.cKDelete | 0000df00 74 6f 20 65 6e 64 20 6f 66 20 6c 69 6e 65 0a 63 |to end of line.c| 0000df10 55 43 6c 65 61 72 20 6d 69 6e 69 62 75 66 66 65 |UClear minibuffe| 0000df20 72 0a 54 41 42 43 6f 6d 70 6c 65 74 65 20 6b 65 |r.TABComplete ke| 0000df30 79 20 28 65 67 20 61 66 74 65 72 20 46 32 2c 20 |y (eg after F2, | 0000df40 54 41 42 20 77 69 6c 6c 20 63 6f 6d 70 6c 65 74 |TAB will complet| 0000df50 65 0a 66 69 6c 65 6e 61 6d 65 73 29 0a 52 45 54 |e.filenames).RET| 0000df60 55 52 4e 45 78 65 63 75 74 65 20 74 68 65 20 63 |URNExecute the c| 0000df70 6f 6d 6d 61 6e 64 2e 0a 0a 54 68 65 73 65 20 6b |ommand...These k| 0000df80 65 79 73 20 63 61 6e 20 62 65 20 72 65 64 65 66 |eys can be redef| 0000df90 69 6e 65 64 20 62 79 20 63 6f 6d 6d 61 6e 64 73 |ined by commands| 0000dfa0 2c 20 62 75 74 20 73 68 6f 75 6c 64 20 72 65 6d |, but should rem| 0000dfb0 61 69 6e 20 61 73 20 63 6f 6e 73 69 73 74 65 6e |ain as consisten| 0000dfc0 74 20 61 73 0a 70 6f 73 73 69 62 6c 65 20 77 69 |t as.possible wi| 0000dfd0 74 68 20 74 68 65 20 61 62 6f 76 65 2e 0a 0a 2a |th the above...*| 0000dfe0 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 0000e020 2a 2a 2a 2a 2a 2a 2a 2a 0a 2a 20 53 65 63 74 69 |********.* Secti| 0000e030 6f 6e 20 47 3a 48 6f 77 20 74 6f 20 66 69 6e 64 |on G:How to find| 0000e040 20 6f 75 74 20 6d 6f 72 65 2a 0a 2a 2a 2a 2a 2a | out more*.*****| 0000e050 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 0000e090 2a 2a 2a 2a 0a 0a 47 2e 31 20 4f 74 68 65 72 20 |****..G.1 Other | 0000e0a0 68 65 6c 70 20 66 69 6c 65 73 0a 2d 2d 2d 2d 2d |help files.-----| 0000e0b0 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a |---------------.| 0000e0c0 0a 54 68 65 20 27 48 65 6c 70 64 61 74 61 27 20 |.The 'Helpdata' | 0000e0d0 66 69 6c 65 20 63 6f 6e 74 61 69 6e 73 20 68 65 |file contains he| 0000e0e0 6c 70 20 66 6f 72 20 61 6c 6c 20 74 68 65 20 6c |lp for all the l| 0000e0f0 65 61 66 20 77 69 6e 64 6f 77 73 2c 20 6d 61 69 |eaf windows, mai| 0000e100 6e 20 77 69 6e 64 6f 77 73 2c 20 61 6e 64 0a 4d |n windows, and.M| 0000e110 45 4e 55 20 65 6e 74 72 69 65 73 2e 20 59 6f 75 |ENU entries. You| 0000e120 20 63 61 6e 20 76 69 65 77 20 74 68 69 73 20 62 | can view this b| 0000e130 79 20 75 73 69 6e 67 20 41 63 6f 72 6e 27 73 20 |y using Acorn's | 0000e140 21 48 65 6c 70 20 61 70 70 6c 69 63 61 74 69 6f |!Help applicatio| 0000e150 6e 2c 20 6f 72 20 6a 75 73 74 0a 62 79 20 6c 6f |n, or just.by lo| 0000e160 61 64 69 6e 67 20 74 68 65 20 74 65 78 74 20 66 |ading the text f| 0000e170 69 6c 65 2e 20 4f 6e 20 52 49 53 43 20 4f 53 20 |ile. On RISC OS | 0000e180 32 2f 33 2e 30 20 79 6f 75 20 63 61 6e 6e 6f 74 |2/3.0 you cannot| 0000e190 20 67 65 74 20 68 65 6c 70 20 6f 6e 20 74 68 65 | get help on the| 0000e1a0 20 6d 65 6e 75 0a 65 6e 74 72 69 65 73 2c 20 6f | menu.entries, o| 0000e1b0 6e 6c 79 20 74 68 65 20 77 69 6e 64 6f 77 73 20 |nly the windows | 0000e1c0 28 62 75 74 20 79 6f 75 20 63 61 6e 20 6a 75 73 |(but you can jus| 0000e1d0 74 20 72 65 61 64 20 74 68 65 20 66 69 6c 65 20 |t read the file | 0000e1e0 64 69 72 65 63 74 6c 79 29 2e 0a 0a 54 68 65 20 |directly)...The | 0000e1f0 27 44 6f 63 73 2e 43 6f 6d 6d 61 6e 64 73 27 20 |'Docs.Commands' | 0000e200 66 69 6c 65 20 67 69 76 65 73 20 61 20 6c 69 73 |file gives a lis| 0000e210 74 20 6f 66 20 61 6c 6c 20 63 75 72 72 65 6e 74 |t of all current| 0000e220 6c 79 20 64 65 66 69 6e 65 64 20 5a 61 70 20 63 |ly defined Zap c| 0000e230 6f 6d 6d 61 6e 64 73 0a 61 6e 64 20 74 68 65 69 |ommands.and thei| 0000e240 72 20 73 79 6e 74 61 78 2e 20 54 68 65 73 65 20 |r syntax. These | 0000e250 77 69 6c 6c 20 62 65 20 75 73 65 66 75 6c 20 66 |will be useful f| 0000e260 6f 72 20 74 75 72 6e 69 6e 67 20 6b 65 79 73 20 |or turning keys | 0000e270 69 6e 74 6f 20 6d 61 63 72 6f 73 2e 20 46 6f 72 |into macros. For| 0000e280 0a 65 78 61 6d 70 6c 65 20 49 4e 53 45 52 54 20 |.example INSERT | 0000e290 22 48 65 6c 6c 6f 22 3a 52 45 54 55 52 4e 2e 20 |"Hello":RETURN. | 0000e2a0 0a 0a 46 6f 72 20 74 68 6f 73 65 20 69 6e 74 65 |..For those inte| 0000e2b0 72 65 73 74 65 64 20 69 6e 20 77 72 69 74 69 6e |rested in writin| 0000e2c0 67 20 61 6e 20 65 78 74 65 6e 73 69 6f 6e 20 6d |g an extension m| 0000e2d0 6f 64 65 2c 20 6f 72 20 61 64 64 69 6e 67 20 6e |ode, or adding n| 0000e2e0 65 77 20 63 6f 6d 6d 61 6e 64 73 2c 20 6f 72 0a |ew commands, or.| 0000e2f0 5a 61 70 27 73 20 69 6e 74 65 72 6e 61 6c 20 77 |Zap's internal w| 0000e300 6f 72 6b 69 6e 67 73 2c 20 70 6c 65 61 73 65 20 |orkings, please | 0000e310 6c 6f 6f 6b 20 69 6e 20 74 68 65 20 44 6f 63 73 |look in the Docs| 0000e320 20 64 69 72 65 63 74 6f 72 79 2e 20 59 6f 75 20 | directory. You | 0000e330 73 68 6f 75 6c 64 20 73 74 61 72 74 0a 77 69 74 |should start.wit| 0000e340 68 20 74 68 65 20 66 69 6c 65 20 63 61 6c 6c 65 |h the file calle| 0000e350 64 20 52 65 61 64 4d 65 2e 20 54 68 69 73 20 64 |d ReadMe. This d| 0000e360 69 72 65 63 74 6f 72 79 20 61 6c 73 6f 20 63 6f |irectory also co| 0000e370 6e 74 61 69 6e 73 20 61 20 5a 61 70 20 6b 65 79 |ntains a Zap key| 0000e380 73 74 72 69 70 20 69 6e 0a 74 68 65 20 66 6f 72 |strip in.the for| 0000e390 6d 20 6f 66 20 61 20 44 72 61 77 20 66 69 6c 65 |m of a Draw file| 0000e3a0 2e 0a 0a 50 6c 65 61 73 65 20 73 65 65 20 74 68 |...Please see th| 0000e3b0 65 20 66 69 6c 65 20 27 43 68 61 6e 67 65 73 27 |e file 'Changes'| 0000e3c0 20 66 6f 72 20 6d 79 20 66 75 74 75 72 65 20 70 | for my future p| 0000e3d0 6c 61 6e 73 20 66 6f 72 20 5a 61 70 2e 0a 0a 47 |lans for Zap...G| 0000e3e0 2e 32 20 4f 62 74 61 69 6e 69 6e 67 20 66 75 74 |.2 Obtaining fut| 0000e3f0 75 72 65 20 76 65 72 73 69 6f 6e 73 20 6f 66 20 |ure versions of | 0000e400 5a 61 70 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |Zap.------------| 0000e410 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 0000e420 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 49 20 77 69 6c 6c |--------..I will| 0000e430 20 62 65 20 73 65 6e 64 69 6e 67 20 61 6e 79 20 | be sending any | 0000e440 66 75 74 75 72 65 20 76 65 72 73 69 6f 6e 73 20 |future versions | 0000e450 28 3e 31 29 20 6f 66 20 5a 61 70 20 74 6f 3a 0a |(>1) of Zap to:.| 0000e460 0a 31 29 20 48 65 6e 73 61 3a 20 65 2d 6d 61 69 |.1) Hensa: e-mai| 0000e470 6c 3a 20 61 72 63 68 69 76 65 2d 73 65 72 76 65 |l: archive-serve| 0000e480 72 40 6d 69 63 72 6f 73 2e 68 65 6e 73 61 2e 61 |r@micros.hensa.a| 0000e490 63 2e 75 6b 20 28 73 65 6e 64 20 6d 65 73 73 61 |c.uk (send messa| 0000e4a0 67 65 20 27 68 65 6c 70 27 29 0a 20 20 66 74 70 |ge 'help'). ftp| 0000e4b0 20 20 20 3a 20 6d 69 63 72 6f 73 2e 68 65 6e 73 | : micros.hens| 0000e4c0 61 2e 61 63 2e 75 6b 20 28 49 50 20 31 34 38 2e |a.ac.uk (IP 148.| 0000e4d0 38 38 2e 38 2e 38 34 29 0a 0a 28 54 68 65 20 4e |88.8.84)..(The N| 0000e4e0 65 77 63 61 73 74 6c 65 20 49 6e 66 6f 20 53 65 |ewcastle Info Se| 0000e4f0 72 76 65 72 20 68 61 73 20 75 6e 66 6f 72 74 75 |rver has unfortu| 0000e500 6e 61 74 65 6c 79 20 62 65 65 6e 20 63 6c 6f 73 |nately been clos| 0000e510 65 64 20 64 6f 77 6e 20 3a 2d 28 20 29 2e 0a 0a |ed down :-( )...| 0000e520 32 29 20 54 68 65 20 41 72 63 68 69 6d 65 64 65 |2) The Archimede| 0000e530 73 20 50 75 62 6c 69 63 20 44 6f 6d 61 69 6e 20 |s Public Domain | 0000e540 4c 69 62 72 61 72 79 3a 0a 20 20 20 33 39 20 4b |Library:. 39 K| 0000e550 6e 69 67 68 74 6f 6e 20 50 61 72 6b 20 52 6f 61 |nighton Park Roa| 0000e560 64 0a 20 20 20 53 79 64 65 6e 68 61 6d 0a 20 20 |d. Sydenham. | 0000e570 20 4c 6f 6e 64 6f 6e 0a 20 20 20 53 45 32 36 20 | London. SE26 | 0000e580 35 52 4e 0a 20 20 20 0a 50 6c 65 61 73 65 20 6c |5RN. .Please l| 0000e590 6f 6f 6b 20 61 74 20 74 68 65 20 27 43 68 61 6e |ook at the 'Chan| 0000e5a0 67 65 73 27 20 66 69 6c 65 20 66 6f 72 20 74 68 |ges' file for th| 0000e5b0 65 20 61 6e 74 69 63 69 70 61 74 65 64 20 72 65 |e anticipated re| 0000e5c0 6c 65 61 73 65 20 64 61 74 65 2e 0a 0a 47 2e 33 |lease date...G.3| 0000e5d0 20 43 6f 6e 74 61 63 74 69 6e 67 20 6d 65 20 77 | Contacting me w| 0000e5e0 69 74 68 20 73 75 67 67 65 73 74 69 6f 6e 73 2f |ith suggestions/| 0000e5f0 62 75 67 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |bugs.-----------| 0000e600 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 0000e610 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 53 75 |------------..Su| 0000e620 67 67 65 73 74 69 6f 6e 73 20 61 6e 64 20 62 75 |ggestions and bu| 0000e630 67 20 72 65 70 6f 72 74 73 20 61 72 65 20 77 65 |g reports are we| 0000e640 6c 63 6f 6d 65 2e 20 53 65 65 20 74 68 65 20 43 |lcome. See the C| 0000e650 6f 70 79 72 69 67 68 74 20 66 69 6c 65 20 66 6f |opyright file fo| 0000e660 72 20 6d 79 0a 61 64 64 72 65 73 73 20 28 45 2d |r my.address (E-| 0000e670 4d 61 69 6c 20 70 72 65 66 65 72 72 65 64 29 2e |Mail preferred).| 0000e680 20 42 65 66 6f 72 65 20 73 65 6e 64 69 6e 67 20 | Before sending | 0000e690 73 75 67 67 65 73 74 69 6f 6e 73 20 70 6c 65 61 |suggestions plea| 0000e6a0 73 65 20 72 65 61 64 20 74 68 65 0a 27 43 68 61 |se read the.'Cha| 0000e6b0 6e 67 65 73 27 20 66 69 6c 65 20 77 68 65 72 65 |nges' file where| 0000e6c0 20 49 20 6c 69 73 74 20 74 68 65 20 74 68 69 6e | I list the thin| 0000e6d0 67 73 20 63 75 72 72 65 6e 74 6c 79 20 6f 6e 20 |gs currently on | 0000e6e0 6d 79 20 27 77 69 73 68 20 6c 69 73 74 27 2e 20 |my 'wish list'. | 0000e6f0 49 66 20 79 6f 75 0a 66 69 6e 64 20 61 20 62 75 |If you.find a bu| 0000e700 67 20 74 68 65 6e 20 70 6c 65 61 73 65 20 67 69 |g then please gi| 0000e710 76 65 20 6d 65 20 61 73 20 6d 61 6e 79 20 64 65 |ve me as many de| 0000e720 74 61 69 6c 73 20 61 73 20 70 6f 73 73 69 62 6c |tails as possibl| 0000e730 65 20 61 73 20 74 6f 20 74 68 65 0a 63 69 72 63 |e as to the.circ| 0000e740 75 6d 73 74 61 6e 63 65 73 20 74 68 61 74 20 63 |umstances that c| 0000e750 61 75 73 65 20 69 74 20 2d 20 74 72 79 20 61 6e |ause it - try an| 0000e760 64 20 67 65 74 20 69 74 20 72 65 70 65 61 74 61 |d get it repeata| 0000e770 62 6c 65 2e 20 49 66 20 79 6f 75 20 68 61 76 65 |ble. If you have| 0000e780 20 61 0a 63 6f 6d 6d 65 6e 74 20 6f 6e 20 61 20 | a.comment on a | 0000e790 5a 61 70 20 65 78 74 65 6e 73 69 6f 6e 20 6d 6f |Zap extension mo| 0000e7a0 64 65 20 6e 6f 74 20 77 72 69 74 74 65 6e 20 62 |de not written b| 0000e7b0 79 20 6d 65 20 74 68 65 6e 20 70 6c 65 61 73 65 |y me then please| 0000e7c0 20 77 72 69 74 65 20 74 6f 20 74 68 65 0a 61 75 | write to the.au| 0000e7d0 74 68 6f 72 20 28 73 65 65 20 33 72 64 50 61 72 |thor (see 3rdPar| 0000e7e0 74 79 2e 52 65 61 64 4d 65 29 2e 0a 0a 49 20 68 |ty.ReadMe)...I h| 0000e7f0 6f 70 65 20 79 6f 75 20 66 69 6e 64 20 5a 61 70 |ope you find Zap| 0000e800 20 61 20 75 73 65 66 75 6c 20 70 72 6f 67 72 61 | a useful progra| 0000e810 6d 2e 0a 0a 44 6f 6d 69 6e 69 63 20 53 79 6d 65 |m...Dominic Syme| 0000e820 73 0a 4d 61 72 63 68 20 31 39 39 34 0a |s.March 1994.| 0000e82d