home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1994-05-28 | 16.0 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 6d 6f 6c |piled by| rms@mol|
|00000020| 65 2e 67 6e 75 2e 61 69 | 2e 6d 69 74 2e 65 64 75 |e.gnu.ai|.mit.edu|
|00000030| 20 6f 6e 20 53 61 74 20 | 4d 61 79 20 32 38 20 30 | on Sat |May 28 0|
|00000040| 34 3a 35 30 3a 32 30 20 | 31 39 39 34 0a 3b 3b 3b |4:50:20 |1994.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 68 6f 6d 65 | from fi|le /home|
|00000060| 2f 66 73 66 2f 72 6d 73 | 2f 65 31 39 2f 6c 69 73 |/fsf/rms|/e19/lis|
|00000070| 70 2f 68 65 78 6c 2e 65 | 6c 0a 3b 3b 3b 20 65 6d |p/hexl.e|l.;;; em|
|00000080| 61 63 73 20 76 65 72 73 | 69 6f 6e 20 31 39 2e 32 |acs vers|ion 19.2|
|00000090| 33 2e 39 30 2e 31 2e 0a | 3b 3b 3b 20 62 79 74 65 |3.90.1..|;;; byte|
|000000a0| 63 6f 6d 70 20 76 65 72 | 73 69 6f 6e 20 46 53 46 |comp ver|sion FSF|
|000000b0| 20 32 2e 31 30 0a 3b 3b | 3b 20 6f 70 74 69 6d 69 | 2.10.;;|; optimi|
|000000c0| 7a 61 74 69 6f 6e 20 69 | 73 20 6f 6e 2e 0a 3b 3b |zation i|s on..;;|
|000000d0| 3b 20 74 68 69 73 20 66 | 69 6c 65 20 75 73 65 73 |; this f|ile uses|
|000000e0| 20 6f 70 63 6f 64 65 73 | 20 77 68 69 63 68 20 64 | opcodes| which d|
|000000f0| 6f 20 6e 6f 74 20 65 78 | 69 73 74 20 69 6e 20 45 |o not ex|ist in E|
|00000100| 6d 61 63 73 20 31 38 2e | 0a 0a 28 69 66 20 28 61 |macs 18.|..(if (a|
|00000110| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 6d 61 63 |nd (boun|dp 'emac|
|00000120| 73 2d 76 65 72 73 69 6f | 6e 29 0a 09 20 28 6f 72 |s-versio|n).. (or|
|00000130| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000140| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 20 65 |poch::ve|rsion) e|
|00000150| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 0a 09 |poch::ve|rsion)..|
|00000160| 20 20 20 20 20 28 73 74 | 72 69 6e 67 2d 6c 65 73 | (st|ring-les|
|00000170| 73 70 20 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |sp emacs|-version|
|00000180| 20 22 31 39 22 29 29 29 | 0a 20 20 20 20 28 65 72 | "19")))|. (er|
|00000190| 72 6f 72 20 22 60 2f 68 | 6f 6d 65 2f 66 73 66 2f |ror "`/h|ome/fsf/|
|000001a0| 72 6d 73 2f 65 31 39 2f | 6c 69 73 70 2f 68 65 78 |rms/e19/|lisp/hex|
|000001b0| 6c 2e 65 6c 27 20 77 61 | 73 20 63 6f 6d 70 69 6c |l.el' wa|s compil|
|000001c0| 65 64 20 66 6f 72 20 45 | 6d 61 63 73 20 31 39 22 |ed for E|macs 19"|
|000001d0| 29 29 0a 0a 28 64 65 66 | 76 61 72 20 68 65 78 6c |))..(def|var hexl|
|000001e0| 2d 70 72 6f 67 72 61 6d | 20 22 68 65 78 6c 22 20 |-program| "hexl" |
|000001f0| 22 5c 0a 54 68 65 20 70 | 72 6f 67 72 61 6d 20 74 |"\.The p|rogram t|
|00000200| 68 61 74 20 77 69 6c 6c | 20 68 65 78 6c 69 66 79 |hat will| hexlify|
|00000210| 20 61 6e 64 20 64 65 2d | 68 65 78 6c 69 66 79 20 | and de-|hexlify |
|00000220| 69 74 73 20 73 74 64 69 | 6e 2e 0a 60 68 65 78 6c |its stdi|n..`hexl|
|00000230| 2d 70 72 6f 67 72 61 6d | 27 20 77 69 6c 6c 20 61 |-program|' will a|
|00000240| 6c 77 61 79 73 20 62 65 | 20 63 6f 6e 63 61 74 65 |lways be| concate|
|00000250| 6e 61 74 65 64 20 77 69 | 74 68 20 60 68 65 78 6c |nated wi|th `hexl|
|00000260| 2d 6f 70 74 69 6f 6e 73 | 27 0a 61 6e 64 20 5c 22 |-options|'.and \"|
|00000270| 2d 64 65 5c 22 20 77 68 | 65 6e 20 64 65 68 65 78 |-de\" wh|en dehex|
|00000280| 6c 66 79 69 6e 67 20 61 | 20 62 75 66 66 65 72 2e |lfying a| buffer.|
|00000290| 22 29 0a 28 64 65 66 76 | 61 72 20 68 65 78 6c 2d |").(defv|ar hexl-|
|000002a0| 69 73 6f 20 22 22 20 22 | 5c 0a 49 66 20 79 6f 75 |iso "" "|\.If you|
|000002b0| 72 20 65 6d 61 63 73 20 | 63 61 6e 20 68 61 6e 64 |r emacs |can hand|
|000002c0| 6c 65 20 49 53 4f 20 63 | 68 61 72 61 63 74 65 72 |le ISO c|haracter|
|000002d0| 73 2c 20 74 68 69 73 20 | 73 68 6f 75 6c 64 20 62 |s, this |should b|
|000002e0| 65 20 73 65 74 20 74 6f | 0a 5c 22 2d 69 73 6f 5c |e set to|.\"-iso\|
|000002f0| 22 20 6f 74 68 65 72 77 | 69 73 65 20 69 74 20 73 |" otherw|ise it s|
|00000300| 68 6f 75 6c 64 20 62 65 | 20 5c 22 5c 22 2e 22 29 |hould be| \"\".")|
|00000310| 0a 28 64 65 66 76 61 72 | 20 68 65 78 6c 2d 6f 70 |.(defvar| hexl-op|
|00000320| 74 69 6f 6e 73 20 28 66 | 6f 72 6d 61 74 20 22 2d |tions (f|ormat "-|
|00000330| 68 65 78 20 25 73 22 20 | 68 65 78 6c 2d 69 73 6f |hex %s" |hexl-iso|
|00000340| 29 20 22 5c 0a 4f 70 74 | 69 6f 6e 73 20 74 6f 20 |) "\.Opt|ions to |
|00000350| 68 65 78 6c 2d 70 72 6f | 67 72 61 6d 20 74 68 61 |hexl-pro|gram tha|
|00000360| 74 20 73 75 69 74 20 79 | 6f 75 72 20 6e 65 65 64 |t suit y|our need|
|00000370| 73 2e 22 29 0a 28 64 65 | 66 76 61 72 20 68 65 78 |s.").(de|fvar hex|
|00000380| 6c 69 66 79 2d 63 6f 6d | 6d 61 6e 64 20 28 66 6f |lify-com|mand (fo|
|00000390| 72 6d 61 74 20 22 25 73 | 25 73 20 25 73 22 20 65 |rmat "%s|%s %s" e|
|000003a0| 78 65 63 2d 64 69 72 65 | 63 74 6f 72 79 20 68 65 |xec-dire|ctory he|
|000003b0| 78 6c 2d 70 72 6f 67 72 | 61 6d 20 68 65 78 6c 2d |xl-progr|am hexl-|
|000003c0| 6f 70 74 69 6f 6e 73 29 | 20 22 5c 0a 54 68 65 20 |options)| "\.The |
|000003d0| 63 6f 6d 6d 61 6e 64 20 | 74 6f 20 75 73 65 20 74 |command |to use t|
|000003e0| 6f 20 68 65 78 6c 69 66 | 79 20 61 20 62 75 66 66 |o hexlif|y a buff|
|000003f0| 65 72 2e 22 29 0a 28 64 | 65 66 76 61 72 20 64 65 |er.").(d|efvar de|
|00000400| 68 65 78 6c 69 66 79 2d | 63 6f 6d 6d 61 6e 64 20 |hexlify-|command |
|00000410| 28 66 6f 72 6d 61 74 20 | 22 25 73 25 73 20 2d 64 |(format |"%s%s -d|
|00000420| 65 20 25 73 22 20 65 78 | 65 63 2d 64 69 72 65 63 |e %s" ex|ec-direc|
|00000430| 74 6f 72 79 20 68 65 78 | 6c 2d 70 72 6f 67 72 61 |tory hex|l-progra|
|00000440| 6d 20 68 65 78 6c 2d 6f | 70 74 69 6f 6e 73 29 20 |m hexl-o|ptions) |
|00000450| 22 5c 0a 54 68 65 20 63 | 6f 6d 6d 61 6e 64 20 74 |"\.The c|ommand t|
|00000460| 6f 20 75 73 65 20 74 6f | 20 75 6e 68 65 78 6c 69 |o use to| unhexli|
|00000470| 66 79 20 61 20 62 75 66 | 66 65 72 2e 22 29 0a 28 |fy a buf|fer.").(|
|00000480| 64 65 66 76 61 72 20 68 | 65 78 6c 2d 6d 61 78 2d |defvar h|exl-max-|
|00000490| 61 64 64 72 65 73 73 20 | 30 20 22 5c 0a 4d 61 78 |address |0 "\.Max|
|000004a0| 69 6d 75 6d 20 6f 66 66 | 73 65 74 20 69 6e 74 6f |imum off|set into|
|000004b0| 20 68 65 78 6c 20 62 75 | 66 66 65 72 2e 22 29 0a | hexl bu|ffer.").|
|000004c0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 21 84 |(byte-co|de "..!.|
|000004d0| 08 00 c2 11 c2 87 22 20 | 5b 62 6f 75 6e 64 70 20 |......" |[boundp |
|000004e0| 68 65 78 6c 2d 6d 6f 64 | 65 2d 6d 61 70 20 6e 69 |hexl-mod|e-map ni|
|000004f0| 6c 5d 20 32 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |l] 2).(d|efalias |
|00000500| 27 68 65 78 6c 2d 6d 6f | 64 65 20 23 5b 28 26 6f |'hexl-mo|de #[(&o|
|00000510| 70 74 69 6f 6e 61 6c 20 | 61 72 67 29 20 22 08 c1 |ptional |arg) "..|
|00000520| 3d 83 5c 6e 00 c2 c3 21 | 87 c4 20 88 c5 c6 21 88 |=.\n...!|.. ...!.|
|00000530| c7 20 16 06 c8 0e 09 21 | 88 c5 ca 21 88 0e 0b 16 |. .....!|...!....|
|00000540| 5c 6e cc 16 0b c5 cd 21 | 88 08 16 0d c1 10 c5 ce |\n.....!|........|
|00000550| 21 88 cf ce d0 5c 22 88 | c5 d1 21 88 d2 20 d3 60 |!....\".|..!.. .`|
|00000560| 53 1e 14 1e 15 1e 16 0e | 17 d8 3d 84 61 00 0e 17 |S.......|..=.a...|
|00000570| 83 61 00 d9 20 53 da a5 | db 5f dc 5c 5c 89 16 11 |.a.. S..|._.\\...|
|00000580| 82 72 00 d9 20 53 16 11 | dd 20 88 de 0e 16 21 88 |.r.. S..|. ....!.|
|00000590| df 0e 14 21 2b 87 22 20 | 5b 6d 61 6a 6f 72 2d 6d |...!+." |[major-m|
|000005a0| 6f 64 65 20 68 65 78 6c | 2d 6d 6f 64 65 20 65 72 |ode hexl|-mode er|
|000005b0| 72 6f 72 20 22 59 6f 75 | 20 61 72 65 20 61 6c 72 |ror "You| are alr|
|000005c0| 65 61 64 79 20 69 6e 20 | 68 65 78 6c 20 6d 6f 64 |eady in |hexl mod|
|000005d0| 65 2e 22 20 6b 69 6c 6c | 2d 61 6c 6c 2d 6c 6f 63 |e." kill|-all-loc|
|000005e0| 61 6c 2d 76 61 72 69 61 | 62 6c 65 73 20 6d 61 6b |al-varia|bles mak|
|000005f0| 65 2d 6c 6f 63 61 6c 2d | 76 61 72 69 61 62 6c 65 |e-local-|variable|
|00000600| 20 68 65 78 6c 2d 6d 6f | 64 65 2d 6f 6c 64 2d 6c | hexl-mo|de-old-l|
|00000610| 6f 63 61 6c 2d 6d 61 70 | 20 63 75 72 72 65 6e 74 |ocal-map| current|
|00000620| 2d 6c 6f 63 61 6c 2d 6d | 61 70 20 75 73 65 2d 6c |-local-m|ap use-l|
|00000630| 6f 63 61 6c 2d 6d 61 70 | 20 68 65 78 6c 2d 6d 6f |ocal-map| hexl-mo|
|00000640| 64 65 2d 6d 61 70 20 68 | 65 78 6c 2d 6d 6f 64 65 |de-map h|exl-mode|
|00000650| 2d 6f 6c 64 2d 6d 6f 64 | 65 2d 6e 61 6d 65 20 6d |-old-mod|e-name m|
|00000660| 6f 64 65 2d 6e 61 6d 65 | 20 22 48 65 78 6c 22 20 |ode-name| "Hexl" |
|00000670| 68 65 78 6c 2d 6d 6f 64 | 65 2d 6f 6c 64 2d 6d 61 |hexl-mod|e-old-ma|
|00000680| 6a 6f 72 2d 6d 6f 64 65 | 20 77 72 69 74 65 2d 63 |jor-mode| write-c|
|00000690| 6f 6e 74 65 6e 74 73 2d | 68 6f 6f 6b 73 20 61 64 |ontents-|hooks ad|
|000006a0| 64 2d 68 6f 6f 6b 20 68 | 65 78 6c 2d 73 61 76 65 |d-hook h|exl-save|
|000006b0| 2d 62 75 66 66 65 72 20 | 68 65 78 6c 2d 6d 61 78 |-buffer |hexl-max|
|000006c0| 2d 61 64 64 72 65 73 73 | 20 62 75 66 66 65 72 2d |-address| buffer-|
|000006d0| 6d 6f 64 69 66 69 65 64 | 2d 70 20 74 20 6f 72 69 |modified|-p t ori|
|000006e0| 67 69 6e 61 6c 2d 70 6f | 69 6e 74 20 69 6e 68 69 |ginal-po|int inhi|
|000006f0| 62 69 74 2d 72 65 61 64 | 2d 6f 6e 6c 79 20 6d 6f |bit-read|-only mo|
|00000700| 64 69 66 69 65 64 20 61 | 72 67 20 31 20 62 75 66 |dified a|rg 1 buf|
|00000710| 66 65 72 2d 73 69 7a 65 | 20 36 38 20 31 36 20 31 |fer-size| 68 16 1|
|00000720| 35 20 68 65 78 6c 69 66 | 79 2d 62 75 66 66 65 72 |5 hexlif|y-buffer|
|00000730| 20 73 65 74 2d 62 75 66 | 66 65 72 2d 6d 6f 64 69 | set-buf|fer-modi|
|00000740| 66 69 65 64 2d 70 20 68 | 65 78 6c 2d 67 6f 74 6f |fied-p h|exl-goto|
|00000750| 2d 61 64 64 72 65 73 73 | 5d 20 33 20 22 5c 0a 5c |-address|] 3 "\.\|
|00000760| 5c 3c 68 65 78 6c 2d 6d | 6f 64 65 2d 6d 61 70 3e |\<hexl-m|ode-map>|
|00000770| 0a 41 20 6d 61 6a 6f 72 | 20 6d 6f 64 65 20 66 6f |.A major| mode fo|
|00000780| 72 20 65 64 69 74 69 6e | 67 20 62 69 6e 61 72 79 |r editin|g binary|
|00000790| 20 66 69 6c 65 73 20 69 | 6e 20 68 65 78 20 64 75 | files i|n hex du|
|000007a0| 6d 70 20 66 6f 72 6d 61 | 74 2e 0a 0a 54 68 69 73 |mp forma|t...This|
|000007b0| 20 66 75 6e 63 74 69 6f | 6e 20 61 75 74 6f 6d 61 | functio|n automa|
|000007c0| 74 69 63 61 6c 6c 79 20 | 63 6f 6e 76 65 72 74 73 |tically |converts|
|000007d0| 20 61 20 62 75 66 66 65 | 72 20 69 6e 74 6f 20 74 | a buffe|r into t|
|000007e0| 68 65 20 68 65 78 6c 20 | 66 6f 72 6d 61 74 0a 75 |he hexl |format.u|
|000007f0| 73 69 6e 67 20 74 68 65 | 20 66 75 6e 63 74 69 6f |sing the| functio|
|00000800| 6e 20 60 68 65 78 6c 69 | 66 79 2d 62 75 66 66 65 |n `hexli|fy-buffe|
|00000810| 72 27 2e 0a 0a 45 61 63 | 68 20 6c 69 6e 65 20 69 |r'...Eac|h line i|
|00000820| 6e 20 74 68 65 20 62 75 | 66 66 65 72 20 68 61 73 |n the bu|ffer has|
|00000830| 20 61 6e 20 5c 22 61 64 | 64 72 65 73 73 5c 22 20 | an \"ad|dress\" |
|00000840| 28 64 69 73 70 6c 61 79 | 65 64 20 69 6e 20 68 65 |(display|ed in he|
|00000850| 78 61 64 65 63 69 6d 61 | 6c 29 0a 72 65 70 72 65 |xadecima|l).repre|
|00000860| 73 65 6e 74 69 6e 67 20 | 74 68 65 20 6f 66 66 73 |senting |the offs|
|00000870| 65 74 20 69 6e 74 6f 20 | 74 68 65 20 66 69 6c 65 |et into |the file|
|00000880| 20 74 68 61 74 20 74 68 | 65 20 63 68 61 72 61 63 | that th|e charac|
|00000890| 74 65 72 73 20 6f 6e 20 | 74 68 69 73 20 6c 69 6e |ters on |this lin|
|000008a0| 65 0a 61 72 65 20 61 74 | 20 61 6e 64 20 31 36 20 |e.are at| and 16 |
|000008b0| 63 68 61 72 61 63 74 65 | 72 73 20 66 72 6f 6d 20 |characte|rs from |
|000008c0| 74 68 65 20 66 69 6c 65 | 20 28 64 69 73 70 6c 61 |the file| (displa|
|000008d0| 79 65 64 20 61 73 20 68 | 65 78 61 64 65 63 69 6d |yed as h|exadecim|
|000008e0| 61 6c 0a 76 61 6c 75 65 | 73 20 67 72 6f 75 70 65 |al.value|s groupe|
|000008f0| 64 20 65 76 65 72 79 20 | 31 36 20 62 69 74 73 29 |d every |16 bits)|
|00000900| 20 61 6e 64 20 61 73 20 | 74 68 65 69 72 20 41 53 | and as |their AS|
|00000910| 43 49 49 20 76 61 6c 75 | 65 73 2e 0a 0a 49 66 20 |CII valu|es...If |
|00000920| 61 6e 79 20 6f 66 20 74 | 68 65 20 63 68 61 72 61 |any of t|he chara|
|00000930| 63 74 65 72 73 20 28 64 | 69 73 70 6c 61 79 65 64 |cters (d|isplayed|
|00000940| 20 61 73 20 41 53 43 49 | 49 20 63 68 61 72 61 63 | as ASCI|I charac|
|00000950| 74 65 72 73 29 20 61 72 | 65 0a 75 6e 70 72 69 6e |ters) ar|e.unprin|
|00000960| 74 61 62 6c 65 20 28 63 | 6f 6e 74 72 6f 6c 20 6f |table (c|ontrol o|
|00000970| 72 20 6d 65 74 61 20 63 | 68 61 72 61 63 74 65 72 |r meta c|haracter|
|00000980| 73 29 20 74 68 65 79 20 | 77 69 6c 6c 20 62 65 20 |s) they |will be |
|00000990| 72 65 70 6c 61 63 65 64 | 20 61 73 0a 70 65 72 69 |replaced| as.peri|
|000009a0| 6f 64 73 2e 0a 0a 49 66 | 20 60 68 65 78 6c 2d 6d |ods...If| `hexl-m|
|000009b0| 6f 64 65 27 20 69 73 20 | 69 6e 76 6f 6b 65 64 20 |ode' is |invoked |
|000009c0| 77 69 74 68 20 61 6e 20 | 61 72 67 75 6d 65 6e 74 |with an |argument|
|000009d0| 20 74 68 65 20 62 75 66 | 66 65 72 20 69 73 20 61 | the buf|fer is a|
|000009e0| 73 73 75 6d 65 64 20 74 | 6f 20 62 65 0a 69 6e 20 |ssumed t|o be.in |
|000009f0| 68 65 78 6c 20 66 6f 72 | 6d 61 74 2e 0a 0a 41 20 |hexl for|mat...A |
|00000a00| 73 61 6d 70 6c 65 20 66 | 6f 72 6d 61 74 3a 0a 0a |sample f|ormat:..|
|00000a10| 20 20 48 45 58 20 41 44 | 44 52 3a 20 30 30 30 31 | HEX AD|DR: 0001|
|00000a20| 20 30 32 30 33 20 30 34 | 30 35 20 30 36 30 37 20 | 0203 04|05 0607 |
|00000a30| 30 38 30 39 20 30 61 30 | 62 20 30 63 30 64 20 30 |0809 0a0|b 0c0d 0|
|00000a40| 65 30 66 20 20 20 20 20 | 41 53 43 49 49 2d 54 45 |e0f |ASCII-TE|
|00000a50| 58 54 0a 20 20 2d 2d 2d | 2d 2d 2d 2d 2d 20 20 2d |XT. ---|----- -|
|00000a60| 2d 2d 2d 20 2d 2d 2d 2d | 20 2d 2d 2d 2d 20 2d 2d |--- ----| ---- --|
|00000a70| 2d 2d 20 2d 2d 2d 2d 20 | 2d 2d 2d 2d 20 2d 2d 2d |-- ---- |---- ---|
|00000a80| 2d 20 2d 2d 2d 2d 20 20 | 2d 2d 2d 2d 2d 2d 2d 2d |- ---- |--------|
|00000a90| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 20 20 30 30 30 30 30 |--------|. 00000|
|00000aa0| 30 30 30 3a 20 35 34 36 | 38 20 36 39 37 33 20 32 |000: 546|8 6973 2|
|00000ab0| 30 36 39 20 37 33 32 30 | 20 36 38 36 35 20 37 38 |069 7320| 6865 78|
|00000ac0| 36 63 20 32 64 36 64 20 | 36 66 36 34 20 20 54 68 |6c 2d6d |6f64 Th|
|00000ad0| 69 73 20 69 73 20 68 65 | 78 6c 2d 6d 6f 64 0a 20 |is is he|xl-mod. |
|00000ae0| 20 30 30 30 30 30 30 31 | 30 3a 20 36 35 32 65 20 | 0000001|0: 652e |
|00000af0| 32 30 32 30 20 34 35 36 | 31 20 36 33 36 38 20 32 |2020 456|1 6368 2|
|00000b00| 30 36 63 20 36 39 36 65 | 20 36 35 32 30 20 37 32 |06c 696e| 6520 72|
|00000b10| 36 35 20 20 65 2e 20 20 | 45 61 63 68 20 6c 69 6e |65 e. |Each lin|
|00000b20| 65 20 72 65 0a 20 20 30 | 30 30 30 30 30 32 30 3a |e re. 0|0000020:|
|00000b30| 20 37 30 37 32 20 36 35 | 37 33 20 36 35 36 65 20 | 7072 65|73 656e |
|00000b40| 37 34 37 33 20 32 30 33 | 31 20 33 36 32 30 20 36 |7473 203|1 3620 6|
|00000b50| 32 37 39 20 37 34 36 35 | 20 20 70 72 65 73 65 6e |279 7465| presen|
|00000b60| 74 73 20 31 36 20 62 79 | 74 65 0a 20 20 30 30 30 |ts 16 by|te. 000|
|00000b70| 30 30 30 33 30 3a 20 37 | 33 32 30 20 36 31 37 33 |00030: 7|320 6173|
|00000b80| 20 32 30 36 38 20 36 35 | 37 38 20 36 31 36 34 20 | 2068 65|78 6164 |
|00000b90| 36 35 36 33 20 36 39 36 | 64 20 36 31 36 63 20 20 |6563 696|d 616c |
|00000ba0| 73 20 61 73 20 68 65 78 | 61 64 65 63 69 6d 61 6c |s as hex|adecimal|
|00000bb0| 0a 20 20 30 30 30 30 30 | 30 34 30 3a 20 32 30 34 |. 00000|040: 204|
|00000bc0| 31 20 35 33 34 33 20 34 | 39 34 39 20 30 61 36 31 |1 5343 4|949 0a61|
|00000bd0| 20 36 65 36 34 20 32 30 | 37 30 20 37 32 36 39 20 | 6e64 20|70 7269 |
|00000be0| 36 65 37 34 20 20 20 41 | 53 43 49 49 2e 61 6e 64 |6e74 A|SCII.and|
|00000bf0| 20 70 72 69 6e 74 0a 20 | 20 30 30 30 30 30 30 35 | print. | 0000005|
|00000c00| 30 3a 20 36 31 36 32 20 | 36 63 36 35 20 32 30 34 |0: 6162 |6c65 204|
|00000c10| 31 20 35 33 34 33 20 34 | 39 34 39 20 32 30 36 33 |1 5343 4|949 2063|
|00000c20| 20 36 38 36 31 20 37 32 | 36 31 20 20 61 62 6c 65 | 6861 72|61 able|
|00000c30| 20 41 53 43 49 49 20 63 | 68 61 72 61 0a 20 20 30 | ASCII c|hara. 0|
|00000c40| 30 30 30 30 30 36 30 3a | 20 36 33 37 34 20 36 35 |0000060:| 6374 65|
|00000c50| 37 32 20 37 33 32 65 20 | 32 30 32 30 20 34 31 36 |72 732e |2020 416|
|00000c60| 65 20 37 39 32 30 20 36 | 33 36 66 20 36 65 37 34 |e 7920 6|36f 6e74|
|00000c70| 20 20 63 74 65 72 73 2e | 20 20 41 6e 79 20 63 6f | cters.| Any co|
|00000c80| 6e 74 0a 20 20 30 30 30 | 30 30 30 37 30 3a 20 37 |nt. 000|00070: 7|
|00000c90| 32 36 66 20 36 63 32 30 | 20 36 66 37 32 20 32 30 |26f 6c20| 6f72 20|
|00000ca0| 36 65 20 36 66 36 65 20 | 32 64 34 31 20 35 33 34 |6e 6f6e |2d41 534|
|00000cb0| 33 20 34 39 34 39 20 20 | 72 6f 6c 20 6f 72 20 6e |3 4949 |rol or n|
|00000cc0| 6f 6e 2d 41 53 43 49 49 | 0a 20 20 30 30 30 30 30 |on-ASCII|. 00000|
|00000cd0| 30 38 30 3a 20 32 30 36 | 33 20 36 38 36 31 20 37 |080: 206|3 6861 7|
|00000ce0| 32 36 31 20 36 33 37 34 | 20 36 35 37 32 20 37 33 |261 6374| 6572 73|
|00000cf0| 30 61 20 36 31 37 32 20 | 36 35 32 30 20 20 20 63 |0a 6172 |6520 c|
|00000d00| 68 61 72 61 63 74 65 72 | 73 2e 61 72 65 20 0a 20 |haracter|s.are . |
|00000d10| 20 30 30 30 30 30 30 39 | 30 3a 20 36 34 36 39 20 | 0000009|0: 6469 |
|00000d20| 37 33 37 30 20 36 63 36 | 31 20 37 39 36 35 20 36 |7370 6c6|1 7965 6|
|00000d30| 34 32 30 20 36 31 37 33 | 20 32 30 37 30 20 36 35 |420 6173| 2070 65|
|00000d40| 37 32 20 20 64 69 73 70 | 6c 61 79 65 64 20 61 73 |72 disp|layed as|
|00000d50| 20 70 65 72 0a 20 20 30 | 30 30 30 30 30 61 30 3a | per. 0|00000a0:|
|00000d60| 20 36 39 36 66 20 36 34 | 37 33 20 32 30 36 39 20 | 696f 64|73 2069 |
|00000d70| 36 65 32 30 20 37 34 36 | 38 20 36 35 32 30 20 37 |6e20 746|8 6520 7|
|00000d80| 30 37 32 20 36 39 36 65 | 20 20 69 6f 64 73 20 69 |072 696e| iods i|
|00000d90| 6e 20 74 68 65 20 70 72 | 69 6e 0a 20 20 30 30 30 |n the pr|in. 000|
|00000da0| 30 30 30 62 30 3a 20 37 | 34 36 31 20 36 32 36 63 |000b0: 7|461 626c|
|00000db0| 20 36 35 32 30 20 36 33 | 36 38 20 36 31 37 32 20 | 6520 63|68 6172 |
|00000dc0| 36 31 36 33 20 37 34 36 | 35 20 37 32 32 30 20 20 |6163 746|5 7220 |
|00000dd0| 74 61 62 6c 65 20 63 68 | 61 72 61 63 74 65 72 20 |table ch|aracter |
|00000de0| 0a 20 20 30 30 30 30 30 | 30 63 30 3a 20 37 32 36 |. 00000|0c0: 726|
|00000df0| 35 20 36 37 36 39 20 36 | 66 36 65 20 32 65 30 61 |5 6769 6|f6e 2e0a|
|00000e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e10| 20 20 20 20 20 20 72 65 | 67 69 6f 6e 2e 2e 0a 0a | re|gion....|
|00000e20| 4d 6f 76 65 6d 65 6e 74 | 20 69 73 20 61 73 20 73 |Movement| is as s|
|00000e30| 69 6d 70 6c 65 20 61 73 | 20 6d 6f 76 65 6d 65 6e |imple as| movemen|
|00000e40| 74 20 69 6e 20 61 20 6e | 6f 72 6d 61 6c 20 65 6d |t in a n|ormal em|
|00000e50| 61 63 73 20 74 65 78 74 | 20 62 75 66 66 65 72 2e |acs text| buffer.|
|00000e60| 20 20 4d 6f 73 74 0a 63 | 75 72 73 6f 72 20 6d 6f | Most.c|ursor mo|
|00000e70| 76 65 6d 65 6e 74 20 62 | 69 6e 64 69 6e 67 73 20 |vement b|indings |
|00000e80| 61 72 65 20 74 68 65 20 | 73 61 6d 65 20 28 69 65 |are the |same (ie|
|00000e90| 2e 20 55 73 65 20 5c 5c | 5b 68 65 78 6c 2d 62 61 |. Use \\|[hexl-ba|
|00000ea0| 63 6b 77 61 72 64 2d 63 | 68 61 72 5d 2c 20 5c 5c |ckward-c|har], \\|
|00000eb0| 5b 68 65 78 6c 2d 66 6f | 72 77 61 72 64 2d 63 68 |[hexl-fo|rward-ch|
|00000ec0| 61 72 5d 2c 20 5c 5c 5b | 68 65 78 6c 2d 6e 65 78 |ar], \\[|hexl-nex|
|00000ed0| 74 2d 6c 69 6e 65 5d 2c | 20 61 6e 64 20 5c 5c 5b |t-line],| and \\[|
|00000ee0| 68 65 78 6c 2d 70 72 65 | 76 69 6f 75 73 2d 6c 69 |hexl-pre|vious-li|
|00000ef0| 6e 65 5d 0a 74 6f 20 6d | 6f 76 65 20 74 68 65 20 |ne].to m|ove the |
|00000f00| 63 75 72 73 6f 72 20 6c | 65 66 74 2c 20 72 69 67 |cursor l|eft, rig|
|00000f10| 68 74 2c 20 64 6f 77 6e | 2c 20 61 6e 64 20 75 70 |ht, down|, and up|
|00000f20| 29 2e 0a 0a 41 64 76 61 | 6e 63 65 64 20 63 75 72 |)...Adva|nced cur|
|00000f30| 73 6f 72 20 6d 6f 76 65 | 6d 65 6e 74 20 63 6f 6d |sor move|ment com|
|00000f40| 6d 61 6e 64 73 20 28 61 | 6c 61 20 5c 5c 5b 68 65 |mands (a|la \\[he|
|00000f50| 78 6c 2d 62 65 67 69 6e | 6e 69 6e 67 2d 6f 66 2d |xl-begin|ning-of-|
|00000f60| 6c 69 6e 65 5d 2c 20 5c | 5c 5b 68 65 78 6c 2d 65 |line], \|\[hexl-e|
|00000f70| 6e 64 2d 6f 66 2d 6c 69 | 6e 65 5d 2c 20 5c 5c 5b |nd-of-li|ne], \\[|
|00000f80| 68 65 78 6c 2d 62 65 67 | 69 6e 6e 69 6e 67 2d 6f |hexl-beg|inning-o|
|00000f90| 66 2d 62 75 66 66 65 72 | 5d 2c 20 61 6e 64 20 5c |f-buffer|], and \|
|00000fa0| 5c 5b 68 65 78 6c 2d 65 | 6e 64 2d 6f 66 2d 62 75 |\[hexl-e|nd-of-bu|
|00000fb0| 66 66 65 72 5d 29 20 61 | 72 65 0a 61 6c 73 6f 20 |ffer]) a|re.also |
|00000fc0| 73 75 70 70 6f 72 74 65 | 64 2e 0a 0a 54 68 65 72 |supporte|d...Ther|
|00000fd0| 65 20 61 72 65 20 73 65 | 76 65 72 61 6c 20 77 61 |e are se|veral wa|
|00000fe0| 79 73 20 74 6f 20 63 68 | 61 6e 67 65 20 74 65 78 |ys to ch|ange tex|
|00000ff0| 74 20 69 6e 20 68 65 78 | 6c 20 6d 6f 64 65 3a 0a |t in hex|l mode:.|
|00001000| 0a 41 53 43 49 49 20 63 | 68 61 72 61 63 74 65 72 |.ASCII c|haracter|
|00001010| 73 20 28 63 68 61 72 61 | 63 74 65 72 20 62 65 74 |s (chara|cter bet|
|00001020| 77 65 65 6e 20 73 70 61 | 63 65 20 28 30 78 32 30 |ween spa|ce (0x20|
|00001030| 29 20 61 6e 64 20 74 69 | 6c 64 65 20 28 30 78 37 |) and ti|lde (0x7|
|00001040| 45 29 29 20 61 72 65 0a | 62 6f 75 6e 64 20 74 6f |E)) are.|bound to|
|00001050| 20 73 65 6c 66 2d 69 6e | 73 65 72 74 20 73 6f 20 | self-in|sert so |
|00001060| 79 6f 75 20 63 61 6e 20 | 73 69 6d 70 6c 79 20 74 |you can |simply t|
|00001070| 79 70 65 20 74 68 65 20 | 63 68 61 72 61 63 74 65 |ype the |characte|
|00001080| 72 20 61 6e 64 20 69 74 | 20 77 69 6c 6c 0a 69 6e |r and it| will.in|
|00001090| 73 65 72 74 20 69 74 73 | 65 6c 66 20 28 61 63 74 |sert its|elf (act|
|000010a0| 75 61 6c 6c 79 20 6f 76 | 65 72 73 74 72 69 6b 65 |ually ov|erstrike|
|000010b0| 29 20 69 6e 74 6f 20 74 | 68 65 20 62 75 66 66 65 |) into t|he buffe|
|000010c0| 72 2e 0a 0a 5c 5c 5b 68 | 65 78 6c 2d 71 75 6f 74 |r...\\[h|exl-quot|
|000010d0| 65 64 2d 69 6e 73 65 72 | 74 5d 20 66 6f 6c 6c 6f |ed-inser|t] follo|
|000010e0| 77 65 64 20 62 79 20 61 | 6e 6f 74 68 65 72 20 6b |wed by a|nother k|
|000010f0| 65 79 73 74 72 6f 6b 65 | 20 61 6c 6c 6f 77 73 20 |eystroke| allows |
|00001100| 79 6f 75 20 74 6f 20 69 | 6e 73 65 72 74 20 74 68 |you to i|nsert th|
|00001110| 65 20 6b 65 79 20 65 76 | 65 6e 20 69 66 0a 69 74 |e key ev|en if.it|
|00001120| 20 69 73 6e 27 74 20 62 | 6f 75 6e 64 20 74 6f 20 | isn't b|ound to |
|00001130| 73 65 6c 66 2d 69 6e 73 | 65 72 74 2e 20 20 41 6e |self-ins|ert. An|
|00001140| 20 6f 63 74 61 6c 20 6e | 75 6d 62 65 72 20 63 61 | octal n|umber ca|
|00001150| 6e 20 62 65 20 73 75 70 | 70 6c 69 65 64 20 69 6e |n be sup|plied in|
|00001160| 20 70 6c 61 63 65 0a 6f | 66 20 61 6e 6f 74 68 65 | place.o|f anothe|
|00001170| 72 20 6b 65 79 20 74 6f | 20 69 6e 73 65 72 74 20 |r key to| insert |
|00001180| 74 68 65 20 6f 63 74 61 | 6c 20 6e 75 6d 62 65 72 |the octa|l number|
|00001190| 27 73 20 41 53 43 49 49 | 20 72 65 70 72 65 73 65 |'s ASCII| represe|
|000011a0| 6e 74 61 74 69 6f 6e 2e | 0a 0a 5c 5c 5b 68 65 78 |ntation.|..\\[hex|
|000011b0| 6c 2d 69 6e 73 65 72 74 | 2d 68 65 78 2d 63 68 61 |l-insert|-hex-cha|
|000011c0| 72 5d 20 77 69 6c 6c 20 | 69 6e 73 65 72 74 20 61 |r] will |insert a|
|000011d0| 20 67 69 76 65 6e 20 68 | 65 78 61 64 65 63 69 6d | given h|exadecim|
|000011e0| 61 6c 20 76 61 6c 75 65 | 20 28 69 66 20 69 74 20 |al value| (if it |
|000011f0| 69 73 20 62 65 74 77 65 | 65 6e 20 30 20 61 6e 64 |is betwe|en 0 and|
|00001200| 20 30 78 46 46 29 0a 69 | 6e 74 6f 20 74 68 65 20 | 0xFF).i|nto the |
|00001210| 62 75 66 66 65 72 20 61 | 74 20 74 68 65 20 63 75 |buffer a|t the cu|
|00001220| 72 72 65 6e 74 20 70 6f | 69 6e 74 2e 0a 0a 5c 5c |rrent po|int...\\|
|00001230| 5b 68 65 78 6c 2d 69 6e | 73 65 72 74 2d 6f 63 74 |[hexl-in|sert-oct|
|00001240| 61 6c 2d 63 68 61 72 5d | 20 77 69 6c 6c 20 69 6e |al-char]| will in|
|00001250| 73 65 72 74 20 61 20 67 | 69 76 65 6e 20 6f 63 74 |sert a g|iven oct|
|00001260| 61 6c 20 76 61 6c 75 65 | 20 28 69 66 20 69 74 20 |al value| (if it |
|00001270| 69 73 20 62 65 74 77 65 | 65 6e 20 30 20 61 6e 64 |is betwe|en 0 and|
|00001280| 20 30 33 37 37 29 0a 69 | 6e 74 6f 20 74 68 65 20 | 0377).i|nto the |
|00001290| 62 75 66 66 65 72 20 61 | 74 20 74 68 65 20 63 75 |buffer a|t the cu|
|000012a0| 72 72 65 6e 74 20 70 6f | 69 6e 74 2e 0a 0a 5c 5c |rrent po|int...\\|
|000012b0| 5b 68 65 78 6c 2d 69 6e | 73 65 72 74 2d 64 65 63 |[hexl-in|sert-dec|
|000012c0| 69 6d 61 6c 2d 63 68 61 | 72 5d 20 77 69 6c 6c 20 |imal-cha|r] will |
|000012d0| 69 6e 73 65 72 74 20 61 | 20 67 69 76 65 6e 20 64 |insert a| given d|
|000012e0| 65 63 69 6d 61 6c 20 76 | 61 6c 75 65 20 28 69 66 |ecimal v|alue (if|
|000012f0| 20 69 74 20 69 73 20 62 | 65 74 77 65 65 6e 20 30 | it is b|etween 0|
|00001300| 20 61 6e 64 20 32 35 35 | 29 0a 69 6e 74 6f 20 74 | and 255|).into t|
|00001310| 68 65 20 62 75 66 66 65 | 72 20 61 74 20 74 68 65 |he buffe|r at the|
|00001320| 20 63 75 72 72 65 6e 74 | 20 70 6f 69 6e 74 2e 0a | current| point..|
|00001330| 0a 5c 5c 5b 68 65 78 6c | 2d 6d 6f 64 65 2d 65 78 |.\\[hexl|-mode-ex|
|00001340| 69 74 5d 20 77 69 6c 6c | 20 65 78 69 74 20 68 65 |it] will| exit he|
|00001350| 78 6c 2d 6d 6f 64 65 2e | 0a 0a 4e 6f 74 65 3a 20 |xl-mode.|..Note: |
|00001360| 73 61 76 69 6e 67 20 74 | 68 65 20 66 69 6c 65 20 |saving t|he file |
|00001370| 77 69 74 68 20 61 6e 79 | 20 6f 66 20 74 68 65 20 |with any| of the |
|00001380| 75 73 75 61 6c 20 45 6d | 61 63 73 20 63 6f 6d 6d |usual Em|acs comm|
|00001390| 61 6e 64 73 0a 77 69 6c | 6c 20 61 63 74 75 61 6c |ands.wil|l actual|
|000013a0| 6c 79 20 63 6f 6e 76 65 | 72 74 20 69 74 20 62 61 |ly conve|rt it ba|
|000013b0| 63 6b 20 74 6f 20 62 69 | 6e 61 72 79 20 66 6f 72 |ck to bi|nary for|
|000013c0| 6d 61 74 20 77 68 69 6c | 65 20 73 61 76 69 6e 67 |mat whil|e saving|
|000013d0| 2e 0a 0a 59 6f 75 20 63 | 61 6e 20 75 73 65 20 5c |...You c|an use \|
|000013e0| 5c 5b 68 65 78 6c 2d 66 | 69 6e 64 2d 66 69 6c 65 |\[hexl-f|ind-file|
|000013f0| 5d 20 74 6f 20 76 69 73 | 69 74 20 61 20 66 69 6c |] to vis|it a fil|
|00001400| 65 20 69 6e 20 68 65 78 | 6c 2d 6d 6f 64 65 2e 0a |e in hex|l-mode..|
|00001410| 0a 5c 5c 5b 64 65 73 63 | 72 69 62 65 2d 62 69 6e |.\\[desc|ribe-bin|
|00001420| 64 69 6e 67 73 5d 20 66 | 6f 72 20 61 64 76 61 6e |dings] f|or advan|
|00001430| 63 65 64 20 63 6f 6d 6d | 61 6e 64 73 2e 22 20 22 |ced comm|ands." "|
|00001440| 70 22 5d 29 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |p"]).(by|te-code |
|00001450| 22 c0 c1 21 84 08 00 c2 | 11 c2 87 22 20 5b 62 6f |"..!....|..." [bo|
|00001460| 75 6e 64 70 20 68 65 78 | 6c 2d 69 6e 2d 73 61 76 |undp hex|l-in-sav|
|00001470| 65 2d 62 75 66 66 65 72 | 20 6e 69 6c 5d 20 32 29 |e-buffer| nil] 2)|
|00001480| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 68 65 78 6c |.(defali|as 'hexl|
|00001490| 2d 73 61 76 65 2d 62 75 | 66 66 65 72 20 23 5b 6e |-save-bu|ffer #[n|
|000014a0| 69 6c 20 22 08 3f 85 63 | 00 c1 c2 20 83 5b 00 8a |il ".?.c|... .[..|
|000014b0| c3 c4 21 c5 20 c6 20 65 | 64 c7 1e 08 1e 09 1e 5c |..!. . e|d......\|
|000014c0| 6e 1e 0b 1e 5c 66 89 1e | 0d 71 88 ce 0e 5c 66 0e |n...\f..|.q...\f.|
|000014d0| 5c 6e 0e 09 23 88 0e 5c | 66 71 88 cf 20 88 d0 89 |\n..#..\|fq.. ...|
|000014e0| 1e 11 18 d2 20 88 2a c2 | 20 16 08 65 64 7c 88 ce |.... .*.| ..ed|..|
|000014f0| 0e 0d 0e 5c 6e 0e 09 23 | 88 d3 0e 0d 21 88 0e 08 |...\n..#|....!...|
|00001500| 2e 07 82 60 00 d4 d5 21 | 88 c7 21 88 d0 87 22 20 |...`...!|..!..." |
|00001510| 5b 68 65 78 6c 2d 69 6e | 2d 73 61 76 65 2d 62 75 |[hexl-in|-save-bu|
|00001520| 66 66 65 72 20 73 65 74 | 2d 62 75 66 66 65 72 2d |ffer set|-buffer-|
|00001530| 6d 6f 64 69 66 69 65 64 | 2d 70 20 62 75 66 66 65 |modified|-p buffe|
|00001540| 72 2d 6d 6f 64 69 66 69 | 65 64 2d 70 20 67 65 6e |r-modifi|ed-p gen|
|00001550| 65 72 61 74 65 2d 6e 65 | 77 2d 62 75 66 66 65 72 |erate-ne|w-buffer|
|00001560| 20 22 20 68 65 78 6c 22 | 20 62 75 66 66 65 72 2d | " hexl"| buffer-|
|00001570| 6e 61 6d 65 20 62 75 66 | 66 65 72 2d 66 69 6c 65 |name buf|fer-file|
|00001580| 2d 6e 61 6d 65 20 6e 69 | 6c 20 6d 6f 64 69 66 69 |-name ni|l modifi|
|00001590| 65 64 20 65 6e 64 20 73 | 74 61 72 74 20 66 69 6c |ed end s|tart fil|
|000015a0| 65 2d 6e 61 6d 65 20 6e | 61 6d 65 20 62 75 66 20 |e-name n|ame buf |
|000015b0| 69 6e 73 65 72 74 2d 62 | 75 66 66 65 72 2d 73 75 |insert-b|uffer-su|
|000015c0| 62 73 74 72 69 6e 67 20 | 64 65 68 65 78 6c 69 66 |bstring |dehexlif|
|000015d0| 79 2d 62 75 66 66 65 72 | 20 74 20 62 75 66 66 65 |y-buffer| t buffe|
|000015e0| 72 2d 66 69 6c 65 2d 74 | 79 70 65 20 73 61 76 65 |r-file-t|ype save|
|000015f0| 2d 62 75 66 66 65 72 20 | 6b 69 6c 6c 2d 62 75 66 |-buffer |kill-buf|
|00001600| 66 65 72 20 6d 65 73 73 | 61 67 65 20 22 28 4e 6f |fer mess|age "(No|
|00001610| 20 63 68 61 6e 67 65 73 | 20 6e 65 65 64 20 74 6f | changes| need to|
|00001620| 20 62 65 20 73 61 76 65 | 64 29 22 5d 20 38 20 22 | be save|d)"] 8 "|
|00001630| 5c 0a 53 61 76 65 20 61 | 20 68 65 78 6c 20 66 6f |\.Save a| hexl fo|
|00001640| 72 6d 61 74 20 62 75 66 | 66 65 72 20 61 73 20 62 |rmat buf|fer as b|
|00001650| 69 6e 61 72 79 20 69 6e | 20 76 69 73 69 74 65 64 |inary in| visited|
|00001660| 20 66 69 6c 65 20 69 66 | 20 6d 6f 64 69 66 69 65 | file if| modifie|
|00001670| 64 2e 22 20 6e 69 6c 5d | 29 0a 28 64 65 66 61 6c |d." nil]|).(defal|
|00001680| 69 61 73 20 27 68 65 78 | 6c 2d 66 69 6e 64 2d 66 |ias 'hex|l-find-f|
|00001690| 69 6c 65 20 23 5b 28 66 | 69 6c 65 6e 61 6d 65 29 |ile #[(f|ilename)|
|000016a0| 20 22 08 c1 3d 83 0d 00 | c2 0b 21 88 82 11 00 c4 | "..=...|..!.....|
|000016b0| 0b 21 88 0d c6 3d 3f 85 | 1a 00 c6 20 87 22 20 5b |.!...=?.|... ." [|
|000016c0| 73 79 73 74 65 6d 2d 74 | 79 70 65 20 6d 73 2d 64 |system-t|ype ms-d|
|000016d0| 6f 73 20 66 69 6e 64 2d | 66 69 6c 65 2d 62 69 6e |os find-|file-bin|
|000016e0| 61 72 79 20 66 69 6c 65 | 6e 61 6d 65 20 66 69 6e |ary file|name fin|
|000016f0| 64 2d 66 69 6c 65 20 6d | 61 6a 6f 72 2d 6d 6f 64 |d-file m|ajor-mod|
|00001700| 65 20 68 65 78 6c 2d 6d | 6f 64 65 5d 20 32 20 22 |e hexl-m|ode] 2 "|
|00001710| 5c 0a 45 64 69 74 20 66 | 69 6c 65 20 46 49 4c 45 |\.Edit f|ile FILE|
|00001720| 4e 41 4d 45 20 69 6e 20 | 68 65 78 6c 2d 6d 6f 64 |NAME in |hexl-mod|
|00001730| 65 2e 0a 53 77 69 74 63 | 68 20 74 6f 20 61 20 62 |e..Switc|h to a b|
|00001740| 75 66 66 65 72 20 76 69 | 73 69 74 69 6e 67 20 66 |uffer vi|siting f|
|00001750| 69 6c 65 20 46 49 4c 45 | 4e 41 4d 45 2c 20 63 72 |ile FILE|NAME, cr|
|00001760| 65 61 74 69 6e 67 20 6f | 6e 65 20 69 6e 20 6e 6f |eating o|ne in no|
|00001770| 6e 65 20 65 78 69 73 74 | 73 2e 22 20 22 66 46 69 |ne exist|s." "fFi|
|00001780| 6c 65 6e 61 6d 65 3a 20 | 22 5d 29 0a 28 64 65 66 |lename: |"]).(def|
|00001790| 61 6c 69 61 73 20 27 68 | 65 78 6c 2d 6d 6f 64 65 |alias 'h|exl-mode|
|000017a0| 2d 65 78 69 74 20 23 5b | 28 26 6f 70 74 69 6f 6e |-exit #[|(&option|
|000017b0| 61 6c 20 61 72 67 29 20 | 22 08 c1 3d 84 5c 6e 00 |al arg) |"..=.\n.|
|000017c0| 08 84 26 00 c2 20 c3 c4 | 20 54 1d 1e 06 1e 07 c8 |..&.. ..| T......|
|000017d0| 20 88 c9 ca cb 5c 22 88 | cc 0e 07 21 88 0d 62 88 | ....\".|...!..b.|
|000017e0| 2b 0e 0d 16 0e cf 0e 10 | 21 88 0e 11 16 12 d3 70 |+.......|!......p|
|000017f0| 21 87 22 20 5b 61 72 67 | 20 31 20 62 75 66 66 65 |!." [arg| 1 buffe|
|00001800| 72 2d 6d 6f 64 69 66 69 | 65 64 2d 70 20 74 20 68 |r-modifi|ed-p t h|
|00001810| 65 78 6c 2d 63 75 72 72 | 65 6e 74 2d 61 64 64 72 |exl-curr|ent-addr|
|00001820| 65 73 73 20 6f 72 69 67 | 69 6e 61 6c 2d 70 6f 69 |ess orig|inal-poi|
|00001830| 6e 74 20 69 6e 68 69 62 | 69 74 2d 72 65 61 64 2d |nt inhib|it-read-|
|00001840| 6f 6e 6c 79 20 6d 6f 64 | 69 66 69 65 64 20 64 65 |only mod|ified de|
|00001850| 68 65 78 6c 69 66 79 2d | 62 75 66 66 65 72 20 72 |hexlify-|buffer r|
|00001860| 65 6d 6f 76 65 2d 68 6f | 6f 6b 20 77 72 69 74 65 |emove-ho|ok write|
|00001870| 2d 63 6f 6e 74 65 6e 74 | 73 2d 68 6f 6f 6b 20 68 |-content|s-hook h|
|00001880| 65 78 6c 2d 73 61 76 65 | 2d 62 75 66 66 65 72 20 |exl-save|-buffer |
|00001890| 73 65 74 2d 62 75 66 66 | 65 72 2d 6d 6f 64 69 66 |set-buff|er-modif|
|000018a0| 69 65 64 2d 70 20 68 65 | 78 6c 2d 6d 6f 64 65 2d |ied-p he|xl-mode-|
|000018b0| 6f 6c 64 2d 6d 6f 64 65 | 2d 6e 61 6d 65 20 6d 6f |old-mode|-name mo|
|000018c0| 64 65 2d 6e 61 6d 65 20 | 75 73 65 2d 6c 6f 63 61 |de-name |use-loca|
|000018d0| 6c 2d 6d 61 70 20 68 65 | 78 6c 2d 6d 6f 64 65 2d |l-map he|xl-mode-|
|000018e0| 6f 6c 64 2d 6c 6f 63 61 | 6c 2d 6d 61 70 20 68 65 |old-loca|l-map he|
|000018f0| 78 6c 2d 6d 6f 64 65 2d | 6f 6c 64 2d 6d 61 6a 6f |xl-mode-|old-majo|
|00001900| 72 2d 6d 6f 64 65 20 6d | 61 6a 6f 72 2d 6d 6f 64 |r-mode m|ajor-mod|
|00001910| 65 20 73 77 69 74 63 68 | 2d 74 6f 2d 62 75 66 66 |e switch|-to-buff|
|00001920| 65 72 5d 20 33 20 22 5c | 0a 45 78 69 74 20 48 65 |er] 3 "\|.Exit He|
|00001930| 78 6c 20 6d 6f 64 65 2c | 20 72 65 74 75 72 6e 69 |xl mode,| returni|
|00001940| 6e 67 20 74 6f 20 70 72 | 65 76 69 6f 75 73 20 6d |ng to pr|evious m|
|00001950| 6f 64 65 2e 0a 57 69 74 | 68 20 61 72 67 2c 20 64 |ode..Wit|h arg, d|
|00001960| 6f 6e 27 74 20 75 6e 68 | 65 78 6c 69 66 79 20 62 |on't unh|exlify b|
|00001970| 75 66 66 65 72 2e 22 20 | 22 70 22 5d 29 0a 28 64 |uffer." |"p"]).(d|
|00001980| 65 66 61 6c 69 61 73 20 | 27 68 65 78 6c 2d 63 75 |efalias |'hexl-cu|
|00001990| 72 72 65 6e 74 2d 61 64 | 64 72 65 73 73 20 23 5b |rrent-ad|dress #[|
|000019a0| 6e 69 6c 20 22 60 c0 a6 | c1 5a c2 1b 1c 60 c0 a5 |nil "`..|.Z...`..|
|000019b0| c5 5f 5c 66 89 c6 a5 5a | c7 a5 5c 5c 89 13 2a 87 |._\f...Z|..\\..*.|
|000019c0| 22 20 5b 36 38 20 31 31 | 20 30 20 68 65 78 6c 2d |" [68 11| 0 hexl-|
|000019d0| 61 64 64 72 65 73 73 20 | 63 75 72 72 65 6e 74 2d |address |current-|
|000019e0| 63 6f 6c 75 6d 6e 20 31 | 36 20 35 20 32 5d 20 35 |column 1|6 5 2] 5|
|000019f0| 20 22 5c 0a 52 65 74 75 | 72 6e 20 63 75 72 72 65 | "\.Retu|rn curre|
|00001a00| 6e 74 20 68 65 78 6c 2d | 61 64 64 72 65 73 73 2e |nt hexl-|address.|
|00001a10| 22 20 6e 69 6c 5d 29 0a | 28 64 65 66 61 6c 69 61 |" nil]).|(defalia|
|00001a20| 73 20 27 68 65 78 6c 2d | 61 64 64 72 65 73 73 2d |s 'hexl-|address-|
|00001a30| 74 6f 2d 6d 61 72 6b 65 | 72 20 23 5b 28 61 64 64 |to-marke|r #[(add|
|00001a40| 72 65 73 73 29 20 22 08 | c1 a5 c2 5f 08 c1 a6 c3 |ress) ".|..._....|
|00001a50| 5f c4 a5 c5 5c 5c 5c 5c | 87 22 20 5b 61 64 64 72 |_...\\\\|." [addr|
|00001a60| 65 73 73 20 31 36 20 36 | 38 20 35 20 32 20 31 31 |ess 16 6|8 5 2 11|
|00001a70| 5d 20 33 20 22 5c 0a 52 | 65 74 75 72 6e 20 6d 61 |] 3 "\.R|eturn ma|
|00001a80| 72 6b 65 72 20 66 6f 72 | 20 41 44 44 52 45 53 53 |rker for| ADDRESS|
|00001a90| 2e 22 20 22 6e 41 64 64 | 72 65 73 73 3a 20 22 5d |." "nAdd|ress: "]|
|00001aa0| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 68 65 78 |).(defal|ias 'hex|
|00001ab0| 6c 2d 67 6f 74 6f 2d 61 | 64 64 72 65 73 73 20 23 |l-goto-a|ddress #|
|00001ac0| 5b 28 61 64 64 72 65 73 | 73 29 20 22 08 c1 57 84 |[(addres|s) "..W.|
|00001ad0| 5c 66 00 08 5c 6e 56 83 | 10 00 c3 c4 21 88 c5 08 |\f..\nV.|....!...|
|00001ae0| 21 62 87 22 20 5b 61 64 | 64 72 65 73 73 20 30 20 |!b." [ad|dress 0 |
|00001af0| 68 65 78 6c 2d 6d 61 78 | 2d 61 64 64 72 65 73 73 |hexl-max|-address|
|00001b00| 20 65 72 72 6f 72 20 22 | 4f 75 74 20 6f 66 20 68 | error "|Out of h|
|00001b10| 65 78 6c 20 72 65 67 69 | 6f 6e 2e 22 20 68 65 78 |exl regi|on." hex|
|00001b20| 6c 2d 61 64 64 72 65 73 | 73 2d 74 6f 2d 6d 61 72 |l-addres|s-to-mar|
|00001b30| 6b 65 72 5d 20 32 20 22 | 5c 0a 47 6f 74 6f 20 68 |ker] 2 "|\.Goto h|
|00001b40| 65 78 6c 2d 6d 6f 64 65 | 20 28 64 65 63 69 6d 61 |exl-mode| (decima|
|00001b50| 6c 29 20 61 64 64 72 65 | 73 73 20 41 44 44 52 45 |l) addre|ss ADDRE|
|00001b60| 53 53 2e 0a 0a 53 69 67 | 6e 61 6c 20 65 72 72 6f |SS...Sig|nal erro|
|00001b70| 72 20 69 66 20 41 44 44 | 52 45 53 53 20 6f 75 74 |r if ADD|RESS out|
|00001b80| 20 6f 66 20 72 61 6e 67 | 65 2e 22 20 22 6e 41 64 | of rang|e." "nAd|
|00001b90| 64 72 65 73 73 3a 20 22 | 5d 29 0a 28 64 65 66 61 |dress: "|]).(defa|
|00001ba0| 6c 69 61 73 20 27 68 65 | 78 6c 2d 67 6f 74 6f 2d |lias 'he|xl-goto-|
|00001bb0| 68 65 78 2d 61 64 64 72 | 65 73 73 20 23 5b 28 68 |hex-addr|ess #[(h|
|00001bc0| 65 78 2d 61 64 64 72 65 | 73 73 29 20 22 c0 c1 5c |ex-addre|ss) "..\|
|00001bd0| 6e 21 21 87 22 20 5b 68 | 65 78 6c 2d 67 6f 74 6f |n!!." [h|exl-goto|
|00001be0| 2d 61 64 64 72 65 73 73 | 20 68 65 78 6c 2d 68 65 |-address| hexl-he|
|00001bf0| 78 2d 73 74 72 69 6e 67 | 2d 74 6f 2d 69 6e 74 65 |x-string|-to-inte|
|00001c00| 67 65 72 20 68 65 78 2d | 61 64 64 72 65 73 73 5d |ger hex-|address]|
|00001c10| 20 33 20 22 5c 0a 47 6f | 20 74 6f 20 68 65 78 6c | 3 "\.Go| to hexl|
|00001c20| 2d 6d 6f 64 65 20 61 64 | 64 72 65 73 73 20 28 68 |-mode ad|dress (h|
|00001c30| 65 78 20 73 74 72 69 6e | 67 29 20 48 45 58 2d 41 |ex strin|g) HEX-A|
|00001c40| 44 44 52 45 53 53 2e 0a | 0a 53 69 67 6e 61 6c 20 |DDRESS..|.Signal |
|00001c50| 65 72 72 6f 72 20 69 66 | 20 48 45 58 2d 41 44 44 |error if| HEX-ADD|
|00001c60| 52 45 53 53 20 69 73 20 | 6f 75 74 20 6f 66 20 72 |RESS is |out of r|
|00001c70| 61 6e 67 65 2e 22 20 22 | 73 48 65 78 20 41 64 64 |ange." "|sHex Add|
|00001c80| 72 65 73 73 3a 20 22 5d | 29 0a 28 64 65 66 61 6c |ress: "]|).(defal|
|00001c90| 69 61 73 20 27 68 65 78 | 6c 2d 68 65 78 2d 73 74 |ias 'hex|l-hex-st|
|00001ca0| 72 69 6e 67 2d 74 6f 2d | 69 6e 74 65 67 65 72 20 |ring-to-|integer |
|00001cb0| 23 5b 28 68 65 78 2d 73 | 74 72 69 6e 67 29 20 22 |#[(hex-s|tring) "|
|00001cc0| c0 19 5c 6e c3 9a 84 1b | 00 09 c4 5f c5 c6 5c 6e |..\n....|..._..\n|
|00001cd0| 21 21 5c 5c 11 5c 6e c7 | c8 4f 89 12 82 03 00 09 |!!\\.\n.|.O......|
|00001ce0| 29 87 22 20 5b 30 20 68 | 65 78 2d 6e 75 6d 20 68 |)." [0 h|ex-num h|
|00001cf0| 65 78 2d 73 74 72 69 6e | 67 20 22 22 20 31 36 20 |ex-strin|g "" 16 |
|00001d00| 68 65 78 6c 2d 68 65 78 | 2d 63 68 61 72 2d 74 6f |hexl-hex|-char-to|
|00001d10| 2d 69 6e 74 65 67 65 72 | 20 73 74 72 69 6e 67 2d |-integer| string-|
|00001d20| 74 6f 2d 63 68 61 72 20 | 31 20 6e 69 6c 5d 20 35 |to-char |1 nil] 5|
|00001d30| 20 22 5c 0a 52 65 74 75 | 72 6e 20 64 65 63 69 6d | "\.Retu|rn decim|
|00001d40| 61 6c 20 69 6e 74 65 67 | 65 72 20 66 6f 72 20 48 |al integ|er for H|
|00001d50| 45 58 2d 53 54 52 49 4e | 47 2e 22 20 22 73 48 65 |EX-STRIN|G." "sHe|
|00001d60| 78 20 6e 75 6d 62 65 72 | 3a 20 22 5d 29 0a 28 64 |x number|: "]).(d|
|00001d70| 65 66 61 6c 69 61 73 20 | 27 68 65 78 6c 2d 6f 63 |efalias |'hexl-oc|
|00001d80| 74 61 6c 2d 73 74 72 69 | 6e 67 2d 74 6f 2d 69 6e |tal-stri|ng-to-in|
|00001d90| 74 65 67 65 72 20 23 5b | 28 6f 63 74 61 6c 2d 73 |teger #[|(octal-s|
|00001da0| 74 72 69 6e 67 29 20 22 | c0 19 5c 6e c3 9a 84 1b |tring) "|..\n....|
|00001db0| 00 09 c4 5f c5 c6 5c 6e | 21 21 5c 5c 11 5c 6e c7 |..._..\n|!!\\.\n.|
|00001dc0| c8 4f 89 12 82 03 00 09 | 29 87 22 20 5b 30 20 6f |.O......|)." [0 o|
|00001dd0| 63 74 2d 6e 75 6d 20 6f | 63 74 61 6c 2d 73 74 72 |ct-num o|ctal-str|
|00001de0| 69 6e 67 20 22 22 20 38 | 20 68 65 78 6c 2d 6f 63 |ing "" 8| hexl-oc|
|00001df0| 74 2d 63 68 61 72 2d 74 | 6f 2d 69 6e 74 65 67 65 |t-char-t|o-intege|
|00001e00| 72 20 73 74 72 69 6e 67 | 2d 74 6f 2d 63 68 61 72 |r string|-to-char|
|00001e10| 20 31 20 6e 69 6c 5d 20 | 35 20 22 5c 0a 52 65 74 | 1 nil] |5 "\.Ret|
|00001e20| 75 72 6e 20 64 65 63 69 | 6d 61 6c 20 69 6e 74 65 |urn deci|mal inte|
|00001e30| 67 65 72 20 66 6f 72 20 | 4f 43 54 41 4c 2d 53 54 |ger for |OCTAL-ST|
|00001e40| 52 49 4e 47 2e 22 20 22 | 73 4f 63 74 61 6c 20 6e |RING." "|sOctal n|
|00001e50| 75 6d 62 65 72 3a 20 22 | 5d 29 0a 28 64 65 66 61 |umber: "|]).(defa|
|00001e60| 6c 69 61 73 20 27 68 65 | 78 6c 2d 62 61 63 6b 77 |lias 'he|xl-backw|
|00001e70| 61 72 64 2d 63 68 61 72 | 20 23 5b 28 61 72 67 29 |ard-char| #[(arg)|
|00001e80| 20 22 c0 c1 20 5c 6e 5a | 21 87 22 20 5b 68 65 78 | ".. \nZ|!." [hex|
|00001e90| 6c 2d 67 6f 74 6f 2d 61 | 64 64 72 65 73 73 20 68 |l-goto-a|ddress h|
|00001ea0| 65 78 6c 2d 63 75 72 72 | 65 6e 74 2d 61 64 64 72 |exl-curr|ent-addr|
|00001eb0| 65 73 73 20 61 72 67 5d | 20 33 20 22 5c 0a 4d 6f |ess arg]| 3 "\.Mo|
|00001ec0| 76 65 20 74 6f 20 6c 65 | 66 74 20 41 52 47 20 62 |ve to le|ft ARG b|
|00001ed0| 79 74 65 73 20 28 72 69 | 67 68 74 20 69 66 20 41 |ytes (ri|ght if A|
|00001ee0| 52 47 20 6e 65 67 61 74 | 69 76 65 29 20 69 6e 20 |RG negat|ive) in |
|00001ef0| 68 65 78 6c 2d 6d 6f 64 | 65 2e 22 20 22 70 22 5d |hexl-mod|e." "p"]|
|00001f00| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 68 65 78 |).(defal|ias 'hex|
|00001f10| 6c 2d 66 6f 72 77 61 72 | 64 2d 63 68 61 72 20 23 |l-forwar|d-char #|
|00001f20| 5b 28 61 72 67 29 20 22 | c0 c1 20 5c 6e 5c 5c 21 |[(arg) "|.. \n\\!|
|00001f30| 87 22 20 5b 68 65 78 6c | 2d 67 6f 74 6f 2d 61 64 |." [hexl|-goto-ad|
|00001f40| 64 72 65 73 73 20 68 65 | 78 6c 2d 63 75 72 72 65 |dress he|xl-curre|
|00001f50| 6e 74 2d 61 64 64 72 65 | 73 73 20 61 72 67 5d 20 |nt-addre|ss arg] |
|00001f60| 33 20 22 5c 0a 4d 6f 76 | 65 20 72 69 67 68 74 20 |3 "\.Mov|e right |
|00001f70| 41 52 47 20 62 79 74 65 | 73 20 28 6c 65 66 74 20 |ARG byte|s (left |
|00001f80| 69 66 20 41 52 47 20 6e | 65 67 61 74 69 76 65 29 |if ARG n|egative)|
|00001f90| 20 69 6e 20 68 65 78 6c | 2d 6d 6f 64 65 2e 22 20 | in hexl|-mode." |
|00001fa0| 22 70 22 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |"p"]).(d|efalias |
|00001fb0| 27 68 65 78 6c 2d 62 61 | 63 6b 77 61 72 64 2d 73 |'hexl-ba|ckward-s|
|00001fc0| 68 6f 72 74 20 23 5b 28 | 61 72 67 29 20 22 c0 c1 |hort #[(|arg) "..|
|00001fd0| 20 1a 0b c4 57 83 6a 00 | 0b 5b 89 13 c4 56 83 51 | ...W.j.|.[...V.Q|
|00001fe0| 00 5c 6e c5 5c 6e c6 5c | 22 9a 84 35 00 5c 6e 0e |.\n.\n.\|"..5.\n.|
|00001ff0| 07 56 83 2d 00 c8 c9 21 | 88 0e 07 12 82 4a 00 c5 |.V.-...!|.....J..|
|00002000| 5c 6e c6 5c 22 12 82 4a | 00 5c 6e 0e 07 56 83 46 |\n.\"..J|.\n..V.F|
|00002010| 00 c8 c9 21 88 0e 07 12 | 82 4a 00 5c 6e ca 5c 5c |...!....|.J.\n.\\|
|00002020| 12 0b 53 89 13 82 0e 00 | 5c 6e 0e 07 56 83 62 00 |..S.....|\n..V.b.|
|00002030| c8 c9 21 88 0e 07 12 82 | 99 00 c5 5c 6e c6 5c 22 |..!.....|...\n.\"|
|00002040| 12 82 99 00 0b c4 56 83 | 99 00 5c 6e cb 5c 6e cc |......V.|..\n.\n.|
|00002050| 5c 22 9a 84 81 00 cb 5c | 6e cc 5c 22 12 82 92 00 |\".....\|n.\"....|
|00002060| 5c 6e c4 9a 84 8e 00 5c | 6e ca 5a 12 82 92 00 c8 |\n.....\|n.Z.....|
|00002070| cd 21 88 0b 53 89 13 82 | 6b 00 5c 6e 29 21 87 22 |.!..S...|k.\n)!."|
|00002080| 20 5b 68 65 78 6c 2d 67 | 6f 74 6f 2d 61 64 64 72 | [hexl-g|oto-addr|
|00002090| 65 73 73 20 68 65 78 6c | 2d 63 75 72 72 65 6e 74 |ess hexl|-current|
|000020a0| 2d 61 64 64 72 65 73 73 | 20 61 64 64 72 65 73 73 |-address| address|
|000020b0| 20 61 72 67 20 30 20 6c | 6f 67 69 6f 72 20 33 20 | arg 0 l|ogior 3 |
|000020c0| 68 65 78 6c 2d 6d 61 78 | 2d 61 64 64 72 65 73 73 |hexl-max|-address|
|000020d0| 20 6d 65 73 73 61 67 65 | 20 22 45 6e 64 20 6f 66 | message| "End of|
|000020e0| 20 62 75 66 66 65 72 2e | 22 20 34 20 6c 6f 67 61 | buffer.|" 4 loga|
|000020f0| 6e 64 20 2d 34 20 22 42 | 65 67 69 6e 6e 69 6e 67 |nd -4 "B|eginning|
|00002100| 20 6f 66 20 62 75 66 66 | 65 72 2e 22 5d 20 36 20 | of buff|er."] 6 |
|00002110| 22 5c 0a 4d 6f 76 65 20 | 74 6f 20 6c 65 66 74 20 |"\.Move |to left |
|00002120| 41 52 47 20 73 68 6f 72 | 74 73 20 28 72 69 67 68 |ARG shor|ts (righ|
|00002130| 74 20 69 66 20 41 52 47 | 20 6e 65 67 61 74 69 76 |t if ARG| negativ|
|00002140| 65 29 20 69 6e 20 68 65 | 78 6c 2d 6d 6f 64 65 2e |e) in he|xl-mode.|
|00002150| 22 20 22 70 22 5d 29 0a | 28 64 65 66 61 6c 69 61 |" "p"]).|(defalia|
|00002160| 73 20 27 68 65 78 6c 2d | 66 6f 72 77 61 72 64 2d |s 'hexl-|forward-|
|00002170| 73 68 6f 72 74 20 23 5b | 28 61 72 67 29 20 22 c0 |short #[|(arg) ".|
|00002180| 09 5b 21 87 22 20 5b 68 | 65 78 6c 2d 62 61 63 6b |.[!." [h|exl-back|
|00002190| 77 61 72 64 2d 73 68 6f | 72 74 20 61 72 67 5d 20 |ward-sho|rt arg] |
|000021a0| 32 20 22 5c 0a 4d 6f 76 | 65 20 72 69 67 68 74 20 |2 "\.Mov|e right |
|000021b0| 41 52 47 20 73 68 6f 72 | 74 73 20 28 6c 65 66 74 |ARG shor|ts (left|
|000021c0| 20 69 66 20 41 52 47 20 | 6e 65 67 61 74 69 76 65 | if ARG |negative|
|000021d0| 29 20 69 6e 20 68 65 78 | 6c 2d 6d 6f 64 65 2e 22 |) in hex|l-mode."|
|000021e0| 20 22 70 22 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 | "p"]).(|defalias|
|000021f0| 20 27 68 65 78 6c 2d 62 | 61 63 6b 77 61 72 64 2d | 'hexl-b|ackward-|
|00002200| 77 6f 72 64 20 23 5b 28 | 61 72 67 29 20 22 c0 c1 |word #[(|arg) "..|
|00002210| 20 1a 0b c4 57 83 6a 00 | 0b 5b 89 13 c4 56 83 51 | ...W.j.|.[...V.Q|
|00002220| 00 5c 6e c5 5c 6e c6 5c | 22 9a 84 35 00 5c 6e 0e |.\n.\n.\|"..5.\n.|
|00002230| 07 56 83 2d 00 c8 c9 21 | 88 0e 07 12 82 4a 00 c5 |.V.-...!|.....J..|
|00002240| 5c 6e c6 5c 22 12 82 4a | 00 5c 6e 0e 07 56 83 46 |\n.\"..J|.\n..V.F|
|00002250| 00 c8 c9 21 88 0e 07 12 | 82 4a 00 5c 6e ca 5c 5c |...!....|.J.\n.\\|
|00002260| 12 0b 53 89 13 82 0e 00 | 5c 6e 0e 07 56 83 62 00 |..S.....|\n..V.b.|
|00002270| c8 c9 21 88 0e 07 12 82 | 99 00 c5 5c 6e c6 5c 22 |..!.....|...\n.\"|
|00002280| 12 82 99 00 0b c4 56 83 | 99 00 5c 6e cb 5c 6e cc |......V.|..\n.\n.|
|00002290| 5c 22 9a 84 81 00 cb 5c | 6e cc 5c 22 12 82 92 00 |\".....\|n.\"....|
|000022a0| 5c 6e c4 9a 84 8e 00 5c | 6e ca 5a 12 82 92 00 c8 |\n.....\|n.Z.....|
|000022b0| cd 21 88 0b 53 89 13 82 | 6b 00 5c 6e 29 21 87 22 |.!..S...|k.\n)!."|
|000022c0| 20 5b 68 65 78 6c 2d 67 | 6f 74 6f 2d 61 64 64 72 | [hexl-g|oto-addr|
|000022d0| 65 73 73 20 68 65 78 6c | 2d 63 75 72 72 65 6e 74 |ess hexl|-current|
|000022e0| 2d 61 64 64 72 65 73 73 | 20 61 64 64 72 65 73 73 |-address| address|
|000022f0| 20 61 72 67 20 30 20 6c | 6f 67 69 6f 72 20 37 20 | arg 0 l|ogior 7 |
|00002300| 68 65 78 6c 2d 6d 61 78 | 2d 61 64 64 72 65 73 73 |hexl-max|-address|
|00002310| 20 6d 65 73 73 61 67 65 | 20 22 45 6e 64 20 6f 66 | message| "End of|
|00002320| 20 62 75 66 66 65 72 2e | 22 20 38 20 6c 6f 67 61 | buffer.|" 8 loga|
|00002330| 6e 64 20 2d 38 20 22 42 | 65 67 69 6e 6e 69 6e 67 |nd -8 "B|eginning|
|00002340| 20 6f 66 20 62 75 66 66 | 65 72 2e 22 5d 20 36 20 | of buff|er."] 6 |
|00002350| 22 5c 0a 4d 6f 76 65 20 | 74 6f 20 6c 65 66 74 20 |"\.Move |to left |
|00002360| 41 52 47 20 77 6f 72 64 | 73 20 28 72 69 67 68 74 |ARG word|s (right|
|00002370| 20 69 66 20 41 52 47 20 | 6e 65 67 61 74 69 76 65 | if ARG |negative|
|00002380| 29 20 69 6e 20 68 65 78 | 6c 2d 6d 6f 64 65 2e 22 |) in hex|l-mode."|
|00002390| 20 22 70 22 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 | "p"]).(|defalias|
|000023a0| 20 27 68 65 78 6c 2d 66 | 6f 72 77 61 72 64 2d 77 | 'hexl-f|orward-w|
|000023b0| 6f 72 64 20 23 5b 28 61 | 72 67 29 20 22 c0 09 5b |ord #[(a|rg) "..[|
|000023c0| 21 87 22 20 5b 68 65 78 | 6c 2d 62 61 63 6b 77 61 |!." [hex|l-backwa|
|000023d0| 72 64 2d 77 6f 72 64 20 | 61 72 67 5d 20 32 20 22 |rd-word |arg] 2 "|
|000023e0| 5c 0a 4d 6f 76 65 20 72 | 69 67 68 74 20 41 52 47 |\.Move r|ight ARG|
|000023f0| 20 77 6f 72 64 73 20 28 | 6c 65 66 74 20 69 66 20 | words (|left if |
|00002400| 41 52 47 20 6e 65 67 61 | 74 69 76 65 29 20 69 6e |ARG nega|tive) in|
|00002410| 20 68 65 78 6c 2d 6d 6f | 64 65 2e 22 20 22 70 22 | hexl-mo|de." "p"|
|00002420| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 68 65 |]).(defa|lias 'he|
|00002430| 78 6c 2d 70 72 65 76 69 | 6f 75 73 2d 6c 69 6e 65 |xl-previ|ous-line|
|00002440| 20 23 5b 28 61 72 67 29 | 20 22 c0 09 5b 21 87 22 | #[(arg)| "..[!."|
|00002450| 20 5b 68 65 78 6c 2d 6e | 65 78 74 2d 6c 69 6e 65 | [hexl-n|ext-line|
|00002460| 20 61 72 67 5d 20 32 20 | 22 5c 0a 4d 6f 76 65 20 | arg] 2 |"\.Move |
|00002470| 76 65 72 74 69 63 61 6c | 6c 79 20 75 70 20 41 52 |vertical|ly up AR|
|00002480| 47 20 6c 69 6e 65 73 20 | 5b 31 36 20 62 79 74 65 |G lines |[16 byte|
|00002490| 73 5d 20 28 64 6f 77 6e | 20 69 66 20 41 52 47 20 |s] (down| if ARG |
|000024a0| 6e 65 67 61 74 69 76 65 | 29 20 69 6e 20 68 65 78 |negative|) in hex|
|000024b0| 6c 2d 6d 6f 64 65 2e 0a | 49 66 20 74 68 65 72 65 |l-mode..|If there|
|000024c0| 20 69 73 20 62 79 74 65 | 20 61 74 20 74 68 65 20 | is byte| at the |
|000024d0| 74 61 72 67 65 74 20 61 | 64 64 72 65 73 73 20 6d |target a|ddress m|
|000024e0| 6f 76 65 20 74 6f 20 74 | 68 65 20 6c 61 73 74 20 |ove to t|he last |
|000024f0| 62 79 74 65 20 69 6e 20 | 74 68 61 74 20 6c 69 6e |byte in |that lin|
|00002500| 65 2e 22 20 22 70 22 5d | 29 0a 28 64 65 66 61 6c |e." "p"]|).(defal|
|00002510| 69 61 73 20 27 68 65 78 | 6c 2d 6e 65 78 74 2d 6c |ias 'hex|l-next-l|
|00002520| 69 6e 65 20 23 5b 28 61 | 72 67 29 20 22 c0 c1 20 |ine #[(a|rg) ".. |
|00002530| 5c 6e c3 5f 5c 5c 1c 5c | 6e c5 57 83 20 00 5c 66 |\n._\\.\|n.W. .\f|
|00002540| c5 57 83 20 00 c6 c7 21 | 88 c1 20 c3 a6 14 82 4e |.W. ...!|.. ....N|
|00002550| 00 5c 66 0e 08 56 83 38 | 00 0e 08 c3 a6 5c 66 c3 |.\f..V.8|.....\f.|
|00002560| a6 57 83 38 00 0e 08 14 | 82 4e 00 5c 66 0e 08 56 |.W.8....|.N.\f..V|
|00002570| 83 4e 00 c6 c7 21 88 c9 | 0e 08 ca 5c 22 c1 20 c3 |.N...!..|...\". .|
|00002580| a6 5c 5c 14 5c 66 29 21 | 87 22 20 5b 68 65 78 6c |.\\.\f)!|." [hexl|
|00002590| 2d 67 6f 74 6f 2d 61 64 | 64 72 65 73 73 20 68 65 |-goto-ad|dress he|
|000025a0| 78 6c 2d 63 75 72 72 65 | 6e 74 2d 61 64 64 72 65 |xl-curre|nt-addre|
|000025b0| 73 73 20 61 72 67 20 31 | 36 20 61 64 64 72 65 73 |ss arg 1|6 addres|
|000025c0| 73 20 30 20 6d 65 73 73 | 61 67 65 20 22 4f 75 74 |s 0 mess|age "Out|
|000025d0| 20 6f 66 20 68 65 78 6c | 20 72 65 67 69 6f 6e 2e | of hexl| region.|
|000025e0| 22 20 68 65 78 6c 2d 6d | 61 78 2d 61 64 64 72 65 |" hexl-m|ax-addre|
|000025f0| 73 73 20 6c 6f 67 61 6e | 64 20 2d 31 36 5d 20 34 |ss logan|d -16] 4|
|00002600| 20 22 5c 0a 4d 6f 76 65 | 20 76 65 72 74 69 63 61 | "\.Move| vertica|
|00002610| 6c 6c 79 20 64 6f 77 6e | 20 41 52 47 20 6c 69 6e |lly down| ARG lin|
|00002620| 65 73 20 5b 31 36 20 62 | 79 74 65 73 5d 20 28 75 |es [16 b|ytes] (u|
|00002630| 70 20 69 66 20 41 52 47 | 20 6e 65 67 61 74 69 76 |p if ARG| negativ|
|00002640| 65 29 20 69 6e 20 68 65 | 78 6c 2d 6d 6f 64 65 2e |e) in he|xl-mode.|
|00002650| 0a 49 66 20 74 68 65 72 | 65 20 69 73 20 6e 6f 20 |.If ther|e is no |
|00002660| 62 79 74 65 20 61 74 20 | 74 68 65 20 74 61 72 67 |byte at |the targ|
|00002670| 65 74 20 61 64 64 72 65 | 73 73 20 6d 6f 76 65 20 |et addre|ss move |
|00002680| 74 6f 20 74 68 65 20 6c | 61 73 74 20 62 79 74 65 |to the l|ast byte|
|00002690| 20 69 6e 20 74 68 61 74 | 20 6c 69 6e 65 2e 22 20 | in that| line." |
|000026a0| 22 70 22 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |"p"]).(d|efalias |
|000026b0| 27 68 65 78 6c 2d 62 65 | 67 69 6e 6e 69 6e 67 2d |'hexl-be|ginning-|
|000026c0| 6f 66 2d 62 75 66 66 65 | 72 20 23 5b 28 61 72 67 |of-buffe|r #[(arg|
|000026d0| 29 20 22 c0 60 21 88 c1 | 5c 6e 53 21 87 22 20 5b |) ".`!..|\nS!." [|
|000026e0| 70 75 73 68 2d 6d 61 72 | 6b 20 68 65 78 6c 2d 67 |push-mar|k hexl-g|
|000026f0| 6f 74 6f 2d 61 64 64 72 | 65 73 73 20 61 72 67 5d |oto-addr|ess arg]|
|00002700| 20 32 20 22 5c 0a 4d 6f | 76 65 20 74 6f 20 74 68 | 2 "\.Mo|ve to th|
|00002710| 65 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 74 |e beginn|ing of t|
|00002720| 68 65 20 68 65 78 6c 20 | 62 75 66 66 65 72 2e 0a |he hexl |buffer..|
|00002730| 4c 65 61 76 65 73 20 60 | 68 65 78 6c 2d 6d 61 72 |Leaves `|hexl-mar|
|00002740| 6b 27 20 61 74 20 70 72 | 65 76 69 6f 75 73 20 70 |k' at pr|evious p|
|00002750| 6f 73 69 74 69 6f 6e 2e | 0a 57 69 74 68 20 70 72 |osition.|.With pr|
|00002760| 65 66 69 78 20 61 72 67 | 20 4e 2c 20 70 75 74 73 |efix arg| N, puts|
|00002770| 20 70 6f 69 6e 74 20 4e | 20 62 79 74 65 73 20 6f | point N| bytes o|
|00002780| 66 20 74 68 65 20 77 61 | 79 20 66 72 6f 6d 20 74 |f the wa|y from t|
|00002790| 68 65 20 74 72 75 65 20 | 62 65 67 69 6e 6e 69 6e |he true |beginnin|
|000027a0| 67 2e 22 20 22 70 22 5d | 29 0a 28 64 65 66 61 6c |g." "p"]|).(defal|
|000027b0| 69 61 73 20 27 68 65 78 | 6c 2d 65 6e 64 2d 6f 66 |ias 'hex|l-end-of|
|000027c0| 2d 62 75 66 66 65 72 20 | 23 5b 28 61 72 67 29 20 |-buffer |#[(arg) |
|000027d0| 22 c0 60 21 88 c1 5c 6e | 0b 53 5a 21 87 22 20 5b |".`!..\n|.SZ!." [|
|000027e0| 70 75 73 68 2d 6d 61 72 | 6b 20 68 65 78 6c 2d 67 |push-mar|k hexl-g|
|000027f0| 6f 74 6f 2d 61 64 64 72 | 65 73 73 20 68 65 78 6c |oto-addr|ess hexl|
|00002800| 2d 6d 61 78 2d 61 64 64 | 72 65 73 73 20 61 72 67 |-max-add|ress arg|
|00002810| 5d 20 33 20 22 5c 0a 47 | 6f 20 74 6f 20 60 68 65 |] 3 "\.G|o to `he|
|00002820| 78 6c 2d 6d 61 78 2d 61 | 64 64 72 65 73 73 27 20 |xl-max-a|ddress' |
|00002830| 6d 69 6e 75 73 20 41 52 | 47 2e 22 20 22 70 22 5d |minus AR|G." "p"]|
|00002840| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 68 65 78 |).(defal|ias 'hex|
|00002850| 6c 2d 62 65 67 69 6e 6e | 69 6e 67 2d 6f 66 2d 6c |l-beginn|ing-of-l|
|00002860| 69 6e 65 20 23 5b 6e 69 | 6c 20 22 60 c0 a5 c0 5f |ine #[ni|l "`..._|
|00002870| c1 5c 5c 62 87 22 20 5b | 36 38 20 31 31 5d 20 32 |.\\b." [|68 11] 2|
|00002880| 20 22 5c 0a 47 6f 74 6f | 20 62 65 67 69 6e 6e 69 | "\.Goto| beginni|
|00002890| 6e 67 20 6f 66 20 6c 69 | 6e 65 20 69 6e 20 68 65 |ng of li|ne in he|
|000028a0| 78 6c 20 6d 6f 64 65 2e | 22 20 6e 69 6c 5d 29 0a |xl mode.|" nil]).|
|000028b0| 28 64 65 66 61 6c 69 61 | 73 20 27 68 65 78 6c 2d |(defalia|s 'hexl-|
|000028c0| 65 6e 64 2d 6f 66 2d 6c | 69 6e 65 20 23 5b 6e 69 |end-of-l|ine #[ni|
|000028d0| 6c 20 22 c0 c1 c2 20 c3 | 5c 22 89 1c 0d 56 83 0f |l "... .|\"...V..|
|000028e0| 00 0d 14 5c 66 29 21 87 | 22 20 5b 68 65 78 6c 2d |...\f)!.|" [hexl-|
|000028f0| 67 6f 74 6f 2d 61 64 64 | 72 65 73 73 20 6c 6f 67 |goto-add|ress log|
|00002900| 69 6f 72 20 68 65 78 6c | 2d 63 75 72 72 65 6e 74 |ior hexl|-current|
|00002910| 2d 61 64 64 72 65 73 73 | 20 31 35 20 61 64 64 72 |-address| 15 addr|
|00002920| 65 73 73 20 68 65 78 6c | 2d 6d 61 78 2d 61 64 64 |ess hexl|-max-add|
|00002930| 72 65 73 73 5d 20 35 20 | 22 5c 0a 47 6f 74 6f 20 |ress] 5 |"\.Goto |
|00002940| 65 6e 64 20 6f 66 20 6c | 69 6e 65 20 69 6e 20 68 |end of l|ine in h|
|00002950| 65 78 6c 20 6d 6f 64 65 | 2e 22 20 6e 69 6c 5d 29 |exl mode|." nil])|
|00002960| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 68 65 78 6c |.(defali|as 'hexl|
|00002970| 2d 73 63 72 6f 6c 6c 2d | 64 6f 77 6e 20 23 5b 28 |-scroll-|down #[(|
|00002980| 61 72 67 29 20 22 08 84 | 0b 00 c1 20 53 10 82 0f |arg) "..|... S...|
|00002990| 00 c2 08 21 10 c3 08 5b | 21 87 22 20 5b 61 72 67 |...!...[|!." [arg|
|000029a0| 20 77 69 6e 64 6f 77 2d | 68 65 69 67 68 74 20 70 | window-|height p|
|000029b0| 72 65 66 69 78 2d 6e 75 | 6d 65 72 69 63 2d 76 61 |refix-nu|meric-va|
|000029c0| 6c 75 65 20 68 65 78 6c | 2d 73 63 72 6f 6c 6c 2d |lue hexl|-scroll-|
|000029d0| 75 70 5d 20 32 20 22 5c | 0a 53 63 72 6f 6c 6c 20 |up] 2 "\|.Scroll |
|000029e0| 68 65 78 6c 20 62 75 66 | 66 65 72 20 77 69 6e 64 |hexl buf|fer wind|
|000029f0| 6f 77 20 75 70 77 61 72 | 64 20 41 52 47 20 6c 69 |ow upwar|d ARG li|
|00002a00| 6e 65 73 3b 20 6f 72 20 | 6e 65 61 72 20 66 75 6c |nes; or |near ful|
|00002a10| 6c 20 77 69 6e 64 6f 77 | 20 69 66 20 6e 6f 20 41 |l window| if no A|
|00002a20| 52 47 2e 22 20 22 50 22 | 5d 29 0a 28 64 65 66 61 |RG." "P"|]).(defa|
|00002a30| 6c 69 61 73 20 27 68 65 | 78 6c 2d 73 63 72 6f 6c |lias 'he|xl-scrol|
|00002a40| 6c 2d 75 70 20 23 5b 28 | 61 72 67 29 20 22 08 84 |l-up #[(|arg) "..|
|00002a50| 0b 00 c1 20 53 10 82 0f | 00 c2 08 21 10 08 c3 5f |... S...|...!..._|
|00002a60| c4 20 1d 1e 06 0d 0e 06 | 5c 5c 0e 07 56 84 2a 00 |. ......|\\..V.*.|
|00002a70| 0d 0e 06 5c 5c c8 57 83 | 30 00 c9 ca 21 82 3a 00 |...\\.W.|0...!.:.|
|00002a80| cb 0d 0e 06 5c 5c 21 88 | cc c8 21 2a 87 22 20 5b |....\\!.|..!*." [|
|00002a90| 61 72 67 20 77 69 6e 64 | 6f 77 2d 68 65 69 67 68 |arg wind|ow-heigh|
|00002aa0| 74 20 70 72 65 66 69 78 | 2d 6e 75 6d 65 72 69 63 |t prefix|-numeric|
|00002ab0| 2d 76 61 6c 75 65 20 31 | 36 20 68 65 78 6c 2d 63 |-value 1|6 hexl-c|
|00002ac0| 75 72 72 65 6e 74 2d 61 | 64 64 72 65 73 73 20 61 |urrent-a|ddress a|
|00002ad0| 64 64 72 65 73 73 20 6d | 6f 76 65 6d 65 6e 74 20 |ddress m|ovement |
|00002ae0| 68 65 78 6c 2d 6d 61 78 | 2d 61 64 64 72 65 73 73 |hexl-max|-address|
|00002af0| 20 30 20 6d 65 73 73 61 | 67 65 20 22 4f 75 74 20 | 0 messa|ge "Out |
|00002b00| 6f 66 20 68 65 78 6c 20 | 72 65 67 69 6f 6e 2e 22 |of hexl |region."|
|00002b10| 20 68 65 78 6c 2d 67 6f | 74 6f 2d 61 64 64 72 65 | hexl-go|to-addre|
|00002b20| 73 73 20 72 65 63 65 6e | 74 65 72 5d 20 33 20 22 |ss recen|ter] 3 "|
|00002b30| 5c 0a 53 63 72 6f 6c 6c | 20 68 65 78 6c 20 62 75 |\.Scroll| hexl bu|
|00002b40| 66 66 65 72 20 77 69 6e | 64 6f 77 20 75 70 77 61 |ffer win|dow upwa|
|00002b50| 72 64 20 41 52 47 20 6c | 69 6e 65 73 3b 20 6f 72 |rd ARG l|ines; or|
|00002b60| 20 6e 65 61 72 20 66 75 | 6c 6c 20 77 69 6e 64 6f | near fu|ll windo|
|00002b70| 77 20 69 66 20 6e 6f 20 | 41 52 47 2e 22 20 22 50 |w if no |ARG." "P|
|00002b80| 22 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 68 |"]).(def|alias 'h|
|00002b90| 65 78 6c 2d 62 65 67 69 | 6e 6e 69 6e 67 2d 6f 66 |exl-begi|nning-of|
|00002ba0| 2d 31 6b 2d 70 61 67 65 | 20 23 5b 6e 69 6c 20 22 |-1k-page| #[nil "|
|00002bb0| c0 c1 c2 20 c3 5c 22 21 | 87 22 20 5b 68 65 78 6c |... .\"!|." [hexl|
|00002bc0| 2d 67 6f 74 6f 2d 61 64 | 64 72 65 73 73 20 6c 6f |-goto-ad|dress lo|
|00002bd0| 67 61 6e 64 20 68 65 78 | 6c 2d 63 75 72 72 65 6e |gand hex|l-curren|
|00002be0| 74 2d 61 64 64 72 65 73 | 73 20 2d 31 30 32 34 5d |t-addres|s -1024]|
|00002bf0| 20 34 20 22 5c 0a 47 6f | 74 6f 20 74 6f 20 62 65 | 4 "\.Go|to to be|
|00002c00| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 31 6b 20 62 6f |ginning |of 1k bo|
|00002c10| 75 6e 64 72 79 2e 22 20 | 6e 69 6c 5d 29 0a 28 64 |undry." |nil]).(d|
|00002c20| 65 66 61 6c 69 61 73 20 | 27 68 65 78 6c 2d 65 6e |efalias |'hexl-en|
|00002c30| 64 2d 6f 66 2d 31 6b 2d | 70 61 67 65 20 23 5b 6e |d-of-1k-|page #[n|
|00002c40| 69 6c 20 22 c0 c1 c2 20 | c3 5c 22 89 1c 0d 56 83 |il "... |.\"...V.|
|00002c50| 0f 00 0d 14 5c 66 29 21 | 87 22 20 5b 68 65 78 6c |....\f)!|." [hexl|
|00002c60| 2d 67 6f 74 6f 2d 61 64 | 64 72 65 73 73 20 6c 6f |-goto-ad|dress lo|
|00002c70| 67 69 6f 72 20 68 65 78 | 6c 2d 63 75 72 72 65 6e |gior hex|l-curren|
|00002c80| 74 2d 61 64 64 72 65 73 | 73 20 31 30 32 33 20 61 |t-addres|s 1023 a|
|00002c90| 64 64 72 65 73 73 20 68 | 65 78 6c 2d 6d 61 78 2d |ddress h|exl-max-|
|00002ca0| 61 64 64 72 65 73 73 5d | 20 35 20 22 5c 0a 47 6f |address]| 5 "\.Go|
|00002cb0| 74 6f 20 74 6f 20 65 6e | 64 20 6f 66 20 31 6b 20 |to to en|d of 1k |
|00002cc0| 62 6f 75 6e 64 72 79 2e | 22 20 6e 69 6c 5d 29 0a |boundry.|" nil]).|
|00002cd0| 28 64 65 66 61 6c 69 61 | 73 20 27 68 65 78 6c 2d |(defalia|s 'hexl-|
|00002ce0| 62 65 67 69 6e 6e 69 6e | 67 2d 6f 66 2d 35 31 32 |beginnin|g-of-512|
|00002cf0| 62 2d 70 61 67 65 20 23 | 5b 6e 69 6c 20 22 c0 c1 |b-page #|[nil "..|
|00002d00| c2 20 c3 5c 22 21 87 22 | 20 5b 68 65 78 6c 2d 67 |. .\"!."| [hexl-g|
|00002d10| 6f 74 6f 2d 61 64 64 72 | 65 73 73 20 6c 6f 67 61 |oto-addr|ess loga|
|00002d20| 6e 64 20 68 65 78 6c 2d | 63 75 72 72 65 6e 74 2d |nd hexl-|current-|
|00002d30| 61 64 64 72 65 73 73 20 | 2d 35 31 32 5d 20 34 20 |address |-512] 4 |
|00002d40| 22 5c 0a 47 6f 74 6f 20 | 74 6f 20 62 65 67 69 6e |"\.Goto |to begin|
|00002d50| 6e 69 6e 67 20 6f 66 20 | 35 31 32 20 62 79 74 65 |ning of |512 byte|
|00002d60| 20 62 6f 75 6e 64 72 79 | 2e 22 20 6e 69 6c 5d 29 | boundry|." nil])|
|00002d70| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 68 65 78 6c |.(defali|as 'hexl|
|00002d80| 2d 65 6e 64 2d 6f 66 2d | 35 31 32 62 2d 70 61 67 |-end-of-|512b-pag|
|00002d90| 65 20 23 5b 6e 69 6c 20 | 22 c0 c1 c2 20 c3 5c 22 |e #[nil |"... .\"|
|00002da0| 89 1c 0d 56 83 0f 00 0d | 14 5c 66 29 21 87 22 20 |...V....|.\f)!." |
|00002db0| 5b 68 65 78 6c 2d 67 6f | 74 6f 2d 61 64 64 72 65 |[hexl-go|to-addre|
|00002dc0| 73 73 20 6c 6f 67 69 6f | 72 20 68 65 78 6c 2d 63 |ss logio|r hexl-c|
|00002dd0| 75 72 72 65 6e 74 2d 61 | 64 64 72 65 73 73 20 35 |urrent-a|ddress 5|
|00002de0| 31 31 20 61 64 64 72 65 | 73 73 20 68 65 78 6c 2d |11 addre|ss hexl-|
|00002df0| 6d 61 78 2d 61 64 64 72 | 65 73 73 5d 20 35 20 22 |max-addr|ess] 5 "|
|00002e00| 5c 0a 47 6f 74 6f 20 74 | 6f 20 65 6e 64 20 6f 66 |\.Goto t|o end of|
|00002e10| 20 35 31 32 20 62 79 74 | 65 20 62 6f 75 6e 64 72 | 512 byt|e boundr|
|00002e20| 79 2e 22 20 6e 69 6c 5d | 29 0a 28 64 65 66 61 6c |y." nil]|).(defal|
|00002e30| 69 61 73 20 27 68 65 78 | 6c 2d 71 75 6f 74 65 64 |ias 'hex|l-quoted|
|00002e40| 2d 69 6e 73 65 72 74 20 | 23 5b 28 61 72 67 29 20 |-insert |#[(arg) |
|00002e50| 22 c0 c1 20 5c 6e 5c 22 | 87 22 20 5b 68 65 78 6c |".. \n\"|." [hexl|
|00002e60| 2d 69 6e 73 65 72 74 2d | 63 68 61 72 20 72 65 61 |-insert-|char rea|
|00002e70| 64 2d 71 75 6f 74 65 64 | 2d 63 68 61 72 20 61 72 |d-quoted|-char ar|
|00002e80| 67 5d 20 33 20 22 5c 0a | 52 65 61 64 20 6e 65 78 |g] 3 "\.|Read nex|
|00002e90| 74 20 69 6e 70 75 74 20 | 63 68 61 72 61 63 74 65 |t input |characte|
|00002ea0| 72 20 61 6e 64 20 69 6e | 73 65 72 74 20 69 74 2e |r and in|sert it.|
|00002eb0| 0a 55 73 65 66 75 6c 20 | 66 6f 72 20 69 6e 73 65 |.Useful |for inse|
|00002ec0| 72 74 69 6e 67 20 63 6f | 6e 74 72 6f 6c 20 63 68 |rting co|ntrol ch|
|00002ed0| 61 72 61 63 74 65 72 73 | 2e 0a 59 6f 75 20 6d 61 |aracters|..You ma|
|00002ee0| 79 20 61 6c 73 6f 20 74 | 79 70 65 20 75 70 20 74 |y also t|ype up t|
|00002ef0| 6f 20 33 20 6f 63 74 61 | 6c 20 64 69 67 69 74 73 |o 3 octa|l digits|
|00002f00| 2c 20 74 6f 20 69 6e 73 | 65 72 74 20 61 20 63 68 |, to ins|ert a ch|
|00002f10| 61 72 61 63 74 65 72 20 | 77 69 74 68 20 74 68 61 |aracter |with tha|
|00002f20| 74 20 63 6f 64 65 22 20 | 22 70 22 5d 29 0a 28 64 |t code" |"p"]).(d|
|00002f30| 65 66 61 6c 69 61 73 20 | 27 68 65 78 6c 69 66 79 |efalias |'hexlify|
|00002f40| 2d 62 75 66 66 65 72 20 | 23 5b 6e 69 6c 20 22 c0 |-buffer |#[nil ".|
|00002f50| c1 1a 1b c4 65 64 0d c1 | 24 2a 87 22 20 5b 6e 69 |....ed..|$*." [ni|
|00002f60| 6c 20 74 20 62 69 6e 61 | 72 79 2d 70 72 6f 63 65 |l t bina|ry-proce|
|00002f70| 73 73 2d 69 6e 70 75 74 | 20 62 69 6e 61 72 79 2d |ss-input| binary-|
|00002f80| 70 72 6f 63 65 73 73 2d | 6f 75 74 70 75 74 20 73 |process-|output s|
|00002f90| 68 65 6c 6c 2d 63 6f 6d | 6d 61 6e 64 2d 6f 6e 2d |hell-com|mand-on-|
|00002fa0| 72 65 67 69 6f 6e 20 68 | 65 78 6c 69 66 79 2d 63 |region h|exlify-c|
|00002fb0| 6f 6d 6d 61 6e 64 5d 20 | 35 20 22 5c 0a 43 6f 6e |ommand] |5 "\.Con|
|00002fc0| 76 65 72 74 20 61 20 62 | 69 6e 61 72 79 20 62 75 |vert a b|inary bu|
|00002fd0| 66 66 65 72 20 74 6f 20 | 68 65 78 6c 20 66 6f 72 |ffer to |hexl for|
|00002fe0| 6d 61 74 22 20 6e 69 6c | 5d 29 0a 28 64 65 66 61 |mat" nil|]).(defa|
|00002ff0| 6c 69 61 73 20 27 64 65 | 68 65 78 6c 69 66 79 2d |lias 'de|hexlify-|
|00003000| 62 75 66 66 65 72 20 23 | 5b 6e 69 6c 20 22 c0 c1 |buffer #|[nil "..|
|00003010| 1a 1b c4 65 64 0d c0 24 | 2a 87 22 20 5b 74 20 6e |...ed..$|*." [t n|
|00003020| 69 6c 20 62 69 6e 61 72 | 79 2d 70 72 6f 63 65 73 |il binar|y-proces|
|00003030| 73 2d 69 6e 70 75 74 20 | 62 69 6e 61 72 79 2d 70 |s-input |binary-p|
|00003040| 72 6f 63 65 73 73 2d 6f | 75 74 70 75 74 20 73 68 |rocess-o|utput sh|
|00003050| 65 6c 6c 2d 63 6f 6d 6d | 61 6e 64 2d 6f 6e 2d 72 |ell-comm|and-on-r|
|00003060| 65 67 69 6f 6e 20 64 65 | 68 65 78 6c 69 66 79 2d |egion de|hexlify-|
|00003070| 63 6f 6d 6d 61 6e 64 5d | 20 35 20 22 5c 0a 43 6f |command]| 5 "\.Co|
|00003080| 6e 76 65 72 74 20 61 20 | 68 65 78 6c 20 66 6f 72 |nvert a |hexl for|
|00003090| 6d 61 74 20 62 75 66 66 | 65 72 20 74 6f 20 62 69 |mat buff|er to bi|
|000030a0| 6e 61 72 79 2e 22 20 6e | 69 6c 5d 29 0a 28 64 65 |nary." n|il]).(de|
|000030b0| 66 61 6c 69 61 73 20 27 | 68 65 78 6c 2d 63 68 61 |falias '|hexl-cha|
|000030c0| 72 2d 61 66 74 65 72 2d | 70 6f 69 6e 74 20 23 5b |r-after-|point #[|
|000030d0| 6e 69 6c 20 22 c0 60 66 | 60 54 66 5c 22 87 22 20 |nil ".`f|`Tf\"." |
|000030e0| 5b 68 65 78 6c 2d 68 74 | 6f 69 5d 20 33 20 22 5c |[hexl-ht|oi] 3 "\|
|000030f0| 0a 52 65 74 75 72 6e 20 | 63 68 61 72 20 66 6f 72 |.Return |char for|
|00003100| 20 41 53 43 49 49 20 68 | 65 78 20 64 69 67 69 74 | ASCII h|ex digit|
|00003110| 73 20 61 74 20 70 6f 69 | 6e 74 2e 22 5d 29 0a 28 |s at poi|nt."]).(|
|00003120| 64 65 66 61 6c 69 61 73 | 20 27 68 65 78 6c 2d 68 |defalias| 'hexl-h|
|00003130| 74 6f 69 20 23 5b 28 6c | 68 20 72 68 29 20 22 c0 |toi #[(l|h rh) ".|
|00003140| 09 21 c2 5f c0 0b 21 5c | 5c 87 22 20 5b 68 65 78 |.!._..!\|\." [hex|
|00003150| 6c 2d 68 65 78 2d 63 68 | 61 72 2d 74 6f 2d 69 6e |l-hex-ch|ar-to-in|
|00003160| 74 65 67 65 72 20 6c 68 | 20 31 36 20 72 68 5d 20 |teger lh| 16 rh] |
|00003170| 33 20 22 5c 0a 48 65 78 | 20 28 63 68 61 72 29 20 |3 "\.Hex| (char) |
|00003180| 4c 48 20 28 63 68 61 72 | 29 20 52 48 20 74 6f 20 |LH (char|) RH to |
|00003190| 69 6e 74 65 67 65 72 2e | 22 5d 29 0a 28 64 65 66 |integer.|"]).(def|
|000031a0| 61 6c 69 61 73 20 27 68 | 65 78 6c 2d 68 65 78 2d |alias 'h|exl-hex-|
|000031b0| 63 68 61 72 2d 74 6f 2d | 69 6e 74 65 67 65 72 20 |char-to-|integer |
|000031c0| 23 5b 28 63 68 61 72 61 | 63 74 65 72 29 20 22 08 |#[(chara|cter) ".|
|000031d0| c1 59 83 10 00 08 c2 58 | 83 10 00 08 c1 5a 87 c3 |.Y.....X|.....Z..|
|000031e0| 08 c4 5c 22 89 1d c6 59 | 83 27 00 0d c7 58 83 27 |..\"...Y|.'...X.'|
|000031f0| 00 0d c8 5a 82 2d 00 c9 | ca cb 0d 5c 22 21 29 87 |...Z.-..|...\"!).|
|00003200| 22 20 5b 63 68 61 72 61 | 63 74 65 72 20 34 38 20 |" [chara|cter 48 |
|00003210| 35 37 20 6c 6f 67 69 6f | 72 20 33 32 20 63 68 20 |57 logio|r 32 ch |
|00003220| 39 37 20 31 30 32 20 38 | 37 20 65 72 72 6f 72 20 |97 102 8|7 error |
|00003230| 66 6f 72 6d 61 74 20 22 | 49 6e 76 61 6c 69 64 20 |format "|Invalid |
|00003240| 68 65 78 20 64 69 67 69 | 74 20 60 25 63 27 2e 22 |hex digi|t `%c'."|
|00003250| 5d 20 35 20 22 5c 0a 54 | 61 6b 65 20 61 20 63 68 |] 5 "\.T|ake a ch|
|00003260| 61 72 20 61 6e 64 20 72 | 65 74 75 72 6e 20 69 74 |ar and r|eturn it|
|00003270| 73 20 76 61 6c 75 65 20 | 61 73 20 69 66 20 69 74 |s value |as if it|
|00003280| 20 77 61 73 20 61 20 68 | 65 78 20 64 69 67 69 74 | was a h|ex digit|
|00003290| 2e 22 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |."]).(de|falias '|
|000032a0| 68 65 78 6c 2d 6f 63 74 | 2d 63 68 61 72 2d 74 6f |hexl-oct|-char-to|
|000032b0| 2d 69 6e 74 65 67 65 72 | 20 23 5b 28 63 68 61 72 |-integer| #[(char|
|000032c0| 61 63 74 65 72 29 20 22 | 08 c1 59 83 10 00 08 c2 |acter) "|..Y.....|
|000032d0| 58 83 10 00 08 c1 5a 87 | c3 c4 c5 08 5c 22 21 87 |X.....Z.|....\"!.|
|000032e0| 22 20 5b 63 68 61 72 61 | 63 74 65 72 20 34 38 20 |" [chara|cter 48 |
|000032f0| 35 35 20 65 72 72 6f 72 | 20 66 6f 72 6d 61 74 20 |55 error| format |
|00003300| 22 49 6e 76 61 6c 69 64 | 20 6f 63 74 61 6c 20 64 |"Invalid| octal d|
|00003310| 69 67 69 74 20 60 25 63 | 27 2e 22 5d 20 34 20 22 |igit `%c|'."] 4 "|
|00003320| 5c 0a 54 61 6b 65 20 61 | 20 63 68 61 72 20 61 6e |\.Take a| char an|
|00003330| 64 20 72 65 74 75 72 6e | 20 69 74 73 20 76 61 6c |d return| its val|
|00003340| 75 65 20 61 73 20 69 66 | 20 69 74 20 77 61 73 20 |ue as if| it was |
|00003350| 61 20 6f 63 74 61 6c 20 | 64 69 67 69 74 2e 22 5d |a octal |digit."]|
|00003360| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 68 65 78 |).(defal|ias 'hex|
|00003370| 6c 2d 70 72 69 6e 74 61 | 62 6c 65 2d 63 68 61 72 |l-printa|ble-char|
|00003380| 61 63 74 65 72 20 23 5b | 28 63 68 29 20 22 c0 c1 |acter #[|(ch) "..|
|00003390| 5c 6e 83 20 00 0b c4 57 | 84 18 00 0b c5 59 83 1c |\n. ...W|.....Y..|
|000033a0| 00 0b c6 57 83 1c 00 c7 | 82 31 00 0b 82 31 00 0b |...W....|.1...1..|
|000033b0| c4 57 84 2c 00 0b c5 59 | 83 30 00 c7 82 31 00 0b |.W.,...Y|.0...1..|
|000033c0| 5c 22 87 22 20 5b 66 6f | 72 6d 61 74 20 22 25 63 |\"." [fo|rmat "%c|
|000033d0| 22 20 68 65 78 6c 2d 69 | 73 6f 20 63 68 20 33 32 |" hexl-i|so ch 32|
|000033e0| 20 31 32 37 20 31 36 30 | 20 34 36 5d 20 34 20 22 | 127 160| 46] 4 "|
|000033f0| 5c 0a 52 65 74 75 72 6e | 20 61 20 64 69 73 70 6c |\.Return| a displ|
|00003400| 61 79 61 62 6c 65 20 73 | 74 72 69 6e 67 20 66 6f |ayable s|tring fo|
|00003410| 72 20 63 68 61 72 61 63 | 74 65 72 20 43 48 2e 22 |r charac|ter CH."|
|00003420| 5d 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 68 65 |]).(defa|lias 'he|
|00003430| 78 6c 2d 73 65 6c 66 2d | 69 6e 73 65 72 74 2d 63 |xl-self-|insert-c|
|00003440| 6f 6d 6d 61 6e 64 20 23 | 5b 28 61 72 67 29 20 22 |ommand #|[(arg) "|
|00003450| c0 09 5c 6e 5c 22 87 22 | 20 5b 68 65 78 6c 2d 69 |..\n\"."| [hexl-i|
|00003460| 6e 73 65 72 74 2d 63 68 | 61 72 20 6c 61 73 74 2d |nsert-ch|ar last-|
|00003470| 63 6f 6d 6d 61 6e 64 2d | 63 68 61 72 20 61 72 67 |command-|char arg|
|00003480| 5d 20 33 20 22 5c 0a 49 | 6e 73 65 72 74 20 74 68 |] 3 "\.I|nsert th|
|00003490| 69 73 20 63 68 61 72 61 | 63 74 65 72 2e 22 20 22 |is chara|cter." "|
|000034a0| 70 22 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |p"]).(de|falias '|
|000034b0| 68 65 78 6c 2d 69 6e 73 | 65 72 74 2d 63 68 61 72 |hexl-ins|ert-char|
|000034c0| 20 23 5b 28 63 68 20 6e | 75 6d 29 20 22 c0 20 19 | #[(ch n|um) ". .|
|000034d0| 5c 6e c3 56 85 40 00 c4 | c5 21 88 c6 c7 0e 08 5c |\n.V.@..|.!.....\|
|000034e0| 22 63 88 09 c9 a5 ca 5f | 09 c9 a6 cb 5c 5c 5c 5c |"c....._|....\\\\|
|000034f0| 62 88 c4 cc 21 88 cd 0e | 08 21 63 88 09 0e 0e 3d |b...!...|.!c....=|
|00003500| 84 35 00 09 54 11 cf 09 | 21 88 5c 6e 53 89 12 82 |.5..T...|!.\nS...|
|00003510| 04 00 29 87 22 20 5b 68 | 65 78 6c 2d 63 75 72 72 |..)." [h|exl-curr|
|00003520| 65 6e 74 2d 61 64 64 72 | 65 73 73 20 61 64 64 72 |ent-addr|ess addr|
|00003530| 65 73 73 20 6e 75 6d 20 | 30 20 64 65 6c 65 74 65 |ess num |0 delete|
|00003540| 2d 63 68 61 72 20 32 20 | 66 6f 72 6d 61 74 20 22 |-char 2 |format "|
|00003550| 25 30 32 78 22 20 63 68 | 20 31 36 20 36 38 20 35 |%02x" ch| 16 68 5|
|00003560| 32 20 31 20 68 65 78 6c | 2d 70 72 69 6e 74 61 62 |2 1 hexl|-printab|
|00003570| 6c 65 2d 63 68 61 72 61 | 63 74 65 72 20 68 65 78 |le-chara|cter hex|
|00003580| 6c 2d 6d 61 78 2d 61 64 | 64 72 65 73 73 20 68 65 |l-max-ad|dress he|
|00003590| 78 6c 2d 67 6f 74 6f 2d | 61 64 64 72 65 73 73 5d |xl-goto-|address]|
|000035a0| 20 34 20 22 5c 0a 49 6e | 73 65 72 74 20 61 20 63 | 4 "\.In|sert a c|
|000035b0| 68 61 72 61 63 74 65 72 | 20 69 6e 20 61 20 68 65 |haracter| in a he|
|000035c0| 78 6c 20 62 75 66 66 65 | 72 2e 22 5d 29 0a 28 64 |xl buffe|r."]).(d|
|000035d0| 65 66 61 6c 69 61 73 20 | 27 68 65 78 6c 2d 69 6e |efalias |'hexl-in|
|000035e0| 73 65 72 74 2d 68 65 78 | 2d 63 68 61 72 20 23 5b |sert-hex|-char #[|
|000035f0| 28 61 72 67 29 20 22 c0 | c1 c2 21 21 89 1b c4 56 |(arg) ".|..!!...V|
|00003600| 84 12 00 0b c5 57 83 18 | 00 c6 c7 21 82 1d 00 c8 |.....W..|...!....|
|00003610| 0b 0e 09 5c 22 29 87 22 | 20 5b 68 65 78 6c 2d 68 |...\")."| [hexl-h|
|00003620| 65 78 2d 73 74 72 69 6e | 67 2d 74 6f 2d 69 6e 74 |ex-strin|g-to-int|
|00003630| 65 67 65 72 20 72 65 61 | 64 2d 73 74 72 69 6e 67 |eger rea|d-string|
|00003640| 20 22 48 65 78 20 6e 75 | 6d 62 65 72 3a 20 22 20 | "Hex nu|mber: " |
|00003650| 6e 75 6d 20 32 35 35 20 | 30 20 65 72 72 6f 72 20 |num 255 |0 error |
|00003660| 22 48 65 78 20 6e 75 6d | 62 65 72 20 6f 75 74 20 |"Hex num|ber out |
|00003670| 6f 66 20 72 61 6e 67 65 | 2e 22 20 68 65 78 6c 2d |of range|." hexl-|
|00003680| 69 6e 73 65 72 74 2d 63 | 68 61 72 20 61 72 67 5d |insert-c|har arg]|
|00003690| 20 34 20 22 5c 0a 49 6e | 73 65 72 74 20 61 20 41 | 4 "\.In|sert a A|
|000036a0| 53 43 49 49 20 63 68 61 | 72 20 41 52 47 20 74 69 |SCII cha|r ARG ti|
|000036b0| 6d 65 73 20 61 74 20 70 | 6f 69 6e 74 20 66 6f 72 |mes at p|oint for|
|000036c0| 20 61 20 67 69 76 65 6e | 20 68 65 78 61 64 65 63 | a given| hexadec|
|000036d0| 69 6d 61 6c 20 6e 75 6d | 62 65 72 2e 22 20 22 70 |imal num|ber." "p|
|000036e0| 22 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 68 |"]).(def|alias 'h|
|000036f0| 65 78 6c 2d 69 6e 73 65 | 72 74 2d 64 65 63 69 6d |exl-inse|rt-decim|
|00003700| 61 6c 2d 63 68 61 72 20 | 23 5b 28 61 72 67 29 20 |al-char |#[(arg) |
|00003710| 22 c0 c1 c2 21 21 89 1b | c4 56 84 12 00 0b c5 57 |"...!!..|.V.....W|
|00003720| 83 18 00 c6 c7 21 82 1d | 00 c8 0b 0e 09 5c 22 29 |.....!..|.....\")|
|00003730| 87 22 20 5b 73 74 72 69 | 6e 67 2d 74 6f 2d 69 6e |." [stri|ng-to-in|
|00003740| 74 20 72 65 61 64 2d 73 | 74 72 69 6e 67 20 22 44 |t read-s|tring "D|
|00003750| 65 63 69 6d 61 6c 20 4e | 75 6d 62 65 72 3a 20 22 |ecimal N|umber: "|
|00003760| 20 6e 75 6d 20 32 35 35 | 20 30 20 65 72 72 6f 72 | num 255| 0 error|
|00003770| 20 22 44 65 63 69 6d 61 | 6c 20 6e 75 6d 62 65 72 | "Decima|l number|
|00003780| 20 6f 75 74 20 6f 66 20 | 72 61 6e 67 65 2e 22 20 | out of |range." |
|00003790| 68 65 78 6c 2d 69 6e 73 | 65 72 74 2d 63 68 61 72 |hexl-ins|ert-char|
|000037a0| 20 61 72 67 5d 20 34 20 | 22 5c 0a 49 6e 73 65 72 | arg] 4 |"\.Inser|
|000037b0| 74 20 61 20 41 53 43 49 | 49 20 63 68 61 72 20 41 |t a ASCI|I char A|
|000037c0| 52 47 20 74 69 6d 65 73 | 20 61 74 20 70 6f 69 6e |RG times| at poin|
|000037d0| 74 20 66 6f 72 20 61 20 | 67 69 76 65 6e 20 64 65 |t for a |given de|
|000037e0| 63 69 6d 61 6c 20 6e 75 | 6d 62 65 72 2e 22 20 22 |cimal nu|mber." "|
|000037f0| 70 22 5d 29 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |p"]).(de|falias '|
|00003800| 68 65 78 6c 2d 69 6e 73 | 65 72 74 2d 6f 63 74 61 |hexl-ins|ert-octa|
|00003810| 6c 2d 63 68 61 72 20 23 | 5b 28 61 72 67 29 20 22 |l-char #|[(arg) "|
|00003820| c0 c1 c2 21 21 89 1b c4 | 56 84 12 00 0b c5 57 83 |...!!...|V.....W.|
|00003830| 18 00 c6 c7 21 82 1d 00 | c8 0b 0e 09 5c 22 29 87 |....!...|....\").|
|00003840| 22 20 5b 68 65 78 6c 2d | 6f 63 74 61 6c 2d 73 74 |" [hexl-|octal-st|
|00003850| 72 69 6e 67 2d 74 6f 2d | 69 6e 74 65 67 65 72 20 |ring-to-|integer |
|00003860| 72 65 61 64 2d 73 74 72 | 69 6e 67 20 22 4f 63 74 |read-str|ing "Oct|
|00003870| 61 6c 20 4e 75 6d 62 65 | 72 3a 20 22 20 6e 75 6d |al Numbe|r: " num|
|00003880| 20 32 35 35 20 30 20 65 | 72 72 6f 72 20 22 44 65 | 255 0 e|rror "De|
|00003890| 63 69 6d 61 6c 20 6e 75 | 6d 62 65 72 20 6f 75 74 |cimal nu|mber out|
|000038a0| 20 6f 66 20 72 61 6e 67 | 65 2e 22 20 68 65 78 6c | of rang|e." hexl|
|000038b0| 2d 69 6e 73 65 72 74 2d | 63 68 61 72 20 61 72 67 |-insert-|char arg|
|000038c0| 5d 20 34 20 22 5c 0a 49 | 6e 73 65 72 74 20 61 20 |] 4 "\.I|nsert a |
|000038d0| 41 53 43 49 49 20 63 68 | 61 72 20 41 52 47 20 74 |ASCII ch|ar ARG t|
|000038e0| 69 6d 65 73 20 61 74 20 | 70 6f 69 6e 74 20 66 6f |imes at |point fo|
|000038f0| 72 20 61 20 67 69 76 65 | 6e 20 6f 63 74 61 6c 20 |r a give|n octal |
|00003900| 6e 75 6d 62 65 72 2e 22 | 20 22 70 22 5d 29 0a 28 |number."| "p"]).(|
|00003910| 62 79 74 65 2d 63 6f 64 | 65 20 22 08 84 90 02 c1 |byte-cod|e ".....|
|00003920| 20 10 c2 08 c3 c4 23 88 | c2 08 c5 c6 23 88 c2 08 | .....#.|....#...|
|00003930| c7 c8 23 88 c2 08 c9 ca | 23 88 c2 08 cb cc 23 88 |..#.....|#.....#.|
|00003940| c2 08 cd ce 23 88 c2 08 | cf d0 23 88 c2 08 d1 d2 |....#...|..#.....|
|00003950| 23 88 c2 08 d3 d4 23 88 | c2 08 d5 c4 23 88 c2 08 |#.....#.|....#...|
|00003960| d6 d7 23 88 c2 08 d8 d9 | 23 88 c2 08 da c6 23 88 |..#.....|#.....#.|
|00003970| db dc 0e 1d 21 21 de 3d | 84 69 00 c2 08 dc 0e 1d |....!!.=|.i......|
|00003980| 21 d7 23 88 c2 08 df e0 | 23 88 c2 08 e1 e0 23 88 |!.#.....|#.....#.|
|00003990| c2 08 e2 d7 23 88 c2 08 | e3 e0 23 88 c2 08 e4 ca |....#...|..#.....|
|000039a0| 23 88 c2 08 e5 d7 23 88 | c2 08 e6 c8 23 88 c2 08 |#.....#.|....#...|
|000039b0| e7 e8 23 88 c2 08 e9 d7 | 23 88 c2 08 ea d0 23 88 |..#.....|#.....#.|
|000039c0| c2 08 eb d7 23 88 c2 08 | ec d7 23 88 ed 1e 2e ed |....#...|..#.....|
|000039d0| ef 57 83 cd 00 c2 08 f0 | f1 0e 2e 5c 22 e0 23 88 |.W......|...\".#.|
|000039e0| 0e 2e 54 89 16 2e 82 b5 | 00 29 c2 08 f2 f3 23 88 |..T.....|.)....#.|
|000039f0| c2 08 f4 cc 23 88 c2 08 | f5 d7 23 88 c2 08 f6 f7 |....#...|..#.....|
|00003a00| 23 88 c2 08 f8 f9 23 88 | c2 08 fa ce 23 88 c2 08 |#.....#.|....#...|
|00003a10| fb d7 23 88 c2 08 fc d7 | 23 88 c2 08 fd d7 23 88 |..#.....|#.....#.|
|00003a20| c2 08 fe d7 23 88 c2 08 | ff d7 23 88 c2 08 81 40 |....#...|..#....@|
|00003a30| 00 d7 23 88 c2 08 81 41 | 00 d7 23 88 c2 08 81 42 |..#....A|..#....B|
|00003a40| 00 d7 23 88 c2 08 81 43 | 00 81 44 00 23 88 c2 08 |..#....C|..D.#...|
|00003a50| 81 45 00 d7 23 88 c2 08 | 81 46 00 d7 23 88 c2 08 |.E..#...|.F..#...|
|00003a60| 81 47 00 d7 23 88 c2 08 | 81 48 00 d7 23 88 c2 08 |.G..#...|.H..#...|
|00003a70| 81 49 00 d7 23 88 c2 08 | 81 4a 00 d7 23 88 c2 08 |.I..#...|.J..#...|
|00003a80| 81 4b 00 d7 23 88 c2 08 | 81 4c 00 81 4d 00 23 88 |.K..#...|.L..M.#.|
|00003a90| c2 08 81 4e 00 d7 23 88 | c2 08 81 4f 00 d7 23 88 |...N..#.|...O..#.|
|00003aa0| c2 08 81 50 00 81 51 00 | 23 88 c2 08 81 52 00 d7 |...P..Q.|#....R..|
|00003ab0| 23 88 c2 08 81 53 00 d7 | 23 88 c2 08 81 54 00 d7 |#....S..|#....T..|
|00003ac0| 23 88 c2 08 81 55 00 81 | 56 00 23 88 c2 08 81 57 |#....U..|V.#....W|
|00003ad0| 00 81 58 00 23 88 c2 08 | 81 59 00 d7 23 88 c2 08 |..X.#...|.Y..#...|
|00003ae0| 81 5a 00 d7 23 88 c2 08 | 81 5b 00 81 5c 5c 00 23 |.Z..#...|.[..\\.#|
|00003af0| 88 c2 08 81 5d 00 d7 23 | 88 c2 08 81 5e 00 d7 23 |....]..#|....^..#|
|00003b00| 88 c2 08 81 5f 00 d7 23 | 88 c2 08 81 60 00 d7 23 |...._..#|....`..#|
|00003b10| 88 c2 08 81 61 00 d7 23 | 88 c2 08 81 62 00 d7 23 |....a..#|....b..#|
|00003b20| 88 c2 08 81 63 00 d7 23 | 88 c2 08 81 64 00 d7 23 |....c..#|....d..#|
|00003b30| 88 c2 08 81 65 00 d7 23 | 88 c2 08 81 66 00 d7 23 |....e..#|....f..#|
|00003b40| 88 c2 08 81 67 00 d7 23 | 88 c2 08 81 68 00 d2 23 |....g..#|....h..#|
|00003b50| 88 c2 08 81 69 00 d7 23 | 88 c2 08 81 6a 00 d7 23 |....i..#|....j..#|
|00003b60| 88 c2 08 81 6b 00 81 6c | 00 23 88 c2 08 81 6d 00 |....k..l|.#....m.|
|00003b70| 81 6e 00 23 88 c2 08 81 | 6f 00 81 70 00 23 88 c2 |.n.#....|o..p.#..|
|00003b80| 08 81 71 00 81 72 00 23 | 88 c2 08 81 73 00 81 74 |..q..r.#|....s..t|
|00003b90| 00 23 88 c2 08 81 75 00 | d7 23 88 c2 08 81 76 00 |.#....u.|.#....v.|
|00003ba0| 81 77 00 23 88 c2 08 81 | 78 00 d7 23 88 c1 87 22 |.w.#....|x..#..."|
|00003bb0| 20 5b 68 65 78 6c 2d 6d | 6f 64 65 2d 6d 61 70 20 | [hexl-m|ode-map |
|00003bc0| 6d 61 6b 65 2d 73 70 61 | 72 73 65 2d 6b 65 79 6d |make-spa|rse-keym|
|00003bd0| 61 70 20 64 65 66 69 6e | 65 2d 6b 65 79 20 5b 6c |ap defin|e-key [l|
|00003be0| 65 66 74 5d 20 68 65 78 | 6c 2d 62 61 63 6b 77 61 |eft] hex|l-backwa|
|00003bf0| 72 64 2d 63 68 61 72 20 | 5b 72 69 67 68 74 5d 20 |rd-char |[right] |
|00003c00| 68 65 78 6c 2d 66 6f 72 | 77 61 72 64 2d 63 68 61 |hexl-for|ward-cha|
|00003c10| 72 20 5b 75 70 5d 20 68 | 65 78 6c 2d 70 72 65 76 |r [up] h|exl-prev|
|00003c20| 69 6f 75 73 2d 6c 69 6e | 65 20 5b 64 6f 77 6e 5d |ious-lin|e [down]|
|00003c30| 20 68 65 78 6c 2d 6e 65 | 78 74 2d 6c 69 6e 65 20 | hexl-ne|xt-line |
|00003c40| 5b 4d 2d 6c 65 66 74 5d | 20 68 65 78 6c 2d 62 61 |[M-left]| hexl-ba|
|00003c50| 63 6b 77 61 72 64 2d 73 | 68 6f 72 74 20 5b 4d 2d |ckward-s|hort [M-|
|00003c60| 72 69 67 68 74 5d 20 68 | 65 78 6c 2d 66 6f 72 77 |right] h|exl-forw|
|00003c70| 61 72 64 2d 73 68 6f 72 | 74 20 5b 6e 65 78 74 5d |ard-shor|t [next]|
|00003c80| 20 68 65 78 6c 2d 73 63 | 72 6f 6c 6c 2d 75 70 20 | hexl-sc|roll-up |
|00003c90| 5b 70 72 65 76 5d 20 68 | 65 78 6c 2d 73 63 72 6f |[prev] h|exl-scro|
|00003ca0| 6c 6c 2d 64 6f 77 6e 20 | 22 01 22 20 68 65 78 6c |ll-down |"." hexl|
|00003cb0| 2d 62 65 67 69 6e 6e 69 | 6e 67 2d 6f 66 2d 6c 69 |-beginni|ng-of-li|
|00003cc0| 6e 65 20 22 02 22 20 22 | 04 22 20 75 6e 64 65 66 |ne "." "|." undef|
|00003cd0| 69 6e 65 64 20 22 05 22 | 20 68 65 78 6c 2d 65 6e |ined "."| hexl-en|
|00003ce0| 64 2d 6f 66 2d 6c 69 6e | 65 20 22 06 22 20 6b 65 |d-of-lin|e "." ke|
|00003cf0| 79 2d 62 69 6e 64 69 6e | 67 20 63 68 61 72 2d 74 |y-bindin|g char-t|
|00003d00| 6f 2d 73 74 72 69 6e 67 | 20 68 65 6c 70 2d 63 68 |o-string| help-ch|
|00003d10| 61 72 20 68 65 6c 70 2d | 63 6f 6d 6d 61 6e 64 20 |ar help-|command |
|00003d20| 22 09 22 20 68 65 78 6c | 2d 73 65 6c 66 2d 69 6e |"." hexl|-self-in|
|00003d30| 73 65 72 74 2d 63 6f 6d | 6d 61 6e 64 20 22 5c 6e |sert-com|mand "\n|
|00003d40| 22 20 22 0b 22 20 22 0d | 22 20 22 0e 22 20 22 0f |" "." ".|" "." ".|
|00003d50| 22 20 22 10 22 20 22 11 | 22 20 68 65 78 6c 2d 71 |" "." ".|" hexl-q|
|00003d60| 75 6f 74 65 64 2d 69 6e | 73 65 72 74 20 22 14 22 |uoted-in|sert "."|
|00003d70| 20 22 16 22 20 22 17 22 | 20 22 19 22 20 33 32 20 | "." "."| "." 32 |
|00003d80| 63 68 20 31 32 37 20 66 | 6f 72 6d 61 74 20 22 25 |ch 127 f|ormat "%|
|00003d90| 63 22 20 22 1b 01 22 20 | 68 65 78 6c 2d 62 65 67 |c" ".." |hexl-beg|
|00003da0| 69 6e 6e 69 6e 67 2d 6f | 66 2d 35 31 32 62 2d 70 |inning-o|f-512b-p|
|00003db0| 61 67 65 20 22 1b 02 22 | 20 22 1b 03 22 20 22 1b |age ".."| ".." ".|
|00003dc0| 04 22 20 68 65 78 6c 2d | 69 6e 73 65 72 74 2d 64 |." hexl-|insert-d|
|00003dd0| 65 63 69 6d 61 6c 2d 63 | 68 61 72 20 22 1b 05 22 |ecimal-c|har ".."|
|00003de0| 20 68 65 78 6c 2d 65 6e | 64 2d 6f 66 2d 35 31 32 | hexl-en|d-of-512|
|00003df0| 62 2d 70 61 67 65 20 22 | 1b 06 22 20 22 1b 07 22 |b-page "|.." ".."|
|00003e00| 20 22 1b 08 22 20 22 1b | 09 22 20 22 1b 5c 6e 22 | ".." ".|." ".\n"|
|00003e10| 20 22 1b 0b 22 20 22 1b | 5c 66 22 20 22 1b 0d 22 | ".." ".|\f" ".."|
|00003e20| 20 22 1b 0e 22 20 22 1b | 0f 22 20 68 65 78 6c 2d | ".." ".|." hexl-|
|00003e30| 69 6e 73 65 72 74 2d 6f | 63 74 61 6c 2d 63 68 61 |insert-o|ctal-cha|
|00003e40| 72 20 22 1b 10 22 20 22 | 1b 11 22 20 22 1b 12 22 |r ".." "|.." ".."|
|00003e50| 20 22 1b 13 22 20 22 1b | 14 22 20 22 1b 15 22 20 | ".." ".|." ".." |
|00003e60| 22 1b 17 22 20 22 1b 18 | 22 20 68 65 78 6c 2d 69 |".." "..|" hexl-i|
|00003e70| 6e 73 65 72 74 2d 68 65 | 78 2d 63 68 61 72 20 22 |nsert-he|x-char "|
|00003e80| 1b 19 22 20 22 1b 61 22 | 20 22 1b 62 22 20 68 65 |.." ".a"| ".b" he|
|00003e90| 78 6c 2d 62 61 63 6b 77 | 61 72 64 2d 77 6f 72 64 |xl-backw|ard-word|
|00003ea0| 20 22 1b 63 22 20 22 1b | 64 22 20 22 1b 65 22 20 | ".c" ".|d" ".e" |
|00003eb0| 22 1b 66 22 20 68 65 78 | 6c 2d 66 6f 72 77 61 72 |".f" hex|l-forwar|
|00003ec0| 64 2d 77 6f 72 64 20 22 | 1b 67 22 20 68 65 78 6c |d-word "|.g" hexl|
|00003ed0| 2d 67 6f 74 6f 2d 68 65 | 78 2d 61 64 64 72 65 73 |-goto-he|x-addres|
|00003ee0| 73 20 22 1b 68 22 20 22 | 1b 69 22 20 22 1b 6a 22 |s ".h" "|.i" ".j"|
|00003ef0| 20 68 65 78 6c 2d 67 6f | 74 6f 2d 61 64 64 72 65 | hexl-go|to-addre|
|00003f00| 73 73 20 22 1b 6b 22 20 | 22 1b 6c 22 20 22 1b 6d |ss ".k" |".l" ".m|
|00003f10| 22 20 22 1b 6e 22 20 22 | 1b 6f 22 20 22 1b 70 22 |" ".n" "|.o" ".p"|
|00003f20| 20 22 1b 71 22 20 22 1b | 72 22 20 22 1b 73 22 20 | ".q" ".|r" ".s" |
|00003f30| 22 1b 74 22 20 22 1b 75 | 22 20 22 1b 76 22 20 22 |".t" ".u|" ".v" "|
|00003f40| 1b 79 22 20 22 1b 7a 22 | 20 22 1b 3c 22 20 68 65 |.y" ".z"| ".<" he|
|00003f50| 78 6c 2d 62 65 67 69 6e | 6e 69 6e 67 2d 6f 66 2d |xl-begin|ning-of-|
|00003f60| 62 75 66 66 65 72 20 22 | 1b 3e 22 20 68 65 78 6c |buffer "|.>" hexl|
|00003f70| 2d 65 6e 64 2d 6f 66 2d | 62 75 66 66 65 72 20 22 |-end-of-|buffer "|
|00003f80| 03 03 22 20 68 65 78 6c | 2d 6d 6f 64 65 2d 65 78 |.." hexl|-mode-ex|
|00003f90| 69 74 20 22 18 5b 22 20 | 68 65 78 6c 2d 62 65 67 |it ".[" |hexl-beg|
|00003fa0| 69 6e 6e 69 6e 67 2d 6f | 66 2d 31 6b 2d 70 61 67 |inning-o|f-1k-pag|
|00003fb0| 65 20 22 18 5d 22 20 68 | 65 78 6c 2d 65 6e 64 2d |e ".]" h|exl-end-|
|00003fc0| 6f 66 2d 31 6b 2d 70 61 | 67 65 20 22 18 10 22 20 |of-1k-pa|ge ".." |
|00003fd0| 22 18 13 22 20 68 65 78 | 6c 2d 73 61 76 65 2d 62 |".." hex|l-save-b|
|00003fe0| 75 66 66 65 72 20 22 18 | 14 22 5d 20 36 29 0a |uffer ".|."] 6). |
+--------+-------------------------+-------------------------+--------+--------+