home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / emacs-19.16 / lisp / vt100-led.elc < prev    next >
Emacs Compiled Lisp  |  1993-07-05  |  1.2 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.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



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 6a 69 6d 62 40 67 65 |piled by| jimb@ge|
|00000020| 65 63 68 2e 67 6e 75 2e | 61 69 2e 6d 69 74 2e 65 |ech.gnu.|ai.mit.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 4a 75 6c 20 20 36 |du on Tu|e Jul 6|
|00000040| 20 30 30 3a 32 32 3a 34 | 39 20 31 39 39 33 0a 3b | 00:22:4|9 1993.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 67 64 |;; from |file /gd|
|00000060| 2f 67 6e 75 2f 65 6d 61 | 63 73 2f 31 39 2e 30 2f |/gnu/ema|cs/19.0/|
|00000070| 6c 69 73 70 2f 76 74 31 | 30 30 2d 6c 65 64 2e 65 |lisp/vt1|00-led.e|
|00000080| 6c 0a 3b 3b 3b 20 65 6d | 61 63 73 20 76 65 72 73 |l.;;; em|acs vers|
|00000090| 69 6f 6e 20 31 39 2e 31 | 35 2e 31 36 2e 0a 3b 3b |ion 19.1|5.16..;;|
|000000a0| 3b 20 62 79 74 65 63 6f | 6d 70 20 76 65 72 73 69 |; byteco|mp versi|
|000000b0| 6f 6e 20 46 53 46 20 32 | 2e 31 30 0a 3b 3b 3b 20 |on FSF 2|.10.;;; |
|000000c0| 6f 70 74 69 6d 69 7a 61 | 74 69 6f 6e 20 69 73 20 |optimiza|tion is |
|000000d0| 6f 6e 2e 0a 3b 3b 3b 20 | 74 68 69 73 20 66 69 6c |on..;;; |this fil|
|000000e0| 65 20 75 73 65 73 20 6f | 70 63 6f 64 65 73 20 77 |e uses o|pcodes w|
|000000f0| 68 69 63 68 20 64 6f 20 | 6e 6f 74 20 65 78 69 73 |hich do |not exis|
|00000100| 74 20 69 6e 20 45 6d 61 | 63 73 20 31 38 2e 0a 0a |t in Ema|cs 18...|
|00000110| 28 69 66 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(if (and| (boundp|
|00000120| 20 27 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 29 | 'emacs-|version)|
|00000130| 0a 09 20 28 6f 72 20 28 | 61 6e 64 20 28 62 6f 75 |.. (or (|and (bou|
|00000140| 6e 64 70 20 27 65 70 6f | 63 68 3a 3a 76 65 72 73 |ndp 'epo|ch::vers|
|00000150| 69 6f 6e 29 20 65 70 6f | 63 68 3a 3a 76 65 72 73 |ion) epo|ch::vers|
|00000160| 69 6f 6e 29 0a 09 20 20 | 20 20 20 28 73 74 72 69 |ion).. | (stri|
|00000170| 6e 67 2d 6c 65 73 73 70 | 20 65 6d 61 63 73 2d 76 |ng-lessp| emacs-v|
|00000180| 65 72 73 69 6f 6e 20 22 | 31 39 22 29 29 29 0a 20 |ersion "|19"))). |
|00000190| 20 20 20 28 65 72 72 6f | 72 20 22 54 68 69 73 20 | (erro|r "This |
|000001a0| 66 69 6c 65 20 77 61 73 | 20 63 6f 6d 70 69 6c 65 |file was| compile|
|000001b0| 64 20 66 6f 72 20 45 6d | 61 63 73 20 31 39 22 29 |d for Em|acs 19")|
|000001c0| 29 0a 0a 28 64 65 66 76 | 61 72 20 6c 65 64 2d 73 |)..(defv|ar led-s|
|000001d0| 74 61 74 65 20 28 6d 61 | 6b 65 2d 76 65 63 74 6f |tate (ma|ke-vecto|
|000001e0| 72 20 35 20 6e 69 6c 29 | 20 22 5c 0a 54 68 65 20 |r 5 nil)| "\.The |
|000001f0| 69 6e 74 65 72 6e 61 6c | 20 73 74 61 74 65 20 6f |internal| state o|
|00000200| 66 20 74 68 65 20 4c 45 | 44 73 2e 20 20 43 68 6f |f the LE|Ds. Cho|
|00000210| 69 63 65 73 20 61 72 65 | 20 6e 69 6c 2c 20 74 2c |ices are| nil, t,|
|00000220| 20 60 66 6c 61 73 68 2e | 0a 45 6c 65 6d 65 6e 74 | `flash.|.Element|
|00000230| 20 30 20 69 73 20 6e 6f | 74 20 75 73 65 64 2e 22 | 0 is no|t used."|
|00000240| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 6c 65 64 |).(defal|ias 'led|
|00000250| 2d 66 6c 61 73 68 20 23 | 5b 28 6c 29 20 22 08 09 |-flash #|[(l) "..|
|00000260| c2 49 88 c3 20 87 22 20 | 5b 6c 65 64 2d 73 74 61 |.I.. ." |[led-sta|
|00000270| 74 65 20 6c 20 66 6c 61 | 73 68 20 6c 65 64 2d 75 |te l fla|sh led-u|
|00000280| 70 64 61 74 65 5d 20 33 | 20 22 5c 0a 46 6c 61 73 |pdate] 3| "\.Flas|
|00000290| 68 20 4c 45 44 20 6c 2e | 22 5d 29 0a 28 64 65 66 |h LED l.|"]).(def|
|000002a0| 61 6c 69 61 73 20 27 6c | 65 64 2d 6f 66 66 20 23 |alias 'l|ed-off #|
|000002b0| 5b 28 26 6f 70 74 69 6f | 6e 61 6c 20 6c 29 20 22 |[(&optio|nal l) "|
|000002c0| 08 83 0e 00 09 c2 08 21 | c3 49 88 82 13 00 c4 09 |.......!|.I......|
|000002d0| c3 5c 22 88 c5 20 87 22 | 20 5b 6c 20 6c 65 64 2d |.\".. ."| [l led-|
|000002e0| 73 74 61 74 65 20 70 72 | 65 66 69 78 2d 6e 75 6d |state pr|efix-num|
|000002f0| 65 72 69 63 2d 76 61 6c | 75 65 20 6e 69 6c 20 66 |eric-val|ue nil f|
|00000300| 69 6c 6c 61 72 72 61 79 | 20 6c 65 64 2d 75 70 64 |illarray| led-upd|
|00000310| 61 74 65 5d 20 33 20 22 | 5c 0a 54 75 72 6e 20 6f |ate] 3 "|\.Turn o|
|00000320| 66 66 20 76 74 31 30 30 | 20 6c 65 64 20 6e 75 6d |ff vt100| led num|
|00000330| 62 65 72 20 4c 2e 20 20 | 57 69 74 68 20 6e 6f 20 |ber L. |With no |
|00000340| 61 72 67 75 6d 65 6e 74 | 2c 20 74 75 72 6e 20 74 |argument|, turn t|
|00000350| 68 65 6d 20 61 6c 6c 20 | 6f 66 66 2e 22 20 22 50 |hem all |off." "P|
|00000360| 22 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6c |"]).(def|alias 'l|
|00000370| 65 64 2d 6f 6e 20 23 5b | 28 6c 29 20 22 08 09 c2 |ed-on #[|(l) "...|
|00000380| 49 88 c3 20 87 22 20 5b | 6c 65 64 2d 73 74 61 74 |I.. ." [|led-stat|
|00000390| 65 20 6c 20 74 20 6c 65 | 64 2d 75 70 64 61 74 65 |e l t le|d-update|
|000003a0| 5d 20 33 20 22 5c 0a 54 | 75 72 6e 20 6f 6e 20 4c |] 3 "\.T|urn on L|
|000003b0| 45 44 20 6c 2e 22 5d 29 | 0a 28 64 65 66 61 6c 69 |ED l."])|.(defali|
|000003c0| 61 73 20 27 6c 65 64 2d | 75 70 64 61 74 65 20 23 |as 'led-|update #|
|000003d0| 5b 6e 69 6c 20 22 c0 c1 | c2 1b 1c 1d 0b c6 55 84 |[nil "..|......U.|
|000003e0| 36 00 0e 07 0b 48 89 1e | 08 c9 3d 83 5c 22 00 0d |6....H..|..=.\"..|
|000003f0| ca cb 0b 21 51 15 82 2e | 00 0e 08 83 2e 00 0c ca |...!Q...|........|
|00000400| cb 0b 21 51 14 29 0b 54 | 89 13 82 07 00 0c cc 0d |..!Q.).T|........|
|00000410| cd 52 14 ce 0c 21 2b 87 | 22 20 5b 22 1b 5b 3f 30 |.R...!+.|" [".[?0|
|00000420| 22 20 22 1b 5b 30 22 20 | 31 20 6c 20 6f 20 66 20 |" ".[0" |1 l o f |
|00000430| 35 20 6c 65 64 2d 73 74 | 61 74 65 20 73 20 66 6c |5 led-st|ate s fl|
|00000440| 61 73 68 20 22 3b 22 20 | 69 6e 74 2d 74 6f 2d 73 |ash ";" |int-to-s|
|00000450| 74 72 69 6e 67 20 22 71 | 22 20 22 74 22 20 73 65 |tring "q|" "t" se|
|00000460| 6e 64 2d 73 74 72 69 6e | 67 2d 74 6f 2d 74 65 72 |nd-strin|g-to-ter|
|00000470| 6d 69 6e 61 6c 5d 20 35 | 20 22 5c 0a 55 70 64 61 |minal] 5| "\.Upda|
|00000480| 74 65 20 74 68 65 20 74 | 65 72 6d 69 6e 61 6c 27 |te the t|erminal'|
|00000490| 73 20 4c 45 44 73 20 74 | 6f 20 72 65 66 6c 65 63 |s LEDs t|o reflec|
|000004a0| 74 20 74 68 65 20 69 6e | 74 65 72 6e 61 6c 20 73 |t the in|ternal s|
|000004b0| 74 61 74 65 2e 22 5d 29 | 0a 28 70 72 6f 76 69 64 |tate."])|.(provid|
|000004c0| 65 20 28 71 75 6f 74 65 | 20 76 74 31 30 30 2d 6c |e (quote| vt100-l|
|000004d0| 65 64 29 29 0a | |ed)). | |
+--------+-------------------------+-------------------------+--------+--------+