home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / term / vt-control.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  1.7 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 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 32 33 3a 35 | 32 20 31 39 39 35 0a 3b | 14:23:5|2 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 74 65 | 72 6d 2f 76 74 2d 63 6f |/lisp/te|rm/vt-co|
|00000090| 6e 74 72 6f 6c 2e 65 6c | 0a 3b 3b 3b 20 65 6d 61 |ntrol.el|.;;; ema|
|000000a0| 63 73 20 76 65 72 73 69 | 6f 6e 20 31 39 2e 31 33 |cs versi|on 19.13|
|000000b0| 20 58 45 6d 61 63 73 20 | 4c 75 63 69 64 2e 0a 3b | XEmacs |Lucid..;|
|000000c0| 3b 3b 20 62 79 74 65 63 | 6f 6d 70 20 76 65 72 73 |;; bytec|omp vers|
|000000d0| 69 6f 6e 20 32 2e 32 35 | 3b 20 31 2d 53 65 70 2d |ion 2.25|; 1-Sep-|
|000000e0| 39 34 2e 0a 3b 3b 3b 20 | 6f 70 74 69 6d 69 7a 61 |94..;;; |optimiza|
|000000f0| 74 69 6f 6e 20 69 73 20 | 6f 6e 2e 0a 3b 3b 3b 20 |tion is |on..;;; |
|00000100| 74 68 69 73 20 66 69 6c | 65 20 75 73 65 73 20 6f |this fil|e uses o|
|00000110| 70 63 6f 64 65 73 20 77 | 68 69 63 68 20 64 6f 20 |pcodes w|hich do |
|00000120| 6e 6f 74 20 65 78 69 73 | 74 20 69 6e 20 45 6d 61 |not exis|t in Ema|
|00000130| 63 73 20 31 38 2e 0a 0a | 28 69 66 20 28 61 6e 64 |cs 18...|(if (and|
|00000140| 20 28 62 6f 75 6e 64 70 | 20 27 65 6d 61 63 73 2d | (boundp| 'emacs-|
|00000150| 76 65 72 73 69 6f 6e 29 | 0a 09 20 28 6f 72 20 28 |version)|.. (or (|
|00000160| 61 6e 64 20 28 62 6f 75 | 6e 64 70 20 27 65 70 6f |and (bou|ndp 'epo|
|00000170| 63 68 3a 3a 76 65 72 73 | 69 6f 6e 29 20 65 70 6f |ch::vers|ion) epo|
|00000180| 63 68 3a 3a 76 65 72 73 | 69 6f 6e 29 0a 09 20 20 |ch::vers|ion).. |
|00000190| 20 20 20 28 73 74 72 69 | 6e 67 2d 6c 65 73 73 70 | (stri|ng-lessp|
|000001a0| 20 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 20 22 | emacs-v|ersion "|
|000001b0| 31 39 22 29 29 29 0a 20 | 20 20 20 28 65 72 72 6f |19"))). | (erro|
|000001c0| 72 20 22 54 68 69 73 20 | 66 69 6c 65 20 77 61 73 |r "This |file was|
|000001d0| 20 63 6f 6d 70 69 6c 65 | 64 20 66 6f 72 20 45 6d | compile|d for Em|
|000001e0| 61 63 73 20 31 39 2e 22 | 29 29 0a 0a 28 64 65 66 |acs 19."|))..(def|
|000001f0| 76 61 72 20 76 74 2d 61 | 70 70 6c 69 63 61 74 69 |var vt-a|pplicati|
|00000200| 6f 6e 73 2d 6b 65 79 70 | 61 64 2d 70 20 74 20 22 |ons-keyp|ad-p t "|
|00000210| 5c 0a 49 66 20 6e 6f 6e | 2d 6e 69 6c 2c 20 6b 65 |\.If non|-nil, ke|
|00000220| 79 70 61 64 20 69 73 20 | 69 6e 20 61 70 70 6c 69 |ypad is |in appli|
|00000230| 63 61 74 69 6f 6e 73 20 | 6d 6f 64 65 2e 22 29 0a |cations |mode.").|
|00000240| 28 64 65 66 76 61 72 20 | 76 74 2d 77 69 64 65 2d |(defvar |vt-wide-|
|00000250| 70 20 6e 69 6c 20 22 5c | 0a 49 66 20 6e 6f 6e 2d |p nil "\|.If non-|
|00000260| 6e 69 6c 2c 20 74 68 65 | 20 73 63 72 65 65 6e 20 |nil, the| screen |
|00000270| 69 73 20 31 33 32 20 63 | 68 61 72 61 63 74 65 72 |is 132 c|haracter|
|00000280| 73 20 77 69 64 65 2e 22 | 29 0a 28 66 73 65 74 20 |s wide."|).(fset |
|00000290| 27 76 74 2d 77 69 64 65 | 20 23 5b 6e 69 6c 20 22 |'vt-wide| #[nil "|
|000002a0| c0 c1 21 88 c2 c3 20 c4 | 5c 22 88 c5 89 16 06 87 |..!... .|\"......|
|000002b0| 22 20 5b 73 65 6e 64 2d | 73 74 72 69 6e 67 2d 74 |" [send-|string-t|
|000002c0| 6f 2d 74 65 72 6d 69 6e | 61 6c 20 22 1b 5b 3f 33 |o-termin|al ".[?3|
|000002d0| 68 22 20 73 65 74 2d 66 | 72 61 6d 65 2d 77 69 64 |h" set-f|rame-wid|
|000002e0| 74 68 20 73 65 6c 65 63 | 74 65 64 2d 66 72 61 6d |th selec|ted-fram|
|000002f0| 65 20 31 33 32 20 74 20 | 76 74 2d 77 69 64 65 2d |e 132 t |vt-wide-|
|00000300| 70 5d 20 33 20 22 5c 0a | 53 65 74 20 74 68 65 20 |p] 3 "\.|Set the |
|00000310| 73 63 72 65 65 6e 20 31 | 33 32 20 63 68 61 72 61 |screen 1|32 chara|
|00000320| 63 74 65 72 73 20 77 69 | 64 65 2e 22 20 6e 69 6c |cters wi|de." nil|
|00000330| 5d 29 0a 28 66 73 65 74 | 20 27 76 74 2d 6e 61 72 |]).(fset| 'vt-nar|
|00000340| 72 6f 77 20 23 5b 6e 69 | 6c 20 22 c0 c1 21 88 c2 |row #[ni|l "..!..|
|00000350| c3 20 c4 5c 22 88 c5 89 | 16 06 87 22 20 5b 73 65 |. .\"...|..." [se|
|00000360| 6e 64 2d 73 74 72 69 6e | 67 2d 74 6f 2d 74 65 72 |nd-strin|g-to-ter|
|00000370| 6d 69 6e 61 6c 20 22 1b | 5b 3f 33 6c 22 20 73 65 |minal ".|[?3l" se|
|00000380| 74 2d 66 72 61 6d 65 2d | 77 69 64 74 68 20 73 65 |t-frame-|width se|
|00000390| 6c 65 63 74 65 64 2d 66 | 72 61 6d 65 20 38 30 20 |lected-f|rame 80 |
|000003a0| 6e 69 6c 20 76 74 2d 77 | 69 64 65 2d 70 5d 20 33 |nil vt-w|ide-p] 3|
|000003b0| 20 22 5c 0a 53 65 74 20 | 74 68 65 20 73 63 72 65 | "\.Set |the scre|
|000003c0| 65 6e 20 38 30 20 63 68 | 61 72 61 63 74 65 72 73 |en 80 ch|aracters|
|000003d0| 20 77 69 64 65 2e 22 20 | 6e 69 6c 5d 29 0a 28 66 | wide." |nil]).(f|
|000003e0| 73 65 74 20 27 76 74 2d | 74 6f 67 67 6c 65 2d 73 |set 'vt-|toggle-s|
|000003f0| 63 72 65 65 6e 20 23 5b | 6e 69 6c 20 22 08 ab 83 |creen #[|nil "...|
|00000400| c1 20 87 c2 20 87 22 20 | 5b 76 74 2d 77 69 64 65 |. .. ." |[vt-wide|
|00000410| 2d 70 20 76 74 2d 6e 61 | 72 72 6f 77 20 76 74 2d |-p vt-na|rrow vt-|
|00000420| 77 69 64 65 5d 20 31 20 | 22 5c 0a 54 6f 67 67 6c |wide] 1 |"\.Toggl|
|00000430| 65 20 62 65 74 77 65 65 | 6e 20 38 30 20 61 6e 64 |e betwee|n 80 and|
|00000440| 20 31 33 32 20 63 68 61 | 72 61 63 74 65 72 20 73 | 132 cha|racter s|
|00000450| 63 72 65 65 6e 20 77 69 | 64 74 68 2e 22 20 6e 69 |creen wi|dth." ni|
|00000460| 6c 5d 29 0a 28 66 73 65 | 74 20 27 76 74 2d 6b 65 |l]).(fse|t 'vt-ke|
|00000470| 79 70 61 64 2d 6f 6e 20 | 23 5b 28 26 6f 70 74 69 |ypad-on |#[(&opti|
|00000480| 6f 6e 61 6c 20 74 65 6c | 6c 29 20 22 c0 c1 21 88 |onal tel|l) "..!.|
|00000490| c2 13 0c ac 83 74 ad 83 | c5 c6 21 87 22 20 5b 73 |.....t..|..!." [s|
|000004a0| 65 6e 64 2d 73 74 72 69 | 6e 67 2d 74 6f 2d 74 65 |end-stri|ng-to-te|
|000004b0| 72 6d 69 6e 61 6c 20 22 | 1b 5b 1b 3d 22 20 74 20 |rminal "|.[.=" t |
|000004c0| 76 74 2d 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 2d |vt-appli|cations-|
|000004d0| 6b 65 79 70 61 64 2d 70 | 20 74 65 6c 6c 20 6d 65 |keypad-p| tell me|
|000004e0| 73 73 61 67 65 20 22 41 | 70 70 6c 69 63 61 74 69 |ssage "A|pplicati|
|000004f0| 6f 6e 73 20 6b 65 79 70 | 61 64 20 65 6e 61 62 6c |ons keyp|ad enabl|
|00000500| 65 64 2e 22 5d 20 32 20 | 22 5c 0a 54 75 72 6e 20 |ed."] 2 |"\.Turn |
|00000510| 6f 6e 20 74 68 65 20 56 | 54 20 61 70 70 6c 69 63 |on the V|T applic|
|00000520| 61 74 69 6f 6e 73 20 6b | 65 79 70 61 64 2e 22 20 |ations k|eypad." |
|00000530| 6e 69 6c 5d 29 0a 28 66 | 73 65 74 20 27 76 74 2d |nil]).(f|set 'vt-|
|00000540| 6b 65 79 70 61 64 2d 6f | 66 66 20 23 5b 28 26 6f |keypad-o|ff #[(&o|
|00000550| 70 74 69 6f 6e 61 6c 20 | 74 65 6c 6c 29 20 22 c0 |ptional |tell) ".|
|00000560| c1 21 88 c2 13 0c ac 83 | 74 ad 83 c5 c6 21 87 22 |.!......|t....!."|
|00000570| 20 5b 73 65 6e 64 2d 73 | 74 72 69 6e 67 2d 74 6f | [send-s|tring-to|
|00000580| 2d 74 65 72 6d 69 6e 61 | 6c 20 22 1b 5b 1b 3e 22 |-termina|l ".[.>"|
|00000590| 20 6e 69 6c 20 76 74 2d | 61 70 70 6c 69 63 61 74 | nil vt-|applicat|
|000005a0| 69 6f 6e 73 2d 6b 65 79 | 70 61 64 2d 70 20 74 65 |ions-key|pad-p te|
|000005b0| 6c 6c 20 6d 65 73 73 61 | 67 65 20 22 41 70 70 6c |ll messa|ge "Appl|
|000005c0| 69 63 61 74 69 6f 6e 73 | 20 6b 65 79 70 61 64 20 |ications| keypad |
|000005d0| 64 69 73 61 62 6c 65 64 | 2e 22 5d 20 32 20 22 5c |disabled|."] 2 "\|
|000005e0| 0a 54 75 72 6e 20 6f 66 | 66 20 74 68 65 20 56 54 |.Turn of|f the VT|
|000005f0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 6b 65 | applica|tions ke|
|00000600| 79 70 61 64 2e 22 20 22 | 70 22 5d 29 0a 28 66 73 |ypad." "|p"]).(fs|
|00000610| 65 74 20 27 76 74 2d 6e | 75 6d 6c 6f 63 6b 20 23 |et 'vt-n|umlock #|
|00000620| 5b 6e 69 6c 20 22 08 ab | 84 c1 74 21 87 c2 74 21 |[nil "..|..t!..t!|
|00000630| 87 22 20 5b 76 74 2d 61 | 70 70 6c 69 63 61 74 69 |." [vt-a|pplicati|
|00000640| 6f 6e 73 2d 6b 65 79 70 | 61 64 2d 70 20 76 74 2d |ons-keyp|ad-p vt-|
|00000650| 6b 65 79 70 61 64 2d 6f | 66 66 20 76 74 2d 6b 65 |keypad-o|ff vt-ke|
|00000660| 79 70 61 64 2d 6f 6e 5d | 20 32 20 22 5c 0a 54 6f |ypad-on]| 2 "\.To|
|00000670| 67 67 6c 65 20 56 54 20 | 61 70 70 6c 69 63 61 74 |ggle VT |applicat|
|00000680| 69 6f 6e 20 6b 65 79 70 | 61 64 20 6f 6e 20 61 6e |ion keyp|ad on an|
|00000690| 64 20 6f 66 66 2e 22 20 | 6e 69 6c 5d 29 0a |d off." |nil]). |
+--------+-------------------------+-------------------------+--------+--------+