home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Croteam texture file (image/croteamTextureFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text, with CRLF line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[CRLF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 52 75 6e 6e 69 6e 67 |\section|{Running|
|00000010| 20 75 6e 64 65 72 20 5c | 73 7a 61 64 62 7d 0d 0a | under \|szadb}..|
|00000020| 0d 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 7b 48 6f |..\subse|ction{Ho|
|00000030| 77 20 74 6f 20 72 75 6e | 20 2d 2d 2d 20 77 69 74 |w to run| --- wit|
|00000040| 68 20 61 72 67 75 6d 65 | 6e 74 73 7d 0d 0a 54 6f |h argume|nts}..To|
|00000050| 20 72 75 6e 20 61 20 6c | 6f 61 64 65 64 20 70 72 | run a l|oaded pr|
|00000060| 6f 67 72 61 6d 2c 20 77 | 69 74 68 20 61 20 6e 61 |ogram, w|ith a na|
|00000070| 6d 65 20 70 61 73 73 65 | 64 20 61 73 20 61 20 5c |me passe|d as a \|
|00000080| 73 7a 61 64 62 5c 20 61 | 72 67 75 6d 65 6e 74 2c |szadb\ a|rgument,|
|00000090| 0d 0a 6f 6e 65 20 68 61 | 73 20 74 6f 20 74 79 70 |..one ha|s to typ|
|000000a0| 65 20 5c 6e 61 6d 65 7b | 3a 63 7d 2c 20 77 68 69 |e \name{|:c}, whi|
|000000b0| 63 68 20 69 73 20 61 20 | 73 68 6f 72 74 20 66 6f |ch is a |short fo|
|000000c0| 72 20 5c 6e 61 6d 65 7b | 3a 63 6f 6e 74 69 6e 75 |r \name{|:continu|
|000000d0| 65 7d 2e 0d 0a 57 68 65 | 6e 20 74 68 65 20 70 72 |e}...Whe|n the pr|
|000000e0| 6f 67 72 61 6d 20 69 73 | 20 72 75 6e 6e 69 6e 67 |ogram is| running|
|000000f0| 20 5c 73 7a 61 64 62 5c | 20 73 77 69 74 63 68 65 | \szadb\| switche|
|00000100| 73 20 74 6f 20 74 68 65 | 20 70 72 6f 67 72 61 6d |s to the| program|
|00000110| 20 73 63 72 65 65 6e 20 | 77 68 69 63 68 0d 0a 69 | screen |which..i|
|00000120| 73 20 64 69 66 66 65 72 | 65 6e 74 20 66 72 6f 6d |s differ|ent from|
|00000130| 20 74 68 61 74 20 6f 6e | 65 20 75 73 65 64 20 62 | that on|e used b|
|00000140| 79 20 74 68 65 20 64 65 | 62 75 67 67 65 72 2e 0d |y the de|bugger..|
|00000150| 0a 49 6e 20 70 61 72 74 | 69 63 75 6c 61 72 2c 20 |.In part|icular, |
|00000160| 61 6c 6c 20 70 72 6f 67 | 72 61 6d 20 6b 65 79 62 |all prog|ram keyb|
|00000170| 6f 61 72 64 20 69 6e 70 | 75 74 20 77 69 6c 6c 20 |oard inp|ut will |
|00000180| 62 65 20 61 63 63 65 70 | 74 65 64 20 66 72 6f 6d |be accep|ted from|
|00000190| 20 74 68 65 20 70 72 6f | 67 72 61 6d 0d 0a 73 63 | the pro|gram..sc|
|000001a0| 72 65 65 6e 2e 20 20 55 | 6e 66 6f 72 74 75 6e 61 |reen. U|nfortuna|
|000001b0| 74 65 6c 79 20 74 68 65 | 72 65 20 69 73 20 6e 6f |tely the|re is no|
|000001c0| 20 77 61 79 2c 20 61 74 | 20 6c 65 61 73 74 20 6e | way, at| least n|
|000001d0| 6f 74 20 69 6e 20 74 68 | 69 73 20 76 65 72 73 69 |ot in th|is versi|
|000001e0| 6f 6e 2c 0d 0a 74 6f 20 | 72 65 61 64 20 74 68 65 |on,..to |read the|
|000001f0| 20 64 65 62 75 67 67 65 | 64 20 70 72 6f 67 72 61 | debugge|d progra|
|00000200| 6d 20 73 74 61 6e 64 61 | 72 64 20 69 6e 70 75 74 |m standa|rd input|
|00000210| 20 66 72 6f 6d 20 61 20 | 66 69 6c 65 2e 20 20 49 | from a |file. I|
|00000220| 74 20 68 61 73 20 74 6f | 0d 0a 62 65 20 74 79 70 |t has to|..be typ|
|00000230| 65 64 20 69 6e 2e 0d 0a | 54 6f 20 73 77 69 74 63 |ed in...|To switc|
|00000240| 68 20 66 72 6f 6d 20 74 | 68 65 20 5c 73 7a 61 64 |h from t|he \szad|
|00000250| 62 5c 20 73 63 72 65 65 | 6e 20 74 68 65 20 70 72 |b\ scree|n the pr|
|00000260| 6f 67 72 61 6d 20 77 69 | 6e 64 6f 77 20 75 73 65 |ogram wi|ndow use|
|00000270| 20 5c 6b 65 79 7b 5c 63 | 61 72 72 65 74 20 57 7d | \key{\c|arret W}|
|00000280| 0d 0a 61 6e 64 20 72 65 | 74 75 72 6e 20 66 72 6f |..and re|turn fro|
|00000290| 6d 20 74 68 65 20 76 69 | 73 69 74 20 77 69 74 68 |m the vi|sit with|
|000002a0| 20 61 6e 79 20 6f 74 68 | 65 72 20 63 68 61 72 61 | any oth|er chara|
|000002b0| 63 74 65 72 2e 0d 0a 0d | 0a 54 68 65 20 70 72 6f |cter....|.The pro|
|000002c0| 67 72 61 6d 20 69 74 73 | 65 6c 66 20 6d 61 79 20 |gram its|elf may |
|000002d0| 68 61 76 65 20 61 72 67 | 75 6d 65 6e 74 73 2e 20 |have arg|uments. |
|000002e0| 20 49 6e 20 70 72 69 6e | 63 69 70 6c 65 20 74 68 | In prin|ciple th|
|000002f0| 65 72 65 20 61 72 65 0d | 0a 74 77 6f 20 6d 65 74 |ere are.|.two met|
|00000300| 68 6f 64 73 20 77 69 74 | 68 20 77 68 69 63 68 20 |hods wit|h which |
|00000310| 74 68 65 79 20 63 61 6e | 20 62 65 20 73 65 74 2e |they can| be set.|
|00000320| 0d 0a 46 69 72 73 74 6c | 79 2c 20 79 6f 75 20 6d |..Firstl|y, you m|
|00000330| 61 79 20 73 70 65 63 69 | 66 79 20 74 68 65 6d 20 |ay speci|fy them |
|00000340| 77 68 65 6e 20 73 74 61 | 72 74 69 6e 67 20 5c 73 |when sta|rting \s|
|00000350| 7a 61 64 62 2e 0d 0a 45 | 76 65 72 79 74 68 69 6e |zadb...E|verythin|
|00000360| 67 20 77 68 69 63 68 0d | 0a 66 6f 6c 6c 6f 77 73 |g which.|.follows|
|00000370| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 61 20 6c | the nam|e of a l|
|00000380| 6f 61 64 65 64 20 65 78 | 65 63 75 74 61 62 6c 65 |oaded ex|ecutable|
|00000390| 20 77 69 6c 6c 20 62 65 | 20 74 61 6b 65 6e 20 61 | will be| taken a|
|000003a0| 73 20 69 74 73 20 61 72 | 67 75 6d 65 6e 74 73 0d |s its ar|guments.|
|000003b0| 0a 61 6e 64 20 63 6f 70 | 69 65 64 20 76 65 72 62 |.and cop|ied verb|
|000003c0| 61 74 69 6d 20 74 6f 20 | 69 74 73 20 62 61 73 65 |atim to |its base|
|000003d0| 70 61 67 65 2e 20 41 20 | 72 65 71 75 65 73 74 20 |page. A |request |
|000003e0| 5c 76 65 72 62 7c 24 70 | 7c 20 77 69 6c 6c 20 64 |\verb|$p|| will d|
|000003f0| 69 73 70 6c 61 79 20 74 | 68 65 0d 0a 77 68 6f 6c |isplay t|he..whol|
|00000400| 65 20 62 61 73 65 70 61 | 67 65 20 61 6e 64 20 69 |e basepa|ge and i|
|00000410| 74 20 77 69 6c 6c 20 61 | 6c 6c 6f 77 20 79 6f 75 |t will a|llow you|
|00000420| 20 74 6f 20 63 68 65 63 | 6b 20 69 66 20 79 6f 75 | to chec|k if you|
|00000430| 20 72 65 61 6c 6c 79 20 | 67 6f 74 20 77 68 61 74 | really |got what|
|00000440| 0d 0a 79 6f 75 20 65 78 | 70 65 63 74 65 64 2e 0d |..you ex|pected..|
|00000450| 0a 5c 73 7a 61 64 62 5c | 20 64 6f 65 73 20 6e 6f |.\szadb\| does no|
|00000460| 74 20 61 6c 6c 6f 77 20 | 66 6f 72 20 61 6e 79 20 |t allow |for any |
|00000470| 61 72 67 75 6d 65 6e 74 | 20 65 78 74 65 6e 64 69 |argument| extendi|
|00000480| 6e 67 20 73 63 68 65 6d | 65 73 0d 0a 61 6e 64 20 |ng schem|es..and |
|00000490| 69 74 20 77 69 6c 6c 20 | 74 72 75 6e 63 74 61 74 |it will |trunctat|
|000004a0| 65 20 63 6f 6d 6d 61 6e | 64 20 6c 69 6e 65 73 20 |e comman|d lines |
|000004b0| 77 68 69 63 68 20 61 72 | 65 20 74 6f 6f 20 6c 6f |which ar|e too lo|
|000004c0| 6e 67 2e 0d 0a 0d 0a 54 | 68 65 20 73 65 63 6f 6e |ng.....T|he secon|
|000004d0| 64 20 6d 65 74 68 6f 64 | 20 61 6c 6c 6f 77 73 20 |d method| allows |
|000004e0| 79 6f 75 20 74 6f 20 73 | 70 65 63 69 66 79 20 61 |you to s|pecify a|
|000004f0| 72 67 75 6d 65 6e 74 73 | 20 61 73 20 61 6e 20 6f |rguments| as an o|
|00000500| 70 74 69 6f 6e 61 6c 20 | 74 61 69 6c 0d 0a 6f 66 |ptional |tail..of|
|00000510| 20 5c 6e 61 6d 65 7b 3a | 63 7d 20 72 65 71 75 65 | \name{:|c} reque|
|00000520| 73 74 2e 20 20 4f 6e 63 | 65 20 61 72 67 75 6d 65 |st. Onc|e argume|
|00000530| 6e 74 73 20 77 65 72 65 | 20 73 65 74 2c 20 62 79 |nts were| set, by|
|00000540| 20 61 6e 79 20 6f 66 20 | 74 68 65 73 65 20 6d 65 | any of |these me|
|00000550| 74 68 6f 64 73 2c 0d 0a | 74 68 65 79 20 63 61 6e |thods,..|they can|
|00000560| 6e 6f 74 20 62 65 20 63 | 68 61 6e 67 65 64 20 61 |not be c|hanged a|
|00000570| 6e 64 20 66 75 72 74 68 | 65 72 20 61 74 74 65 6d |nd furth|er attem|
|00000580| 70 74 73 20 74 6f 20 64 | 6f 20 73 6f 20 77 69 6c |pts to d|o so wil|
|00000590| 6c 20 62 65 20 69 67 6e | 6f 72 65 64 2e 0d 0a 0d |l be ign|ored....|
|000005a0| 0a 53 69 6e 63 65 20 62 | 6f 74 68 20 73 68 65 6c |.Since b|oth shel|
|000005b0| 6c 20 63 6f 6d 6d 61 6e | 64 20 6c 69 6e 65 73 20 |l comman|d lines |
|000005c0| 61 6e 64 20 0d 0a 74 68 | 65 20 69 6e 70 75 74 20 |and ..th|e input |
|000005d0| 6c 69 6e 65 20 69 6e 73 | 69 64 65 20 6f 66 20 5c |line ins|ide of \|
|000005e0| 73 7a 61 64 62 5c 20 61 | 72 65 20 6c 69 6d 69 74 |szadb\ a|re limit|
|000005f0| 65 64 20 69 6e 20 6c 65 | 6e 67 74 68 2c 0d 0a 61 |ed in le|ngth,..a|
|00000600| 6e 64 20 70 61 72 74 69 | 61 6c 6c 79 20 61 6c 72 |nd parti|ally alr|
|00000610| 65 61 64 79 20 74 61 6b | 65 6e 2c 0d 0a 69 74 20 |eady tak|en,..it |
|00000620| 6d 61 79 20 61 70 70 65 | 61 72 20 74 68 61 74 20 |may appe|ar that |
|00000630| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 77 61 79 20 |there is| no way |
|00000640| 74 6f 20 66 69 6c 6c 20 | 61 6c 6c 20 61 76 61 69 |to fill |all avai|
|00000650| 6c 61 62 6c 65 20 62 61 | 73 65 70 61 67 65 0d 0a |lable ba|sepage..|
|00000660| 73 70 61 63 65 20 77 69 | 74 68 20 70 72 6f 67 72 |space wi|th progr|
|00000670| 61 6d 20 61 72 67 75 6d | 65 6e 74 73 20 62 79 20 |am argum|ents by |
|00000680| 61 6e 79 20 6d 65 74 68 | 6f 64 2c 0d 0a 73 68 6f |any meth|od,..sho|
|00000690| 72 74 20 6f 66 20 77 72 | 69 74 69 6e 67 20 64 69 |rt of wr|iting di|
|000006a0| 72 65 63 74 6c 79 20 74 | 6f 20 61 20 63 6f 6d 70 |rectly t|o a comp|
|000006b0| 75 74 65 72 20 6d 65 6d | 6f 72 79 2e 0d 0a 41 73 |uter mem|ory...As|
|000006c0| 20 77 65 20 77 69 6c 6c | 20 73 65 65 20 6c 61 74 | we will| see lat|
|000006d0| 65 72 20 74 68 69 73 20 | 69 73 20 6e 6f 74 20 74 |er this |is not t|
|000006e0| 72 75 65 2c 20 65 76 65 | 6e 20 69 66 20 0d 0a 69 |rue, eve|n if ..i|
|000006f0| 74 20 72 65 71 75 69 72 | 65 73 20 61 20 6c 69 74 |t requir|es a lit|
|00000700| 74 6c 65 20 62 69 74 20 | 6f 66 20 74 72 69 63 6b |tle bit |of trick|
|00000710| 65 72 79 2e 0d 0a 28 53 | 65 65 20 66 75 72 74 68 |ery...(S|ee furth|
|00000720| 65 72 20 64 65 73 63 72 | 69 70 74 69 6f 6e 73 20 |er descr|iptions |
|00000730| 68 6f 77 20 74 6f 20 64 | 65 66 69 6e 65 20 61 6e |how to d|efine an|
|00000740| 64 20 65 78 65 63 75 74 | 65 20 66 75 6e 63 74 69 |d execut|e functi|
|00000750| 6f 6e 20 6b 65 79 73 2e | 29 0d 0a 0d 0a 57 68 65 |on keys.|)....Whe|
|00000760| 6e 20 79 6f 75 20 61 72 | 65 20 72 65 61 64 79 20 |n you ar|e ready |
|00000770| 74 6f 20 71 75 69 74 2c | 20 62 65 63 61 75 73 65 |to quit,| because|
|00000780| 20 79 6f 75 20 61 72 65 | 20 64 6f 6e 65 20 6f 72 | you are| done or|
|00000790| 20 6c 6f 73 74 20 61 6e | 64 20 77 69 73 68 20 74 | lost an|d wish t|
|000007a0| 6f 20 73 74 61 72 74 0d | 0a 61 66 72 65 73 68 2c |o start.|.afresh,|
|000007b0| 20 65 6e 74 65 72 20 5c | 76 65 72 62 7c 24 71 7c | enter \|verb|$q||
|000007c0| 2e 20 49 66 20 74 68 65 | 20 64 65 62 75 67 65 65 |. If the| debugee|
|000007d0| 20 70 72 6f 63 65 73 73 | 20 65 78 69 74 65 64 20 | process| exited |
|000007e0| 6f 66 20 69 74 73 20 6f | 77 6e 20 61 63 63 6f 72 |of its o|wn accor|
|000007f0| 64 0d 0a 74 68 65 6e 20 | 5c 73 7a 61 64 62 5c 20 |d..then |\szadb\ |
|00000800| 77 69 6c 6c 20 74 65 72 | 6d 69 6e 61 74 65 20 74 |will ter|minate t|
|00000810| 6f 6f 2e 0d 0a 0d 0a 5c | 73 75 62 73 65 63 74 69 |oo.....\|subsecti|
|00000820| 6f 6e 7b 53 65 74 74 69 | 6e 67 20 62 72 65 61 6b |on{Setti|ng break|
|00000830| 70 6f 69 6e 74 73 7d 0d | 0a 45 78 65 63 75 74 69 |points}.|.Executi|
|00000840| 6e 67 20 61 20 70 72 6f | 67 72 61 6d 20 75 6e 64 |ng a pro|gram und|
|00000850| 65 72 20 61 20 64 65 62 | 75 67 67 65 72 20 69 73 |er a deb|ugger is|
|00000860| 20 6f 66 20 6e 6f 20 67 | 72 65 61 74 20 75 73 65 | of no g|reat use|
|00000870| 20 77 69 74 68 6f 75 74 | 20 62 72 65 61 6b 70 6f | without| breakpo|
|00000880| 69 6e 74 73 2e 0d 0a 48 | 65 72 65 20 69 73 20 74 |ints...H|ere is t|
|00000890| 68 65 20 73 69 6d 70 6c | 65 73 74 20 77 61 79 20 |he simpl|est way |
|000008a0| 69 6e 20 77 68 69 63 68 | 20 74 68 65 79 20 63 61 |in which| they ca|
|000008b0| 6e 20 62 65 20 73 65 74 | 2e 0d 0a 5c 62 65 67 69 |n be set|...\begi|
|000008c0| 6e 7b 65 78 6d 70 6c 7d | 0d 0a 09 7b 5c 74 74 20 |n{exmpl}|...{\tt |
|000008d0| 6d 61 69 6e 3a 62 7d 0d | 0a 5c 65 6e 64 7b 65 78 |main:b}.|.\end{ex|
|000008e0| 6d 70 6c 7d 0d 0a 57 65 | 20 63 61 6e 20 64 6f 20 |mpl}..We| can do |
|000008f0| 65 76 65 6e 20 62 65 74 | 74 65 72 20 74 68 61 6e |even bet|ter than|
|00000900| 20 74 68 61 74 2e 20 54 | 72 79 0d 0a 5c 62 65 67 | that. T|ry..\beg|
|00000910| 69 6e 7b 65 78 6d 70 6c | 7d 0d 0a 09 7b 5c 74 74 |in{exmpl|}...{\tt|
|00000920| 20 6d 61 69 6e 3a 62 20 | 3d 22 4d 79 20 66 69 72 | main:b |="My fir|
|00000930| 73 74 20 73 7a 61 64 62 | 20 62 72 65 61 6b 70 6f |st szadb| breakpo|
|00000940| 69 6e 74 22 6e 3b 2e 3d | 58 44 3b 2c 38 2f 61 69 |int"n;.=|XD;,8/ai|
|00000950| 7d 0d 0a 5c 65 6e 64 7b | 65 78 6d 70 6c 7d 0d 0a |}..\end{|exmpl}..|
|00000960| 45 76 65 72 79 74 68 69 | 6e 67 20 77 68 69 63 68 |Everythi|ng which|
|00000970| 20 66 6f 6c 6c 6f 77 73 | 20 5c 6e 61 6d 65 7b 3a | follows| \name{:|
|00000980| 62 7d 20 6f 6e 20 74 68 | 65 20 69 6e 70 75 74 20 |b} on th|e input |
|00000990| 6c 69 6e 65 20 77 69 6c | 6c 20 62 65 20 73 74 6f |line wil|l be sto|
|000009a0| 72 65 64 20 61 6e 64 0d | 0a 65 78 65 63 75 74 65 |red and.|.execute|
|000009b0| 64 20 6c 61 74 65 72 20 | 6f 6e 20 77 68 65 6e 20 |d later |on when |
|000009c0| 74 68 65 20 62 72 65 61 | 6b 70 6f 69 6e 74 20 69 |the brea|kpoint i|
|000009d0| 73 20 68 69 74 2e 0d 0a | 4d 75 6c 74 69 70 6c 65 |s hit...|Multiple|
|000009e0| 20 63 6f 6d 6d 61 6e 64 | 73 20 61 72 65 20 73 65 | command|s are se|
|000009f0| 70 61 72 61 74 65 64 20 | 62 79 20 73 65 6d 69 63 |parated |by semic|
|00000a00| 6f 6c 6f 6e 73 2e 0d 0a | 42 79 20 74 68 65 20 77 |olons...|By the w|
|00000a10| 61 79 2c 20 79 6f 75 20 | 6d 61 79 20 75 73 65 20 |ay, you |may use |
|00000a20| 73 65 6d 69 2d 63 6f 6c | 6f 6e 73 20 66 6f 72 20 |semi-col|ons for |
|00000a30| 69 6d 6d 65 64 69 61 74 | 65 20 72 65 71 75 65 73 |immediat|e reques|
|00000a40| 74 73 20 74 6f 6f 2e 0d | 0a 0d 0a 42 72 65 61 6b |ts too..|...Break|
|00000a50| 70 6f 69 6e 74 73 20 61 | 6c 73 6f 20 63 61 6e 20 |points a|lso can |
|00000a60| 68 61 76 65 20 63 6f 75 | 6e 74 73 2e 20 20 55 73 |have cou|nts. Us|
|00000a70| 69 6e 67 20 61 73 20 61 | 6e 20 65 78 61 6d 70 6c |ing as a|n exampl|
|00000a80| 65 20 5c 6e 61 6d 65 7b | 75 6e 65 78 70 61 6e 64 |e \name{|unexpand|
|00000a90| 2e 74 6f 73 7d 2c 0d 0a | 61 6e 64 20 61 20 66 72 |.tos},..|and a fr|
|00000aa0| 61 67 6d 65 6e 74 20 6f | 66 20 69 74 73 20 64 69 |agment o|f its di|
|00000ab0| 73 61 73 73 65 6d 62 6c | 65 64 20 63 6f 64 65 20 |sassembl|ed code |
|00000ac0| 73 68 6f 77 6e 20 69 6e | 20 61 20 70 72 65 76 69 |shown in| a previ|
|00000ad0| 6f 75 73 20 73 65 63 74 | 69 6f 6e 2c 20 77 65 20 |ous sect|ion, we |
|00000ae0| 0d 0a 6d 61 79 20 73 65 | 74 20 61 20 62 72 65 61 |..may se|t a brea|
|00000af0| 6b 70 6f 69 6e 74 0d 0a | 5c 62 65 67 69 6e 7b 65 |kpoint..|\begin{e|
|00000b00| 78 6d 70 6c 7d 0d 0a 09 | 7b 5c 74 74 20 6d 61 69 |xmpl}...|{\tt mai|
|00000b10| 6e 2b 31 38 2c 33 3a 62 | 3d 22 61 62 6f 75 74 20 |n+18,3:b|="about |
|00000b20| 74 6f 20 72 65 61 64 22 | 6e 7d 0d 0a 5c 65 6e 64 |to read"|n}..\end|
|00000b30| 7b 65 78 6d 70 6c 7d 0d | 0a 69 6e 20 61 20 6d 61 |{exmpl}.|.in a ma|
|00000b40| 69 6e 20 6c 6f 6f 70 20 | 6f 66 20 74 68 69 73 20 |in loop |of this |
|00000b50| 70 72 6f 67 72 61 6d 2c | 20 6a 75 73 74 20 62 65 |program,| just be|
|00000b60| 66 6f 72 65 20 7b 5c 74 | 74 20 66 67 65 74 63 28 |fore {\t|t fgetc(|
|00000b70| 29 7d 20 69 73 20 63 61 | 6c 6c 65 64 2e 0d 0a 57 |)} is ca|lled...W|
|00000b80| 69 74 68 20 74 68 69 73 | 20 63 6f 75 6e 74 20 61 |ith this| count a|
|00000b90| 6e 20 65 78 65 63 75 74 | 69 6f 6e 20 77 69 6c 6c |n execut|ion will|
|00000ba0| 20 73 74 6f 70 20 6f 6e | 6c 79 20 0d 0a 66 6f 72 | stop on|ly ..for|
|00000bb0| 20 65 76 65 72 79 20 74 | 68 69 72 64 20 63 68 61 | every t|hird cha|
|00000bc0| 72 61 63 74 65 72 20 74 | 6f 20 62 65 20 61 63 63 |racter t|o be acc|
|00000bd0| 65 70 74 65 64 2e 0d 0a | 0d 0a 53 65 74 74 69 6e |epted...|..Settin|
|00000be0| 67 20 61 20 62 72 65 61 | 6b 70 6f 69 6e 74 20 6f |g a brea|kpoint o|
|00000bf0| 6e 20 74 68 65 20 74 6f | 70 20 6f 66 20 61 6e 20 |n the to|p of an |
|00000c00| 65 78 69 73 74 69 6e 67 | 20 6f 6e 65 20 69 73 20 |existing| one is |
|00000c10| 61 6c 6c 6f 77 65 64 20 | 61 6e 64 20 69 74 20 77 |allowed |and it w|
|00000c20| 69 6c 6c 0d 0a 73 69 6d | 70 6c 79 20 63 61 75 73 |ill..sim|ply caus|
|00000c30| 65 20 61 20 72 65 70 6c | 61 63 65 6d 65 6e 74 20 |e a repl|acement |
|00000c40| 2d 2d 2d 20 63 68 61 6e | 67 69 6e 67 20 70 6f 73 |--- chan|ging pos|
|00000c50| 73 69 62 6c 79 20 61 20 | 63 6f 75 6e 74 20 61 6e |sibly a |count an|
|00000c60| 64 0d 0a 63 6f 6d 6d 61 | 6e 64 73 20 74 6f 20 65 |d..comma|nds to e|
|00000c70| 78 65 63 75 74 65 2e 20 | 20 41 20 6c 69 73 74 20 |xecute. | A list |
|00000c80| 6f 66 20 61 6c 6c 20 63 | 75 72 72 65 6e 74 20 62 |of all c|urrent b|
|00000c90| 72 65 61 6b 70 6f 69 6e | 74 73 2c 20 77 69 74 68 |reakpoin|ts, with|
|00000ca0| 20 74 68 65 69 72 20 63 | 6f 75 6e 74 73 0d 0a 61 | their c|ounts..a|
|00000cb0| 6e 64 20 61 73 73 6f 63 | 69 61 74 65 64 20 63 6f |nd assoc|iated co|
|00000cc0| 6d 6d 61 6e 64 73 2c 20 | 20 69 73 20 70 72 6f 64 |mmands, | is prod|
|00000cd0| 75 63 65 64 20 62 79 20 | 74 68 65 20 5c 76 65 72 |uced by |the \ver|
|00000ce0| 62 7c 24 62 7c 20 72 65 | 71 75 65 73 74 2e 0d 0a |b|$b| re|quest...|
|00000cf0| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 73 68 6f 77 |Informat|ion show|
|00000d00| 6e 20 61 74 20 74 68 65 | 20 62 6f 74 74 6f 6d 20 |n at the| bottom |
|00000d10| 6f 66 20 74 68 69 73 20 | 6c 69 73 74 20 77 69 6c |of this |list wil|
|00000d20| 6c 20 62 65 20 65 78 70 | 6c 61 69 6e 65 64 20 6c |l be exp|lained l|
|00000d30| 61 74 65 72 2e 0d 0a 0d | 0a 49 74 20 69 73 20 6e |ater....|.It is n|
|00000d40| 6f 74 20 74 68 65 20 62 | 65 73 74 20 69 64 65 61 |ot the b|est idea|
|00000d50| 20 74 6f 20 73 65 74 20 | 61 20 62 72 65 61 6b 70 | to set |a breakp|
|00000d60| 6f 69 6e 74 20 73 6f 6d | 65 77 68 65 72 65 20 62 |oint som|ewhere b|
|00000d70| 65 74 77 65 65 6e 20 74 | 77 6f 20 70 72 6f 67 72 |etween t|wo progr|
|00000d80| 61 6d 0d 0a 69 6e 73 74 | 72 75 63 74 69 6f 6e 73 |am..inst|ructions|
|00000d90| 2e 20 20 4e 6f 74 68 69 | 6e 67 20 74 65 72 72 69 |. Nothi|ng terri|
|00000da0| 62 6c 65 20 77 69 6c 6c | 20 68 61 70 70 65 6e 20 |ble will| happen |
|00000db0| 69 6d 6d 65 64 69 61 74 | 65 6c 79 2c 0d 0a 62 75 |immediat|ely,..bu|
|00000dc0| 74 20 79 6f 75 72 20 64 | 65 62 75 67 67 69 6e 67 |t your d|ebugging|
|00000dd0| 20 72 75 6e 20 6d 61 79 | 20 65 6e 64 20 75 70 20 | run may| end up |
|00000de0| 70 72 65 6d 61 74 75 72 | 65 6c 79 20 61 6d 69 64 |prematur|ely amid|
|00000df0| 20 61 6e 20 75 74 74 65 | 72 20 63 6f 6e 66 75 73 | an utte|r confus|
|00000e00| 69 6f 6e 2e 0d 0a 53 6f | 6d 65 74 69 6d 65 73 20 |ion...So|metimes |
|00000e10| 69 74 20 69 73 20 70 6f | 73 73 69 62 6c 65 20 74 |it is po|ssible t|
|00000e20| 6f 0d 0a 72 65 73 74 61 | 72 74 20 61 20 77 61 79 |o..resta|rt a way|
|00000e30| 77 61 72 64 20 70 72 6f | 67 72 61 6d 20 62 79 20 |ward pro|gram by |
|00000e40| 77 72 69 74 69 6e 67 20 | 61 20 6e 65 65 64 65 64 |writing |a needed|
|00000e50| 20 61 64 64 72 65 73 73 | 20 64 69 72 65 63 74 6c | address| directl|
|00000e60| 79 20 69 6e 74 6f 20 61 | 0d 0a 70 72 6f 67 72 61 |y into a|..progra|
|00000e70| 6d 20 63 6f 75 6e 74 65 | 72 20 77 69 74 68 20 61 |m counte|r with a|
|00000e80| 20 7b 5c 69 74 20 61 64 | 64 72 65 73 73 7d 7b 5c | {\it ad|dress}{\|
|00000e90| 74 74 20 3e 70 63 7d 20 | 72 65 71 75 65 73 74 2c |tt >pc} |request,|
|00000ea0| 20 62 75 74 20 74 68 69 | 73 20 69 73 20 6e 6f 74 | but thi|s is not|
|00000eb0| 0d 0a 67 75 61 72 61 6e | 74 65 65 64 20 74 6f 20 |..guaran|teed to |
|00000ec0| 77 6f 72 6b 2e 20 20 49 | 74 20 69 73 20 61 6c 73 |work. I|t is als|
|00000ed0| 6f 20 61 64 76 69 73 61 | 62 6c 65 20 74 6f 20 6b |o advisa|ble to k|
|00000ee0| 65 65 70 20 62 72 65 61 | 6b 70 6f 69 6e 74 73 20 |eep brea|kpoints |
|00000ef0| 6f 6e 20 61 6e 0d 0a 65 | 78 65 63 75 74 69 6f 6e |on an..e|xecution|
|00000f00| 20 70 61 74 68 2e 20 20 | 54 68 65 79 20 61 72 65 | path. |They are|
|00000f10| 20 61 20 6c 69 6d 69 74 | 65 64 20 72 65 73 6f 75 | a limit|ed resou|
|00000f20| 72 63 65 20 61 6e 64 20 | 74 68 65 72 65 20 69 73 |rce and |there is|
|00000f30| 20 6e 6f 20 70 6f 69 6e | 74 0d 0a 77 61 73 74 69 | no poin|t..wasti|
|00000f40| 6e 67 20 69 74 2e 0d 0a | 0d 0a 5c 73 75 62 73 65 |ng it...|..\subse|
|00000f50| 63 74 69 6f 6e 7b 44 69 | 73 70 6c 61 79 69 6e 67 |ction{Di|splaying|
|00000f60| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 7d 0d 0a 5c | informa|tion}..\|
|00000f70| 73 7a 61 64 62 5c 20 70 | 72 6f 76 69 64 65 73 20 |szadb\ p|rovides |
|00000f80| 6d 61 6e 79 20 77 61 79 | 73 20 74 6f 20 64 69 73 |many way|s to dis|
|00000f90| 70 6c 61 79 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |play inf|ormation|
|00000fa0| 20 61 62 6f 75 74 20 74 | 68 65 20 73 74 61 74 65 | about t|he state|
|00000fb0| 0d 0a 6f 66 20 79 6f 75 | 72 20 70 72 6f 67 72 61 |..of you|r progra|
|00000fc0| 6d 2e 20 20 53 6f 6d 65 | 20 6f 66 20 74 68 65 73 |m. Some| of thes|
|00000fd0| 65 20 72 65 71 75 65 73 | 74 73 20 77 65 72 65 20 |e reques|ts were |
|00000fe0| 64 65 74 61 69 6c 65 64 | 20 61 62 6f 76 65 2e 20 |detailed| above. |
|00000ff0| 41 6e 6f 74 68 65 72 0d | 0a 69 73 20 5c 76 65 72 |Another.|.is \ver|
|00001000| 62 7c 24 72 7c 2c 20 77 | 68 69 63 68 20 77 69 6c |b|$r|, w|hich wil|
|00001010| 6c 20 73 68 6f 77 20 74 | 68 65 20 63 6f 6e 74 65 |l show t|he conte|
|00001020| 6e 74 73 20 6f 66 20 61 | 6c 6c 20 72 65 67 69 73 |nts of a|ll regis|
|00001030| 74 65 72 73 0d 0a 61 6e | 64 20 73 74 61 74 75 73 |ters..an|d status|
|00001040| 20 66 6c 61 67 73 2e 20 | 49 66 20 79 6f 75 20 61 | flags. |If you a|
|00001050| 72 65 20 69 6e 74 65 72 | 65 73 74 65 64 0d 0a 69 |re inter|ested..i|
|00001060| 6e 20 61 6e 20 69 6e 64 | 69 76 69 64 75 61 6c 20 |n an ind|ividual |
|00001070| 72 65 67 69 73 74 65 72 | 20 74 68 65 6e 20 75 73 |register| then us|
|00001080| 65 20 73 6f 6d 65 74 68 | 69 6e 67 20 6c 69 6b 65 |e someth|ing like|
|00001090| 0d 0a 5c 62 65 67 69 6e | 7b 65 78 6d 70 6c 7d 0d |..\begin|{exmpl}.|
|000010a0| 0a 09 7b 5c 74 74 20 3c | 61 30 3d 58 7d 0d 0a 5c |..{\tt <|a0=X}..\|
|000010b0| 65 6e 64 7b 65 78 6d 70 | 6c 7d 0d 0a 52 65 70 6c |end{exmp|l}..Repl|
|000010c0| 61 63 69 6e 67 20 61 62 | 6f 76 65 20 7b 5c 74 74 |acing ab|ove {\tt|
|000010d0| 20 3d 7d 0d 0a 77 69 74 | 68 20 7b 5c 74 74 20 2f | =}..wit|h {\tt /|
|000010e0| 7d 2c 20 6f 72 20 7b 5c | 74 74 20 3f 7d 2c 20 77 |}, or {\|tt ?}, w|
|000010f0| 69 6c 6c 20 62 72 69 6e | 67 20 61 20 68 65 78 61 |ill brin|g a hexa|
|00001100| 64 65 63 69 6d 61 6c 20 | 64 69 73 70 6c 61 79 20 |decimal |display |
|00001110| 6f 66 20 74 68 65 20 6c | 6f 6e 67 0d 0a 77 6f 72 |of the l|ong..wor|
|00001120| 64 20 73 74 6f 72 65 64 | 20 61 74 20 74 68 65 20 |d stored| at the |
|00001130| 6c 6f 63 61 74 69 6f 6e | 20 70 6f 69 6e 74 65 64 |location| pointed|
|00001140| 20 74 6f 20 62 79 20 72 | 65 67 69 73 74 65 72 20 | to by r|egister |
|00001150| 7b 5c 74 74 20 61 30 7d | 2e 0d 0a 43 61 72 65 66 |{\tt a0}|...Caref|
|00001160| 75 6c 20 68 65 72 65 2c | 20 74 68 65 20 6c 61 73 |ul here,| the las|
|00001170| 74 20 66 6f 72 6d 20 77 | 69 6c 6c 20 6d 6f 76 65 |t form w|ill move|
|00001180| 20 74 68 65 20 60 60 64 | 6f 74 27 27 2e 0d 0a 54 | the ``d|ot''...T|
|00001190| 68 65 72 65 20 61 72 65 | 20 6d 61 6e 79 20 6f 74 |here are| many ot|
|000011a0| 68 65 72 20 70 6f 73 73 | 69 62 6c 65 20 66 6f 72 |her poss|ible for|
|000011b0| 6d 61 74 73 2e 0d 0a 54 | 72 79 2c 20 66 6f 72 20 |mats...T|ry, for |
|000011c0| 65 78 61 6d 70 6c 65 2c | 20 5c 68 62 6f 78 7b 7b |example,| \hbox{{|
|000011d0| 5c 74 74 20 6d 61 69 6e | 2c 32 30 2f 78 7d 7d 20 |\tt main|,20/x}} |
|000011e0| 61 6e 64 20 5c 68 62 6f | 78 7b 7b 5c 74 74 20 3c |and \hbo|x{{\tt <|
|000011f0| 62 2c 32 2f 73 7d 7d 2e | 0d 0a 0d 0a 54 68 65 20 |b,2/s}}.|....The |
|00001200| 73 65 63 6f 6e 64 20 65 | 78 61 6d 70 6c 65 20 75 |second e|xample u|
|00001210| 73 65 73 20 6f 6e 65 20 | 6f 66 20 66 6f 75 72 20 |ses one |of four |
|00001220| 72 65 61 64 2d 6f 6e 6c | 79 20 76 61 72 69 61 62 |read-onl|y variab|
|00001230| 6c 65 73 20 70 72 6f 76 | 69 64 65 64 20 62 79 0d |les prov|ided by.|
|00001240| 0a 5c 73 7a 61 64 62 2c | 20 77 68 69 63 68 20 61 |.\szadb,| which a|
|00001250| 72 65 0d 0a 5c 62 65 67 | 69 6e 7b 65 78 6d 70 6c |re..\beg|in{exmpl|
|00001260| 7d 0d 0a 09 5c 6d 61 6b | 65 62 6f 78 5b 2e 37 30 |}...\mak|ebox[.70|
|00001270| 69 6e 5d 5b 6c 5d 7b 5c | 74 74 20 6c 7d 6c 6f 77 |in][l]{\|tt l}low|
|00001280| 65 73 74 20 74 65 78 74 | 20 61 64 64 72 65 73 73 |est text| address|
|00001290| 5c 5c 0d 0a 09 5c 6d 61 | 6b 65 62 6f 78 5b 2e 37 |\\...\ma|kebox[.7|
|000012a0| 30 69 6e 5d 5b 6c 5d 7b | 5c 74 74 20 74 7d 6c 65 |0in][l]{|\tt t}le|
|000012b0| 6e 67 74 68 20 6f 66 20 | 74 68 65 20 74 65 78 74 |ngth of |the text|
|000012c0| 20 73 65 67 6d 65 6e 74 | 5c 5c 0d 0a 09 5c 6d 61 | segment|\\...\ma|
|000012d0| 6b 65 62 6f 78 5b 2e 37 | 30 69 6e 5d 5b 6c 5d 7b |kebox[.7|0in][l]{|
|000012e0| 5c 74 74 20 62 7d 73 74 | 61 72 74 20 6f 66 20 74 |\tt b}st|art of t|
|000012f0| 68 65 20 62 62 73 20 73 | 65 67 6d 65 6e 74 5c 5c |he bbs s|egment\\|
|00001300| 0d 0a 09 5c 6d 61 6b 65 | 62 6f 78 5b 2e 37 30 69 |...\make|box[.70i|
|00001310| 6e 5d 5b 6c 5d 7b 5c 74 | 74 20 64 7d 6c 65 6e 67 |n][l]{\t|t d}leng|
|00001320| 74 68 20 6f 66 20 74 68 | 65 20 64 61 74 61 20 73 |th of th|e data s|
|00001330| 65 67 6d 65 6e 74 0d 0a | 5c 65 6e 64 7b 65 78 6d |egment..|\end{exm|
|00001340| 70 6c 7d 0d 0a 57 69 74 | 68 20 61 6e 20 65 78 63 |pl}..Wit|h an exc|
|00001350| 65 70 74 69 6f 6e 20 6f | 66 20 7b 5c 74 74 20 6c |eption o|f {\tt l|
|00001360| 7d 20 6e 61 6d 65 73 20 | 66 6f 6c 6c 6f 77 20 74 |} names |follow t|
|00001370| 68 65 20 7b 5c 73 63 20 | 55 6e 69 78 7d 20 63 6f |he {\sc |Unix} co|
|00001380| 6e 76 65 6e 74 69 6f 6e | 2e 0d 0a 54 68 65 79 20 |nvention|...They |
|00001390| 77 69 6c 6c 20 62 65 20 | 70 61 72 74 69 63 75 6c |will be |particul|
|000013a0| 61 72 79 20 68 61 6e 64 | 79 20 69 66 20 79 6f 75 |ary hand|y if you|
|000013b0| 20 77 69 6c 6c 20 68 61 | 76 65 20 0d 0a 61 20 6d | will ha|ve ..a m|
|000013c0| 69 73 66 6f 72 74 75 6e | 65 20 6f 66 20 64 65 62 |isfortun|e of deb|
|000013d0| 75 67 67 69 6e 67 20 65 | 78 65 63 75 74 61 62 6c |ugging e|xecutabl|
|000013e0| 65 20 77 69 74 68 6f 75 | 74 20 61 20 73 79 6d 62 |e withou|t a symb|
|000013f0| 6f 6c 20 74 61 62 6c 65 | 2e 0d 0a 0d 0a 46 6f 72 |ol table|.....For|
|00001400| 6d 61 74 73 20 69 6e 20 | 72 65 71 75 65 73 74 73 |mats in |requests|
|00001410| 20 63 61 6e 20 62 65 20 | 63 6f 6d 62 69 6e 65 64 | can be |combined|
|00001420| 2e 20 20 4c 65 74 20 75 | 73 20 74 72 79 20 73 6f |. Let u|s try so|
|00001430| 6d 65 74 68 69 6e 67 20 | 6c 69 6b 65 0d 0a 66 6f |mething |like..fo|
|00001440| 6c 6c 6f 77 73 2e 0d 0a | 5c 62 65 67 69 6e 7b 71 |llows...|\begin{q|
|00001450| 75 6f 74 65 7d 0d 0a 20 | 20 20 7b 5c 74 74 20 3d |uote}.. | {\tt =|
|00001460| 22 54 65 78 74 20 6d 65 | 6d 6f 72 79 20 64 75 6d |"Text me|mory dum|
|00001470| 70 22 32 6e 3b 6d 61 69 | 6e 2c 3c 62 2d 6d 61 69 |p"2n;mai|n,<b-mai|
|00001480| 6e 5c 25 38 2b 31 2f 34 | 78 34 5c 63 61 72 72 65 |n\%8+1/4|x4\carre|
|00001490| 74 20 72 72 7c 72 72 38 | 63 6e 7d 0d 0a 5c 65 6e |t rr|rr8|cn}..\en|
|000014a0| 64 7b 71 75 6f 74 65 7d | 0d 0a 61 6e 64 20 68 65 |d{quote}|..and he|
|000014b0| 72 65 20 61 72 65 20 69 | 6e 69 74 69 61 6c 20 6c |re are i|nitial l|
|000014c0| 69 6e 65 73 20 6f 66 20 | 61 20 72 65 73 75 6c 74 |ines of |a result|
|000014d0| 69 6e 67 20 64 69 73 70 | 6c 61 79 2c 20 77 68 65 |ing disp|lay, whe|
|000014e0| 72 65 20 60 60 2e 27 27 | 0d 0a 72 65 70 6c 61 63 |re ``.''|..replac|
|000014f0| 65 73 20 61 6c 6c 20 6e | 6f 6e 2d 70 72 69 6e 74 |es all n|on-print|
|00001500| 61 62 6c 65 20 63 68 61 | 72 61 63 74 65 72 73 2e |able cha|racters.|
|00001510| 0d 0a 5c 72 65 61 64 65 | 78 61 6d 70 6c 65 7b 64 |..\reade|xample{d|
|00001520| 75 6d 70 2e 65 78 6d 7d | 0d 0a 4e 6f 74 65 20 74 |ump.exm}|..Note t|
|00001530| 68 61 74 20 64 69 76 69 | 73 69 6f 6e 20 69 73 20 |hat divi|sion is |
|00001540| 64 65 6e 6f 74 65 64 20 | 62 79 20 61 20 5c 76 65 |denoted |by a \ve|
|00001550| 72 62 7c 25 7c 20 63 68 | 61 72 61 63 74 65 72 20 |rb|%| ch|aracter |
|00001560| 61 6e 64 20 74 68 61 74 | 20 38 0d 0a 64 69 76 69 |and that| 8..divi|
|00001570| 64 65 73 20 61 20 64 69 | 66 66 65 72 65 6e 63 65 |des a di|fference|
|00001580| 20 5c 76 65 72 62 7c 3c | 62 2d 6d 61 69 6e 7c 20 | \verb|<|b-main| |
|00001590| 61 6e 64 20 6e 6f 74 20 | 6f 6e 6c 79 20 5c 76 65 |and not |only \ve|
|000015a0| 72 62 7c 6d 61 69 6e 7c | 2c 0d 0a 73 69 6e 63 65 |rb|main||,..since|
|000015b0| 20 61 6c 6c 20 65 78 70 | 72 65 73 73 69 6f 6e 73 | all exp|ressions|
|000015c0| 20 61 72 65 20 65 76 61 | 6c 75 61 74 65 64 20 69 | are eva|luated i|
|000015d0| 6e 20 73 74 72 69 63 74 | 20 6c 65 66 74 2d 74 6f |n strict| left-to|
|000015e0| 2d 72 69 67 68 74 20 6f | 72 64 65 72 2e 0d 0a 0d |-right o|rder....|
|000015f0| 0a 4c 65 74 27 73 20 62 | 72 65 61 6b 20 64 6f 77 |.Let's b|reak dow|
|00001600| 6e 20 74 68 65 20 66 6f | 72 6d 61 74 20 6d 6f 64 |n the fo|rmat mod|
|00001610| 69 66 69 65 72 73 20 74 | 6f 20 73 65 65 20 77 68 |ifiers t|o see wh|
|00001620| 61 74 20 69 73 20 61 63 | 74 75 61 6c 6c 79 20 68 |at is ac|tually h|
|00001630| 61 70 70 65 6e 69 6e 67 | 0d 0a 5c 62 65 67 69 6e |appening|..\begin|
|00001640| 7b 65 78 6d 70 6c 7d 0d | 0a 20 20 5c 6d 61 6b 65 |{exmpl}.|. \make|
|00001650| 62 6f 78 5b 2e 37 30 69 | 6e 5d 5b 6c 5d 7b 5c 74 |box[.70i|n][l]{\t|
|00001660| 74 20 34 78 7d 20 70 72 | 69 6e 74 20 66 6f 75 72 |t 4x} pr|int four|
|00001670| 20 73 68 6f 72 74 20 77 | 6f 72 64 73 20 69 6e 20 | short w|ords in |
|00001680| 68 65 78 2c 5c 5c 0d 0a | 20 20 5c 6d 61 6b 65 62 |hex,\\..| \makeb|
|00001690| 6f 78 5b 2e 37 30 69 6e | 5d 5b 6c 5d 7b 5c 74 74 |ox[.70in|][l]{\tt|
|000016a0| 20 34 5c 63 61 72 72 65 | 74 7d 20 62 61 63 6b 75 | 4\carre|t} backu|
|000016b0| 70 20 74 68 65 20 60 60 | 64 6f 74 27 27 20 62 79 |p the ``|dot'' by|
|000016c0| 20 66 6f 75 72 0d 0a 09 | 63 75 72 72 65 6e 74 20 | four...|current |
|000016d0| 66 69 65 6c 64 73 20 28 | 73 68 6f 72 74 20 77 6f |fields (|short wo|
|000016e0| 72 64 73 29 2c 5c 5c 0d | 0a 20 20 5c 6d 61 6b 65 |rds),\\.|. \make|
|000016f0| 62 6f 78 5b 2e 37 30 69 | 6e 5d 5b 6c 5d 7b 5c 74 |box[.70i|n][l]{\t|
|00001700| 74 20 72 72 7c 72 72 7d | 20 70 72 69 6e 74 20 32 |t rr|rr}| print 2|
|00001710| 20 62 6c 61 6e 6b 73 2c | 20 0d 0a 20 20 20 20 20 | blanks,| .. |
|00001720| 20 20 76 65 72 74 69 63 | 61 6c 20 62 61 72 2c 20 | vertic|al bar, |
|00001730| 61 6e 64 20 32 20 6d 6f | 72 65 20 62 6c 61 6e 6b |and 2 mo|re blank|
|00001740| 73 2c 5c 5c 0d 0a 20 20 | 5c 6d 61 6b 65 62 6f 78 |s,\\.. |\makebox|
|00001750| 5b 2e 37 30 69 6e 5d 5b | 6c 5d 7b 5c 74 74 20 38 |[.70in][|l]{\tt 8|
|00001760| 63 7d 20 70 72 69 6e 74 | 20 38 20 63 68 61 72 61 |c} print| 8 chara|
|00001770| 63 74 65 72 73 2c 5c 5c | 0d 0a 20 20 5c 6d 61 6b |cters,\\|.. \mak|
|00001780| 65 62 6f 78 5b 2e 37 30 | 69 6e 5d 5b 6c 5d 7b 5c |ebox[.70|in][l]{\|
|00001790| 74 74 20 6e 7d 20 61 6e | 64 20 61 20 6e 65 77 6c |tt n} an|d a newl|
|000017a0| 69 6e 65 2e 0d 0a 5c 65 | 6e 64 7b 65 78 6d 70 6c |ine...\e|nd{exmpl|
|000017b0| 7d 0d 0a 0d 0a 44 69 73 | 70 6c 61 79 73 20 74 68 |}....Dis|plays th|
|000017c0| 61 74 20 61 72 65 20 77 | 69 64 65 72 20 74 68 65 |at are w|ider the|
|000017d0| 6e 20 61 20 63 75 72 72 | 65 6e 74 20 73 63 72 65 |n a curr|ent scre|
|000017e0| 65 6e 20 77 69 64 74 68 | 20 28 34 30 20 6f 72 20 |en width| (40 or |
|000017f0| 38 30 29 20 77 69 6c 6c | 0d 0a 68 61 76 65 20 6c |80) will|..have l|
|00001800| 69 6e 65 73 20 73 70 6c | 69 74 20 61 75 74 6f 6d |ines spl|it autom|
|00001810| 61 74 69 63 61 6c 6c 79 | 2e 0d 0a 0d 0a 5c 73 75 |atically|.....\su|
|00001820| 62 73 65 63 74 69 6f 6e | 7b 52 65 63 6f 72 64 69 |bsection|{Recordi|
|00001830| 6e 67 20 79 6f 75 72 20 | 73 65 73 73 69 6f 6e 7d |ng your |session}|
|00001840| 0d 0a 41 20 72 65 71 75 | 65 73 74 20 5c 76 65 72 |..A requ|est \ver|
|00001850| 62 7c 24 3e 7c 7b 5c 73 | 6c 20 66 69 6c 65 6e 61 |b|$>|{\s|l filena|
|00001860| 6d 65 5c 2f 7d 20 73 74 | 61 72 74 73 20 77 72 69 |me\/} st|arts wri|
|00001870| 74 69 6e 67 20 61 20 74 | 72 61 6e 73 63 72 69 70 |ting a t|ranscrip|
|00001880| 74 20 0d 0a 6f 66 20 65 | 76 65 72 79 74 68 69 6e |t ..of e|verythin|
|00001890| 67 20 77 68 69 63 68 20 | 73 68 6f 77 73 0d 0a 6f |g which |shows..o|
|000018a0| 6e 20 79 6f 75 72 20 73 | 63 72 65 65 6e 20 74 6f |n your s|creen to|
|000018b0| 20 74 68 65 20 66 69 6c | 65 20 7b 5c 73 6c 20 66 | the fil|e {\sl f|
|000018c0| 69 6c 65 6e 61 6d 65 7d | 2e 20 41 6c 6c 20 65 78 |ilename}|. All ex|
|000018d0| 61 6d 70 6c 65 73 20 6c | 6f 6e 67 65 72 20 74 68 |amples l|onger th|
|000018e0| 61 6e 20 61 20 63 6f 75 | 70 6c 65 20 6f 66 0d 0a |an a cou|ple of..|
|000018f0| 6c 69 6e 65 73 20 77 65 | 72 65 20 70 72 65 70 61 |lines we|re prepa|
|00001900| 72 65 64 20 74 68 69 73 | 20 77 61 79 2e 20 49 66 |red this| way. If|
|00001910| 20 74 68 65 20 7b 5c 73 | 6c 20 66 69 6c 65 6e 61 | the {\s|l filena|
|00001920| 6d 65 5c 2f 7d 0d 0a 69 | 73 20 6d 69 73 73 69 6e |me\/}..i|s missin|
|00001930| 67 20 74 68 65 6e 20 74 | 68 65 20 63 75 72 72 65 |g then t|he curre|
|00001940| 6e 74 6c 79 0d 0a 6f 70 | 65 6e 65 64 20 74 72 61 |ntly..op|ened tra|
|00001950| 6e 73 63 72 69 70 74 20 | 77 69 6c 6c 20 62 65 20 |nscript |will be |
|00001960| 63 6c 6f 73 65 64 2e 20 | 54 68 65 20 6f 75 74 70 |closed. |The outp|
|00001970| 75 74 20 69 73 20 61 6c | 77 61 79 73 20 61 70 70 |ut is al|ways app|
|00001980| 65 6e 64 65 64 20 74 6f | 20 74 68 65 20 67 69 76 |ended to| the giv|
|00001990| 65 6e 0d 0a 66 69 6c 65 | 2c 20 73 6f 20 74 68 61 |en..file|, so tha|
|000019a0| 74 20 69 74 20 69 73 20 | 70 6f 73 73 69 62 6c 65 |t it is |possible|
|000019b0| 20 74 6f 20 6f 70 65 6e | 2c 20 63 6c 6f 73 65 2c | to open|, close,|
|000019c0| 20 61 6e 64 20 72 65 2d | 6f 70 65 6e 20 74 68 65 | and re-|open the|
|000019d0| 20 73 61 6d 65 20 66 69 | 6c 65 20 61 6e 79 0d 0a | same fi|le any..|
|000019e0| 6e 75 6d 62 65 72 20 6f | 66 20 74 69 6d 65 73 2e |number o|f times.|
|000019f0| 0d 0a 0d 0a 42 65 63 61 | 75 73 65 20 47 45 4d 44 |....Beca|use GEMD|
|00001a00| 4f 53 20 69 73 20 6e 6f | 74 20 72 65 2d 65 6e 74 |OS is no|t re-ent|
|00001a10| 72 61 6e 74 20 69 74 20 | 69 73 20 6e 6f 74 20 61 |rant it |is not a|
|00001a20| 20 76 65 72 79 0d 0a 76 | 65 72 79 20 67 6f 6f 64 | very..v|ery good|
|00001a30| 20 69 64 65 61 20 74 6f | 20 70 65 72 66 6f 72 6d | idea to| perform|
|00001a40| 20 61 6e 20 61 63 74 75 | 61 6c 20 66 69 6c 65 20 | an actu|al file |
|00001a50| 77 72 69 74 65 20 77 68 | 69 6c 65 20 70 72 6f 63 |write wh|ile proc|
|00001a60| 65 73 73 69 6e 67 0d 0a | 61 20 47 45 4d 44 4f 53 |essing..|a GEMDOS|
|00001a70| 20 63 61 6c 6c 2e 0d 0a | 49 74 20 69 73 20 6e 65 | call...|It is ne|
|00001a80| 61 72 6c 79 20 63 65 72 | 74 61 69 6e 20 79 6f 75 |arly cer|tain you|
|00001a90| 20 77 69 6c 6c 20 63 72 | 61 73 68 20 79 6f 75 72 | will cr|ash your|
|00001aa0| 20 73 79 73 74 65 6d 2e | 0d 0a 54 68 65 20 73 61 | system.|..The sa|
|00001ab0| 66 65 73 74 20 63 6f 75 | 72 73 65 20 69 6e 20 73 |fest cou|rse in s|
|00001ac0| 75 63 68 20 73 70 6f 74 | 73 20 69 73 20 74 6f 20 |uch spot|s is to |
|00001ad0| 74 75 72 6e 20 72 65 63 | 6f 72 64 69 6e 67 20 74 |turn rec|ording t|
|00001ae0| 65 6d 70 6f 72 61 72 69 | 6c 79 20 6f 66 66 2e 0d |emporari|ly off..|
|00001af0| 0a 48 6f 77 65 76 65 72 | 2c 20 74 72 61 6e 73 63 |.However|, transc|
|00001b00| 72 69 70 74 20 6f 75 74 | 70 75 74 20 69 73 20 62 |ript out|put is b|
|00001b10| 75 66 66 65 72 65 64 20 | 62 79 20 64 65 66 61 75 |uffered |by defau|
|00001b20| 6c 74 2c 20 73 6f 20 61 | 63 74 75 61 6c 0d 0a 77 |lt, so a|ctual..w|
|00001b30| 72 69 74 65 73 20 6f 63 | 63 75 72 20 6f 6e 6c 79 |rites oc|cur only|
|00001b40| 20 77 68 65 6e 20 74 68 | 65 20 62 75 66 66 65 72 | when th|e buffer|
|00001b50| 20 69 73 20 66 6c 75 73 | 68 65 64 20 77 68 65 6e | is flus|hed when|
|00001b60| 20 66 75 6c 6c 20 6f 72 | 20 62 65 63 61 75 73 65 | full or| because|
|00001b70| 20 74 68 65 20 66 69 6c | 65 20 77 61 73 0d 0a 63 | the fil|e was..c|
|00001b80| 6c 6f 73 65 64 2e 20 54 | 68 65 72 65 66 6f 72 65 |losed. T|herefore|
|00001b90| 20 77 69 74 68 20 70 72 | 6f 70 65 72 20 63 61 72 | with pr|oper car|
|00001ba0| 65 2c 20 6f 6e 65 20 63 | 61 6e 20 65 6d 70 74 79 |e, one c|an empty|
|00001bb0| 20 74 68 65 20 62 75 66 | 66 65 72 20 70 72 69 6f | the buf|fer prio|
|00001bc0| 72 20 74 6f 0d 0a 64 61 | 6e 67 65 72 6f 75 73 20 |r to..da|ngerous |
|00001bd0| 73 70 6f 74 73 20 61 6e | 64 20 65 76 65 6e 20 63 |spots an|d even c|
|00001be0| 72 65 61 74 65 20 61 20 | 72 65 63 6f 72 64 20 6f |reate a |record o|
|00001bf0| 66 20 61 20 47 45 4d 44 | 4f 53 20 63 61 6c 6c 2c |f a GEMD|OS call,|
|00001c00| 20 70 72 6f 76 69 64 65 | 64 20 69 74 20 69 73 20 | provide|d it is |
|00001c10| 6e 6f 74 0d 0a 74 6f 6f | 20 77 6f 72 64 79 2e 20 |not..too| wordy. |
|00001c20| 41 20 68 61 6e 64 79 20 | 64 65 66 69 6e 69 74 69 |A handy |definiti|
|00001c30| 6f 6e 20 66 6f 72 20 61 | 20 66 75 6e 63 74 69 6f |on for a| functio|
|00001c40| 6e 20 6b 65 79 20 74 6f | 20 64 6f 20 74 68 69 73 |n key to| do this|
|00001c50| 20 69 73 20 0d 0a 5c 68 | 62 6f 78 7b 5c 76 65 72 | is ..\h|box{\ver|
|00001c60| 62 7c 24 3e 3b 24 3e 7c | 7d 20 28 73 65 65 20 74 |b|$>;$>||} (see t|
|00001c70| 68 65 20 6c 61 73 74 20 | 73 65 63 74 69 6f 6e 20 |he last |section |
|00001c80| 6f 6e 20 66 75 6e 63 74 | 69 6f 6e 20 6b 65 79 73 |on funct|ion keys|
|00001c90| 29 2e 0d 0a 0d 0a 49 74 | 20 69 73 20 61 64 76 69 |).....It| is advi|
|00001ca0| 73 61 62 6c 65 20 6e 6f | 74 20 74 6f 20 77 72 69 |sable no|t to wri|
|00001cb0| 74 65 20 66 69 6c 65 73 | 20 74 6f 20 79 6f 75 72 |te files| to your|
|00001cc0| 20 68 61 72 64 20 64 72 | 69 76 65 2c 20 69 6e 73 | hard dr|ive, ins|
|00001cd0| 74 65 61 64 20 75 73 65 | 20 61 20 52 41 4d 20 64 |tead use| a RAM d|
|00001ce0| 72 69 76 65 0d 0a 6f 72 | 20 61 20 64 65 64 69 63 |rive..or| a dedic|
|00001cf0| 61 74 65 64 20 66 6c 6f | 70 70 79 20 28 77 68 69 |ated flo|ppy (whi|
|00001d00| 63 68 20 63 61 6e 20 62 | 65 20 72 65 66 6f 72 6d |ch can b|e reform|
|00001d10| 61 74 74 65 64 20 69 6e | 20 63 61 73 65 20 6f 66 |atted in| case of|
|00001d20| 20 64 69 73 61 73 74 65 | 72 29 2e 20 52 65 6d 65 | disaste|r). Reme|
|00001d30| 6d 62 65 72 0d 0a 74 68 | 61 74 20 61 20 62 75 67 |mber..th|at a bug|
|00001d40| 67 79 20 70 72 6f 67 72 | 61 6d 20 61 6e 64 20 74 |gy progr|am and t|
|00001d50| 68 65 20 64 65 62 75 67 | 67 65 72 20 63 61 6e 20 |he debug|ger can |
|00001d60| 77 72 69 74 65 20 61 6e | 79 77 68 65 72 65 2e 20 |write an|ywhere. |
|00001d70| 4f 76 65 72 20 73 79 73 | 74 65 6d 20 66 69 6c 65 |Over sys|tem file|
|00001d80| 0d 0a 62 75 66 66 65 72 | 73 20 61 6e 64 20 63 61 |..buffer|s and ca|
|00001d90| 63 68 65 64 20 46 69 6c | 65 20 41 6c 6c 6f 63 61 |ched Fil|e Alloca|
|00001da0| 74 69 6f 6e 20 54 61 62 | 6c 65 73 20 61 73 20 77 |tion Tab|les as w|
|00001db0| 65 6c 6c 2e 0d 0a 0d 0a | 49 66 20 79 6f 75 20 6e |ell.....|If you n|
|00001dc0| 65 65 64 20 61 6c 6c 20 | 6d 65 6d 6f 72 79 20 79 |eed all |memory y|
|00001dd0| 6f 75 20 63 61 6e 20 67 | 65 74 20 69 74 20 69 73 |ou can g|et it is|
|00001de0| 20 70 6f 73 73 69 62 6c | 65 20 74 6f 20 74 75 72 | possibl|e to tur|
|00001df0| 6e 20 6f 66 66 0d 0a 74 | 72 61 6e 73 63 72 69 70 |n off..t|ranscrip|
|00001e00| 74 20 62 75 66 66 65 72 | 69 6e 67 20 77 69 74 68 |t buffer|ing with|
|00001e10| 20 63 6f 6d 6d 61 6e 64 | 20 6c 69 6e 65 20 6f 70 | command| line op|
|00001e20| 74 69 6f 6e 20 7b 5c 74 | 74 20 2d 6e 62 7d 2e 20 |tion {\t|t -nb}. |
|00001e30| 20 42 75 74 20 74 68 65 | 6e 0d 0a 79 6f 75 20 77 | But the|n..you w|
|00001e40| 69 6c 6c 20 68 61 76 65 | 20 74 6f 20 62 65 20 65 |ill have| to be e|
|00001e50| 78 74 72 65 6d 65 6c 79 | 20 63 61 72 65 66 75 6c |xtremely| careful|
|00001e60| 20 61 62 6f 75 74 20 70 | 6f 73 73 69 62 6c 65 20 | about p|ossible |
|00001e70| 63 6f 6e 66 6c 69 63 74 | 73 20 77 69 74 68 0d 0a |conflict|s with..|
|00001e80| 47 45 4d 44 4f 53 2e 0d | 0a 0d 0a 7b 5c 73 63 20 |GEMDOS..|...{\sc |
|00001e90| 4e 6f 74 65 21 7d 20 20 | 41 66 74 65 72 20 5c 76 |Note!} |After \v|
|00001ea0| 65 72 62 7c 24 3e 7c 7b | 5c 69 74 20 66 69 6c 65 |erb|$>|{|\it file|
|00001eb0| 5c 2f 7d 20 72 65 71 75 | 65 73 74 20 79 6f 75 72 |\/} requ|est your|
|00001ec0| 20 64 65 66 61 75 6c 74 | 20 63 6f 6d 6d 61 6e 64 | default| command|
|00001ed0| 0d 0a 69 73 20 5c 76 65 | 72 62 7c 24 3e 7c 20 61 |..is \ve|rb|$>| a|
|00001ee0| 6e 64 20 6e 6f 74 20 74 | 68 65 20 6c 61 73 74 20 |nd not t|he last |
|00001ef0| 63 6f 6d 6d 61 6e 64 20 | 79 6f 75 20 77 65 72 65 |command |you were|
|00001f00| 20 65 78 65 63 75 74 69 | 6e 67 20 70 72 65 76 69 | executi|ng previ|
|00001f10| 6f 75 73 6c 79 2e 0d 0a | 49 74 20 69 73 20 70 6f |ously...|It is po|
|00001f20| 73 73 69 62 6c 65 20 74 | 6f 20 65 78 65 63 75 74 |ssible t|o execut|
|00001f30| 65 20 5c 76 65 72 62 7c | 24 3e 7c 20 69 6e 61 64 |e \verb||$>| inad|
|00001f40| 76 65 72 74 65 6e 74 6c | 79 20 62 79 20 68 69 74 |vertentl|y by hit|
|00001f50| 74 69 6e 67 20 5c 6b 65 | 79 7b 52 65 74 75 72 6e |ting \ke|y{Return|
|00001f60| 7d 0d 0a 6f 72 20 62 79 | 20 6d 61 6b 69 6e 67 20 |}..or by| making |
|00001f70| 73 6f 6d 65 20 6d 69 73 | 74 61 6b 65 20 77 68 69 |some mis|take whi|
|00001f80| 6c 65 20 74 79 70 69 6e | 67 20 74 68 65 20 6e 65 |le typin|g the ne|
|00001f90| 78 74 20 6c 69 6e 65 2e | 20 20 54 68 69 73 20 77 |xt line.| This w|
|00001fa0| 69 6c 6c 20 63 6c 6f 73 | 65 0d 0a 79 6f 75 72 20 |ill clos|e..your |
|00001fb0| 74 72 61 6e 73 63 72 69 | 70 74 20 77 69 74 68 20 |transcri|pt with |
|00001fc0| 6f 62 76 69 6f 75 73 20 | 72 65 73 75 6c 74 73 2e |obvious |results.|
|00001fd0| 20 20 57 68 65 6e 20 73 | 6f 6d 65 74 68 69 6e 67 | When s|omething|
|00001fe0| 20 6c 69 6b 65 20 74 68 | 61 74 73 0d 0a 68 61 70 | like th|ats..hap|
|00001ff0| 70 65 6e 73 2c 20 6f 72 | 20 77 68 65 6e 20 69 6e |pens, or| when in|
|00002000| 20 64 6f 75 62 74 2c 20 | 69 73 73 75 65 20 61 6e | doubt, |issue an|
|00002010| 6f 74 68 65 72 20 5c 76 | 65 72 62 7c 24 3e 7c 7b |other \v|erb|$>|{|
|00002020| 5c 69 74 20 66 69 6c 65 | 5c 2f 7d 2e 0d 0a |\it file|\/}... |
+--------+-------------------------+-------------------------+--------+--------+