home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / emacs-19.16 / lisp / term / 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 36 3a 31 | 31 20 31 39 39 33 0a 3b | 00:26:1|1 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 74 65 72 | 6d 2f 76 74 31 30 30 2d |lisp/ter|m/vt100-|
|00000080| 6c 65 64 2e 65 6c 0a 3b | 3b 3b 20 65 6d 61 63 73 |led.el.;|;; emacs|
|00000090| 20 76 65 72 73 69 6f 6e | 20 31 39 2e 31 35 2e 31 | version| 19.15.1|
|000000a0| 36 2e 0a 3b 3b 3b 20 62 | 79 74 65 63 6f 6d 70 20 |6..;;; b|ytecomp |
|000000b0| 76 65 72 73 69 6f 6e 20 | 46 53 46 20 32 2e 31 30 |version |FSF 2.10|
|000000c0| 0a 3b 3b 3b 20 6f 70 74 | 69 6d 69 7a 61 74 69 6f |.;;; opt|imizatio|
|000000d0| 6e 20 69 73 20 6f 6e 2e | 0a 3b 3b 3b 20 74 68 69 |n is on.|.;;; thi|
|000000e0| 73 20 66 69 6c 65 20 75 | 73 65 73 20 6f 70 63 6f |s file u|ses opco|
|000000f0| 64 65 73 20 77 68 69 63 | 68 20 64 6f 20 6e 6f 74 |des whic|h do not|
|00000100| 20 65 78 69 73 74 20 69 | 6e 20 45 6d 61 63 73 20 | exist i|n Emacs |
|00000110| 31 38 2e 0a 0a 28 69 66 | 20 28 61 6e 64 20 28 62 |18...(if| (and (b|
|00000120| 6f 75 6e 64 70 20 27 65 | 6d 61 63 73 2d 76 65 72 |oundp 'e|macs-ver|
|00000130| 73 69 6f 6e 29 0a 09 20 | 28 6f 72 20 28 61 6e 64 |sion).. |(or (and|
|00000140| 20 28 62 6f 75 6e 64 70 | 20 27 65 70 6f 63 68 3a | (boundp| 'epoch:|
|00000150| 3a 76 65 72 73 69 6f 6e | 29 20 65 70 6f 63 68 3a |:version|) epoch:|
|00000160| 3a 76 65 72 73 69 6f 6e | 29 0a 09 20 20 20 20 20 |:version|).. |
|00000170| 28 73 74 72 69 6e 67 2d | 6c 65 73 73 70 20 65 6d |(string-|lessp em|
|00000180| 61 63 73 2d 76 65 72 73 | 69 6f 6e 20 22 31 39 22 |acs-vers|ion "19"|
|00000190| 29 29 29 0a 20 20 20 20 | 28 65 72 72 6f 72 20 22 |))). |(error "|
|000001a0| 54 68 69 73 20 66 69 6c | 65 20 77 61 73 20 63 6f |This fil|e was co|
|000001b0| 6d 70 69 6c 65 64 20 66 | 6f 72 20 45 6d 61 63 73 |mpiled f|or Emacs|
|000001c0| 20 31 39 22 29 29 0a 0a | 28 64 65 66 76 61 72 20 | 19"))..|(defvar |
|000001d0| 6c 65 64 2d 73 74 61 74 | 65 20 28 6d 61 6b 65 2d |led-stat|e (make-|
|000001e0| 76 65 63 74 6f 72 20 35 | 20 6e 69 6c 29 20 22 5c |vector 5| nil) "\|
|000001f0| 0a 54 68 65 20 69 6e 74 | 65 72 6e 61 6c 20 73 74 |.The int|ernal st|
|00000200| 61 74 65 20 6f 66 20 74 | 68 65 20 4c 45 44 73 2e |ate of t|he LEDs.|
|00000210| 20 20 43 68 6f 69 63 65 | 73 20 61 72 65 20 6e 69 | Choice|s are ni|
|00000220| 6c 2c 20 74 2c 20 60 66 | 6c 61 73 68 2e 0a 45 6c |l, t, `f|lash..El|
|00000230| 65 6d 65 6e 74 20 30 20 | 69 73 20 6e 6f 74 20 75 |ement 0 |is not u|
|00000240| 73 65 64 2e 22 29 0a 28 | 64 65 66 61 6c 69 61 73 |sed.").(|defalias|
|00000250| 20 27 6c 65 64 2d 66 6c | 61 73 68 20 23 5b 28 6c | 'led-fl|ash #[(l|
|00000260| 29 20 22 08 09 c2 49 88 | c3 20 87 22 20 5b 6c 65 |) "...I.|. ." [le|
|00000270| 64 2d 73 74 61 74 65 20 | 6c 20 66 6c 61 73 68 20 |d-state |l flash |
|00000280| 6c 65 64 2d 75 70 64 61 | 74 65 5d 20 33 20 22 5c |led-upda|te] 3 "\|
|00000290| 0a 46 6c 61 73 68 20 4c | 45 44 20 6c 2e 22 5d 29 |.Flash L|ED l."])|
|000002a0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 6c 65 64 2d |.(defali|as 'led-|
|000002b0| 6f 66 66 20 23 5b 28 26 | 6f 70 74 69 6f 6e 61 6c |off #[(&|optional|
|000002c0| 20 6c 29 20 22 08 83 0e | 00 09 c2 08 21 c3 49 88 | l) "...|....!.I.|
|000002d0| 82 13 00 c4 09 c3 5c 22 | 88 c5 20 87 22 20 5b 6c |......\"|.. ." [l|
|000002e0| 20 6c 65 64 2d 73 74 61 | 74 65 20 70 72 65 66 69 | led-sta|te prefi|
|000002f0| 78 2d 6e 75 6d 65 72 69 | 63 2d 76 61 6c 75 65 20 |x-numeri|c-value |
|00000300| 6e 69 6c 20 66 69 6c 6c | 61 72 72 61 79 20 6c 65 |nil fill|array le|
|00000310| 64 2d 75 70 64 61 74 65 | 5d 20 33 20 22 5c 0a 54 |d-update|] 3 "\.T|
|00000320| 75 72 6e 20 6f 66 66 20 | 76 74 31 30 30 20 6c 65 |urn off |vt100 le|
|00000330| 64 20 6e 75 6d 62 65 72 | 20 4c 2e 20 20 57 69 74 |d number| L. Wit|
|00000340| 68 20 6e 6f 20 61 72 67 | 75 6d 65 6e 74 2c 20 74 |h no arg|ument, t|
|00000350| 75 72 6e 20 74 68 65 6d | 20 61 6c 6c 20 6f 66 66 |urn them| all off|
|00000360| 2e 22 20 22 50 22 5d 29 | 0a 28 64 65 66 61 6c 69 |." "P"])|.(defali|
|00000370| 61 73 20 27 6c 65 64 2d | 6f 6e 20 23 5b 28 6c 29 |as 'led-|on #[(l)|
|00000380| 20 22 08 09 c2 49 88 c3 | 20 87 22 20 5b 6c 65 64 | "...I..| ." [led|
|00000390| 2d 73 74 61 74 65 20 6c | 20 74 20 6c 65 64 2d 75 |-state l| t led-u|
|000003a0| 70 64 61 74 65 5d 20 33 | 20 22 5c 0a 54 75 72 6e |pdate] 3| "\.Turn|
|000003b0| 20 6f 6e 20 4c 45 44 20 | 6c 2e 22 5d 29 0a 28 64 | on LED |l."]).(d|
|000003c0| 65 66 61 6c 69 61 73 20 | 27 6c 65 64 2d 75 70 64 |efalias |'led-upd|
|000003d0| 61 74 65 20 23 5b 6e 69 | 6c 20 22 c0 c1 c2 1b 1c |ate #[ni|l ".....|
|000003e0| 1d 0b c6 55 84 36 00 0e | 07 0b 48 89 1e 08 c9 3d |...U.6..|..H....=|
|000003f0| 83 5c 22 00 0d ca cb 0b | 21 51 15 82 2e 00 0e 08 |.\".....|!Q......|
|00000400| 83 2e 00 0c ca cb 0b 21 | 51 14 29 0b 54 89 13 82 |.......!|Q.).T...|
|00000410| 07 00 0c cc 0d cd 52 14 | ce 0c 21 2b 87 22 20 5b |......R.|..!+." [|
|00000420| 22 1b 5b 3f 30 22 20 22 | 1b 5b 30 22 20 31 20 6c |".[?0" "|.[0" 1 l|
|00000430| 20 6f 20 66 20 35 20 6c | 65 64 2d 73 74 61 74 65 | o f 5 l|ed-state|
|00000440| 20 73 20 66 6c 61 73 68 | 20 22 3b 22 20 69 6e 74 | s flash| ";" int|
|00000450| 2d 74 6f 2d 73 74 72 69 | 6e 67 20 22 71 22 20 22 |-to-stri|ng "q" "|
|00000460| 74 22 20 73 65 6e 64 2d | 73 74 72 69 6e 67 2d 74 |t" send-|string-t|
|00000470| 6f 2d 74 65 72 6d 69 6e | 61 6c 5d 20 35 20 22 5c |o-termin|al] 5 "\|
|00000480| 0a 55 70 64 61 74 65 20 | 74 68 65 20 74 65 72 6d |.Update |the term|
|00000490| 69 6e 61 6c 27 73 20 4c | 45 44 73 20 74 6f 20 72 |inal's L|EDs to r|
|000004a0| 65 66 6c 65 63 74 20 74 | 68 65 20 69 6e 74 65 72 |eflect t|he inter|
|000004b0| 6e 61 6c 20 73 74 61 74 | 65 2e 22 5d 29 0a 28 70 |nal stat|e."]).(p|
|000004c0| 72 6f 76 69 64 65 20 28 | 71 75 6f 74 65 20 76 74 |rovide (|quote vt|
|000004d0| 31 30 30 2d 6c 65 64 29 | 29 0a |100-led)|). |
+--------+-------------------------+-------------------------+--------+--------+