home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 6 / FreshFish_September1994.bin / bbs / gnu / emacs-18.59-src.lha / GNU / src / amiga / emacs-18.59 / lisp / lpr.elc < prev    next >
Emacs Compiled Lisp  |  1992-10-23  |  1.5 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

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
100% file Emacs v18 byte-compiled Lisp data default
99% file data default
100% gt2 Kopftext: '(defvar lpr-command (if (memq system-type (quote (usg-unix-v hpux silicon-graphics-unix))) ' default (weak)
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 28 64 65 66 76 61 72 | 20 6c 70 72 2d 63 6f 6d |.(defvar| lpr-com|
|00000010| 6d 61 6e 64 20 28 69 66 | 20 28 6d 65 6d 71 20 73 |mand (if| (memq s|
|00000020| 79 73 74 65 6d 2d 74 79 | 70 65 20 28 71 75 6f 74 |ystem-ty|pe (quot|
|00000030| 65 20 28 75 73 67 2d 75 | 6e 69 78 2d 76 20 68 70 |e (usg-u|nix-v hp|
|00000040| 75 78 20 73 69 6c 69 63 | 6f 6e 2d 67 72 61 70 68 |ux silic|on-graph|
|00000050| 69 63 73 2d 75 6e 69 78 | 29 29 29 20 22 6c 70 22 |ics-unix|))) "lp"|
|00000060| 20 22 6c 70 72 22 29 20 | 22 5c 0a 53 68 65 6c 6c | "lpr") |"\.Shell|
|00000070| 20 63 6f 6d 6d 61 6e 64 | 20 66 6f 72 20 70 72 69 | command| for pri|
|00000080| 6e 74 69 6e 67 20 61 20 | 66 69 6c 65 22 29 0a 0a |nting a |file")..|
|00000090| 28 64 65 66 75 6e 20 6c | 70 72 2d 62 75 66 66 65 |(defun l|pr-buffe|
|000000a0| 72 20 6e 69 6c 20 22 5c | 0a 50 72 69 6e 74 20 62 |r nil "\|.Print b|
|000000b0| 75 66 66 65 72 20 63 6f | 6e 74 65 6e 74 73 20 61 |uffer co|ntents a|
|000000c0| 73 20 77 69 74 68 20 55 | 6e 69 78 20 63 6f 6d 6d |s with U|nix comm|
|000000d0| 61 6e 64 20 60 6c 70 72 | 27 2e 0a 60 6c 70 72 2d |and `lpr|'..`lpr-|
|000000e0| 73 77 69 74 63 68 65 73 | 27 20 69 73 20 61 20 6c |switches|' is a l|
|000000f0| 69 73 74 20 6f 66 20 65 | 78 74 72 61 20 73 77 69 |ist of e|xtra swi|
|00000100| 74 63 68 65 73 20 28 73 | 74 72 69 6e 67 73 29 20 |tches (s|trings) |
|00000110| 74 6f 20 70 61 73 73 20 | 74 6f 20 6c 70 72 2e 22 |to pass |to lpr."|
|00000120| 20 28 69 6e 74 65 72 61 | 63 74 69 76 65 29 20 28 | (intera|ctive) (|
|00000130| 62 79 74 65 2d 63 6f 64 | 65 20 22 c1 88 c2 65 64 |byte-cod|e "...ed|
|00000140| 08 23 87 22 20 5b 6c 70 | 72 2d 73 77 69 74 63 68 |.#." [lp|r-switch|
|00000150| 65 73 20 6e 69 6c 20 70 | 72 69 6e 74 2d 72 65 67 |es nil p|rint-reg|
|00000160| 69 6f 6e 2d 31 5d 20 34 | 29 29 0a 0a 28 64 65 66 |ion-1] 4|))..(def|
|00000170| 75 6e 20 70 72 69 6e 74 | 2d 62 75 66 66 65 72 20 |un print|-buffer |
|00000180| 6e 69 6c 20 22 5c 0a 50 | 72 69 6e 74 20 62 75 66 |nil "\.P|rint buf|
|00000190| 66 65 72 20 63 6f 6e 74 | 65 6e 74 73 20 61 73 20 |fer cont|ents as |
|000001a0| 77 69 74 68 20 55 6e 69 | 78 20 63 6f 6d 6d 61 6e |with Uni|x comman|
|000001b0| 64 20 60 6c 70 72 20 2d | 70 27 2e 0a 60 6c 70 72 |d `lpr -|p'..`lpr|
|000001c0| 2d 73 77 69 74 63 68 65 | 73 27 20 69 73 20 61 20 |-switche|s' is a |
|000001d0| 6c 69 73 74 20 6f 66 20 | 65 78 74 72 61 20 73 77 |list of |extra sw|
|000001e0| 69 74 63 68 65 73 20 28 | 73 74 72 69 6e 67 73 29 |itches (|strings)|
|000001f0| 20 74 6f 20 70 61 73 73 | 20 74 6f 20 6c 70 72 2e | to pass| to lpr.|
|00000200| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 29 20 |" (inter|active) |
|00000210| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c1 88 c2 65 |(byte-co|de "...e|
|00000220| 64 c3 08 42 23 87 22 20 | 5b 6c 70 72 2d 73 77 69 |d..B#." |[lpr-swi|
|00000230| 74 63 68 65 73 20 6e 69 | 6c 20 70 72 69 6e 74 2d |tches ni|l print-|
|00000240| 72 65 67 69 6f 6e 2d 31 | 20 22 2d 70 22 5d 20 35 |region-1| "-p"] 5|
|00000250| 29 29 0a 0a 28 64 65 66 | 75 6e 20 6c 70 72 2d 72 |))..(def|un lpr-r|
|00000260| 65 67 69 6f 6e 20 28 73 | 74 61 72 74 20 65 6e 64 |egion (s|tart end|
|00000270| 29 20 22 5c 0a 50 72 69 | 6e 74 20 72 65 67 69 6f |) "\.Pri|nt regio|
|00000280| 6e 20 63 6f 6e 74 65 6e | 74 73 20 61 73 20 77 69 |n conten|ts as wi|
|00000290| 74 68 20 55 6e 69 78 20 | 63 6f 6d 6d 61 6e 64 20 |th Unix |command |
|000002a0| 60 6c 70 72 27 2e 0a 60 | 6c 70 72 2d 73 77 69 74 |`lpr'..`|lpr-swit|
|000002b0| 63 68 65 73 27 20 69 73 | 20 61 20 6c 69 73 74 20 |ches' is| a list |
|000002c0| 6f 66 20 65 78 74 72 61 | 20 73 77 69 74 63 68 65 |of extra| switche|
|000002d0| 73 20 28 73 74 72 69 6e | 67 73 29 20 74 6f 20 70 |s (strin|gs) to p|
|000002e0| 61 73 73 20 74 6f 20 6c | 70 72 2e 22 20 28 69 6e |ass to l|pr." (in|
|000002f0| 74 65 72 61 63 74 69 76 | 65 20 22 72 22 29 20 28 |teractiv|e "r") (|
|00000300| 62 79 74 65 2d 63 6f 64 | 65 20 22 c3 88 c4 08 09 |byte-cod|e ".....|
|00000310| 0a 23 87 22 20 5b 73 74 | 61 72 74 20 65 6e 64 20 |.#." [st|art end |
|00000320| 6c 70 72 2d 73 77 69 74 | 63 68 65 73 20 6e 69 6c |lpr-swit|ches nil|
|00000330| 20 70 72 69 6e 74 2d 72 | 65 67 69 6f 6e 2d 31 5d | print-r|egion-1]|
|00000340| 20 34 29 29 0a 0a 28 64 | 65 66 75 6e 20 70 72 69 | 4))..(d|efun pri|
|00000350| 6e 74 2d 72 65 67 69 6f | 6e 20 28 73 74 61 72 74 |nt-regio|n (start|
|00000360| 20 65 6e 64 29 20 22 5c | 0a 50 72 69 6e 74 20 72 | end) "\|.Print r|
|00000370| 65 67 69 6f 6e 20 63 6f | 6e 74 65 6e 74 73 20 61 |egion co|ntents a|
|00000380| 73 20 77 69 74 68 20 55 | 6e 69 78 20 63 6f 6d 6d |s with U|nix comm|
|00000390| 61 6e 64 20 60 6c 70 72 | 20 2d 70 27 2e 0a 60 6c |and `lpr| -p'..`l|
|000003a0| 70 72 2d 73 77 69 74 63 | 68 65 73 27 20 69 73 20 |pr-switc|hes' is |
|000003b0| 61 20 6c 69 73 74 20 6f | 66 20 65 78 74 72 61 20 |a list o|f extra |
|000003c0| 73 77 69 74 63 68 65 73 | 20 28 73 74 72 69 6e 67 |switches| (string|
|000003d0| 73 29 20 74 6f 20 70 61 | 73 73 20 74 6f 20 6c 70 |s) to pa|ss to lp|
|000003e0| 72 2e 22 20 28 69 6e 74 | 65 72 61 63 74 69 76 65 |r." (int|eractive|
|000003f0| 20 22 72 22 29 20 28 62 | 79 74 65 2d 63 6f 64 65 | "r") (b|yte-code|
|00000400| 20 22 c3 88 c4 08 09 c5 | 0a 42 23 87 22 20 5b 73 | "......|.B#." [s|
|00000410| 74 61 72 74 20 65 6e 64 | 20 6c 70 72 2d 73 77 69 |tart end| lpr-swi|
|00000420| 74 63 68 65 73 20 6e 69 | 6c 20 70 72 69 6e 74 2d |tches ni|l print-|
|00000430| 72 65 67 69 6f 6e 2d 31 | 20 22 2d 70 22 5d 20 35 |region-1| "-p"] 5|
|00000440| 29 29 0a 0a 28 64 65 66 | 75 6e 20 70 72 69 6e 74 |))..(def|un print|
|00000450| 2d 72 65 67 69 6f 6e 2d | 31 20 28 73 74 61 72 74 |-region-|1 (start|
|00000460| 20 65 6e 64 20 73 77 69 | 74 63 68 65 73 29 20 28 | end swi|tches) (|
|00000470| 62 79 74 65 2d 63 6f 64 | 65 20 22 ca 20 cb 50 0a |byte-cod|e ". .P.|
|00000480| 19 18 8a cc cd 21 88 ce | 0a cf 5c 22 85 35 00 70 |.....!..|..\".5.p|
|00000490| 1b d0 d1 21 71 88 d2 20 | 88 d3 20 88 d4 0b 0c 0d |...!q.. |.. .....|
|000004a0| 23 88 09 89 12 88 d5 65 | 64 5c 22 88 65 14 64 89 |#......e|d\".e.d.|
|000004b0| 15 29 88 d6 d7 d8 d9 0c | 0d 0e 06 c7 c7 c7 26 06 |.)......|......&.|
|000004c0| d8 0e 08 da 3d 85 50 00 | db 08 dc 08 46 0e 09 5c |....=.P.|....F..\|
|000004d0| 22 5c 22 5c 22 88 cc dd | 21 29 2a 87 22 20 5b 6e |"\"\"...|!)*." [n|
|000004e0| 61 6d 65 20 77 69 64 74 | 68 20 74 61 62 2d 77 69 |ame widt|h tab-wi|
|000004f0| 64 74 68 20 6f 6c 64 62 | 75 66 20 73 74 61 72 74 |dth oldb|uf start|
|00000500| 20 65 6e 64 20 6c 70 72 | 2d 63 6f 6d 6d 61 6e 64 | end lpr|-command|
|00000510| 20 6e 69 6c 20 73 79 73 | 74 65 6d 2d 74 79 70 65 | nil sys|tem-type|
|00000520| 20 73 77 69 74 63 68 65 | 73 20 62 75 66 66 65 72 | switche|s buffer|
|00000530| 2d 6e 61 6d 65 20 22 20 | 45 6d 61 63 73 20 62 75 |-name " |Emacs bu|
|00000540| 66 66 65 72 22 20 6d 65 | 73 73 61 67 65 20 22 53 |ffer" me|ssage "S|
|00000550| 70 6f 6f 6c 69 6e 67 2e | 2e 2e 22 20 2f 3d 20 38 |pooling.|.." /= 8|
|00000560| 20 67 65 74 2d 62 75 66 | 66 65 72 2d 63 72 65 61 | get-buf|fer-crea|
|00000570| 74 65 20 22 20 2a 73 70 | 6f 6f 6c 20 74 65 6d 70 |te " *sp|ool temp|
|00000580| 2a 22 20 77 69 64 65 6e | 20 65 72 61 73 65 2d 62 |*" widen| erase-b|
|00000590| 75 66 66 65 72 20 69 6e | 73 65 72 74 2d 62 75 66 |uffer in|sert-buf|
|000005a0| 66 65 72 2d 73 75 62 73 | 74 72 69 6e 67 20 75 6e |fer-subs|tring un|
|000005b0| 74 61 62 69 66 79 20 61 | 70 70 6c 79 20 63 61 6c |tabify a|pply cal|
|000005c0| 6c 2d 70 72 6f 63 65 73 | 73 2d 72 65 67 69 6f 6e |l-proces|s-region|
|000005d0| 20 6e 63 6f 6e 63 20 6c | 69 73 74 20 62 65 72 6b | nconc l|ist berk|
|000005e0| 65 6c 65 79 2d 75 6e 69 | 78 20 22 2d 4a 22 20 22 |eley-uni|x "-J" "|
|000005f0| 2d 54 22 20 22 53 70 6f | 6f 6c 69 6e 67 2e 2e 2e |-T" "Spo|oling...|
|00000600| 64 6f 6e 65 22 5d 20 31 | 38 29 29 0a |done"] 1|8)). |
+--------+-------------------------+-------------------------+--------+--------+