home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / modes / view-process-mode.elc.z / view-process-mode.elc
Emacs Compiled Lisp  |  1998-05-21  |  91.3 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
100% file Emacs/XEmacs v20 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 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 31 3a 35 32 20 31 | 39 39 38 0a 3b 3b 3b 20 |:51:52 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 6d 6f 64 65 |s-20.3/l|isp/mode|
|000000a0| 73 2f 76 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 6d |s/view-p|rocess-m|
|000000b0| 6f 64 65 2e 65 6c 0a 3b | 3b 3b 20 65 6d 61 63 73 |ode.el.;|;; emacs|
|000000c0| 20 76 65 72 73 69 6f 6e | 20 32 30 2e 34 20 22 45 | version| 20.4 "E|
|000000d0| 6d 65 72 61 6c 64 22 20 | 58 45 6d 61 63 73 20 20 |merald" |XEmacs |
|000000e0| 4c 75 63 69 64 2e 0a 3b | 3b 3b 20 62 79 74 65 63 |Lucid..;|;; bytec|
|000000f0| 6f 6d 70 20 76 65 72 73 | 69 6f 6e 20 32 2e 32 35 |omp vers|ion 2.25|
|00000100| 20 58 45 6d 61 63 73 3b | 20 32 32 2d 4d 61 72 2d | XEmacs;| 22-Mar-|
|00000110| 39 36 2e 0a 3b 3b 3b 20 | 6f 70 74 69 6d 69 7a 61 |96..;;; |optimiza|
|00000120| 74 69 6f 6e 20 69 73 20 | 6f 6e 2e 0a 3b 3b 3b 20 |tion is |on..;;; |
|00000130| 74 68 69 73 20 66 69 6c | 65 20 75 73 65 73 20 6f |this fil|e uses o|
|00000140| 70 63 6f 64 65 73 20 77 | 68 69 63 68 20 64 6f 20 |pcodes w|hich do |
|00000150| 6e 6f 74 20 65 78 69 73 | 74 20 69 6e 20 45 6d 61 |not exis|t in Ema|
|00000160| 63 73 20 31 39 2e 0a 0a | 28 69 66 20 28 61 6e 64 |cs 19...|(if (and|
|00000170| 20 28 62 6f 75 6e 64 70 | 20 27 65 6d 61 63 73 2d | (boundp| 'emacs-|
|00000180| 76 65 72 73 69 6f 6e 29 | 0a 09 20 28 6f 72 20 28 |version)|.. (or (|
|00000190| 61 6e 64 20 28 62 6f 75 | 6e 64 70 20 27 65 70 6f |and (bou|ndp 'epo|
|000001a0| 63 68 3a 3a 76 65 72 73 | 69 6f 6e 29 20 65 70 6f |ch::vers|ion) epo|
|000001b0| 63 68 3a 3a 76 65 72 73 | 69 6f 6e 29 0a 09 20 20 |ch::vers|ion).. |
|000001c0| 20 20 20 28 73 74 72 69 | 6e 67 2d 6c 65 73 73 70 | (stri|ng-lessp|
|000001d0| 20 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 20 22 | emacs-v|ersion "|
|000001e0| 32 30 22 29 29 29 0a 20 | 20 20 20 28 65 72 72 6f |20"))). | (erro|
|000001f0| 72 20 22 60 76 69 65 77 | 2d 70 72 6f 63 65 73 73 |r "`view|-process|
|00000200| 2d 6d 6f 64 65 2e 65 6c | 27 20 77 61 73 20 63 6f |-mode.el|' was co|
|00000210| 6d 70 69 6c 65 64 20 66 | 6f 72 20 45 6d 61 63 73 |mpiled f|or Emacs|
|00000220| 20 32 30 22 29 29 0a 0a | 28 6f 72 20 28 62 6f 75 | 20"))..|(or (bou|
|00000230| 6e 64 70 20 27 63 75 72 | 72 65 6e 74 2d 6c 6f 61 |ndp 'cur|rent-loa|
|00000240| 64 2d 6c 69 73 74 29 20 | 28 73 65 74 71 20 63 75 |d-list) |(setq cu|
|00000250| 72 72 65 6e 74 2d 6c 6f | 61 64 2d 6c 69 73 74 20 |rrent-lo|ad-list |
|00000260| 6e 69 6c 29 29 0a 0a 0a | 28 62 79 74 65 2d 63 6f |nil))...|(byte-co|
|00000270| 64 65 20 22 c0 c1 21 88 | c2 c3 21 88 c4 15 c5 0e |de "..!.|..!.....|
|00000280| 06 42 16 06 c7 16 08 c8 | 0e 06 42 16 06 c9 16 5c |.B......|..B....\|
|00000290| 6e ca 0e 06 42 16 06 c0 | 87 22 20 5b 70 72 6f 76 |n...B...|." [prov|
|000002a0| 69 64 65 20 76 69 65 77 | 2d 70 72 6f 63 65 73 73 |ide view|-process|
|000002b0| 2d 6d 6f 64 65 20 72 65 | 71 75 69 72 65 20 76 69 |-mode re|quire vi|
|000002c0| 65 77 2d 70 72 6f 63 65 | 73 73 2d 73 79 73 74 65 |ew-proce|ss-syste|
|000002d0| 6d 2d 73 70 65 63 69 66 | 69 63 20 22 32 2e 34 22 |m-specif|ic "2.4"|
|000002e0| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 70 61 | View-pr|ocess-pa|
|000002f0| 63 6b 61 67 65 2d 76 65 | 72 73 69 6f 6e 20 63 75 |ckage-ve|rsion cu|
|00000300| 72 72 65 6e 74 2d 6c 6f | 61 64 2d 6c 69 73 74 20 |rrent-lo|ad-list |
|00000310| 22 68 6d 2d 2d 76 69 65 | 77 2d 70 72 6f 63 65 73 |"hm--vie|w-proces|
|00000320| 73 22 20 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d |s" View-|process-|
|00000330| 70 61 63 6b 61 67 65 2d | 6e 61 6d 65 20 22 6d 75 |package-|name "mu|
|00000340| 65 6e 6b 65 6c 40 74 6e | 74 2e 75 6e 69 2d 68 61 |enkel@tn|t.uni-ha|
|00000350| 6e 6e 6f 76 65 72 2e 64 | 65 22 20 56 69 65 77 2d |nnover.d|e" View-|
|00000360| 70 72 6f 63 65 73 73 2d | 70 61 63 6b 61 67 65 2d |process-|package-|
|00000370| 6d 61 69 6e 74 61 69 6e | 65 72 5d 20 32 29 0a 23 |maintain|er] 2).#|
|00000380| 40 35 36 20 52 65 74 75 | 72 6e 73 20 6e 6f 6e 20 |@56 Retu|rns non |
|00000390| 6e 69 6c 20 69 66 20 74 | 68 65 20 65 64 69 74 6f |nil if t|he edito|
|000003a0| 72 20 69 73 20 74 68 65 | 20 58 45 6d 61 63 73 20 |r is the| XEmacs |
|000003b0| 6f 72 20 6c 65 6d 61 63 | 73 2e 1f 0a 28 64 65 66 |or lemac|s...(def|
|000003c0| 61 6c 69 61 73 20 27 56 | 69 65 77 2d 70 72 6f 63 |alias 'V|iew-proc|
|000003d0| 65 73 73 2d 78 65 6d 61 | 63 73 2d 70 20 23 5b 6e |ess-xema|cs-p #[n|
|000003e0| 69 6c 20 22 c0 c1 5c 6e | 5c 22 ae 84 c0 c3 5c 6e |il "..\n|\"....\n|
|000003f0| 5c 22 87 22 20 5b 73 74 | 72 69 6e 67 2d 6d 61 74 |\"." [st|ring-mat|
|00000400| 63 68 20 22 4c 75 63 69 | 64 22 20 65 6d 61 63 73 |ch "Luci|d" emacs|
|00000410| 2d 76 65 72 73 69 6f 6e | 20 22 58 45 6d 61 63 73 |-version| "XEmacs|
|00000420| 22 5d 20 33 20 28 23 24 | 20 2e 20 39 30 30 29 5d |"] 3 (#$| . 900)]|
|00000430| 29 0a 23 40 34 36 20 52 | 65 74 75 72 6e 73 20 6e |).#@46 R|eturns n|
|00000440| 6f 6e 20 6e 69 6c 20 69 | 66 20 74 68 65 20 65 64 |on nil i|f the ed|
|00000450| 69 74 6f 72 20 69 73 20 | 74 68 65 20 6c 65 6d 61 |itor is |the lema|
|00000460| 63 73 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |cs...(de|falias '|
|00000470| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 6c 65 6d |View-pro|cess-lem|
|00000480| 61 63 73 2d 70 20 23 5b | 6e 69 6c 20 22 c0 c1 5c |acs-p #[|nil "..\|
|00000490| 6e 5c 22 87 22 20 5b 73 | 74 72 69 6e 67 2d 6d 61 |n\"." [s|tring-ma|
|000004a0| 74 63 68 20 22 4c 75 63 | 69 64 22 20 65 6d 61 63 |tch "Luc|id" emac|
|000004b0| 73 2d 76 65 72 73 69 6f | 6e 5d 20 33 20 28 23 24 |s-versio|n] 3 (#$|
|000004c0| 20 2e 20 31 30 37 39 29 | 5d 29 0a 28 62 79 74 65 | . 1079)|]).(byte|
|000004d0| 2d 63 6f 64 65 20 22 c0 | 20 ac 84 c1 c2 21 88 c0 |-code ".| ....!..|
|000004e0| 87 22 20 5b 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |." [View|-process|
|000004f0| 2d 78 65 6d 61 63 73 2d | 70 20 72 65 71 75 69 72 |-xemacs-|p requir|
|00000500| 65 20 76 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 61 |e view-p|rocess-a|
|00000510| 64 61 70 74 5d 20 32 29 | 0a 23 40 37 35 20 2a 43 |dapt] 2)|.#@75 *C|
|00000520| 6f 6d 6d 61 6e 64 20 77 | 68 69 63 68 20 72 65 70 |ommand w|hich rep|
|00000530| 6f 72 74 73 20 70 72 6f | 63 65 73 73 20 73 74 61 |orts pro|cess sta|
|00000540| 74 75 73 20 28 70 73 29 | 2e 0a 54 68 65 20 76 61 |tus (ps)|..The va|
|00000550| 72 69 61 62 6c 65 20 69 | 73 20 62 75 66 66 65 72 |riable i|s buffer|
|00000560| 20 6c 6f 63 61 6c 2e 1f | 0a 28 64 65 66 76 61 72 | local..|.(defvar|
|00000570| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 73 74 | View-pr|ocess-st|
|00000580| 61 74 75 73 2d 63 6f 6d | 6d 61 6e 64 20 22 70 73 |atus-com|mand "ps|
|00000590| 22 20 28 23 24 20 2e 20 | 2d 31 33 31 30 29 29 0a |" (#$ . |-1310)).|
|000005a0| 28 6d 61 6b 65 2d 76 61 | 72 69 61 62 6c 65 2d 62 |(make-va|riable-b|
|000005b0| 75 66 66 65 72 2d 6c 6f | 63 61 6c 20 27 56 69 65 |uffer-lo|cal 'Vie|
|000005c0| 77 2d 70 72 6f 63 65 73 | 73 2d 73 74 61 74 75 73 |w-proces|s-status|
|000005d0| 2d 63 6f 6d 6d 61 6e 64 | 29 0a 23 40 31 32 34 20 |-command|).#@124 |
|000005e0| 2a 53 77 69 74 63 68 65 | 73 20 66 6f 72 20 74 68 |*Switche|s for th|
|000005f0| 65 20 63 6f 6d 6d 61 6e | 64 20 60 76 69 65 77 2d |e comman|d `view-|
|00000600| 70 72 6f 63 65 73 73 65 | 73 27 20 6f 6e 20 42 53 |processe|s' on BS|
|00000610| 44 20 73 79 73 74 65 6d | 73 2e 0a 53 77 69 74 63 |D system|s..Switc|
|00000620| 68 65 73 20 77 68 69 63 | 68 20 73 75 70 70 72 65 |hes whic|h suppre|
|00000630| 73 73 65 73 20 74 68 65 | 20 68 65 61 64 65 72 20 |sses the| header |
|00000640| 6c 69 6e 65 20 61 72 65 | 20 6e 6f 74 20 61 6c 6c |line are| not all|
|00000650| 6f 77 65 64 20 68 65 72 | 65 2e 1f 0a 28 64 65 66 |owed her|e...(def|
|00000660| 76 61 72 20 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |var View|-process|
|00000670| 2d 73 74 61 74 75 73 2d | 63 6f 6d 6d 61 6e 64 2d |-status-|command-|
|00000680| 73 77 69 74 63 68 65 73 | 2d 62 73 64 20 22 2d 61 |switches|-bsd "-a|
|00000690| 75 78 77 22 20 28 23 24 | 20 2e 20 2d 31 35 30 34 |uxw" (#$| . -1504|
|000006a0| 29 29 0a 23 40 31 32 39 | 20 2a 53 77 69 74 63 68 |)).#@129| *Switch|
|000006b0| 65 73 20 66 6f 72 20 74 | 68 65 20 63 6f 6d 6d 61 |es for t|he comma|
|000006c0| 6e 64 20 60 76 69 65 77 | 2d 70 72 6f 63 65 73 73 |nd `view|-process|
|000006d0| 65 73 27 20 6f 6e 20 53 | 79 73 74 65 6d 20 56 20 |es' on S|ystem V |
|000006e0| 73 79 73 74 65 6d 73 2e | 0a 53 77 69 74 63 68 65 |systems.|.Switche|
|000006f0| 73 20 77 68 69 63 68 20 | 73 75 70 70 72 65 73 73 |s which |suppress|
|00000700| 65 73 20 74 68 65 20 68 | 65 61 64 65 72 20 6c 69 |es the h|eader li|
|00000710| 6e 65 20 61 72 65 20 6e | 6f 74 20 61 6c 6c 6f 77 |ne are n|ot allow|
|00000720| 65 64 20 68 65 72 65 2e | 1f 0a 28 64 65 66 76 61 |ed here.|..(defva|
|00000730| 72 20 56 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 73 |r View-p|rocess-s|
|00000740| 74 61 74 75 73 2d 63 6f | 6d 6d 61 6e 64 2d 73 77 |tatus-co|mmand-sw|
|00000750| 69 74 63 68 65 73 2d 73 | 79 73 74 65 6d 2d 76 20 |itches-s|ystem-v |
|00000760| 22 2d 65 64 61 66 22 20 | 28 23 24 20 2e 20 2d 31 |"-edaf" |(#$ . -1|
|00000770| 37 30 35 29 29 0a 23 40 | 38 33 20 53 77 69 74 63 |705)).#@|83 Switc|
|00000780| 68 65 73 20 6f 66 20 74 | 68 65 20 6c 61 73 74 20 |hes of t|he last |
|00000790| 60 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 73 74 |`View-pr|ocess-st|
|000007a0| 61 74 75 73 2d 63 6f 6d | 6d 61 6e 64 27 2e 0a 54 |atus-com|mand'..T|
|000007b0| 68 65 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 62 |he varia|ble is b|
|000007c0| 75 66 66 65 72 20 6c 6f | 63 61 6c 2e 1f 0a 28 64 |uffer lo|cal...(d|
|000007d0| 65 66 76 61 72 20 56 69 | 65 77 2d 70 72 6f 63 65 |efvar Vi|ew-proce|
|000007e0| 73 73 2d 73 74 61 74 75 | 73 2d 6c 61 73 74 2d 63 |ss-statu|s-last-c|
|000007f0| 6f 6d 6d 61 6e 64 2d 73 | 77 69 74 63 68 65 73 20 |ommand-s|witches |
|00000800| 6e 69 6c 20 28 23 24 20 | 2e 20 31 39 31 35 29 29 |nil (#$ |. 1915))|
|00000810| 0a 28 6d 61 6b 65 2d 76 | 61 72 69 61 62 6c 65 2d |.(make-v|ariable-|
|00000820| 62 75 66 66 65 72 2d 6c | 6f 63 61 6c 20 27 56 69 |buffer-l|ocal 'Vi|
|00000830| 65 77 2d 70 72 6f 63 65 | 73 73 2d 73 74 61 74 75 |ew-proce|ss-statu|
|00000840| 73 2d 6c 61 73 74 2d 63 | 6f 6d 6d 61 6e 64 2d 73 |s-last-c|ommand-s|
|00000850| 77 69 74 63 68 65 73 29 | 0a 23 40 38 32 20 2a 43 |witches)|.#@82 *C|
|00000860| 6f 6d 6d 61 6e 64 20 77 | 68 69 63 68 20 73 65 6e |ommand w|hich sen|
|00000870| 64 73 20 61 20 73 69 67 | 6e 61 6c 20 74 6f 20 61 |ds a sig|nal to a|
|00000880| 20 70 72 6f 63 65 73 73 | 20 28 6b 69 6c 6c 29 2e | process| (kill).|
|00000890| 0a 54 68 65 20 76 61 72 | 69 61 62 6c 65 20 69 73 |.The var|iable is|
|000008a0| 20 62 75 66 66 65 72 20 | 6c 6f 63 61 6c 2e 1f 0a | buffer |local...|
|000008b0| 28 64 65 66 76 61 72 20 | 56 69 65 77 2d 70 72 6f |(defvar |View-pro|
|000008c0| 63 65 73 73 2d 73 69 67 | 6e 61 6c 2d 63 6f 6d 6d |cess-sig|nal-comm|
|000008d0| 61 6e 64 20 22 6b 69 6c | 6c 22 20 28 23 24 20 2e |and "kil|l" (#$ .|
|000008e0| 20 2d 32 31 34 32 29 29 | 0a 28 6d 61 6b 65 2d 76 | -2142))|.(make-v|
|000008f0| 61 72 69 61 62 6c 65 2d | 62 75 66 66 65 72 2d 6c |ariable-|buffer-l|
|00000900| 6f 63 61 6c 20 27 56 69 | 65 77 2d 70 72 6f 63 65 |ocal 'Vi|ew-proce|
|00000910| 73 73 2d 73 69 67 6e 61 | 6c 2d 63 6f 6d 6d 61 6e |ss-signa|l-comman|
|00000920| 64 29 0a 23 40 35 33 20 | 2a 43 6f 6d 6d 61 6e 64 |d).#@53 |*Command|
|00000930| 20 77 68 69 63 68 20 61 | 6c 74 65 72 20 70 72 69 | which a|lter pri|
|00000940| 6f 72 69 74 79 20 6f 66 | 20 72 75 6e 6e 69 6e 67 |ority of| running|
|00000950| 20 70 72 6f 63 65 73 73 | 65 73 2e 1f 0a 28 64 65 | process|es...(de|
|00000960| 66 76 61 72 20 56 69 65 | 77 2d 70 72 6f 63 65 73 |fvar Vie|w-proces|
|00000970| 73 2d 72 65 6e 69 63 65 | 2d 63 6f 6d 6d 61 6e 64 |s-renice|-command|
|00000980| 20 22 72 65 6e 69 63 65 | 22 20 28 23 24 20 2e 20 | "renice|" (#$ . |
|00000990| 2d 32 33 34 34 29 29 0a | 28 6d 61 6b 65 2d 76 61 |-2344)).|(make-va|
|000009a0| 72 69 61 62 6c 65 2d 62 | 75 66 66 65 72 2d 6c 6f |riable-b|uffer-lo|
|000009b0| 63 61 6c 20 27 56 69 65 | 77 2d 70 72 6f 63 65 73 |cal 'Vie|w-proces|
|000009c0| 73 2d 72 65 6e 69 63 65 | 2d 63 6f 6d 6d 61 6e 64 |s-renice|-command|
|000009d0| 29 0a 23 40 36 39 20 2a | 44 65 66 61 75 6c 74 20 |).#@69 *|Default |
|000009e0| 6e 69 63 65 20 76 61 6c | 75 65 20 66 6f 72 20 61 |nice val|ue for a|
|000009f0| 6c 74 65 72 69 6e 67 20 | 74 68 65 20 70 72 69 6f |ltering |the prio|
|00000a00| 72 69 74 79 20 6f 66 20 | 72 75 6e 6e 69 6e 67 20 |rity of |running |
|00000a10| 70 72 6f 63 65 73 73 65 | 73 2e 1f 0a 28 64 65 66 |processe|s...(def|
|00000a20| 76 61 72 20 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |var View|-process|
|00000a30| 2d 64 65 66 61 75 6c 74 | 2d 6e 69 63 65 2d 76 61 |-default|-nice-va|
|00000a40| 6c 75 65 20 22 34 22 20 | 28 23 24 20 2e 20 2d 32 |lue "4" |(#$ . -2|
|00000a50| 35 31 39 29 29 0a 23 40 | 36 30 20 2a 52 65 6d 6f |519)).#@|60 *Remo|
|00000a60| 74 65 20 73 68 65 6c 6c | 20 63 6f 6d 6d 61 6e 64 |te shell| command|
|00000a70| 20 28 72 73 68 29 2e 0a | 54 68 65 20 76 61 72 69 | (rsh)..|The vari|
|00000a80| 61 62 6c 65 20 69 73 20 | 62 75 66 66 65 72 20 6c |able is |buffer l|
|00000a90| 6f 63 61 6c 2e 1f 0a 28 | 64 65 66 76 61 72 20 56 |ocal...(|defvar V|
|00000aa0| 69 65 77 2d 70 72 6f 63 | 65 73 73 2d 72 73 68 2d |iew-proc|ess-rsh-|
|00000ab0| 63 6f 6d 6d 61 6e 64 20 | 22 72 73 68 22 20 28 23 |command |"rsh" (#|
|00000ac0| 24 20 2e 20 2d 32 36 35 | 31 29 29 0a 28 6d 61 6b |$ . -265|1)).(mak|
|00000ad0| 65 2d 76 61 72 69 61 62 | 6c 65 2d 62 75 66 66 65 |e-variab|le-buffe|
|00000ae0| 72 2d 6c 6f 63 61 6c 20 | 27 56 69 65 77 2d 70 72 |r-local |'View-pr|
|00000af0| 6f 63 65 73 73 2d 72 73 | 68 2d 63 6f 6d 6d 61 6e |ocess-rs|h-comman|
|00000b00| 64 29 0a 23 40 38 30 20 | 2a 54 68 65 20 75 6e 61 |d).#@80 |*The una|
|00000b10| 6d 65 20 63 6f 6d 6d 61 | 6e 64 20 28 49 74 20 72 |me comma|nd (It r|
|00000b20| 65 74 75 72 6e 73 20 74 | 68 65 20 73 79 73 74 65 |eturns t|he syste|
|00000b30| 6d 20 6e 61 6d 65 29 2e | 0a 54 68 65 20 76 61 72 |m name).|.The var|
|00000b40| 69 61 62 6c 65 20 69 73 | 20 62 75 66 66 65 72 20 |iable is| buffer |
|00000b50| 6c 6f 63 61 6c 2e 1f 0a | 28 64 65 66 76 61 72 20 |local...|(defvar |
|00000b60| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 75 6e 61 |View-pro|cess-una|
|00000b70| 6d 65 2d 63 6f 6d 6d 61 | 6e 64 20 22 75 6e 61 6d |me-comma|nd "unam|
|00000b80| 65 22 20 28 23 24 20 2e | 20 2d 32 38 32 34 29 29 |e" (#$ .| -2824))|
|00000b90| 0a 28 6d 61 6b 65 2d 76 | 61 72 69 61 62 6c 65 2d |.(make-v|ariable-|
|00000ba0| 62 75 66 66 65 72 2d 6c | 6f 63 61 6c 20 27 56 69 |buffer-l|ocal 'Vi|
|00000bb0| 65 77 2d 70 72 6f 63 65 | 73 73 2d 75 6e 61 6d 65 |ew-proce|ss-uname|
|00000bc0| 2d 63 6f 6d 6d 61 6e 64 | 29 0a 23 40 37 30 20 2a |-command|).#@70 *|
|00000bd0| 53 77 69 74 63 68 65 73 | 20 66 6f 72 20 75 6e 61 |Switches| for una|
|00000be0| 6d 65 2c 20 73 6f 20 74 | 68 61 74 20 69 74 20 72 |me, so t|hat it r|
|00000bf0| 65 74 75 72 6e 73 20 74 | 68 65 20 73 79 73 6e 61 |eturns t|he sysna|
|00000c00| 6d 65 20 61 6e 64 20 74 | 68 65 20 72 65 6c 65 61 |me and t|he relea|
|00000c10| 73 65 2e 1f 0a 28 64 65 | 66 76 61 72 20 56 69 65 |se...(de|fvar Vie|
|00000c20| 77 2d 70 72 6f 63 65 73 | 73 2d 75 6e 61 6d 65 2d |w-proces|s-uname-|
|00000c30| 73 77 69 74 63 68 65 73 | 20 22 2d 73 72 22 20 28 |switches| "-sr" (|
|00000c40| 23 24 20 2e 20 2d 33 30 | 32 33 29 29 0a 23 40 32 |#$ . -30|23)).#@2|
|00000c50| 30 20 2a 54 68 65 20 74 | 65 73 74 20 63 6f 6d 6d |0 *The t|est comm|
|00000c60| 61 6e 64 2e 1f 0a 28 64 | 65 66 76 61 72 20 56 69 |and...(d|efvar Vi|
|00000c70| 65 77 2d 70 72 6f 63 65 | 73 73 2d 74 65 73 74 2d |ew-proce|ss-test-|
|00000c80| 63 6f 6d 6d 61 6e 64 20 | 22 74 65 73 74 22 20 28 |command |"test" (|
|00000c90| 23 24 20 2e 20 2d 33 31 | 35 34 29 29 0a 28 6d 61 |#$ . -31|54)).(ma|
|00000ca0| 6b 65 2d 76 61 72 69 61 | 62 6c 65 2d 62 75 66 66 |ke-varia|ble-buff|
|00000cb0| 65 72 2d 6c 6f 63 61 6c | 20 27 56 69 65 77 2d 70 |er-local| 'View-p|
|00000cc0| 72 6f 63 65 73 73 2d 74 | 65 73 74 2d 63 6f 6d 6d |rocess-t|est-comm|
|00000cd0| 61 6e 64 29 0a 23 40 35 | 34 20 2a 53 77 69 74 63 |and).#@5|4 *Switc|
|00000ce0| 68 65 73 20 66 6f 72 20 | 74 65 73 74 2c 20 74 6f |hes for |test, to|
|00000cf0| 20 74 65 73 74 20 69 66 | 20 61 6e 20 65 78 65 63 | test if| an exec|
|00000d00| 75 74 61 62 6c 65 20 65 | 78 69 73 74 73 2e 1f 0a |utable e|xists...|
|00000d10| 28 64 65 66 76 61 72 20 | 56 69 65 77 2d 70 72 6f |(defvar |View-pro|
|00000d20| 63 65 73 73 2d 74 65 73 | 74 2d 73 77 69 74 63 68 |cess-tes|t-switch|
|00000d30| 65 73 20 22 2d 78 22 20 | 28 23 24 20 2e 20 2d 33 |es "-x" |(#$ . -3|
|00000d40| 32 39 30 29 29 0a 23 40 | 31 32 39 20 2a 54 68 65 |290)).#@|129 *The|
|00000d50| 20 75 70 74 69 6d 65 20 | 63 6f 6d 6d 61 6e 64 2e | uptime |command.|
|00000d60| 20 0a 4e 6f 20 69 64 65 | 61 20 61 74 20 74 68 65 | .No ide|a at the|
|00000d70| 20 6d 6f 6d 65 6e 74 2c | 20 69 66 20 74 68 69 73 | moment,| if this|
|00000d80| 20 65 78 69 73 74 73 20 | 6f 6e 20 61 6c 6c 20 73 | exists |on all s|
|00000d90| 79 73 74 65 6d 73 2e 0a | 49 74 20 73 68 6f 75 6c |ystems..|It shoul|
|00000da0| 64 20 72 65 74 75 72 6e | 20 73 6f 6d 65 20 69 6e |d return| some in|
|00000db0| 66 6f 72 6d 61 74 69 6f | 6e 73 20 6f 76 65 72 20 |formatio|ns over |
|00000dc0| 74 68 65 20 73 79 73 74 | 65 6d 2e 1f 0a 28 64 65 |the syst|em...(de|
|00000dd0| 66 76 61 72 20 56 69 65 | 77 2d 70 72 6f 63 65 73 |fvar Vie|w-proces|
|00000de0| 73 2d 75 70 74 69 6d 65 | 2d 63 6f 6d 6d 61 6e 64 |s-uptime|-command|
|00000df0| 20 22 75 70 74 69 6d 65 | 22 20 28 23 24 20 2e 20 | "uptime|" (#$ . |
|00000e00| 2d 33 34 30 34 29 29 0a | 28 6d 61 6b 65 2d 76 61 |-3404)).|(make-va|
|00000e10| 72 69 61 62 6c 65 2d 62 | 75 66 66 65 72 2d 6c 6f |riable-b|uffer-lo|
|00000e20| 63 61 6c 20 27 56 69 65 | 77 2d 70 72 6f 63 65 73 |cal 'Vie|w-proces|
|00000e30| 73 2d 75 70 74 69 6d 65 | 2d 63 6f 6d 6d 61 6e 64 |s-uptime|-command|
|00000e40| 29 0a 23 40 38 36 20 4e | 61 6d 65 20 6f 66 20 74 |).#@86 N|ame of t|
|00000e50| 68 65 20 6f 75 74 70 75 | 74 20 62 75 66 66 65 72 |he outpu|t buffer|
|00000e60| 20 66 6f 72 20 74 68 65 | 20 27 56 69 65 77 2d 70 | for the| 'View-p|
|00000e70| 72 6f 63 65 73 73 2d 6d | 6f 64 65 27 2e 0a 54 68 |rocess-m|ode'..Th|
|00000e80| 65 20 76 61 72 69 61 62 | 6c 65 20 69 73 20 62 75 |e variab|le is bu|
|00000e90| 66 66 65 72 20 6c 6f 63 | 61 6c 2e 1f 0a 28 64 65 |ffer loc|al...(de|
|00000ea0| 66 76 61 72 20 56 69 65 | 77 2d 70 72 6f 63 65 73 |fvar Vie|w-proces|
|00000eb0| 73 2d 62 75 66 66 65 72 | 2d 6e 61 6d 65 20 22 2a |s-buffer|-name "*|
|00000ec0| 70 73 2a 22 20 28 23 24 | 20 2e 20 33 36 35 35 29 |ps*" (#$| . 3655)|
|00000ed0| 29 0a 28 6d 61 6b 65 2d | 76 61 72 69 61 62 6c 65 |).(make-|variable|
|00000ee0| 2d 62 75 66 66 65 72 2d | 6c 6f 63 61 6c 20 27 56 |-buffer-|local 'V|
|00000ef0| 69 65 77 2d 70 72 6f 63 | 65 73 73 2d 62 75 66 66 |iew-proc|ess-buff|
|00000f00| 65 72 2d 6e 61 6d 65 29 | 0a 23 40 35 31 20 2a 54 |er-name)|.#@51 *T|
|00000f10| 68 69 73 20 68 6f 6f 6b | 20 69 73 20 72 75 6e 20 |his hook| is run |
|00000f20| 61 66 74 65 72 20 72 65 | 61 64 69 6e 67 20 69 6e |after re|ading in|
|00000f30| 20 74 68 65 20 70 72 6f | 63 65 73 73 65 73 2e 1f | the pro|cesses..|
|00000f40| 0a 28 64 65 66 76 61 72 | 20 56 69 65 77 2d 70 72 |.(defvar| View-pr|
|00000f50| 6f 63 65 73 73 2d 6d 6f | 64 65 2d 68 6f 6f 6b 20 |ocess-mo|de-hook |
|00000f60| 6e 69 6c 20 28 23 24 20 | 2e 20 2d 33 38 35 34 29 |nil (#$ |. -3854)|
|00000f70| 29 0a 23 40 39 38 20 2a | 49 66 20 6e 6f 6e 20 6e |).#@98 *|If non n|
|00000f80| 69 6c 2c 20 74 68 65 6e | 20 68 65 6c 70 20 6d 65 |il, then| help me|
|00000f90| 73 73 61 67 65 73 20 61 | 72 65 20 64 69 73 70 6c |ssages a|re displ|
|00000fa0| 61 79 65 64 20 64 75 72 | 69 6e 67 20 6d 6f 75 73 |ayed dur|ing mous|
|00000fb0| 65 20 6d 6f 74 69 6f 6e | 2e 0a 54 68 65 20 76 61 |e motion|..The va|
|00000fc0| 72 69 61 62 6c 65 20 69 | 73 20 62 75 66 66 65 72 |riable i|s buffer|
|00000fd0| 20 6c 6f 63 61 6c 2e 1f | 0a 28 64 65 66 76 61 72 | local..|.(defvar|
|00000fe0| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 6d 6f | View-pr|ocess-mo|
|00000ff0| 74 69 6f 6e 2d 68 65 6c | 70 20 74 20 28 23 24 20 |tion-hel|p t (#$ |
|00001000| 2e 20 2d 33 39 35 39 29 | 29 0a 28 6d 61 6b 65 2d |. -3959)|).(make-|
|00001010| 76 61 72 69 61 62 6c 65 | 2d 62 75 66 66 65 72 2d |variable|-buffer-|
|00001020| 6c 6f 63 61 6c 20 27 56 | 69 65 77 2d 70 72 6f 63 |local 'V|iew-proc|
|00001030| 65 73 73 2d 6d 6f 74 69 | 6f 6e 2d 68 65 6c 70 29 |ess-moti|on-help)|
|00001040| 0a 23 40 31 37 36 20 2a | 44 65 74 65 72 6d 69 6e |.#@176 *|Determin|
|00001050| 65 73 20 74 68 65 20 64 | 69 73 70 6c 61 79 20 74 |es the d|isplay t|
|00001060| 79 70 65 20 6f 66 20 74 | 68 65 20 60 56 69 65 77 |ype of t|he `View|
|00001070| 2d 70 72 6f 63 65 73 73 | 2d 6d 6f 64 65 27 2e 0a |-process|-mode'..|
|00001080| 49 66 20 69 74 20 69 73 | 20 6e 6f 6e 20 6e 69 6c |If it is| non nil|
|00001090| 2c 20 74 68 65 6e 20 32 | 20 77 69 6e 64 6f 77 73 |, then 2| windows|
|000010a0| 20 61 72 65 20 75 73 65 | 64 20 69 6e 73 74 65 61 | are use|d instea|
|000010b0| 64 20 6f 66 20 6f 6e 65 | 20 77 69 6e 64 6f 77 2e |d of one| window.|
|000010c0| 0a 49 6e 20 74 68 65 20 | 73 65 63 6f 6e 64 20 77 |.In the |second w|
|000010d0| 69 6e 64 6f 77 20 61 72 | 65 20 74 68 65 20 68 65 |indow ar|e the he|
|000010e0| 61 64 65 72 20 6c 69 6e | 65 73 20 64 69 73 70 6c |ader lin|es displ|
|000010f0| 61 79 65 64 2e 1f 0a 28 | 64 65 66 76 61 72 20 56 |ayed...(|defvar V|
|00001100| 69 65 77 2d 70 72 6f 63 | 65 73 73 2d 64 69 73 70 |iew-proc|ess-disp|
|00001110| 6c 61 79 2d 77 69 74 68 | 2d 32 2d 77 69 6e 64 6f |lay-with|-2-windo|
|00001120| 77 73 20 74 20 28 23 24 | 20 2e 20 2d 34 31 36 37 |ws t (#$| . -4167|
|00001130| 29 29 0a 23 40 37 32 20 | 2a 54 68 65 20 68 65 61 |)).#@72 |*The hea|
|00001140| 64 65 72 20 6c 69 6e 65 | 73 20 69 6e 20 74 68 65 |der line|s in the|
|00001150| 20 76 69 65 77 20 70 72 | 6f 63 65 73 73 65 73 20 | view pr|ocesses |
|00001160| 62 75 66 66 65 72 20 61 | 72 65 20 68 69 64 65 2c |buffer a|re hide,|
|00001170| 20 69 66 20 74 68 69 73 | 20 69 73 20 74 2e 1f 0a | if this| is t...|
|00001180| 28 64 65 66 76 61 72 20 | 56 69 65 77 2d 70 72 6f |(defvar |View-pro|
|00001190| 63 65 73 73 2d 68 69 64 | 65 2d 68 65 61 64 65 72 |cess-hid|e-header|
|000011a0| 20 74 20 28 23 24 20 2e | 20 2d 34 34 30 38 29 29 | t (#$ .| -4408))|
|000011b0| 0a 28 6d 61 6b 65 2d 76 | 61 72 69 61 62 6c 65 2d |.(make-v|ariable-|
|000011c0| 62 75 66 66 65 72 2d 6c | 6f 63 61 6c 20 27 56 69 |buffer-l|ocal 'Vi|
|000011d0| 65 77 2d 70 72 6f 63 65 | 73 73 2d 68 69 64 65 2d |ew-proce|ss-hide-|
|000011e0| 68 65 61 64 65 72 29 0a | 23 40 35 35 20 2a 54 72 |header).|#@55 *Tr|
|000011f0| 75 6e 63 61 74 65 73 20 | 74 68 65 20 6c 69 65 6e |uncates |the lien|
|00001200| 73 20 69 6e 20 74 68 65 | 20 76 69 65 77 20 70 72 |s in the| view pr|
|00001210| 6f 63 65 73 73 20 62 75 | 66 66 65 72 20 69 66 20 |ocess bu|ffer if |
|00001220| 74 2e 1f 0a 28 64 65 66 | 76 61 72 20 56 69 65 77 |t...(def|var View|
|00001230| 2d 70 72 6f 63 65 73 73 | 2d 74 72 75 6e 63 61 74 |-process|-truncat|
|00001240| 65 2d 6c 69 6e 65 73 20 | 74 20 28 23 24 20 2e 20 |e-lines |t (#$ . |
|00001250| 2d 34 35 38 39 29 29 0a | 28 6d 61 6b 65 2d 76 61 |-4589)).|(make-va|
|00001260| 72 69 61 62 6c 65 2d 62 | 75 66 66 65 72 2d 6c 6f |riable-b|uffer-lo|
|00001270| 63 61 6c 20 27 56 69 65 | 77 2d 70 72 6f 63 65 73 |cal 'Vie|w-proces|
|00001280| 73 2d 74 72 75 6e 63 61 | 74 65 2d 6c 69 6e 65 73 |s-trunca|te-lines|
|00001290| 29 0a 23 40 36 35 20 2a | 43 6f 6e 74 72 6f 6c 73 |).#@65 *|Controls|
|000012a0| 2c 20 77 68 65 74 68 65 | 72 20 73 68 6f 72 74 20 |, whethe|r short |
|000012b0| 6b 65 79 20 64 65 73 63 | 72 69 70 74 69 6f 6e 73 |key desc|riptions|
|000012c0| 20 61 72 65 20 64 69 73 | 70 6c 61 79 65 64 20 6f | are dis|played o|
|000012d0| 72 20 6e 6f 74 2e 1f 0a | 28 64 65 66 76 61 72 20 |r not...|(defvar |
|000012e0| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 64 69 73 |View-pro|cess-dis|
|000012f0| 70 6c 61 79 2d 73 68 6f | 72 74 2d 6b 65 79 2d 64 |play-sho|rt-key-d|
|00001300| 65 73 63 72 69 70 74 69 | 6f 6e 73 20 74 20 28 23 |escripti|ons t (#|
|00001310| 24 20 2e 20 2d 34 37 35 | 39 29 29 0a 23 40 35 32 |$ . -475|9)).#@52|
|00001320| 20 2a 43 6f 6e 74 72 6f | 6c 73 2c 20 77 68 65 74 | *Contro|ls, whet|
|00001330| 68 65 72 20 74 68 65 20 | 75 70 74 69 6d 65 20 69 |her the |uptime i|
|00001340| 73 20 64 69 73 70 6c 61 | 79 65 64 20 6f 72 20 6e |s displa|yed or n|
|00001350| 6f 74 2e 1f 0a 28 64 65 | 66 76 61 72 20 56 69 65 |ot...(de|fvar Vie|
|00001360| 77 2d 70 72 6f 63 65 73 | 73 2d 64 69 73 70 6c 61 |w-proces|s-displa|
|00001370| 79 2d 75 70 74 69 6d 65 | 20 74 20 28 23 24 20 2e |y-uptime| t (#$ .|
|00001380| 20 2d 34 38 39 37 29 29 | 0a 23 40 36 31 20 2a 44 | -4897))|.#@61 *D|
|00001390| 65 74 65 72 6d 69 6e 65 | 73 2c 20 69 66 20 74 68 |etermine|s, if th|
|000013a0| 65 20 60 66 6f 6e 74 2d | 6c 6f 63 6b 2d 6d 6f 64 |e `font-|lock-mod|
|000013b0| 65 27 20 73 68 6f 75 6c | 64 20 62 65 20 75 73 65 |e' shoul|d be use|
|000013c0| 64 20 6f 72 20 6e 6f 74 | 2e 1f 0a 28 64 65 66 76 |d or not|...(defv|
|000013d0| 61 72 20 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d |ar View-|process-|
|000013e0| 75 73 65 2d 66 6f 6e 74 | 2d 6c 6f 63 6b 20 74 20 |use-font|-lock t |
|000013f0| 28 23 24 20 2e 20 2d 35 | 30 30 36 29 29 0a 23 40 |(#$ . -5|006)).#@|
|00001400| 34 36 20 4f 66 66 73 65 | 74 20 66 6f 72 20 74 68 |46 Offse|t for th|
|00001410| 65 20 73 69 7a 65 20 6f | 66 20 74 68 65 20 70 73 |e size o|f the ps|
|00001420| 20 68 65 61 64 65 72 20 | 77 69 6e 64 6f 77 2e 1f | header |window..|
|00001430| 0a 28 64 65 66 76 61 72 | 20 56 69 65 77 2d 70 72 |.(defvar| View-pr|
|00001440| 6f 63 65 73 73 2d 70 73 | 2d 68 65 61 64 65 72 2d |ocess-ps|-header-|
|00001450| 77 69 6e 64 6f 77 2d 6f | 66 66 73 65 74 20 32 20 |window-o|ffset 2 |
|00001460| 28 23 24 20 2e 20 35 31 | 32 33 29 29 0a 23 40 37 |(#$ . 51|23)).#@7|
|00001470| 32 20 49 6e 74 65 72 6e | 61 6c 20 76 61 72 69 61 |2 Intern|al varia|
|00001480| 62 6c 65 2e 20 54 68 65 | 20 73 69 7a 65 20 6f 66 |ble. The| size of|
|00001490| 20 74 68 65 20 77 69 6e | 64 6f 77 20 77 69 74 68 | the win|dow with|
|000014a0| 20 74 68 65 20 2a 70 73 | 20 68 65 61 64 65 72 2a | the *ps| header*|
|000014b0| 20 62 75 66 66 65 72 2e | 1f 0a 28 64 65 66 76 61 | buffer.|..(defva|
|000014c0| 72 20 56 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 70 |r View-p|rocess-p|
|000014d0| 73 2d 68 65 61 64 65 72 | 2d 77 69 6e 64 6f 77 2d |s-header|-window-|
|000014e0| 73 69 7a 65 20 30 20 28 | 23 24 20 2e 20 35 32 33 |size 0 (|#$ . 523|
|000014f0| 34 29 29 0a 28 6d 61 6b | 65 2d 76 61 72 69 61 62 |4)).(mak|e-variab|
|00001500| 6c 65 2d 62 75 66 66 65 | 72 2d 6c 6f 63 61 6c 20 |le-buffe|r-local |
|00001510| 27 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 70 73 |'View-pr|ocess-ps|
|00001520| 2d 68 65 61 64 65 72 2d | 77 69 6e 64 6f 77 2d 73 |-header-|window-s|
|00001530| 69 7a 65 29 0a 23 40 35 | 31 20 49 6e 74 65 72 6e |ize).#@5|1 Intern|
|00001540| 61 6c 20 76 61 72 69 61 | 62 6c 65 2e 20 53 74 6f |al varia|ble. Sto|
|00001550| 70 73 20 6d 6f 74 69 6f | 6e 20 68 65 6c 70 20 74 |ps motio|n help t|
|00001560| 65 6d 70 6f 72 61 72 69 | 6c 79 2e 1f 0a 28 64 65 |emporari|ly...(de|
|00001570| 66 76 61 72 20 56 69 65 | 77 2d 70 72 6f 63 65 73 |fvar Vie|w-proces|
|00001580| 73 2d 73 74 6f 70 2d 6d | 6f 74 69 6f 6e 2d 68 65 |s-stop-m|otion-he|
|00001590| 6c 70 20 6e 69 6c 20 28 | 23 24 20 2e 20 35 34 33 |lp nil (|#$ . 543|
|000015a0| 34 29 29 0a 23 40 37 30 | 20 49 6e 74 65 72 6e 61 |4)).#@70| Interna|
|000015b0| 6c 20 76 61 72 69 61 62 | 6c 65 2e 20 41 20 6c 69 |l variab|le. A li|
|000015c0| 73 74 20 77 69 74 68 20 | 6c 69 6e 65 73 2c 20 77 |st with |lines, w|
|000015d0| 68 69 63 68 20 61 72 65 | 20 64 65 6c 65 74 65 64 |hich are| deleted|
|000015e0| 20 62 79 20 61 20 66 69 | 6c 74 65 72 2e 1f 0a 28 | by a fi|lter...(|
|000015f0| 64 65 66 76 61 72 20 56 | 69 65 77 2d 70 72 6f 63 |defvar V|iew-proc|
|00001600| 65 73 73 2d 64 65 6c 65 | 74 65 64 2d 6c 69 6e 65 |ess-dele|ted-line|
|00001610| 73 20 6e 69 6c 20 28 23 | 24 20 2e 20 35 35 34 35 |s nil (#|$ . 5545|
|00001620| 29 29 0a 28 6d 61 6b 65 | 2d 76 61 72 69 61 62 6c |)).(make|-variabl|
|00001630| 65 2d 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 20 27 |e-buffer|-local '|
|00001640| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 64 65 6c |View-pro|cess-del|
|00001650| 65 74 65 64 2d 6c 69 6e | 65 73 29 0a 23 40 34 31 |eted-lin|es).#@41|
|00001660| 20 4e 61 6d 65 20 6f 66 | 20 74 68 65 20 76 69 65 | Name of| the vie|
|00001670| 77 20 70 72 6f 63 65 73 | 73 20 68 65 61 64 65 72 |w proces|s header|
|00001680| 20 62 75 66 66 65 72 2e | 1f 0a 28 64 65 66 76 61 | buffer.|..(defva|
|00001690| 72 20 56 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 68 |r View-p|rocess-h|
|000016a0| 65 61 64 65 72 2d 62 75 | 66 66 65 72 2d 6e 61 6d |eader-bu|ffer-nam|
|000016b0| 65 20 22 2a 70 73 20 68 | 65 61 64 65 72 2a 22 20 |e "*ps h|eader*" |
|000016c0| 28 23 24 20 2e 20 35 37 | 32 39 29 29 0a 28 6d 61 |(#$ . 57|29)).(ma|
|000016d0| 6b 65 2d 76 61 72 69 61 | 62 6c 65 2d 62 75 66 66 |ke-varia|ble-buff|
|000016e0| 65 72 2d 6c 6f 63 61 6c | 20 27 56 69 65 77 2d 70 |er-local| 'View-p|
|000016f0| 72 6f 63 65 73 73 2d 68 | 65 61 64 65 72 2d 62 75 |rocess-h|eader-bu|
|00001700| 66 66 65 72 2d 6e 61 6d | 65 29 0a 23 40 34 31 20 |ffer-nam|e).#@41 |
|00001710| 4e 61 6d 65 20 6f 66 20 | 74 68 65 20 60 76 69 65 |Name of |the `vie|
|00001720| 77 20 70 72 6f 63 65 73 | 73 20 68 65 61 64 65 72 |w proces|s header|
|00001730| 20 6d 6f 64 65 27 2e 1f | 0a 28 64 65 66 76 61 72 | mode'..|.(defvar|
|00001740| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 68 65 | View-pr|ocess-he|
|00001750| 61 64 65 72 2d 6d 6f 64 | 65 2d 6e 61 6d 65 20 22 |ader-mod|e-name "|
|00001760| 70 73 68 65 61 64 65 72 | 22 20 28 23 24 20 2e 20 |psheader|" (#$ . |
|00001770| 35 39 30 34 29 29 0a 23 | 40 35 33 20 2a 54 68 69 |5904)).#|@53 *Thi|
|00001780| 73 20 68 6f 6f 6b 20 69 | 73 20 72 75 6e 20 61 66 |s hook i|s run af|
|00001790| 74 65 72 20 62 75 69 6c | 64 69 6e 67 20 74 68 65 |ter buil|ding the|
|000017a0| 20 68 65 61 64 65 72 20 | 62 75 66 66 65 72 2e 1f | header |buffer..|
|000017b0| 0a 28 64 65 66 76 61 72 | 20 56 69 65 77 2d 70 72 |.(defvar| View-pr|
|000017c0| 6f 63 65 73 73 2d 68 65 | 61 64 65 72 2d 6d 6f 64 |ocess-he|ader-mod|
|000017d0| 65 2d 68 6f 6f 6b 20 6e | 69 6c 20 28 23 24 20 2e |e-hook n|il (#$ .|
|000017e0| 20 2d 36 30 31 32 29 29 | 0a 23 40 31 31 33 20 74 | -6012))|.#@113 t|
|000017f0| 20 6d 65 61 6e 73 20 64 | 6f 20 6e 6f 74 20 64 69 | means d|o not di|
|00001800| 73 70 6c 61 79 20 6d 6f | 64 65 6c 69 6e 65 20 69 |splay mo|deline i|
|00001810| 6e 20 76 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 68 |n view-p|rocess-h|
|00001820| 65 61 64 65 72 2d 6d 6f | 64 65 2e 0a 54 68 69 73 |eader-mo|de..This|
|00001830| 20 64 6f 65 73 20 6f 6e | 6c 79 20 77 6f 72 6b 20 | does on|ly work |
|00001840| 69 6e 20 74 68 65 20 58 | 45 6d 61 63 73 20 31 39 |in the X|Emacs 19|
|00001850| 2e 31 32 20 6f 72 20 68 | 69 67 68 65 72 2e 1f 0a |.12 or h|igher...|
|00001860| 28 64 65 66 76 61 72 20 | 56 69 65 77 2d 70 72 6f |(defvar |View-pro|
|00001870| 63 65 73 73 2d 68 65 61 | 64 65 72 2d 6d 6f 64 65 |cess-hea|der-mode|
|00001880| 2d 6c 69 6e 65 2d 6f 66 | 66 20 74 20 28 23 24 20 |-line-of|f t (#$ |
|00001890| 2e 20 36 31 32 37 29 29 | 0a 23 40 32 35 30 20 2a |. 6127))|.#@250 *|
|000018a0| 54 68 65 20 68 65 61 64 | 65 72 20 6c 69 6e 65 20 |The head|er line |
|000018b0| 69 73 20 64 65 74 65 63 | 74 65 64 20 77 69 74 68 |is detec|ted with|
|000018c0| 20 74 68 65 20 68 65 6c | 70 20 6f 66 20 74 68 69 | the hel|p of thi|
|000018d0| 73 20 6c 69 73 74 2e 0a | 41 74 20 6c 65 61 73 74 |s list..|At least|
|000018e0| 20 6f 6e 65 20 6f 66 20 | 74 68 65 73 65 20 77 6f | one of |these wo|
|000018f0| 72 64 73 20 6d 75 73 74 | 20 62 65 20 69 6e 20 61 |rds must| be in a|
|00001900| 20 68 65 61 64 65 72 20 | 6c 69 6e 65 2e 20 4f 74 | header |line. Ot|
|00001910| 68 65 72 77 69 73 65 0a | 61 6e 20 65 72 72 6f 72 |herwise.|an error|
|00001920| 20 69 73 20 73 69 67 6e | 61 6c 65 64 2e 20 59 4f | is sign|aled. YO|
|00001930| 75 20 6d 75 73 74 20 6f | 6e 6c 79 20 63 68 61 6e |u must o|nly chan|
|00001940| 67 65 20 74 68 69 73 20 | 6c 69 73 74 2c 20 69 66 |ge this |list, if|
|00001950| 20 79 6f 75 72 20 70 73 | 0a 70 72 6f 64 69 63 65 | your ps|.prodice|
|00001960| 73 20 68 65 61 64 65 72 | 20 6c 69 6e 65 73 20 77 |s header| lines w|
|00001970| 69 74 68 20 73 74 72 69 | 6e 67 73 2c 20 74 68 61 |ith stri|ngs, tha|
|00001980| 74 20 61 72 65 20 6e 6f | 74 20 69 6e 20 74 68 69 |t are no|t in thi|
|00001990| 73 20 6c 69 73 74 2e 1f | 0a 28 64 65 66 76 61 72 |s list..|.(defvar|
|000019a0| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 68 65 | View-pr|ocess-he|
|000019b0| 61 64 65 72 2d 6c 69 6e | 65 2d 64 65 74 65 63 74 |ader-lin|e-detect|
|000019c0| 69 6f 6e 2d 6c 69 73 74 | 20 27 28 22 50 49 44 22 |ion-list| '("PID"|
|000019d0| 20 22 43 4f 4d 4d 41 4e | 44 22 20 22 43 4f 4d 44 | "COMMAN|D" "COMD|
|000019e0| 22 20 22 43 4d 44 22 29 | 20 28 23 24 20 2e 20 2d |" "CMD")| (#$ . -|
|000019f0| 36 33 30 33 29 29 0a 23 | 40 33 39 20 2a 42 61 63 |6303)).#|@39 *Bac|
|00001a00| 6b 67 72 6f 75 6e 64 20 | 63 6f 6c 6f 72 20 6f 66 |kground |color of|
|00001a10| 20 74 68 65 20 68 65 61 | 64 65 72 20 6c 69 6e 65 | the hea|der line|
|00001a20| 2e 1f 0a 28 64 65 66 76 | 61 72 20 56 69 65 77 2d |...(defv|ar View-|
|00001a30| 70 72 6f 63 65 73 73 2d | 68 65 61 64 65 72 2d 6c |process-|header-l|
|00001a40| 69 6e 65 2d 62 61 63 6b | 67 72 6f 75 6e 64 20 22 |ine-back|ground "|
|00001a50| 79 65 6c 6c 6f 77 22 20 | 28 23 24 20 2e 20 2d 36 |yellow" |(#$ . -6|
|00001a60| 36 35 32 29 29 0a 23 40 | 33 39 20 2a 46 6f 72 65 |652)).#@|39 *Fore|
|00001a70| 67 72 6f 75 6e 64 20 63 | 6f 6c 6f 72 20 6f 66 20 |ground c|olor of |
|00001a80| 74 68 65 20 68 65 61 64 | 65 72 20 6c 69 6e 65 2e |the head|er line.|
|00001a90| 1f 0a 28 64 65 66 76 61 | 72 20 56 69 65 77 2d 70 |..(defva|r View-p|
|00001aa0| 72 6f 63 65 73 73 2d 68 | 65 61 64 65 72 2d 6c 69 |rocess-h|eader-li|
|00001ab0| 6e 65 2d 66 6f 72 65 67 | 72 6f 75 6e 64 20 22 62 |ne-foreg|round "b|
|00001ac0| 6c 75 65 22 20 28 23 24 | 20 2e 20 2d 36 37 36 33 |lue" (#$| . -6763|
|00001ad0| 29 29 0a 23 40 32 36 20 | 2a 46 6f 6e 74 20 6f 66 |)).#@26 |*Font of|
|00001ae0| 20 74 68 65 20 68 65 61 | 64 65 72 20 6c 69 6e 65 | the hea|der line|
|00001af0| 1f 0a 28 64 65 66 76 61 | 72 20 56 69 65 77 2d 70 |..(defva|r View-p|
|00001b00| 72 6f 63 65 73 73 2d 68 | 65 61 64 65 72 2d 6c 69 |rocess-h|eader-li|
|00001b10| 6e 65 2d 66 6f 6e 74 20 | 28 66 61 63 65 2d 66 6f |ne-font |(face-fo|
|00001b20| 6e 74 20 27 62 6f 6c 64 | 29 20 28 23 24 20 2e 20 |nt 'bold|) (#$ . |
|00001b30| 2d 36 38 37 32 29 29 0a | 23 40 34 36 20 2a 54 2c |-6872)).|#@46 *T,|
|00001b40| 20 69 66 20 74 68 65 20 | 68 65 61 64 65 72 20 6c | if the |header l|
|00001b50| 69 6e 65 20 73 68 6f 75 | 6c 64 20 62 65 20 75 6e |ine shou|ld be un|
|00001b60| 64 65 72 6c 69 6e 65 64 | 2e 1f 0a 28 64 65 66 76 |derlined|...(defv|
|00001b70| 61 72 20 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d |ar View-|process-|
|00001b80| 68 65 61 64 65 72 2d 6c | 69 6e 65 2d 75 6e 64 65 |header-l|ine-unde|
|00001b90| 72 6c 69 6e 65 2d 70 20 | 74 20 28 23 24 20 2e 20 |rline-p |t (#$ . |
|00001ba0| 2d 36 39 37 33 29 29 0a | 23 40 35 36 20 2a 41 20 |-6973)).|#@56 *A |
|00001bb0| 63 68 61 72 61 63 74 65 | 72 20 77 69 74 68 20 73 |characte|r with s|
|00001bc0| 70 65 63 69 66 69 65 73 | 2c 20 74 68 61 74 20 61 |pecifies|, that a|
|00001bd0| 20 6c 69 6e 65 20 69 73 | 6e 27 74 20 6d 61 72 6b | line is|n't mark|
|00001be0| 65 64 2e 1f 0a 28 64 65 | 66 76 61 72 20 56 69 65 |ed...(de|fvar Vie|
|00001bf0| 77 2d 70 72 6f 63 65 73 | 73 2d 6e 6f 2d 6d 61 72 |w-proces|s-no-mar|
|00001c00| 6b 20 3f 5c 5f 20 28 23 | 24 20 2e 20 2d 37 30 38 |k ?\_ (#|$ . -708|
|00001c10| 35 29 29 0a 23 40 36 37 | 20 2a 42 61 63 6b 67 72 |5)).#@67| *Backgr|
|00001c20| 6f 75 6e 64 20 63 6f 6c | 6f 72 20 6f 66 20 74 68 |ound col|or of th|
|00001c30| 65 20 6c 69 6e 65 20 77 | 69 74 68 20 61 20 73 69 |e line w|ith a si|
|00001c40| 67 6e 61 6c 65 64 20 6f | 72 20 72 65 6e 69 63 65 |gnaled o|r renice|
|00001c50| 64 20 70 72 6f 63 65 73 | 73 2e 1f 0a 28 64 65 66 |d proces|s...(def|
|00001c60| 76 61 72 20 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |var View|-process|
|00001c70| 2d 73 69 67 6e 61 6c 65 | 64 2d 6c 69 6e 65 2d 62 |-signale|d-line-b|
|00001c80| 61 63 6b 67 72 6f 75 6e | 64 20 6e 69 6c 20 28 23 |ackgroun|d nil (#|
|00001c90| 24 20 2e 20 2d 37 31 39 | 33 29 29 0a 23 40 36 37 |$ . -719|3)).#@67|
|00001ca0| 20 2a 46 6f 72 65 67 72 | 6f 75 6e 64 20 63 6f 6c | *Foregr|ound col|
|00001cb0| 6f 72 20 6f 66 20 74 68 | 65 20 6c 69 6e 65 20 77 |or of th|e line w|
|00001cc0| 69 74 68 20 61 20 73 69 | 67 6e 61 6c 65 64 20 6f |ith a si|gnaled o|
|00001cd0| 72 20 72 65 6e 69 63 65 | 64 20 70 72 6f 63 65 73 |r renice|d proces|
|00001ce0| 73 2e 1f 0a 28 64 65 66 | 76 61 72 20 56 69 65 77 |s...(def|var View|
|00001cf0| 2d 70 72 6f 63 65 73 73 | 2d 73 69 67 6e 61 6c 65 |-process|-signale|
|00001d00| 64 2d 6c 69 6e 65 2d 66 | 6f 72 65 67 72 6f 75 6e |d-line-f|oregroun|
|00001d10| 64 20 22 67 72 65 79 38 | 30 22 20 28 23 24 20 2e |d "grey8|0" (#$ .|
|00001d20| 20 2d 37 33 32 39 29 29 | 0a 23 40 35 35 20 2a 46 | -7329))|.#@55 *F|
|00001d30| 6f 6e 74 20 6f 66 20 74 | 68 65 20 6c 69 6e 65 20 |ont of t|he line |
|00001d40| 77 69 74 68 20 61 20 73 | 69 67 6e 61 6c 65 64 20 |with a s|ignaled |
|00001d50| 6f 72 20 72 65 6e 69 63 | 65 64 20 70 72 6f 63 65 |or renic|ed proce|
|00001d60| 73 73 2e 1f 0a 28 64 65 | 66 76 61 72 20 56 69 65 |ss...(de|fvar Vie|
|00001d70| 77 2d 70 72 6f 63 65 73 | 73 2d 73 69 67 6e 61 6c |w-proces|s-signal|
|00001d80| 65 64 2d 6c 69 6e 65 2d | 66 6f 6e 74 20 28 66 61 |ed-line-|font (fa|
|00001d90| 63 65 2d 66 6f 6e 74 20 | 27 69 74 61 6c 69 63 29 |ce-font |'italic)|
|00001da0| 20 28 23 24 20 2e 20 2d | 37 34 37 30 29 29 0a 23 | (#$ . -|7470)).#|
|00001db0| 40 35 30 20 2a 54 2c 20 | 69 66 20 74 68 65 20 22 |@50 *T, |if the "|
|00001dc0| 73 69 67 6e 61 6c 65 64 | 20 6c 69 6e 65 22 20 73 |signaled| line" s|
|00001dd0| 68 6f 75 6c 64 20 62 65 | 20 75 6e 64 65 72 6c 69 |hould be| underli|
|00001de0| 6e 65 64 2e 1f 0a 28 64 | 65 66 76 61 72 20 56 69 |ned...(d|efvar Vi|
|00001df0| 65 77 2d 70 72 6f 63 65 | 73 73 2d 73 69 67 6e 61 |ew-proce|ss-signa|
|00001e00| 6c 65 64 2d 6c 69 6e 65 | 2d 75 6e 64 65 72 6c 69 |led-line|-underli|
|00001e10| 6e 65 2d 70 20 6e 69 6c | 20 28 23 24 20 2e 20 2d |ne-p nil| (#$ . -|
|00001e20| 37 36 30 34 29 29 0a 23 | 40 36 31 20 2a 41 20 63 |7604)).#|@61 *A c|
|00001e30| 68 61 72 61 63 74 65 72 | 2c 20 77 68 69 63 68 20 |haracter|, which |
|00001e40| 69 73 20 75 73 65 64 20 | 61 73 20 61 20 6d 61 72 |is used |as a mar|
|00001e50| 6b 20 66 6f 72 20 22 73 | 69 67 6e 61 6c 65 64 20 |k for "s|ignaled |
|00001e60| 6c 69 6e 65 73 22 2e 1f | 0a 28 64 65 66 76 61 72 |lines"..|.(defvar|
|00001e70| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 73 69 | View-pr|ocess-si|
|00001e80| 67 6e 61 6c 65 64 2d 6c | 69 6e 65 2d 6d 61 72 6b |gnaled-l|ine-mark|
|00001e90| 20 3f 73 20 28 23 24 20 | 2e 20 2d 37 37 32 34 29 | ?s (#$ |. -7724)|
|00001ea0| 29 0a 23 40 37 34 20 2a | 42 61 63 6b 67 72 6f 75 |).#@74 *|Backgrou|
|00001eb0| 6e 64 20 63 6f 6c 6f 72 | 20 6f 66 20 74 68 65 20 |nd color| of the |
|00001ec0| 6c 69 6e 65 20 77 69 74 | 68 20 74 68 65 20 70 72 |line wit|h the pr|
|00001ed0| 6f 63 65 73 73 20 77 68 | 69 63 68 20 73 68 6f 75 |ocess wh|ich shou|
|00001ee0| 6c 64 20 62 65 20 73 69 | 67 6e 61 6c 65 64 2e 1f |ld be si|gnaled..|
|00001ef0| 0a 28 64 65 66 76 61 72 | 20 56 69 65 77 2d 70 72 |.(defvar| View-pr|
|00001f00| 6f 63 65 73 73 2d 73 69 | 67 6e 61 6c 2d 6c 69 6e |ocess-si|gnal-lin|
|00001f10| 65 2d 62 61 63 6b 67 72 | 6f 75 6e 64 20 6e 69 6c |e-backgr|ound nil|
|00001f20| 20 28 23 24 20 2e 20 2d | 37 38 34 37 29 29 0a 23 | (#$ . -|7847)).#|
|00001f30| 40 37 34 20 2a 46 6f 72 | 65 67 72 6f 75 6e 64 20 |@74 *For|eground |
|00001f40| 63 6f 6c 6f 72 20 6f 66 | 20 74 68 65 20 6c 69 6e |color of| the lin|
|00001f50| 65 20 77 69 74 68 20 74 | 68 65 20 70 72 6f 63 65 |e with t|he proce|
|00001f60| 73 73 20 77 68 69 63 68 | 20 73 68 6f 75 6c 64 20 |ss which| should |
|00001f70| 62 65 20 73 69 67 6e 61 | 6c 65 64 2e 1f 0a 28 64 |be signa|led...(d|
|00001f80| 65 66 76 61 72 20 56 69 | 65 77 2d 70 72 6f 63 65 |efvar Vi|ew-proce|
|00001f90| 73 73 2d 73 69 67 6e 61 | 6c 2d 6c 69 6e 65 2d 66 |ss-signa|l-line-f|
|00001fa0| 6f 72 65 67 72 6f 75 6e | 64 20 22 72 65 64 22 20 |oregroun|d "red" |
|00001fb0| 28 23 24 20 2e 20 2d 37 | 39 38 38 29 29 0a 23 40 |(#$ . -7|988)).#@|
|00001fc0| 36 32 20 2a 46 6f 6e 74 | 20 6f 66 20 74 68 65 20 |62 *Font| of the |
|00001fd0| 6c 69 6e 65 20 77 69 74 | 68 20 74 68 65 20 70 72 |line wit|h the pr|
|00001fe0| 6f 63 65 73 73 20 77 68 | 69 63 68 20 73 68 6f 75 |ocess wh|ich shou|
|00001ff0| 6c 64 20 62 65 20 73 69 | 67 6e 61 6c 65 64 2e 1f |ld be si|gnaled..|
|00002000| 0a 28 64 65 66 76 61 72 | 20 56 69 65 77 2d 70 72 |.(defvar| View-pr|
|00002010| 6f 63 65 73 73 2d 73 69 | 67 6e 61 6c 2d 6c 69 6e |ocess-si|gnal-lin|
|00002020| 65 2d 66 6f 6e 74 20 28 | 66 61 63 65 2d 66 6f 6e |e-font (|face-fon|
|00002030| 74 20 27 62 6f 6c 64 29 | 20 28 23 24 20 2e 20 2d |t 'bold)| (#$ . -|
|00002040| 38 31 33 31 29 29 0a 23 | 40 34 38 20 2a 54 2c 20 |8131)).#|@48 *T, |
|00002050| 69 66 20 74 68 65 20 22 | 73 69 67 6e 61 6c 20 6c |if the "|signal l|
|00002060| 69 6e 65 22 20 73 68 6f | 75 6c 64 20 62 65 20 75 |ine" sho|uld be u|
|00002070| 6e 64 65 72 6c 69 6e 65 | 64 2e 1f 0a 28 64 65 66 |nderline|d...(def|
|00002080| 76 61 72 20 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |var View|-process|
|00002090| 2d 73 69 67 6e 61 6c 2d | 6c 69 6e 65 2d 75 6e 64 |-signal-|line-und|
|000020a0| 65 72 6c 69 6e 65 2d 70 | 20 6e 69 6c 20 28 23 24 |erline-p| nil (#$|
|000020b0| 20 2e 20 2d 38 32 36 38 | 29 29 0a 23 40 35 39 20 | . -8268|)).#@59 |
|000020c0| 2a 41 20 63 68 61 72 61 | 63 74 65 72 2c 20 77 68 |*A chara|cter, wh|
|000020d0| 69 63 68 20 69 73 20 75 | 73 65 64 20 61 73 20 61 |ich is u|sed as a|
|000020e0| 20 6d 61 72 6b 20 66 6f | 72 20 22 73 69 67 6e 61 | mark fo|r "signa|
|000020f0| 6c 20 6c 69 6e 65 73 22 | 2e 1f 0a 28 64 65 66 76 |l lines"|...(defv|
|00002100| 61 72 20 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d |ar View-|process-|
|00002110| 73 69 67 6e 61 6c 2d 6c | 69 6e 65 2d 6d 61 72 6b |signal-l|ine-mark|
|00002120| 20 3f 4b 20 28 23 24 20 | 2e 20 2d 38 33 38 34 29 | ?K (#$ |. -8384)|
|00002130| 29 0a 23 40 37 33 20 2a | 42 61 63 6b 67 72 6f 75 |).#@73 *|Backgrou|
|00002140| 6e 64 20 63 6f 6c 6f 72 | 20 6f 66 20 74 68 65 20 |nd color| of the |
|00002150| 6c 69 6e 65 20 77 69 74 | 68 20 74 68 65 20 70 72 |line wit|h the pr|
|00002160| 6f 63 65 73 73 20 77 68 | 69 63 68 20 73 68 6f 75 |ocess wh|ich shou|
|00002170| 6c 64 20 62 65 20 72 65 | 6e 69 63 65 64 2e 1f 0a |ld be re|niced...|
|00002180| 28 64 65 66 76 61 72 20 | 56 69 65 77 2d 70 72 6f |(defvar |View-pro|
|00002190| 63 65 73 73 2d 72 65 6e | 69 63 65 2d 6c 69 6e 65 |cess-ren|ice-line|
|000021a0| 2d 62 61 63 6b 67 72 6f | 75 6e 64 20 6e 69 6c 20 |-backgro|und nil |
|000021b0| 28 23 24 20 2e 20 2d 38 | 35 30 33 29 29 0a 23 40 |(#$ . -8|503)).#@|
|000021c0| 37 33 20 2a 46 6f 72 65 | 67 72 6f 75 6e 64 20 63 |73 *Fore|ground c|
|000021d0| 6f 6c 6f 72 20 6f 66 20 | 74 68 65 20 6c 69 6e 65 |olor of |the line|
|000021e0| 20 77 69 74 68 20 74 68 | 65 20 70 72 6f 63 65 73 | with th|e proces|
|000021f0| 73 20 77 68 69 63 68 20 | 73 68 6f 75 6c 64 20 62 |s which |should b|
|00002200| 65 20 72 65 6e 69 63 65 | 64 2e 1f 0a 28 64 65 66 |e renice|d...(def|
|00002210| 76 61 72 20 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |var View|-process|
|00002220| 2d 72 65 6e 69 63 65 2d | 6c 69 6e 65 2d 66 6f 72 |-renice-|line-for|
|00002230| 65 67 72 6f 75 6e 64 20 | 22 72 65 64 22 20 28 23 |eground |"red" (#|
|00002240| 24 20 2e 20 2d 38 36 34 | 33 29 29 0a 23 40 36 31 |$ . -864|3)).#@61|
|00002250| 20 2a 46 6f 6e 74 20 6f | 66 20 74 68 65 20 6c 69 | *Font o|f the li|
|00002260| 6e 65 20 77 69 74 68 20 | 74 68 65 20 70 72 6f 63 |ne with |the proc|
|00002270| 65 73 73 20 77 68 69 63 | 68 20 73 68 6f 75 6c 64 |ess whic|h should|
|00002280| 20 62 65 20 72 65 6e 69 | 63 65 64 2e 1f 0a 28 64 | be reni|ced...(d|
|00002290| 65 66 76 61 72 20 56 69 | 65 77 2d 70 72 6f 63 65 |efvar Vi|ew-proce|
|000022a0| 73 73 2d 72 65 6e 69 63 | 65 2d 6c 69 6e 65 2d 66 |ss-renic|e-line-f|
|000022b0| 6f 6e 74 20 28 66 61 63 | 65 2d 66 6f 6e 74 20 27 |ont (fac|e-font '|
|000022c0| 62 6f 6c 64 29 20 28 23 | 24 20 2e 20 2d 38 37 38 |bold) (#|$ . -878|
|000022d0| 35 29 29 0a 23 40 34 38 | 20 2a 54 2c 20 69 66 20 |5)).#@48| *T, if |
|000022e0| 74 68 65 20 22 72 65 6e | 69 63 65 20 6c 69 6e 65 |the "ren|ice line|
|000022f0| 22 20 73 68 6f 75 6c 64 | 20 62 65 20 75 6e 64 65 |" should| be unde|
|00002300| 72 6c 69 6e 65 64 2e 1f | 0a 28 64 65 66 76 61 72 |rlined..|.(defvar|
|00002310| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 72 65 | View-pr|ocess-re|
|00002320| 6e 69 63 65 2d 6c 69 6e | 65 2d 75 6e 64 65 72 6c |nice-lin|e-underl|
|00002330| 69 6e 65 2d 70 20 6e 69 | 6c 20 28 23 24 20 2e 20 |ine-p ni|l (#$ . |
|00002340| 2d 38 39 32 31 29 29 0a | 23 40 35 39 20 2a 41 20 |-8921)).|#@59 *A |
|00002350| 63 68 61 72 61 63 74 65 | 72 2c 20 77 68 69 63 68 |characte|r, which|
|00002360| 20 69 73 20 75 73 65 64 | 20 61 73 20 61 20 6d 61 | is used| as a ma|
|00002370| 72 6b 20 66 6f 72 20 22 | 72 65 6e 69 63 65 20 6c |rk for "|renice l|
|00002380| 69 6e 65 73 22 2e 1f 0a | 28 64 65 66 76 61 72 20 |ines"...|(defvar |
|00002390| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 72 65 6e |View-pro|cess-ren|
|000023a0| 69 63 65 2d 6c 69 6e 65 | 2d 6d 61 72 6b 20 3f 4e |ice-line|-mark ?N|
|000023b0| 20 28 23 24 20 2e 20 2d | 39 30 33 37 29 29 0a 23 | (#$ . -|9037)).#|
|000023c0| 40 35 31 20 2a 42 61 63 | 6b 67 72 6f 75 6e 64 20 |@51 *Bac|kground |
|000023d0| 63 6f 6c 6f 72 20 6f 66 | 20 61 20 6c 69 6e 65 20 |color of| a line |
|000023e0| 77 69 74 68 20 61 20 63 | 68 69 6c 64 20 70 72 6f |with a c|hild pro|
|000023f0| 63 65 73 73 2e 1f 0a 28 | 64 65 66 76 61 72 20 56 |cess...(|defvar V|
|00002400| 69 65 77 2d 70 72 6f 63 | 65 73 73 2d 63 68 69 6c |iew-proc|ess-chil|
|00002410| 64 2d 6c 69 6e 65 2d 62 | 61 63 6b 67 72 6f 75 6e |d-line-b|ackgroun|
|00002420| 64 20 6e 69 6c 20 28 23 | 24 20 2e 20 2d 39 31 35 |d nil (#|$ . -915|
|00002430| 36 29 29 0a 23 40 35 31 | 20 2a 46 6f 72 65 67 72 |6)).#@51| *Foregr|
|00002440| 6f 75 6e 64 20 63 6f 6c | 6f 72 20 6f 66 20 61 20 |ound col|or of a |
|00002450| 6c 69 6e 65 20 77 69 74 | 68 20 61 20 63 68 69 6c |line wit|h a chil|
|00002460| 64 20 70 72 6f 63 65 73 | 73 2e 1f 0a 28 64 65 66 |d proces|s...(def|
|00002470| 76 61 72 20 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |var View|-process|
|00002480| 2d 63 68 69 6c 64 2d 6c | 69 6e 65 2d 66 6f 72 65 |-child-l|ine-fore|
|00002490| 67 72 6f 75 6e 64 20 22 | 64 61 72 6b 76 69 6f 6c |ground "|darkviol|
|000024a0| 65 74 22 20 28 23 24 20 | 2e 20 2d 39 32 37 33 29 |et" (#$ |. -9273)|
|000024b0| 29 0a 23 40 34 35 20 2a | 46 6f 6e 74 20 63 6f 6c |).#@45 *|Font col|
|000024c0| 6f 72 20 6f 66 20 61 20 | 6c 69 6e 65 20 77 69 74 |or of a |line wit|
|000024d0| 68 20 61 20 63 68 69 6c | 64 20 70 72 6f 63 65 73 |h a chil|d proces|
|000024e0| 73 2e 1f 0a 28 64 65 66 | 76 61 72 20 56 69 65 77 |s...(def|var View|
|000024f0| 2d 70 72 6f 63 65 73 73 | 2d 63 68 69 6c 64 2d 6c |-process|-child-l|
|00002500| 69 6e 65 2d 66 6f 6e 74 | 20 28 66 61 63 65 2d 66 |ine-font| (face-f|
|00002510| 6f 6e 74 20 27 69 74 61 | 6c 69 63 29 20 28 23 24 |ont 'ita|lic) (#$|
|00002520| 20 2e 20 2d 39 33 39 39 | 29 29 0a 23 40 36 32 20 | . -9399|)).#@62 |
|00002530| 2a 54 2c 20 69 66 20 74 | 68 65 20 22 6c 69 6e 65 |*T, if t|he "line|
|00002540| 20 77 69 74 68 20 61 20 | 63 68 69 6c 64 20 70 72 | with a |child pr|
|00002550| 6f 63 65 73 73 22 20 73 | 68 6f 75 6c 64 20 62 65 |ocess" s|hould be|
|00002560| 20 75 6e 64 65 72 6c 69 | 6e 65 64 2e 1f 0a 28 64 | underli|ned...(d|
|00002570| 65 66 76 61 72 20 56 69 | 65 77 2d 70 72 6f 63 65 |efvar Vi|ew-proce|
|00002580| 73 73 2d 63 68 69 6c 64 | 2d 6c 69 6e 65 2d 75 6e |ss-child|-line-un|
|00002590| 64 65 72 6c 69 6e 65 2d | 70 20 6e 69 6c 20 28 23 |derline-|p nil (#|
|000025a0| 24 20 2e 20 2d 39 35 32 | 30 29 29 0a 23 40 36 30 |$ . -952|0)).#@60|
|000025b0| 20 2a 41 20 63 68 61 72 | 61 63 74 65 72 2c 20 77 | *A char|acter, w|
|000025c0| 68 69 63 68 20 69 73 20 | 75 73 65 64 20 61 73 20 |hich is |used as |
|000025d0| 61 20 6d 61 72 6b 20 66 | 6f 72 20 63 68 69 6c 64 |a mark f|or child|
|000025e0| 20 70 72 6f 63 65 73 73 | 65 73 2e 1f 0a 28 64 65 | process|es...(de|
|000025f0| 66 76 61 72 20 56 69 65 | 77 2d 70 72 6f 63 65 73 |fvar Vie|w-proces|
|00002600| 73 2d 63 68 69 6c 64 2d | 6c 69 6e 65 2d 6d 61 72 |s-child-|line-mar|
|00002610| 6b 20 3f 43 20 28 23 24 | 20 2e 20 2d 39 36 34 39 |k ?C (#$| . -9649|
|00002620| 29 29 0a 23 40 35 32 20 | 2a 42 61 63 6b 67 72 6f |)).#@52 |*Backgro|
|00002630| 75 6e 64 20 63 6f 6c 6f | 72 20 6f 66 20 61 20 6c |und colo|r of a l|
|00002640| 69 6e 65 20 77 69 74 68 | 20 61 20 70 61 72 65 6e |ine with| a paren|
|00002650| 74 20 70 72 6f 63 65 73 | 73 2e 1f 0a 28 64 65 66 |t proces|s...(def|
|00002660| 76 61 72 20 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |var View|-process|
|00002670| 2d 70 61 72 65 6e 74 2d | 6c 69 6e 65 2d 62 61 63 |-parent-|line-bac|
|00002680| 6b 67 72 6f 75 6e 64 20 | 22 4c 69 67 68 74 42 6c |kground |"LightBl|
|00002690| 75 65 22 20 28 23 24 20 | 2e 20 2d 39 37 36 38 29 |ue" (#$ |. -9768)|
|000026a0| 29 0a 23 40 35 32 20 2a | 46 6f 72 65 67 72 6f 75 |).#@52 *|Foregrou|
|000026b0| 6e 64 20 63 6f 6c 6f 72 | 20 6f 66 20 61 20 6c 69 |nd color| of a li|
|000026c0| 6e 65 20 77 69 74 68 20 | 61 20 70 61 72 65 6e 74 |ne with |a parent|
|000026d0| 20 70 72 6f 63 65 73 73 | 2e 1f 0a 28 64 65 66 76 | process|...(defv|
|000026e0| 61 72 20 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d |ar View-|process-|
|000026f0| 70 61 72 65 6e 74 2d 6c | 69 6e 65 2d 66 6f 72 65 |parent-l|ine-fore|
|00002700| 67 72 6f 75 6e 64 20 22 | 64 61 72 6b 76 69 6f 6c |ground "|darkviol|
|00002710| 65 74 22 20 28 23 24 20 | 2e 20 2d 39 38 39 35 29 |et" (#$ |. -9895)|
|00002720| 29 0a 23 40 34 37 20 2a | 46 6f 6e 74 20 20 63 6f |).#@47 *|Font co|
|00002730| 6c 6f 72 20 6f 66 20 61 | 20 6c 69 6e 65 20 77 69 |lor of a| line wi|
|00002740| 74 68 20 61 20 70 61 72 | 65 6e 74 20 70 72 6f 63 |th a par|ent proc|
|00002750| 65 73 73 2e 1f 0a 28 64 | 65 66 76 61 72 20 56 69 |ess...(d|efvar Vi|
|00002760| 65 77 2d 70 72 6f 63 65 | 73 73 2d 70 61 72 65 6e |ew-proce|ss-paren|
|00002770| 74 2d 6c 69 6e 65 2d 66 | 6f 6e 74 20 28 66 61 63 |t-line-f|ont (fac|
|00002780| 65 2d 66 6f 6e 74 20 27 | 62 6f 6c 64 29 20 28 23 |e-font '|bold) (#|
|00002790| 24 20 2e 20 2d 31 30 30 | 32 33 29 29 0a 23 40 35 |$ . -100|23)).#@5|
|000027a0| 35 20 2a 54 2c 20 69 66 | 20 74 68 65 20 22 6c 69 |5 *T, if| the "li|
|000027b0| 6e 65 20 77 69 74 68 20 | 61 20 70 61 72 65 6e 74 |ne with |a parent|
|000027c0| 22 20 73 68 6f 75 6c 64 | 20 62 65 20 75 6e 64 65 |" should| be unde|
|000027d0| 72 6c 69 6e 65 64 2e 1f | 0a 28 64 65 66 76 61 72 |rlined..|.(defvar|
|000027e0| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 70 61 | View-pr|ocess-pa|
|000027f0| 72 65 6e 74 2d 6c 69 6e | 65 2d 75 6e 64 65 72 6c |rent-lin|e-underl|
|00002800| 69 6e 65 2d 70 20 74 20 | 28 23 24 20 2e 20 2d 31 |ine-p t |(#$ . -1|
|00002810| 30 31 34 36 29 29 0a 23 | 40 36 31 20 2a 41 20 63 |0146)).#|@61 *A c|
|00002820| 68 61 72 61 63 74 65 72 | 2c 20 77 68 69 63 68 20 |haracter|, which |
|00002830| 69 73 20 75 73 65 64 20 | 61 73 20 61 20 6d 61 72 |is used |as a mar|
|00002840| 6b 20 66 6f 72 20 70 61 | 72 65 6e 74 20 70 72 6f |k for pa|rent pro|
|00002850| 63 65 73 73 65 73 2e 1f | 0a 28 64 65 66 76 61 72 |cesses..|.(defvar|
|00002860| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 70 61 | View-pr|ocess-pa|
|00002870| 72 65 6e 74 2d 6c 69 6e | 65 2d 6d 61 72 6b 20 3f |rent-lin|e-mark ?|
|00002880| 50 20 28 23 24 20 2e 20 | 2d 31 30 32 36 38 29 29 |P (#$ . |-10268))|
|00002890| 0a 23 40 35 34 20 2a 42 | 61 63 6b 67 72 6f 75 6e |.#@54 *B|ackgroun|
|000028a0| 64 20 63 6f 6c 6f 72 20 | 6f 66 20 61 20 6c 69 6e |d color |of a lin|
|000028b0| 65 20 77 69 74 68 20 61 | 20 73 69 6e 67 6c 65 20 |e with a| single |
|000028c0| 6c 69 6e 65 20 6d 61 72 | 6b 2e 1f 0a 28 64 65 66 |line mar|k...(def|
|000028d0| 76 61 72 20 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |var View|-process|
|000028e0| 2d 73 69 6e 67 6c 65 2d | 6c 69 6e 65 2d 62 61 63 |-single-|line-bac|
|000028f0| 6b 67 72 6f 75 6e 64 20 | 6e 69 6c 20 28 23 24 20 |kground |nil (#$ |
|00002900| 2e 20 2d 31 30 33 39 30 | 29 29 0a 23 40 35 34 20 |. -10390|)).#@54 |
|00002910| 2a 46 6f 72 65 67 72 6f | 75 6e 64 20 63 6f 6c 6f |*Foregro|und colo|
|00002920| 72 20 6f 66 20 61 20 6c | 69 6e 65 20 77 69 74 68 |r of a l|ine with|
|00002930| 20 61 20 73 69 6e 67 6c | 65 20 6c 69 6e 65 20 6d | a singl|e line m|
|00002940| 61 72 6b 2e 1f 0a 28 64 | 65 66 76 61 72 20 56 69 |ark...(d|efvar Vi|
|00002950| 65 77 2d 70 72 6f 63 65 | 73 73 2d 73 69 6e 67 6c |ew-proce|ss-singl|
|00002960| 65 2d 6c 69 6e 65 2d 66 | 6f 72 65 67 72 6f 75 6e |e-line-f|oregroun|
|00002970| 64 20 22 64 61 72 6b 62 | 6c 75 65 22 20 28 23 24 |d "darkb|lue" (#$|
|00002980| 20 2e 20 2d 31 30 35 31 | 32 29 29 0a 23 40 34 39 | . -1051|2)).#@49|
|00002990| 20 2a 46 6f 6e 74 20 20 | 63 6f 6c 6f 72 20 6f 66 | *Font |color of|
|000029a0| 20 61 20 6c 69 6e 65 20 | 77 69 74 68 20 61 20 73 | a line |with a s|
|000029b0| 69 6e 67 6c 65 20 6c 69 | 6e 65 20 6d 61 72 6b 2e |ingle li|ne mark.|
|000029c0| 1f 0a 28 64 65 66 76 61 | 72 20 56 69 65 77 2d 70 |..(defva|r View-p|
|000029d0| 72 6f 63 65 73 73 2d 73 | 69 6e 67 6c 65 2d 6c 69 |rocess-s|ingle-li|
|000029e0| 6e 65 2d 66 6f 6e 74 20 | 28 66 61 63 65 2d 66 6f |ne-font |(face-fo|
|000029f0| 6e 74 20 27 62 6f 6c 64 | 29 20 28 23 24 20 2e 20 |nt 'bold|) (#$ . |
|00002a00| 2d 31 30 36 34 31 29 29 | 0a 23 40 36 35 20 2a 54 |-10641))|.#@65 *T|
|00002a10| 2c 20 69 66 20 74 68 65 | 20 22 6c 69 6e 65 20 77 |, if the| "line w|
|00002a20| 69 74 68 20 61 20 73 69 | 6e 67 6c 65 20 6c 69 6e |ith a si|ngle lin|
|00002a30| 65 20 6d 61 72 6b 22 20 | 73 68 6f 75 6c 64 20 62 |e mark" |should b|
|00002a40| 65 20 75 6e 64 65 72 6c | 69 6e 65 64 2e 1f 0a 28 |e underl|ined...(|
|00002a50| 64 65 66 76 61 72 20 56 | 69 65 77 2d 70 72 6f 63 |defvar V|iew-proc|
|00002a60| 65 73 73 2d 73 69 6e 67 | 6c 65 2d 6c 69 6e 65 2d |ess-sing|le-line-|
|00002a70| 75 6e 64 65 72 6c 69 6e | 65 2d 70 20 74 20 28 23 |underlin|e-p t (#|
|00002a80| 24 20 2e 20 2d 31 30 37 | 36 36 29 29 0a 23 40 35 |$ . -107|66)).#@5|
|00002a90| 32 20 2a 41 20 63 68 61 | 72 61 63 74 65 72 2c 20 |2 *A cha|racter, |
|00002aa0| 77 68 69 63 68 20 69 73 | 20 75 73 65 64 20 61 73 |which is| used as|
|00002ab0| 20 61 20 73 69 6e 67 6c | 65 20 6c 69 6e 65 20 6d | a singl|e line m|
|00002ac0| 61 72 6b 2e 1f 0a 28 64 | 65 66 76 61 72 20 56 69 |ark...(d|efvar Vi|
|00002ad0| 65 77 2d 70 72 6f 63 65 | 73 73 2d 73 69 6e 67 6c |ew-proce|ss-singl|
|00002ae0| 65 2d 6c 69 6e 65 2d 6d | 61 72 6b 20 3f 5c 2a 20 |e-line-m|ark ?\* |
|00002af0| 28 23 24 20 2e 20 2d 31 | 30 38 39 38 29 29 0a 23 |(#$ . -1|0898)).#|
|00002b00| 40 35 33 20 54 68 65 20 | 66 6f 6e 74 20 6c 6f 63 |@53 The |font loc|
|00002b10| 6b 20 6b 65 79 77 6f 72 | 64 73 20 66 6f 72 20 74 |k keywor|ds for t|
|00002b20| 68 65 20 60 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |he `View|-process|
|00002b30| 2d 6d 6f 64 65 27 2e 1f | 0a 28 64 65 66 76 61 72 |-mode'..|.(defvar|
|00002b40| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 66 6f | View-pr|ocess-fo|
|00002b50| 6e 74 2d 6c 6f 63 6b 2d | 6b 65 79 77 6f 72 64 73 |nt-lock-|keywords|
|00002b60| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 5c | (byte-c|ode "..\|
|00002b70| 6e 21 c3 51 c4 42 c0 c1 | 0d 21 c3 51 c6 42 c7 c1 |n!.Q.B..|.!.Q.B..|
|00002b80| 0e 08 21 c3 51 c9 42 c0 | c1 0e 5c 6e 21 c3 51 cb |..!.Q.B.|..\n!.Q.|
|00002b90| 42 c0 c1 0e 0c 21 c3 51 | cd 42 c0 c1 0e 0e 21 c3 |B....!.Q|.B....!.|
|00002ba0| 51 cf 42 af 06 87 22 20 | 5b 22 5e 22 20 63 68 61 |Q.B..." |["^" cha|
|00002bb0| 72 2d 74 6f 2d 73 74 72 | 69 6e 67 20 56 69 65 77 |r-to-str|ing View|
|00002bc0| 2d 70 72 6f 63 65 73 73 | 2d 63 68 69 6c 64 2d 6c |-process|-child-l|
|00002bd0| 69 6e 65 2d 6d 61 72 6b | 20 22 20 2e 2a 22 20 56 |ine-mark| " .*" V|
|00002be0| 69 65 77 2d 70 72 6f 63 | 65 73 73 2d 63 68 69 6c |iew-proc|ess-chil|
|00002bf0| 64 2d 6c 69 6e 65 2d 66 | 61 63 65 20 56 69 65 77 |d-line-f|ace View|
|00002c00| 2d 70 72 6f 63 65 73 73 | 2d 70 61 72 65 6e 74 2d |-process|-parent-|
|00002c10| 6c 69 6e 65 2d 6d 61 72 | 6b 20 56 69 65 77 2d 70 |line-mar|k View-p|
|00002c20| 72 6f 63 65 73 73 2d 70 | 61 72 65 6e 74 2d 6c 69 |rocess-p|arent-li|
|00002c30| 6e 65 2d 66 61 63 65 20 | 22 5e 5c 5c 22 20 56 69 |ne-face |"^\\" Vi|
|00002c40| 65 77 2d 70 72 6f 63 65 | 73 73 2d 73 69 6e 67 6c |ew-proce|ss-singl|
|00002c50| 65 2d 6c 69 6e 65 2d 6d | 61 72 6b 20 56 69 65 77 |e-line-m|ark View|
|00002c60| 2d 70 72 6f 63 65 73 73 | 2d 73 69 6e 67 6c 65 2d |-process|-single-|
|00002c70| 6c 69 6e 65 2d 66 61 63 | 65 20 56 69 65 77 2d 70 |line-fac|e View-p|
|00002c80| 72 6f 63 65 73 73 2d 73 | 69 67 6e 61 6c 65 64 2d |rocess-s|ignaled-|
|00002c90| 6c 69 6e 65 2d 6d 61 72 | 6b 20 56 69 65 77 2d 70 |line-mar|k View-p|
|00002ca0| 72 6f 63 65 73 73 2d 73 | 69 67 6e 61 6c 65 64 2d |rocess-s|ignaled-|
|00002cb0| 6c 69 6e 65 2d 66 61 63 | 65 20 56 69 65 77 2d 70 |line-fac|e View-p|
|00002cc0| 72 6f 63 65 73 73 2d 73 | 69 67 6e 61 6c 2d 6c 69 |rocess-s|ignal-li|
|00002cd0| 6e 65 2d 6d 61 72 6b 20 | 56 69 65 77 2d 70 72 6f |ne-mark |View-pro|
|00002ce0| 63 65 73 73 2d 73 69 67 | 6e 61 6c 2d 6c 69 6e 65 |cess-sig|nal-line|
|00002cf0| 2d 66 61 63 65 20 56 69 | 65 77 2d 70 72 6f 63 65 |-face Vi|ew-proce|
|00002d00| 73 73 2d 72 65 6e 69 63 | 65 2d 6c 69 6e 65 2d 6d |ss-renic|e-line-m|
|00002d10| 61 72 6b 20 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |ark View|-process|
|00002d20| 2d 72 65 6e 69 63 65 2d | 6c 69 6e 65 2d 66 61 63 |-renice-|line-fac|
|00002d30| 65 5d 20 38 29 20 28 23 | 24 20 2e 20 31 31 30 31 |e] 8) (#|$ . 1101|
|00002d40| 32 29 29 0a 23 40 35 30 | 20 49 6e 74 65 72 6e 61 |2)).#@50| Interna|
|00002d50| 6c 20 76 61 72 69 61 62 | 6c 65 2e 20 41 6e 20 61 |l variab|le. An a|
|00002d60| 6c 69 73 74 20 77 69 74 | 68 20 6d 61 72 6b 73 20 |list wit|h marks |
|00002d70| 61 6e 64 20 70 69 64 73 | 2e 1f 0a 28 64 65 66 76 |and pids|...(defv|
|00002d80| 61 72 20 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d |ar View-|process-|
|00002d90| 70 69 64 2d 6d 61 72 6b | 2d 61 6c 69 73 74 20 6e |pid-mark|-alist n|
|00002da0| 69 6c 20 28 23 24 20 2e | 20 31 31 35 39 33 29 29 |il (#$ .| 11593))|
|00002db0| 0a 28 6d 61 6b 65 2d 76 | 61 72 69 61 62 6c 65 2d |.(make-v|ariable-|
|00002dc0| 62 75 66 66 65 72 2d 6c | 6f 63 61 6c 20 27 56 69 |buffer-l|ocal 'Vi|
|00002dd0| 65 77 2d 70 72 6f 63 65 | 73 73 2d 70 69 64 2d 6d |ew-proce|ss-pid-m|
|00002de0| 61 72 6b 2d 61 6c 69 73 | 74 29 0a 23 40 35 38 20 |ark-alis|t).#@58 |
|00002df0| 49 6e 74 65 72 6e 61 6c | 20 76 61 72 69 61 62 6c |Internal| variabl|
|00002e00| 65 2e 20 41 6e 20 61 6c | 69 73 74 20 77 69 74 68 |e. An al|ist with|
|00002e10| 74 68 65 20 6c 61 73 74 | 20 6d 61 72 6b 73 20 61 |the last| marks a|
|00002e20| 6e 64 20 70 69 64 73 2e | 1f 0a 28 64 65 66 76 61 |nd pids.|..(defva|
|00002e30| 72 20 56 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 6c |r View-p|rocess-l|
|00002e40| 61 73 74 2d 70 69 64 2d | 6d 61 72 6b 2d 61 6c 69 |ast-pid-|mark-ali|
|00002e50| 73 74 20 6e 69 6c 20 28 | 23 24 20 2e 20 31 31 37 |st nil (|#$ . 117|
|00002e60| 36 30 29 29 0a 28 6d 61 | 6b 65 2d 76 61 72 69 61 |60)).(ma|ke-varia|
|00002e70| 62 6c 65 2d 62 75 66 66 | 65 72 2d 6c 6f 63 61 6c |ble-buff|er-local|
|00002e80| 20 27 56 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 6c | 'View-p|rocess-l|
|00002e90| 61 73 74 2d 70 69 64 2d | 6d 61 72 6b 2d 61 6c 69 |ast-pid-|mark-ali|
|00002ea0| 73 74 29 0a 23 40 31 31 | 37 36 20 2a 41 20 6c 69 |st).#@11|76 *A li|
|00002eb0| 73 74 2c 20 77 68 69 63 | 68 20 73 70 65 63 69 66 |st, whic|h specif|
|00002ec0| 69 65 73 20 73 6f 72 74 | 65 72 20 61 6e 64 20 66 |ies sort|er and f|
|00002ed0| 69 6c 74 65 72 20 63 6f | 6d 6d 61 6e 64 73 2e 0a |ilter co|mmands..|
|00002ee0| 54 68 65 73 65 20 63 6f | 6d 6d 61 6e 64 73 20 77 |These co|mmands w|
|00002ef0| 69 6c 6c 20 62 65 20 72 | 75 6e 20 6f 76 65 72 20 |ill be r|un over |
|00002f00| 74 68 65 20 70 73 20 6f | 75 74 70 75 74 2c 20 65 |the ps o|utput, e|
|00002f10| 76 65 72 79 20 74 69 6d | 65 20 61 66 74 65 72 0a |very tim|e after.|
|00002f20| 70 73 20 68 61 73 20 63 | 72 65 61 74 65 20 61 20 |ps has c|reate a |
|00002f30| 6e 65 77 20 6f 75 74 70 | 75 74 2e 0a 54 68 65 20 |new outp|ut..The |
|00002f40| 6c 69 73 74 20 63 6f 6e | 73 69 73 74 73 20 6f 66 |list con|sists of|
|00002f50| 20 73 75 62 6c 69 73 74 | 73 2c 20 77 68 65 72 65 | sublist|s, where|
|00002f60| 62 79 20 65 76 65 72 79 | 20 73 75 62 6c 69 73 74 |by every| sublist|
|00002f70| 20 73 70 65 63 69 66 69 | 65 73 20 61 20 0a 63 6f | specifi|es a .co|
|00002f80| 6d 6d 61 6e 64 2e 20 54 | 68 65 20 66 69 72 73 74 |mmand. T|he first|
|00002f90| 20 65 6c 65 6d 65 6e 74 | 20 6f 66 20 65 61 63 68 | element| of each|
|00002fa0| 20 6c 69 73 74 20 69 73 | 20 61 20 6b 65 79 77 6f | list is| a keywo|
|00002fb0| 72 64 2c 20 77 68 69 63 | 68 20 0a 64 65 74 65 72 |rd, whic|h .deter|
|00002fc0| 6d 69 6e 65 73 20 61 20 | 63 6f 6d 6d 61 6e 64 2e |mines a |command.|
|00002fd0| 0a 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 6b |.The fol|lowing k|
|00002fe0| 65 79 77 6f 72 64 73 20 | 61 72 65 20 61 6c 6c 6f |eywords |are allo|
|00002ff0| 77 65 64 3a 0a 20 73 6f | 72 74 09 09 2d 20 53 6f |wed:. so|rt..- So|
|00003000| 72 74 20 74 68 65 20 6f | 75 74 70 75 74 20 62 79 |rt the o|utput by|
|00003010| 20 61 6e 20 6f 75 74 70 | 75 74 20 66 69 65 6c 64 | an outp|ut field|
|00003020| 0a 20 66 69 6c 74 65 72 | 09 09 2d 20 46 69 6c 74 |. filter|..- Filt|
|00003030| 65 72 20 74 68 65 20 6f | 75 74 70 75 74 20 62 79 |er the o|utput by|
|00003040| 20 61 6e 20 6f 75 74 70 | 75 74 20 66 69 65 6c 64 | an outp|ut field|
|00003050| 2c 20 64 65 6c 65 74 65 | 20 6e 6f 6e 20 6d 61 74 |, delete| non mat|
|00003060| 63 68 69 6e 67 20 6c 2e | 0a 20 65 78 63 6c 75 64 |ching l.|. exclud|
|00003070| 65 2d 66 69 6c 74 65 72 | 09 2d 20 46 69 6c 74 65 |e-filter|.- Filte|
|00003080| 72 20 74 68 65 20 6f 75 | 74 70 75 74 20 62 79 20 |r the ou|tput by |
|00003090| 61 6e 20 6f 75 74 70 75 | 74 20 66 69 65 6c 64 2c |an outpu|t field,|
|000030a0| 20 64 65 6c 65 74 65 20 | 6d 61 74 63 68 69 6e 67 | delete |matching|
|000030b0| 20 6c 69 6e 65 73 0a 20 | 67 72 65 70 09 09 2d 20 | lines. |grep..- |
|000030c0| 46 69 6c 74 65 72 20 74 | 68 65 20 6f 75 74 70 75 |Filter t|he outpu|
|000030d0| 74 20 62 79 20 74 68 65 | 20 77 68 6f 6c 65 20 6c |t by the| whole l|
|000030e0| 69 6e 65 2c 20 64 65 6c | 65 74 65 20 6e 6f 6e 20 |ine, del|ete non |
|000030f0| 6d 61 74 63 68 69 6e 67 | 20 6c 2e 0a 20 65 78 63 |matching| l.. exc|
|00003100| 6c 75 64 65 2d 67 72 65 | 70 09 2d 20 46 69 6c 74 |lude-gre|p.- Filt|
|00003110| 65 72 20 74 68 65 20 6f | 75 74 70 75 74 20 62 79 |er the o|utput by|
|00003120| 20 74 68 65 20 77 68 6f | 6c 65 20 6c 69 6e 65 2c | the who|le line,|
|00003130| 20 64 65 6c 65 74 65 20 | 6d 61 74 63 68 69 6e 67 | delete |matching|
|00003140| 20 6c 69 6e 65 73 0a 20 | 72 65 76 65 72 73 65 09 | lines. |reverse.|
|00003150| 2d 20 52 65 76 65 72 73 | 65 20 74 68 65 20 6f 72 |- Revers|e the or|
|00003160| 64 65 72 20 6f 66 20 74 | 68 65 20 6f 75 74 70 75 |der of t|he outpu|
|00003170| 74 20 6c 69 6e 65 73 2e | 0a 0a 54 68 65 20 63 64 |t lines.|..The cd|
|00003180| 72 20 6f 66 20 65 61 63 | 68 20 73 75 62 6c 69 73 |r of eac|h sublis|
|00003190| 74 20 64 65 70 65 6e 64 | 73 20 6f 6e 20 74 68 65 |t depend|s on the|
|000031a0| 20 6b 65 79 77 6f 72 64 | 2e 20 54 68 65 20 66 6f | keyword|. The fo|
|000031b0| 6c 6c 6f 77 69 6e 67 20 | 73 68 6f 77 73 0a 74 68 |llowing |shows.th|
|000031c0| 65 20 73 79 6e 74 61 78 | 20 6f 66 20 74 68 65 20 |e syntax| of the |
|000031d0| 64 69 66 66 65 72 65 6e | 74 20 73 75 62 6c 69 73 |differen|t sublis|
|000031e0| 74 20 74 79 70 65 73 3a | 0a 20 28 73 6f 72 74 20 |t types:|. (sort |
|000031f0| 3c 66 69 65 6c 64 6e 61 | 6d 65 3e 29 0a 20 28 66 |<fieldna|me>). (f|
|00003200| 69 6c 74 65 72 20 3c 66 | 69 65 6c 64 6e 61 6d 65 |ilter <f|ieldname|
|00003210| 3e 20 3c 72 65 67 65 78 | 70 3e 29 0a 20 28 65 78 |> <regex|p>). (ex|
|00003220| 63 6c 75 64 65 2d 66 69 | 6c 74 65 72 20 3c 66 69 |clude-fi|lter <fi|
|00003230| 65 6c 64 6e 61 6d 65 3e | 20 3c 72 65 67 65 78 70 |eldname>| <regexp|
|00003240| 3e 29 0a 20 28 67 72 65 | 70 20 3c 72 65 67 65 78 |>). (gre|p <regex|
|00003250| 70 3e 29 0a 20 28 65 78 | 63 6c 75 64 65 2d 67 72 |p>). (ex|clude-gr|
|00003260| 65 70 20 3c 72 65 67 65 | 78 70 3e 29 0a 20 28 72 |ep <rege|xp>). (r|
|00003270| 65 76 65 72 73 65 29 0a | 0a 57 68 65 72 65 20 3c |everse).|.Where <|
|00003280| 66 69 65 6c 64 6e 61 6d | 65 3e 20 69 73 20 61 20 |fieldnam|e> is a |
|00003290| 73 74 72 69 6e 67 20 77 | 69 74 68 20 64 65 74 65 |string w|ith dete|
|000032a0| 72 6d 69 6e 65 73 20 74 | 68 65 20 6e 61 6d 65 20 |rmines t|he name |
|000032b0| 6f 66 20 61 6e 20 6f 75 | 74 70 75 74 20 66 69 65 |of an ou|tput fie|
|000032c0| 6c 64 0a 61 6e 64 20 3c | 72 65 67 65 78 70 3e 20 |ld.and <|regexp> |
|000032d0| 69 73 20 61 20 73 74 72 | 69 6e 67 20 77 69 74 68 |is a str|ing with|
|000032e0| 20 61 6e 20 72 65 67 75 | 6c 61 72 20 65 78 70 72 | an regu|lar expr|
|000032f0| 65 73 73 69 6f 6e 2e 20 | 54 68 65 20 6f 75 74 70 |ession. |The outp|
|00003300| 75 74 20 66 69 65 6c 64 | 20 6e 61 6d 65 73 0a 61 |ut field| names.a|
|00003310| 72 65 20 64 65 72 69 76 | 65 64 20 66 72 6f 6d 20 |re deriv|ed from |
|00003320| 74 68 65 20 68 65 61 64 | 65 72 20 6c 69 6e 65 20 |the head|er line |
|00003330| 6f 66 20 74 68 65 20 70 | 73 20 6f 75 74 70 75 74 |of the p|s output|
|00003340| 2e 1f 0a 28 64 65 66 76 | 61 72 20 56 69 65 77 2d |...(defv|ar View-|
|00003350| 70 72 6f 63 65 73 73 2d | 73 6f 72 74 65 72 2d 61 |process-|sorter-a|
|00003360| 6e 64 2d 66 69 6c 74 65 | 72 20 6e 69 6c 20 28 23 |nd-filte|r nil (#|
|00003370| 24 20 2e 20 2d 31 31 39 | 34 37 29 29 0a 23 40 38 |$ . -119|47)).#@8|
|00003380| 35 20 49 6e 74 65 72 6e | 61 6c 20 76 61 72 69 61 |5 Intern|al varia|
|00003390| 62 6c 65 2e 20 49 74 20 | 68 6f 6c 64 73 20 74 68 |ble. It |holds th|
|000033a0| 65 20 61 63 74 75 61 6c | 20 73 6f 72 74 65 72 20 |e actual| sorter |
|000033b0| 61 6e 64 20 66 69 6c 74 | 65 72 20 63 6f 6d 6d 61 |and filt|er comma|
|000033c0| 6e 64 73 2e 0a 44 6f 6e | 27 74 20 63 68 61 6e 67 |nds..Don|'t chang|
|000033d0| 65 20 69 74 21 1f 0a 28 | 64 65 66 76 61 72 20 56 |e it!..(|defvar V|
|000033e0| 69 65 77 2d 70 72 6f 63 | 65 73 73 2d 61 63 74 75 |iew-proc|ess-actu|
|000033f0| 61 6c 2d 73 6f 72 74 65 | 72 2d 61 6e 64 2d 66 69 |al-sorte|r-and-fi|
|00003400| 6c 74 65 72 20 6e 69 6c | 20 28 23 24 20 2e 20 31 |lter nil| (#$ . 1|
|00003410| 33 31 38 36 29 29 0a 28 | 6d 61 6b 65 2d 76 61 72 |3186)).(|make-var|
|00003420| 69 61 62 6c 65 2d 62 75 | 66 66 65 72 2d 6c 6f 63 |iable-bu|ffer-loc|
|00003430| 61 6c 20 27 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |al 'View|-process|
|00003440| 2d 61 63 74 75 61 6c 2d | 73 6f 72 74 65 72 2d 61 |-actual-|sorter-a|
|00003450| 6e 64 2d 66 69 6c 74 65 | 72 29 0a 23 40 33 36 20 |nd-filte|r).#@36 |
|00003460| 2a 56 61 6c 75 65 20 6f | 66 20 74 68 65 20 76 69 |*Value o|f the vi|
|00003470| 65 77 20 70 72 6f 63 65 | 73 73 20 69 74 69 6d 65 |ew proce|ss itime|
|00003480| 72 2e 1f 0a 28 64 65 66 | 76 61 72 20 56 69 65 77 |r...(def|var View|
|00003490| 2d 70 72 6f 63 65 73 73 | 2d 69 74 69 6d 65 72 2d |-process|-itimer-|
|000034a0| 76 61 6c 75 65 20 35 20 | 28 23 24 20 2e 20 2d 31 |value 5 |(#$ . -1|
|000034b0| 33 34 30 38 29 29 0a 23 | 40 31 30 35 20 49 6e 74 |3408)).#|@105 Int|
|000034c0| 65 72 6e 61 6c 20 76 61 | 72 69 61 62 6c 65 2e 20 |ernal va|riable. |
|000034d0| 54 79 70 65 20 6f 66 20 | 74 68 65 20 73 79 73 74 |Type of |the syst|
|000034e0| 65 6d 2c 20 6f 6e 20 77 | 68 69 63 68 20 74 68 65 |em, on w|hich the|
|000034f0| 20 70 73 20 63 6f 6d 6d | 61 6e 64 20 69 73 20 63 | ps comm|and is c|
|00003500| 61 6c 6c 65 64 2e 0a 54 | 68 65 20 76 61 72 69 61 |alled..T|he varia|
|00003510| 62 6c 65 20 69 73 20 62 | 75 66 66 65 72 20 6c 6f |ble is b|uffer lo|
|00003520| 63 61 6c 2e 1f 0a 28 64 | 65 66 76 61 72 20 56 69 |cal...(d|efvar Vi|
|00003530| 65 77 2d 70 72 6f 63 65 | 73 73 2d 73 79 73 74 65 |ew-proce|ss-syste|
|00003540| 6d 2d 74 79 70 65 20 6e | 69 6c 20 28 23 24 20 2e |m-type n|il (#$ .|
|00003550| 20 31 33 35 30 31 29 29 | 0a 28 6d 61 6b 65 2d 76 | 13501))|.(make-v|
|00003560| 61 72 69 61 62 6c 65 2d | 62 75 66 66 65 72 2d 6c |ariable-|buffer-l|
|00003570| 6f 63 61 6c 20 27 56 69 | 65 77 2d 70 72 6f 63 65 |ocal 'Vi|ew-proce|
|00003580| 73 73 2d 73 79 73 74 65 | 6d 2d 74 79 70 65 29 0a |ss-syste|m-type).|
|00003590| 23 40 38 32 20 49 6e 74 | 65 72 6e 61 6c 20 76 61 |#@82 Int|ernal va|
|000035a0| 72 69 61 62 6c 65 2e 20 | 4e 61 6d 65 20 6f 66 20 |riable. |Name of |
|000035b0| 74 68 65 20 72 65 6d 6f | 74 65 20 68 6f 73 74 20 |the remo|te host |
|000035c0| 6f 72 20 6e 69 6c 2e 0a | 54 68 65 20 76 61 72 69 |or nil..|The vari|
|000035d0| 61 62 6c 65 20 69 73 20 | 62 75 66 66 65 72 20 6c |able is |buffer l|
|000035e0| 6f 63 61 6c 2e 1f 0a 28 | 64 65 66 76 61 72 20 56 |ocal...(|defvar V|
|000035f0| 69 65 77 2d 70 72 6f 63 | 65 73 73 2d 72 65 6d 6f |iew-proc|ess-remo|
|00003600| 74 65 2d 68 6f 73 74 20 | 6e 69 6c 20 28 23 24 20 |te-host |nil (#$ |
|00003610| 2e 20 31 33 37 31 37 29 | 29 0a 28 6d 61 6b 65 2d |. 13717)|).(make-|
|00003620| 76 61 72 69 61 62 6c 65 | 2d 62 75 66 66 65 72 2d |variable|-buffer-|
|00003630| 6c 6f 63 61 6c 20 27 56 | 69 65 77 2d 70 72 6f 63 |local 'V|iew-proc|
|00003640| 65 73 73 2d 72 65 6d 6f | 74 65 2d 68 6f 73 74 29 |ess-remo|te-host)|
|00003650| 0a 23 40 38 36 20 49 6e | 74 65 72 6e 61 6c 20 76 |.#@86 In|ternal v|
|00003660| 61 72 69 61 62 6c 65 2e | 20 53 74 61 72 74 20 6f |ariable.| Start o|
|00003670| 66 20 74 68 65 20 70 73 | 20 6f 75 74 70 75 74 20 |f the ps| output |
|00003680| 68 65 61 64 65 72 20 6c | 69 6e 65 2e 0a 54 68 65 |header l|ine..The|
|00003690| 20 76 61 72 69 61 62 6c | 65 20 69 73 20 62 75 66 | variabl|e is buf|
|000036a0| 66 65 72 20 6c 6f 63 61 | 6c 2e 1f 0a 28 64 65 66 |fer loca|l...(def|
|000036b0| 76 61 72 20 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |var View|-process|
|000036c0| 2d 68 65 61 64 65 72 2d | 73 74 61 72 74 20 6e 69 |-header-|start ni|
|000036d0| 6c 20 28 23 24 20 2e 20 | 31 33 39 31 30 29 29 0a |l (#$ . |13910)).|
|000036e0| 28 6d 61 6b 65 2d 76 61 | 72 69 61 62 6c 65 2d 62 |(make-va|riable-b|
|000036f0| 75 66 66 65 72 2d 6c 6f | 63 61 6c 20 27 56 69 65 |uffer-lo|cal 'Vie|
|00003700| 77 2d 70 72 6f 63 65 73 | 73 2d 68 65 61 64 65 72 |w-proces|s-header|
|00003710| 2d 73 74 61 72 74 29 0a | 23 40 38 34 20 49 6e 74 |-start).|#@84 Int|
|00003720| 65 72 6e 61 6c 20 76 61 | 72 69 61 62 6c 65 2e 20 |ernal va|riable. |
|00003730| 45 6e 64 20 6f 66 20 74 | 68 65 20 70 73 20 6f 75 |End of t|he ps ou|
|00003740| 74 70 75 74 20 68 65 61 | 64 65 72 20 6c 69 6e 65 |tput hea|der line|
|00003750| 2e 0a 54 68 65 20 76 61 | 72 69 61 62 6c 65 20 69 |..The va|riable i|
|00003760| 73 20 62 75 66 66 65 72 | 20 6c 6f 63 61 6c 2e 1f |s buffer| local..|
|00003770| 0a 28 64 65 66 76 61 72 | 20 56 69 65 77 2d 70 72 |.(defvar| View-pr|
|00003780| 6f 63 65 73 73 2d 68 65 | 61 64 65 72 2d 65 6e 64 |ocess-he|ader-end|
|00003790| 20 6e 69 6c 20 28 23 24 | 20 2e 20 31 34 31 30 39 | nil (#$| . 14109|
|000037a0| 29 29 0a 28 6d 61 6b 65 | 2d 76 61 72 69 61 62 6c |)).(make|-variabl|
|000037b0| 65 2d 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 20 27 |e-buffer|-local '|
|000037c0| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 68 65 61 |View-pro|cess-hea|
|000037d0| 64 65 72 2d 65 6e 64 29 | 0a 23 40 39 33 20 49 6e |der-end)|.#@93 In|
|000037e0| 74 65 72 6e 61 6c 20 76 | 61 72 69 61 62 6c 65 2e |ternal v|ariable.|
|000037f0| 20 53 74 61 72 74 20 6f | 66 20 74 68 65 20 70 73 | Start o|f the ps|
|00003800| 20 6f 75 74 70 75 74 20 | 28 61 66 74 65 72 20 74 | output |(after t|
|00003810| 68 65 20 68 65 61 64 65 | 72 29 2e 0a 54 68 65 20 |he heade|r)..The |
|00003820| 76 61 72 69 61 62 6c 65 | 20 69 73 20 62 75 66 66 |variable| is buff|
|00003830| 65 72 20 6c 6f 63 61 6c | 2e 1f 0a 28 64 65 66 76 |er local|...(defv|
|00003840| 61 72 20 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d |ar View-|process-|
|00003850| 6f 75 74 70 75 74 2d 73 | 74 61 72 74 20 6e 69 6c |output-s|tart nil|
|00003860| 20 28 23 24 20 2e 20 31 | 34 33 30 32 29 29 0a 28 | (#$ . 1|4302)).(|
|00003870| 6d 61 6b 65 2d 76 61 72 | 69 61 62 6c 65 2d 62 75 |make-var|iable-bu|
|00003880| 66 66 65 72 2d 6c 6f 63 | 61 6c 20 27 56 69 65 77 |ffer-loc|al 'View|
|00003890| 2d 70 72 6f 63 65 73 73 | 2d 6f 75 74 70 75 74 2d |-process|-output-|
|000038a0| 73 74 61 72 74 29 0a 23 | 40 39 31 20 49 6e 74 65 |start).#|@91 Inte|
|000038b0| 72 6e 61 6c 20 76 61 72 | 69 61 62 6c 65 2e 20 45 |rnal var|iable. E|
|000038c0| 6e 64 20 6f 66 20 74 68 | 65 20 70 73 20 6f 75 74 |nd of th|e ps out|
|000038d0| 70 75 74 20 28 61 66 74 | 65 72 20 74 68 65 20 68 |put (aft|er the h|
|000038e0| 65 61 64 65 72 29 2e 0a | 54 68 65 20 76 61 72 69 |eader)..|The vari|
|000038f0| 61 62 6c 65 20 69 73 20 | 62 75 66 66 65 72 20 6c |able is |buffer l|
|00003900| 6f 63 61 6c 2e 1f 0a 28 | 64 65 66 76 61 72 20 56 |ocal...(|defvar V|
|00003910| 69 65 77 2d 70 72 6f 63 | 65 73 73 2d 6f 75 74 70 |iew-proc|ess-outp|
|00003920| 75 74 2d 65 6e 64 20 6e | 69 6c 20 28 23 24 20 2e |ut-end n|il (#$ .|
|00003930| 20 31 34 35 30 38 29 29 | 0a 28 6d 61 6b 65 2d 76 | 14508))|.(make-v|
|00003940| 61 72 69 61 62 6c 65 2d | 62 75 66 66 65 72 2d 6c |ariable-|buffer-l|
|00003950| 6f 63 61 6c 20 27 56 69 | 65 77 2d 70 72 6f 63 65 |ocal 'Vi|ew-proce|
|00003960| 73 73 2d 6f 75 74 70 75 | 74 2d 65 6e 64 29 0a 23 |ss-outpu|t-end).#|
|00003970| 40 37 30 20 49 6e 74 65 | 72 6e 61 6c 20 76 61 72 |@70 Inte|rnal var|
|00003980| 69 61 62 6c 65 2e 20 57 | 69 6e 64 6f 77 20 63 6f |iable. W|indow co|
|00003990| 6e 66 69 67 75 72 61 74 | 69 6f 6e 20 62 65 66 6f |nfigurat|ion befo|
|000039a0| 72 65 20 74 68 65 20 66 | 69 72 73 74 20 70 73 20 |re the f|irst ps |
|000039b0| 63 6f 6d 6d 61 6e 64 2e | 1f 0a 28 64 65 66 76 61 |command.|..(defva|
|000039c0| 72 20 56 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 6f |r View-p|rocess-o|
|000039d0| 6c 64 2d 77 69 6e 64 6f | 77 2d 63 6f 6e 66 69 67 |ld-windo|w-config|
|000039e0| 75 72 61 74 69 6f 6e 20 | 6e 69 6c 20 28 23 24 20 |uration |nil (#$ |
|000039f0| 2e 20 31 34 37 30 38 29 | 29 0a 28 6d 61 6b 65 2d |. 14708)|).(make-|
|00003a00| 76 61 72 69 61 62 6c 65 | 2d 62 75 66 66 65 72 2d |variable|-buffer-|
|00003a10| 6c 6f 63 61 6c 20 27 56 | 69 65 77 2d 70 72 6f 63 |local 'V|iew-proc|
|00003a20| 65 73 73 2d 6f 6c 64 2d | 77 69 6e 64 6f 77 2d 63 |ess-old-|window-c|
|00003a30| 6f 6e 66 69 67 75 72 61 | 74 69 6f 6e 29 0a 23 40 |onfigura|tion).#@|
|00003a40| 37 35 20 49 6e 74 65 72 | 6e 61 6c 20 76 61 72 69 |75 Inter|nal vari|
|00003a50| 61 62 6c 65 2e 20 4e 75 | 6d 62 65 72 20 6f 66 20 |able. Nu|mber of |
|00003a60| 6f 75 74 70 75 74 20 66 | 69 65 6c 64 73 2e 0a 54 |output f|ields..T|
|00003a70| 68 65 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 62 |he varia|ble is b|
|00003a80| 75 66 66 65 72 20 6c 6f | 63 61 6c 2e 1f 0a 28 64 |uffer lo|cal...(d|
|00003a90| 65 66 76 61 72 20 56 69 | 65 77 2d 70 72 6f 63 65 |efvar Vi|ew-proce|
|00003aa0| 73 73 2d 6d 61 78 2d 66 | 69 65 6c 64 73 20 6e 69 |ss-max-f|ields ni|
|00003ab0| 6c 20 28 23 24 20 2e 20 | 31 34 39 31 35 29 29 0a |l (#$ . |14915)).|
|00003ac0| 28 6d 61 6b 65 2d 76 61 | 72 69 61 62 6c 65 2d 62 |(make-va|riable-b|
|00003ad0| 75 66 66 65 72 2d 6c 6f | 63 61 6c 20 27 56 69 65 |uffer-lo|cal 'Vie|
|00003ae0| 77 2d 70 72 6f 63 65 73 | 73 2d 6d 61 78 2d 66 69 |w-proces|s-max-fi|
|00003af0| 65 6c 64 73 29 0a 23 40 | 39 37 20 49 6e 74 65 72 |elds).#@|97 Inter|
|00003b00| 6e 61 6c 20 76 61 72 69 | 61 62 6c 65 2e 20 41 6e |nal vari|able. An|
|00003b10| 20 61 6c 69 73 74 20 77 | 69 74 68 20 74 68 65 20 | alist w|ith the |
|00003b20| 66 69 65 6c 64 6e 61 6d | 65 73 20 61 6e 64 20 66 |fieldnam|es and f|
|00003b30| 69 65 6c 64 6e 75 6d 62 | 65 72 73 2e 0a 54 68 65 |ieldnumb|ers..The|
|00003b40| 20 76 61 72 69 61 62 6c | 65 20 69 73 20 62 75 66 | variabl|e is buf|
|00003b50| 66 65 72 20 6c 6f 63 61 | 6c 2e 1f 0a 28 64 65 66 |fer loca|l...(def|
|00003b60| 76 61 72 20 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |var View|-process|
|00003b70| 2d 66 69 65 6c 64 2d 6e | 61 6d 65 73 20 6e 69 6c |-field-n|ames nil|
|00003b80| 20 28 23 24 20 2e 20 31 | 35 30 39 39 29 29 0a 28 | (#$ . 1|5099)).(|
|00003b90| 6d 61 6b 65 2d 76 61 72 | 69 61 62 6c 65 2d 62 75 |make-var|iable-bu|
|00003ba0| 66 66 65 72 2d 6c 6f 63 | 61 6c 20 27 56 69 65 77 |ffer-loc|al 'View|
|00003bb0| 2d 70 72 6f 63 65 73 73 | 2d 6d 61 78 2d 66 69 65 |-process|-max-fie|
|00003bc0| 6c 64 73 29 0a 23 40 37 | 31 20 49 6e 74 65 72 6e |lds).#@7|1 Intern|
|00003bd0| 61 6c 20 76 61 72 69 61 | 62 6c 65 2e 20 49 74 20 |al varia|ble. It |
|00003be0| 69 73 20 74 2c 20 69 66 | 20 62 6c 61 6e 6b 73 20 |is t, if| blanks |
|00003bf0| 69 6e 20 66 69 65 6c 64 | 73 20 61 72 65 20 61 6c |in field|s are al|
|00003c00| 72 65 61 64 79 20 72 65 | 70 6c 61 63 65 64 2e 1f |ready re|placed..|
|00003c10| 0a 28 64 65 66 76 61 72 | 20 56 69 65 77 2d 70 72 |.(defvar| View-pr|
|00003c20| 6f 63 65 73 73 2d 66 69 | 65 6c 64 2d 62 6c 61 6e |ocess-fi|eld-blan|
|00003c30| 6b 73 2d 61 6c 72 65 61 | 64 79 2d 72 65 70 6c 61 |ks-alrea|dy-repla|
|00003c40| 63 65 64 20 6e 69 6c 20 | 28 23 24 20 2e 20 31 35 |ced nil |(#$ . 15|
|00003c50| 33 30 36 29 29 0a 28 6d | 61 6b 65 2d 76 61 72 69 |306)).(m|ake-vari|
|00003c60| 61 62 6c 65 2d 62 75 66 | 66 65 72 2d 6c 6f 63 61 |able-buf|fer-loca|
|00003c70| 6c 20 27 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d |l 'View-|process-|
|00003c80| 66 69 65 6c 64 2d 62 6c | 61 6e 6b 73 2d 61 6c 72 |field-bl|anks-alr|
|00003c90| 65 61 64 79 2d 72 65 70 | 6c 61 63 65 64 29 0a 23 |eady-rep|laced).#|
|00003ca0| 40 31 36 39 20 41 6e 20 | 61 6c 69 73 74 20 77 69 |@169 An |alist wi|
|00003cb0| 74 68 20 74 68 65 20 70 | 6f 73 73 69 62 6c 65 20 |th the p|ossible |
|00003cc0| 73 69 67 6e 61 6c 73 20 | 66 6f 72 20 74 68 65 20 |signals |for the |
|00003cd0| 6b 69 6c 6c 20 63 6f 6d | 6d 61 6e 64 2e 0a 44 6f |kill com|mand..Do|
|00003ce0| 6e 27 74 20 63 68 61 6e | 67 65 20 69 74 20 62 79 |n't chan|ge it by|
|00003cf0| 20 68 61 6e 64 21 0a 54 | 68 65 20 76 61 72 69 61 | hand!.T|he varia|
|00003d00| 62 6c 65 20 69 73 20 69 | 6e 69 74 69 61 6c 69 73 |ble is i|nitialis|
|00003d10| 65 64 20 65 61 63 68 20 | 74 69 6d 65 20 61 66 74 |ed each |time aft|
|00003d20| 65 72 20 72 75 6e 6e 69 | 6e 67 20 70 73 2e 0a 54 |er runni|ng ps..T|
|00003d30| 68 65 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 62 |he varia|ble is b|
|00003d40| 75 66 66 65 72 20 6c 6f | 63 61 6c 2e 1f 0a 28 64 |uffer lo|cal...(d|
|00003d50| 65 66 76 61 72 20 56 69 | 65 77 2d 70 72 6f 63 65 |efvar Vi|ew-proce|
|00003d60| 73 73 2d 6b 69 6c 6c 2d | 73 69 67 6e 61 6c 73 20 |ss-kill-|signals |
|00003d70| 6e 69 6c 20 28 23 24 20 | 2e 20 31 35 35 32 35 29 |nil (#$ |. 15525)|
|00003d80| 29 0a 28 6d 61 6b 65 2d | 76 61 72 69 61 62 6c 65 |).(make-|variable|
|00003d90| 2d 62 75 66 66 65 72 2d | 6c 6f 63 61 6c 20 27 56 |-buffer-|local 'V|
|00003da0| 69 65 77 2d 70 72 6f 63 | 65 73 73 2d 6b 69 6c 6c |iew-proc|ess-kill|
|00003db0| 2d 73 69 67 6e 61 6c 73 | 29 0a 23 40 32 31 30 20 |-signals|).#@210 |
|00003dc0| 41 6e 20 61 6c 69 73 74 | 20 77 69 74 68 20 74 68 |An alist| with th|
|00003dd0| 65 20 70 6f 73 73 69 62 | 6c 65 20 73 69 67 6e 61 |e possib|le signa|
|00003de0| 6c 73 20 66 6f 72 20 74 | 68 65 20 6b 69 6c 6c 20 |ls for t|he kill |
|00003df0| 63 6f 6d 6d 61 6e 64 2e | 0a 54 68 69 73 20 6c 69 |command.|.This li|
|00003e00| 73 74 20 69 73 20 75 73 | 65 64 2c 20 69 66 20 6e |st is us|ed, if n|
|00003e10| 6f 20 73 79 73 74 65 6d | 20 73 70 65 63 69 66 69 |o system| specifi|
|00003e20| 63 20 6c 69 73 74 20 69 | 73 20 64 65 66 69 6e 65 |c list i|s define|
|00003e30| 64 2e 0a 49 74 20 6d 61 | 79 20 62 65 20 74 68 61 |d..It ma|y be tha|
|00003e40| 74 20 79 6f 75 27 76 65 | 20 6f 74 68 65 72 20 73 |t you've| other s|
|00003e50| 69 67 6e 61 6c 73 20 6f | 6e 20 79 6f 75 72 20 73 |ignals o|n your s|
|00003e60| 79 73 74 65 6d 2e 20 54 | 72 79 20 74 6f 20 74 65 |ystem. T|ry to te|
|00003e70| 73 74 0a 69 74 20 77 69 | 74 68 20 22 6b 69 6c 6c |st.it wi|th "kill|
|00003e80| 20 2d 6c 22 20 69 6e 20 | 61 20 73 68 65 6c 6c 2e | -l" in |a shell.|
|00003e90| 1f 0a 28 64 65 66 76 61 | 72 20 56 69 65 77 2d 70 |..(defva|r View-p|
|00003ea0| 72 6f 63 65 73 73 2d 6b | 69 6c 6c 2d 73 69 67 6e |rocess-k|ill-sign|
|00003eb0| 61 6c 73 2d 67 65 6e 65 | 72 61 6c 20 27 28 28 22 |als-gene|ral '(("|
|00003ec0| 53 49 47 48 55 50 22 20 | 22 31 22 29 20 28 22 53 |SIGHUP" |"1") ("S|
|00003ed0| 49 47 4b 49 4c 4c 22 20 | 22 39 22 29 20 28 22 53 |IGKILL" |"9") ("S|
|00003ee0| 49 47 54 45 52 4d 22 20 | 22 31 35 22 29 20 28 22 |IGTERM" |"15") ("|
|00003ef0| 31 22 20 22 31 22 29 20 | 28 22 32 22 20 22 32 22 |1" "1") |("2" "2"|
|00003f00| 29 20 28 22 33 22 20 22 | 33 22 29 20 28 22 34 22 |) ("3" "|3") ("4"|
|00003f10| 20 22 34 22 29 20 28 22 | 35 22 20 22 35 22 29 20 | "4") ("|5" "5") |
|00003f20| 28 22 36 22 20 22 36 22 | 29 20 28 22 37 22 20 22 |("6" "6"|) ("7" "|
|00003f30| 37 22 29 20 28 22 38 22 | 20 22 38 22 29 20 28 22 |7") ("8"| "8") ("|
|00003f40| 39 22 20 22 39 22 29 20 | 28 22 31 30 22 20 22 31 |9" "9") |("10" "1|
|00003f50| 30 22 29 20 28 22 31 31 | 22 20 22 31 31 22 29 20 |0") ("11|" "11") |
|00003f60| 28 22 31 32 22 20 22 31 | 32 22 29 20 28 22 31 33 |("12" "1|2") ("13|
|00003f70| 22 20 22 31 33 22 29 20 | 28 22 31 34 22 20 22 31 |" "13") |("14" "1|
|00003f80| 34 22 29 20 28 22 31 35 | 22 20 22 31 35 22 29 20 |4") ("15|" "15") |
|00003f90| 28 22 31 36 22 20 22 31 | 36 22 29 20 28 22 31 37 |("16" "1|6") ("17|
|00003fa0| 22 20 22 31 37 22 29 20 | 28 22 31 38 22 20 22 31 |" "17") |("18" "1|
|00003fb0| 38 22 29 20 28 22 31 39 | 22 20 22 31 39 22 29 20 |8") ("19|" "19") |
|00003fc0| 28 22 32 30 22 20 22 32 | 30 22 29 20 28 22 32 31 |("20" "2|0") ("21|
|00003fd0| 22 20 22 32 31 22 29 20 | 28 22 32 32 22 20 22 32 |" "21") |("22" "2|
|00003fe0| 32 22 29 20 28 22 32 33 | 22 20 22 32 33 22 29 20 |2") ("23|" "23") |
|00003ff0| 28 22 32 34 22 20 22 32 | 34 22 29 20 28 22 32 35 |("24" "2|4") ("25|
|00004000| 22 20 22 32 35 22 29 20 | 28 22 32 36 22 20 22 32 |" "25") |("26" "2|
|00004010| 36 22 29 20 28 22 32 37 | 22 20 22 32 37 22 29 20 |6") ("27|" "27") |
|00004020| 28 22 32 38 22 20 22 32 | 38 22 29 20 28 22 32 39 |("28" "2|8") ("29|
|00004030| 22 20 22 32 39 22 29 20 | 28 22 33 30 22 20 22 33 |" "29") |("30" "3|
|00004040| 30 22 29 20 28 22 33 31 | 22 20 22 33 31 22 29 29 |0") ("31|" "31"))|
|00004050| 20 28 23 24 20 2e 20 31 | 35 38 30 38 29 29 0a 23 | (#$ . 1|5808)).#|
|00004060| 40 31 33 39 20 2a 44 65 | 66 61 75 6c 74 20 73 69 |@139 *De|fault si|
|00004070| 67 6e 61 6c 20 66 6f 72 | 20 74 68 65 20 66 75 6e |gnal for| the fun|
|00004080| 63 74 69 6f 6e 20 60 56 | 69 65 77 2d 70 72 6f 63 |ction `V|iew-proc|
|00004090| 65 73 73 2d 73 65 6e 64 | 2d 73 69 67 6e 61 6c 2d |ess-send|-signal-|
|000040a0| 74 6f 2d 70 72 6f 63 65 | 73 73 27 2e 0a 54 68 65 |to-proce|ss'..The|
|000040b0| 20 73 74 72 69 6e 67 20 | 6d 75 73 74 20 62 65 20 | string |must be |
|000040c0| 61 6c 73 6f 20 69 6e 20 | 74 68 65 20 61 6c 69 73 |also in |the alis|
|000040d0| 74 20 60 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d |t `View-|process-|
|000040e0| 6b 69 6c 6c 2d 73 69 67 | 6e 61 6c 73 27 21 1f 0a |kill-sig|nals'!..|
|000040f0| 28 64 65 66 76 61 72 20 | 56 69 65 77 2d 70 72 6f |(defvar |View-pro|
|00004100| 63 65 73 73 2d 64 65 66 | 61 75 6c 74 2d 6b 69 6c |cess-def|ault-kil|
|00004110| 6c 2d 73 69 67 6e 61 6c | 20 22 53 49 47 54 45 52 |l-signal| "SIGTER|
|00004120| 4d 22 20 28 23 24 20 2e | 20 2d 31 36 34 38 35 29 |M" (#$ .| -16485)|
|00004130| 29 0a 23 40 31 37 34 20 | 2a 54 68 65 20 6e 61 6d |).#@174 |*The nam|
|00004140| 65 20 6f 66 20 74 68 65 | 20 66 69 65 6c 64 20 77 |e of the| field w|
|00004150| 69 74 68 20 74 68 65 20 | 50 49 44 27 73 2e 0a 54 |ith the |PID's..T|
|00004160| 68 65 20 6e 61 6d 65 20 | 6d 75 73 74 20 62 65 20 |he name |must be |
|00004170| 74 68 65 20 73 61 6d 65 | 20 61 73 20 69 6e 20 74 |the same| as in t|
|00004180| 68 65 20 66 69 72 73 74 | 20 6f 75 74 70 75 74 6c |he first| outputl|
|00004190| 69 6e 65 20 6f 66 20 74 | 68 65 0a 63 6f 6d 6d 61 |ine of t|he.comma|
|000041a0| 6e 64 20 60 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |nd `View|-process|
|000041b0| 2d 73 74 61 74 75 73 2d | 63 6f 6d 6d 61 6e 64 27 |-status-|command'|
|000041c0| 20 28 70 73 29 2e 0a 54 | 68 65 20 76 61 72 69 61 | (ps)..T|he varia|
|000041d0| 62 6c 65 20 69 73 20 62 | 75 66 66 65 72 20 6c 6f |ble is b|uffer lo|
|000041e0| 63 61 6c 2e 1f 0a 28 64 | 65 66 76 61 72 20 56 69 |cal...(d|efvar Vi|
|000041f0| 65 77 2d 70 72 6f 63 65 | 73 73 2d 70 69 64 2d 66 |ew-proce|ss-pid-f|
|00004200| 69 65 6c 64 2d 6e 61 6d | 65 20 22 50 49 44 22 20 |ield-nam|e "PID" |
|00004210| 28 23 24 20 2e 20 2d 31 | 36 36 39 36 29 29 0a 28 |(#$ . -1|6696)).(|
|00004220| 6d 61 6b 65 2d 76 61 72 | 69 61 62 6c 65 2d 62 75 |make-var|iable-bu|
|00004230| 66 66 65 72 2d 6c 6f 63 | 61 6c 20 27 56 69 65 77 |ffer-loc|al 'View|
|00004240| 2d 70 72 6f 63 65 73 73 | 2d 70 69 64 2d 66 69 65 |-process|-pid-fie|
|00004250| 6c 64 2d 6e 61 6d 65 29 | 0a 23 40 31 37 35 20 2a |ld-name)|.#@175 *|
|00004260| 54 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |The name| of the |
|00004270| 66 69 65 6c 64 20 77 69 | 74 68 20 74 68 65 20 50 |field wi|th the P|
|00004280| 50 49 44 27 73 2e 0a 54 | 68 65 20 6e 61 6d 65 20 |PID's..T|he name |
|00004290| 6d 75 73 74 20 62 65 20 | 74 68 65 20 73 61 6d 65 |must be |the same|
|000042a0| 20 61 73 20 69 6e 20 74 | 68 65 20 66 69 72 73 74 | as in t|he first|
|000042b0| 20 6f 75 74 70 75 74 6c | 69 6e 65 20 6f 66 20 74 | outputl|ine of t|
|000042c0| 68 65 0a 63 6f 6d 6d 61 | 6e 64 20 60 56 69 65 77 |he.comma|nd `View|
|000042d0| 2d 70 72 6f 63 65 73 73 | 2d 73 74 61 74 75 73 2d |-process|-status-|
|000042e0| 63 6f 6d 6d 61 6e 64 27 | 20 28 70 73 29 2e 0a 54 |command'| (ps)..T|
|000042f0| 68 65 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 62 |he varia|ble is b|
|00004300| 75 66 66 65 72 20 6c 6f | 63 61 6c 2e 1f 0a 28 64 |uffer lo|cal...(d|
|00004310| 65 66 76 61 72 20 56 69 | 65 77 2d 70 72 6f 63 65 |efvar Vi|ew-proce|
|00004320| 73 73 2d 70 70 69 64 2d | 66 69 65 6c 64 2d 6e 61 |ss-ppid-|field-na|
|00004330| 6d 65 20 22 50 50 49 44 | 22 20 28 23 24 20 2e 20 |me "PPID|" (#$ . |
|00004340| 2d 31 36 39 39 31 29 29 | 0a 28 6d 61 6b 65 2d 76 |-16991))|.(make-v|
|00004350| 61 72 69 61 62 6c 65 2d | 62 75 66 66 65 72 2d 6c |ariable-|buffer-l|
|00004360| 6f 63 61 6c 20 27 56 69 | 65 77 2d 70 72 6f 63 65 |ocal 'Vi|ew-proce|
|00004370| 73 73 2d 70 70 69 64 2d | 66 69 65 6c 64 2d 6e 61 |ss-ppid-|field-na|
|00004380| 6d 65 29 0a 23 40 37 36 | 36 20 41 20 6c 69 73 74 |me).#@76|6 A list|
|00004390| 20 77 69 74 68 20 74 68 | 65 20 6e 61 6d 65 73 20 | with th|e names |
|000043a0| 61 6e 64 20 74 68 65 20 | 73 79 73 74 65 6d 20 74 |and the |system t|
|000043b0| 79 70 65 73 20 6f 66 20 | 68 6f 73 74 73 2e 0a 45 |ypes of |hosts..E|
|000043c0| 61 63 68 20 65 6e 74 72 | 79 20 6f 66 20 74 68 65 |ach entr|y of the|
|000043d0| 20 6c 69 73 74 20 6c 6f | 6f 6b 73 20 6c 69 6b 65 | list lo|oks like|
|000043e0| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 3a 0a | the fol|lowing:.|
|000043f0| 20 20 28 3c 68 6f 73 74 | 6e 61 6d 65 3e 20 28 3c | (<host|name> (<|
|00004400| 73 79 73 74 65 6d 2d 74 | 79 70 65 3e 20 3c 76 65 |system-t|ype> <ve|
|00004410| 72 73 69 6f 6e 2d 6e 75 | 6d 62 65 72 3e 20 3c 62 |rsion-nu|mber> <b|
|00004420| 73 64 2d 6f 72 2d 73 79 | 73 74 65 6d 2d 76 3e 0a |sd-or-sy|stem-v>.|
|00004430| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3c | | <|
|00004440| 66 69 65 6c 64 2d 6e 61 | 6d 65 2d 64 65 73 63 72 |field-na|me-descr|
|00004450| 69 70 74 69 6f 6e 73 3e | 20 0a 20 20 20 20 20 20 |iptions>| . |
|00004460| 20 20 20 20 20 20 20 20 | 20 3c 6b 69 6c 6c 2d 73 | | <kill-s|
|00004470| 69 67 6e 61 6c 73 3e 29 | 29 0a 48 65 72 65 20 61 |ignals>)|).Here a|
|00004480| 72 65 20 73 6f 6d 65 20 | 65 78 61 6d 70 6c 65 73 |re some |examples|
|00004490| 3a 0a 20 20 28 22 64 61 | 65 64 61 6c 75 73 22 20 |:. ("da|edalus" |
|000044a0| 28 22 73 75 6e 6f 73 22 | 20 22 34 22 20 22 62 73 |("sunos"| "4" "bs|
|000044b0| 64 22 20 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |d" . | |
|000044c0| 20 20 20 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d | View-|process-|
|000044d0| 66 69 65 6c 64 2d 6e 61 | 6d 65 2d 64 65 73 63 72 |field-na|me-descr|
|000044e0| 69 70 74 69 6f 6e 73 2d | 73 75 6e 6f 73 34 0a 20 |iptions-|sunos4. |
|000044f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 56 69 | | Vi|
|00004500| 65 77 2d 70 72 6f 63 65 | 73 73 2d 6b 69 6c 6c 2d |ew-proce|ss-kill-|
|00004510| 73 69 67 6e 61 6c 73 2d | 73 75 6e 6f 73 34 29 29 |signals-|sunos4))|
|00004520| 0a 20 20 28 22 62 61 63 | 68 22 20 28 22 6c 69 6e |. ("bac|h" ("lin|
|00004530| 75 78 22 20 6e 69 6c 20 | 22 62 73 64 22 0a 20 20 |ux" nil |"bsd". |
|00004540| 20 20 20 20 20 20 20 20 | 20 6e 69 6c 0a 20 20 20 | | nil. |
|00004550| 20 20 20 20 20 20 20 20 | 56 69 65 77 2d 70 72 6f | |View-pro|
|00004560| 63 65 73 73 2d 6b 69 6c | 6c 2d 73 69 67 6e 61 6c |cess-kil|l-signal|
|00004570| 73 2d 6c 69 6e 75 78 0a | 20 20 20 20 20 20 20 20 |s-linux.| |
|00004580| 20 20 20 29 29 0a 20 20 | 28 22 63 65 73 61 72 22 | )). |("cesar"|
|00004590| 20 28 6e 69 6c 20 6e 69 | 6c 20 22 62 73 64 22 29 | (nil ni|l "bsd")|
|000045a0| 29 0a 54 68 65 20 6c 69 | 73 74 20 77 69 6c 6c 20 |).The li|st will |
|000045b0| 62 65 20 61 6e 68 61 6e | 63 65 64 20 62 79 20 74 |be anhan|ced by t|
|000045c0| 68 65 20 70 72 6f 67 72 | 61 6d 2c 20 65 61 63 68 |he progr|am, each|
|000045d0| 20 74 69 6d 65 20 79 6f | 75 20 72 75 6e 20 70 73 | time yo|u run ps|
|000045e0| 20 6f 6e 0a 61 20 6e 65 | 77 20 73 79 73 74 65 6d | on.a ne|w system|
|000045f0| 2e 20 42 75 74 20 79 6f | 75 20 63 61 6e 20 61 6c |. But yo|u can al|
|00004600| 73 6f 20 73 65 74 20 74 | 68 69 73 20 76 61 72 69 |so set t|his vari|
|00004610| 61 62 6c 65 20 62 79 20 | 68 61 6e 64 20 69 6e 20 |able by |hand in |
|00004620| 79 6f 75 72 20 0a 2e 65 | 6d 61 63 73 2e 20 49 66 |your ..e|macs. If|
|00004630| 20 74 68 65 20 68 6f 73 | 74 20 6e 61 6d 65 20 69 | the hos|t name i|
|00004640| 73 20 66 6f 75 6e 64 20 | 69 6e 20 74 68 69 73 20 |s found |in this |
|00004650| 6c 69 73 74 2c 20 74 68 | 65 6e 20 74 68 65 20 73 |list, th|en the s|
|00004660| 79 73 74 65 6d 20 0a 74 | 79 70 65 20 77 69 6c 6c |ystem .t|ype will|
|00004670| 20 6e 6f 74 20 62 65 20 | 63 68 65 63 6b 65 64 20 | not be |checked |
|00004680| 61 67 61 69 6e 2e 1f 0a | 28 64 65 66 76 61 72 20 |again...|(defvar |
|00004690| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 68 6f 73 |View-pro|cess-hos|
|000046a0| 74 2d 6e 61 6d 65 73 2d | 61 6e 64 2d 73 79 73 74 |t-names-|and-syst|
|000046b0| 65 6d 2d 74 79 70 65 73 | 20 6e 69 6c 20 28 23 24 |em-types| nil (#$|
|000046c0| 20 2e 20 31 37 32 39 30 | 29 29 0a 23 40 36 38 20 | . 17290|)).#@68 |
|000046d0| 41 20 6c 69 73 74 20 77 | 69 74 68 20 74 68 65 20 |A list w|ith the |
|000046e0| 63 6f 6d 6d 61 6e 64 20 | 73 77 69 74 63 68 20 68 |command |switch h|
|000046f0| 69 73 74 6f 72 79 20 6f | 66 20 74 68 65 20 73 74 |istory o|f the st|
|00004700| 61 74 75 73 20 63 6f 6d | 6d 61 6e 64 20 28 70 73 |atus com|mand (ps|
|00004710| 29 2e 1f 0a 28 64 65 66 | 76 61 72 20 56 69 65 77 |)...(def|var View|
|00004720| 2d 70 72 6f 63 65 73 73 | 2d 73 74 61 74 75 73 2d |-process|-status-|
|00004730| 68 69 73 74 6f 72 79 20 | 6e 69 6c 20 28 23 24 20 |history |nil (#$ |
|00004740| 2e 20 31 38 31 32 38 29 | 29 0a 23 40 33 38 20 41 |. 18128)|).#@38 A|
|00004750| 20 6c 69 73 74 20 77 69 | 74 68 20 74 68 65 20 72 | list wi|th the r|
|00004760| 65 6d 6f 74 65 20 68 6f | 73 74 20 68 69 73 74 6f |emote ho|st histo|
|00004770| 72 79 2e 1f 0a 28 64 65 | 66 76 61 72 20 56 69 65 |ry...(de|fvar Vie|
|00004780| 77 2d 70 72 6f 63 65 73 | 73 2d 72 65 6d 6f 74 65 |w-proces|s-remote|
|00004790| 2d 68 6f 73 74 2d 68 69 | 73 74 6f 72 79 20 6e 69 |-host-hi|story ni|
|000047a0| 6c 20 28 23 24 20 2e 20 | 31 38 32 35 35 29 29 0a |l (#$ . |18255)).|
|000047b0| 23 40 33 37 20 41 20 6c | 69 73 74 20 77 69 74 68 |#@37 A l|ist with|
|000047c0| 20 74 68 65 20 66 69 65 | 6c 64 20 6e 61 6d 65 20 | the fie|ld name |
|000047d0| 68 69 73 74 6f 72 79 2e | 1f 0a 28 64 65 66 76 61 |history.|..(defva|
|000047e0| 72 20 56 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 66 |r View-p|rocess-f|
|000047f0| 69 65 6c 64 2d 6e 61 6d | 65 2d 68 69 73 74 6f 72 |ield-nam|e-histor|
|00004800| 79 20 6e 69 6c 20 28 23 | 24 20 2e 20 31 38 33 35 |y nil (#|$ . 1835|
|00004810| 37 29 29 0a 23 40 33 33 | 20 41 20 6c 69 73 74 20 |7)).#@33| A list |
|00004820| 77 69 74 68 20 74 68 65 | 20 66 69 6c 74 65 72 20 |with the| filter |
|00004830| 68 69 73 74 6f 72 79 2e | 1f 0a 28 64 65 66 76 61 |history.|..(defva|
|00004840| 72 20 56 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 66 |r View-p|rocess-f|
|00004850| 69 6c 74 65 72 2d 68 69 | 73 74 6f 72 79 20 6e 69 |ilter-hi|story ni|
|00004860| 6c 20 28 23 24 20 2e 20 | 31 38 34 35 37 29 29 0a |l (#$ . |18457)).|
|00004870| 23 40 33 33 20 41 20 6c | 69 73 74 20 77 69 74 68 |#@33 A l|ist with|
|00004880| 20 74 68 65 20 73 69 67 | 6e 61 6c 20 68 69 73 74 | the sig|nal hist|
|00004890| 6f 72 79 2e 1f 0a 28 64 | 65 66 76 61 72 20 56 69 |ory...(d|efvar Vi|
|000048a0| 65 77 2d 70 72 6f 63 65 | 73 73 2d 73 69 67 6e 61 |ew-proce|ss-signa|
|000048b0| 6c 2d 68 69 73 74 6f 72 | 79 20 6e 69 6c 20 28 23 |l-histor|y nil (#|
|000048c0| 24 20 2e 20 31 38 35 34 | 39 29 29 0a 23 40 31 35 |$ . 1854|9)).#@15|
|000048d0| 38 20 48 65 6c 70 20 6c | 69 73 74 20 77 69 74 68 |8 Help l|ist with|
|000048e0| 20 74 68 65 20 64 65 73 | 63 72 69 70 74 69 6f 6e | the des|cription|
|000048f0| 73 20 6f 66 20 70 73 20 | 66 69 65 6c 64 73 2e 0a |s of ps |fields..|
|00004900| 44 6f 6e 27 74 20 63 68 | 61 6e 67 65 20 69 74 20 |Don't ch|ange it |
|00004910| 62 79 20 68 61 6e 64 21 | 0a 54 68 65 20 76 61 72 |by hand!|.The var|
|00004920| 69 61 62 6c 65 20 69 73 | 20 69 6e 69 74 69 61 6c |iable is| initial|
|00004930| 69 73 65 64 20 65 61 63 | 68 20 74 69 6d 65 20 61 |ised eac|h time a|
|00004940| 66 74 65 72 20 72 75 6e | 6e 69 6e 67 20 70 73 2e |fter run|ning ps.|
|00004950| 0a 54 68 65 20 76 61 72 | 69 61 62 6c 65 20 69 73 |.The var|iable is|
|00004960| 20 62 75 66 66 65 72 20 | 6c 6f 63 61 6c 2e 1f 0a | buffer |local...|
|00004970| 28 64 65 66 76 61 72 20 | 56 69 65 77 2d 70 72 6f |(defvar |View-pro|
|00004980| 63 65 73 73 2d 66 69 65 | 6c 64 2d 6e 61 6d 65 2d |cess-fie|ld-name-|
|00004990| 64 65 73 63 72 69 70 74 | 69 6f 6e 73 20 6e 69 6c |descript|ions nil|
|000049a0| 20 28 23 24 20 2e 20 31 | 38 36 34 32 29 29 0a 28 | (#$ . 1|8642)).(|
|000049b0| 6d 61 6b 65 2d 76 61 72 | 69 61 62 6c 65 2d 62 75 |make-var|iable-bu|
|000049c0| 66 66 65 72 2d 6c 6f 63 | 61 6c 20 27 56 69 65 77 |ffer-loc|al 'View|
|000049d0| 2d 70 72 6f 63 65 73 73 | 2d 66 69 65 6c 64 2d 6e |-process|-field-n|
|000049e0| 61 6d 65 2d 64 65 73 63 | 72 69 70 74 69 6f 6e 73 |ame-desc|riptions|
|000049f0| 29 0a 23 40 31 39 35 20 | 48 65 6c 70 20 6c 69 73 |).#@195 |Help lis|
|00004a00| 74 20 77 69 74 68 20 74 | 68 65 20 64 65 73 63 72 |t with t|he descr|
|00004a10| 69 70 74 69 6f 6e 73 20 | 6f 66 20 70 73 20 66 69 |iptions |of ps fi|
|00004a20| 65 6c 64 73 2e 0a 54 68 | 69 73 20 69 73 20 61 20 |elds..Th|is is a |
|00004a30| 67 65 6e 65 72 61 6c 20 | 6c 69 73 74 2c 20 77 68 |general |list, wh|
|00004a40| 69 63 68 20 73 68 6f 75 | 6c 64 20 62 65 20 74 72 |ich shou|ld be tr|
|00004a50| 75 65 20 66 6f 72 20 6d | 61 6e 79 20 73 79 73 74 |ue for m|any syst|
|00004a60| 65 6d 73 2e 0a 54 68 69 | 73 20 6c 69 73 74 20 77 |ems..Thi|s list w|
|00004a70| 69 6c 6c 20 6f 6e 6c 79 | 20 62 65 20 75 73 65 64 |ill only| be used|
|00004a80| 2c 20 69 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f |, if the|re is no|
|00004a90| 20 65 6e 74 72 79 20 69 | 6e 20 61 20 73 70 65 63 | entry i|n a spec|
|00004aa0| 69 61 6c 20 0a 6c 69 73 | 74 20 66 6f 72 20 74 68 |ial .lis|t for th|
|00004ab0| 65 20 73 79 73 74 65 6d | 2e 1f 0a 28 64 65 66 76 |e system|...(defv|
|00004ac0| 61 72 20 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d |ar View-|process-|
|00004ad0| 66 69 65 6c 64 2d 6e 61 | 6d 65 2d 64 65 73 63 72 |field-na|me-descr|
|00004ae0| 69 70 74 69 6f 6e 73 2d | 67 65 6e 65 72 61 6c 20 |iptions-|general |
|00004af0| 27 28 28 22 6d 22 20 22 | 4d 61 72 6b 20 63 6f 6c |'(("m" "|Mark col|
|00004b00| 75 6d 6e 20 6f 66 20 74 | 68 65 20 56 69 65 77 20 |umn of t|he View |
|00004b10| 50 72 6f 63 65 73 73 65 | 73 20 4d 6f 64 65 2e 22 |Processe|s Mode."|
|00004b20| 29 20 28 22 41 44 44 52 | 22 20 22 54 68 65 20 6d |) ("ADDR|" "The m|
|00004b30| 65 6d 6f 72 79 20 61 64 | 64 72 65 73 73 20 6f 66 |emory ad|dress of|
|00004b40| 20 74 68 65 20 70 72 6f | 63 65 73 73 2e 20 22 29 | the pro|cess. ")|
|00004b50| 20 28 22 25 43 50 55 22 | 20 22 43 50 55 20 75 73 | ("%CPU"| "CPU us|
|00004b60| 61 67 65 20 69 6e 20 70 | 65 72 63 65 6e 74 61 67 |age in p|ercentag|
|00004b70| 65 2e 22 29 20 28 22 25 | 4d 45 4d 22 20 22 52 65 |e.") ("%|MEM" "Re|
|00004b80| 61 6c 20 4d 65 6d 6f 72 | 79 20 75 73 61 67 65 20 |al Memor|y usage |
|00004b90| 69 6e 20 70 65 72 63 65 | 6e 74 61 67 65 2e 22 29 |in perce|ntage.")|
|00004ba0| 20 28 22 43 4f 4d 4d 41 | 4e 44 22 20 22 43 6f 6d | ("COMMA|ND" "Com|
|00004bb0| 6d 61 6e 64 20 4e 61 6d | 65 2e 22 29 20 28 22 46 |mand Nam|e.") ("F|
|00004bc0| 22 20 28 22 53 74 61 74 | 75 73 3d 20 22 20 28 22 |" ("Stat|us= " ("|
|00004bd0| 30 22 20 22 30 3d 6e 6f | 74 20 69 6e 20 6d 61 69 |0" "0=no|t in mai|
|00004be0| 6e 20 6d 65 6d 6f 72 79 | 2e 22 29 20 28 22 31 22 |n memory|.") ("1"|
|00004bf0| 20 22 31 3d 69 6e 20 6d | 61 69 6e 20 6d 65 6d 6f | "1=in m|ain memo|
|00004c00| 72 79 2e 22 29 20 28 22 | 32 22 20 22 32 3d 73 79 |ry.") ("|2" "2=sy|
|00004c10| 73 74 65 6d 20 70 72 6f | 63 65 73 73 2e 22 29 20 |stem pro|cess.") |
|00004c20| 28 22 34 22 20 22 34 3d | 62 6c 6f 63 6b 65 64 20 |("4" "4=|blocked |
|00004c30| 69 6e 20 74 68 65 20 6d | 61 69 6e 20 6d 65 6d 6f |in the m|ain memo|
|00004c40| 72 79 2e 22 29 20 28 22 | 31 30 22 20 22 31 30 3d |ry.") ("|10" "10=|
|00004c50| 73 77 61 70 70 65 64 20 | 6f 75 74 2e 22 29 20 28 |swapped |out.") (|
|00004c60| 22 32 30 22 20 22 32 30 | 3d 63 6f 6e 74 72 6f 6c |"20" "20|=control|
|00004c70| 6c 65 64 20 62 79 20 61 | 6e 6f 74 68 65 72 20 6f |led by a|nother o|
|00004c80| 6e 65 2e 22 29 29 29 20 | 28 22 4e 49 22 20 22 55 |ne."))) |("NI" "U|
|00004c90| 4e 49 58 20 6e 69 63 65 | 20 76 61 6c 75 65 2c 20 |NIX nice| value, |
|00004ca0| 61 20 70 6f 73 69 74 69 | 76 65 20 76 61 6c 75 65 |a positi|ve value|
|00004cb0| 20 6d 65 61 6e 73 20 6c | 65 73 73 20 43 50 55 20 | means l|ess CPU |
|00004cc0| 74 69 6d 65 2e 22 29 20 | 28 22 50 41 47 45 49 4e |time.") |("PAGEIN|
|00004cd0| 22 20 22 4e 75 6d 62 65 | 72 20 6f 66 20 6d 61 6a |" "Numbe|r of maj|
|00004ce0| 6f 72 20 70 61 67 65 20 | 66 61 75 6c 74 73 2e 22 |or page |faults."|
|00004cf0| 29 20 28 22 50 47 49 44 | 22 20 22 50 72 6f 63 65 |) ("PGID|" "Proce|
|00004d00| 73 73 20 67 72 6f 75 70 | 20 69 64 2e 20 22 29 20 |ss group| id. ") |
|00004d10| 28 22 50 49 44 22 20 22 | 54 68 65 20 70 72 6f 63 |("PID" "|The proc|
|00004d20| 65 73 73 20 69 64 2e 22 | 29 20 28 22 50 50 49 44 |ess id."|) ("PPID|
|00004d30| 22 20 22 54 68 65 20 70 | 72 6f 63 65 73 73 20 69 |" "The p|rocess i|
|00004d40| 64 20 6f 66 20 74 68 65 | 20 70 61 72 65 6e 74 20 |d of the| parent |
|00004d50| 70 72 6f 63 65 73 73 2e | 22 29 20 28 22 50 52 49 |process.|") ("PRI|
|00004d60| 22 20 22 50 72 69 6f 72 | 69 74 79 2c 20 61 20 62 |" "Prior|ity, a b|
|00004d70| 69 67 20 76 61 6c 75 65 | 20 69 73 20 61 20 73 6d |ig value| is a sm|
|00004d80| 61 6c 6c 20 70 72 69 6f | 72 69 74 79 2e 22 29 20 |all prio|rity.") |
|00004d90| 28 22 52 53 53 22 20 22 | 52 65 61 6c 20 28 72 65 |("RSS" "|Real (re|
|00004da0| 73 69 64 65 6e 74 20 73 | 65 74 29 20 73 69 7a 65 |sident s|et) size|
|00004db0| 2c 20 4b 42 79 74 65 73 | 20 6f 66 20 70 72 6f 67 |, KBytes| of prog|
|00004dc0| 72 61 6d 20 69 6e 20 6d | 65 6d 6f 72 79 2e 22 29 |ram in m|emory.")|
|00004dd0| 20 28 22 53 48 41 52 45 | 22 20 22 53 68 61 72 65 | ("SHARE|" "Share|
|00004de0| 64 20 6d 65 6d 6f 72 79 | 22 29 20 28 22 53 49 44 |d memory|") ("SID|
|00004df0| 22 20 22 49 44 20 6f 66 | 20 74 68 65 20 73 65 73 |" "ID of| the ses|
|00004e00| 73 69 6f 6e 20 74 6f 20 | 77 68 69 63 68 20 74 68 |sion to |which th|
|00004e10| 65 20 70 72 6f 63 65 73 | 73 20 62 65 6c 6f 6e 67 |e proces|s belong|
|00004e20| 73 2e 20 22 29 20 28 22 | 53 49 5a 45 22 20 22 56 |s. ") ("|SIZE" "V|
|00004e30| 69 72 74 75 61 6c 20 69 | 6d 61 67 65 20 73 69 7a |irtual i|mage siz|
|00004e40| 65 2c 20 73 69 7a 65 20 | 6f 66 20 74 65 78 74 2b |e, size |of text+|
|00004e50| 64 61 74 61 2b 73 74 61 | 63 6b 20 28 69 6e 20 4b |data+sta|ck (in K|
|00004e60| 42 79 74 65 20 3f 29 2e | 22 29 20 28 22 53 54 41 |Byte ?).|") ("STA|
|00004e70| 52 54 22 20 22 53 74 61 | 72 74 20 74 69 6d 65 2e |RT" "Sta|rt time.|
|00004e80| 22 29 20 28 22 53 54 41 | 54 22 20 28 22 53 74 61 |") ("STA|T" ("Sta|
|00004e90| 74 75 73 2e 20 22 20 28 | 22 52 22 20 22 52 3d 72 |tus. " (|"R" "R=r|
|00004ea0| 75 6e 6e 61 62 6c 65 2e | 20 22 29 20 28 22 53 22 |unnable.| ") ("S"|
|00004eb0| 20 22 53 3d 73 6c 65 65 | 70 69 6e 67 2e 20 22 29 | "S=slee|ping. ")|
|00004ec0| 20 28 22 44 22 20 22 44 | 3d 75 6e 2d 69 6e 74 65 | ("D" "D|=un-inte|
|00004ed0| 72 72 75 70 74 69 62 6c | 65 20 73 6c 65 65 70 20 |rruptibl|e sleep |
|00004ee0| 28 65 67 20 64 69 73 6b | 20 6f 72 20 4e 46 53 20 |(eg disk| or NFS |
|00004ef0| 49 2f 4f 29 2e 20 22 29 | 20 28 22 54 22 20 22 54 |I/O). ")| ("T" "T|
|00004f00| 3d 73 74 6f 70 70 65 64 | 20 6f 72 20 74 72 61 63 |=stopped| or trac|
|00004f10| 65 64 2e 20 22 29 20 28 | 22 5a 22 20 22 5a 3d 7a |ed. ") (|"Z" "Z=z|
|00004f20| 6f 6d 62 69 65 20 28 74 | 65 72 6d 69 6e 61 74 65 |ombie (t|erminate|
|00004f30| 64 29 2e 20 22 29 20 28 | 22 57 22 20 22 57 3d 77 |d). ") (|"W" "W=w|
|00004f40| 61 69 74 69 6e 67 20 6f | 6e 20 61 6e 20 65 76 65 |aiting o|n an eve|
|00004f50| 6e 74 2e 20 22 29 20 28 | 22 49 22 20 22 49 3d 69 |nt. ") (|"I" "I=i|
|00004f60| 6e 74 65 72 6d 65 64 69 | 61 74 65 20 73 74 61 74 |ntermedi|ate stat|
|00004f70| 75 73 2e 20 22 29 20 28 | 22 4e 22 20 22 4e 3d 73 |us. ") (|"N" "N=s|
|00004f80| 74 61 72 74 65 64 20 77 | 69 74 68 20 6e 69 63 65 |tarted w|ith nice|
|00004f90| 2e 20 22 29 29 29 20 28 | 22 53 57 41 50 22 20 22 |. "))) (|"SWAP" "|
|00004fa0| 4b 69 6c 6f 62 79 74 65 | 73 20 28 77 69 74 68 20 |Kilobyte|s (with |
|00004fb0| 2d 70 20 70 61 67 65 73 | 29 20 6f 6e 20 73 77 61 |-p pages|) on swa|
|00004fc0| 70 20 64 65 76 69 63 65 | 2e 22 29 20 28 22 54 49 |p device|.") ("TI|
|00004fd0| 4d 45 22 20 22 45 6c 61 | 70 73 65 64 20 70 72 6f |ME" "Ela|psed pro|
|00004fe0| 63 65 73 73 20 74 69 6d | 65 2e 22 29 20 28 22 54 |cess tim|e.") ("T|
|00004ff0| 50 47 49 44 22 20 22 50 | 72 6f 63 65 73 73 20 67 |PGID" "P|rocess g|
|00005000| 72 6f 75 70 20 69 64 20 | 6f 66 20 74 68 65 20 61 |roup id |of the a|
|00005010| 73 73 6f 63 69 61 74 65 | 64 20 74 65 72 6d 69 6e |ssociate|d termin|
|00005020| 61 6c 2e 20 22 29 20 28 | 22 54 52 53 22 20 22 54 |al. ") (|"TRS" "T|
|00005030| 65 78 74 20 72 65 73 69 | 64 65 6e 74 20 73 69 7a |ext resi|dent siz|
|00005040| 65 2e 22 29 20 28 22 54 | 54 22 20 28 22 44 69 61 |e.") ("T|T" ("Dia|
|00005050| 6c 6f 67 20 73 74 61 74 | 69 6f 6e 2e 20 22 20 28 |log stat|ion. " (|
|00005060| 22 3f 22 20 22 3f 3d 4e | 6f 20 64 69 61 6c 6f 67 |"?" "?=N|o dialog|
|00005070| 20 73 74 61 74 69 6f 6e | 22 29 29 29 20 28 22 54 | station|"))) ("T|
|00005080| 54 59 22 20 28 22 44 69 | 61 6c 6f 67 20 73 74 61 |TY" ("Di|alog sta|
|00005090| 74 69 6f 6e 2e 20 22 20 | 28 22 3f 22 20 22 3f 3d |tion. " |("?" "?=|
|000050a0| 4e 6f 20 64 69 61 6c 6f | 67 20 73 74 61 74 69 6f |No dialo|g statio|
|000050b0| 6e 22 29 29 29 20 28 22 | 55 49 44 22 20 22 55 73 |n"))) ("|UID" "Us|
|000050c0| 65 72 20 49 64 2e 22 29 | 20 28 22 55 53 45 52 22 |er Id.")| ("USER"|
|000050d0| 20 22 4f 77 6e 65 72 20 | 6f 66 20 74 68 65 20 70 | "Owner |of the p|
|000050e0| 72 6f 63 65 73 73 2e 22 | 29 20 28 22 57 43 48 41 |rocess."|) ("WCHA|
|000050f0| 4e 22 20 22 4e 61 6d 65 | 20 6f 66 20 74 68 65 20 |N" "Name| of the |
|00005100| 6b 65 72 6e 65 6c 20 66 | 75 6e 63 74 69 6f 6e 20 |kernel f|unction |
|00005110| 77 68 65 72 65 20 74 68 | 65 20 70 72 6f 63 65 73 |where th|e proces|
|00005120| 73 20 69 73 20 73 6c 65 | 65 70 69 6e 67 2e 22 29 |s is sle|eping.")|
|00005130| 29 20 28 23 24 20 2e 20 | 31 38 39 33 36 29 29 0a |) (#$ . |18936)).|
|00005140| 23 40 35 38 35 20 44 65 | 74 65 72 6d 69 6e 65 73 |#@585 De|termines|
|00005150| 20 70 6c 61 63 65 73 20 | 69 6e 20 74 68 65 20 6f | places |in the o|
|00005160| 75 74 70 75 74 2c 20 77 | 68 65 72 65 20 61 20 62 |utput, w|here a b|
|00005170| 6c 61 6e 6b 20 73 68 6f | 75 6c 64 20 62 65 20 69 |lank sho|uld be i|
|00005180| 6e 73 65 72 74 65 64 2e | 0a 49 74 20 69 73 20 61 |nserted.|.It is a|
|00005190| 6e 20 61 6c 69 73 74 20 | 61 6e 64 20 65 61 63 68 |n alist |and each|
|000051a0| 20 73 75 62 6c 69 73 74 | 20 68 61 73 20 74 68 65 | sublist| has the|
|000051b0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 73 74 72 75 63 | followi|ng struc|
|000051c0| 74 75 72 65 3a 0a 20 28 | 66 69 65 6c 64 2d 6e 61 |ture:. (|field-na|
|000051d0| 6d 65 20 70 6f 73 69 74 | 69 6f 6e 2d 64 65 73 63 |me posit|ion-desc|
|000051e0| 72 69 70 74 6f 72 20 6f | 66 66 73 65 74 29 0a 54 |riptor o|ffset).T|
|000051f0| 68 65 20 66 69 65 6c 64 | 2d 6e 61 6d 65 20 69 73 |he field|-name is|
|00005200| 20 61 20 73 74 72 69 6e | 67 20 77 69 74 68 20 74 | a strin|g with t|
|00005210| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 66 |he name |of the f|
|00005220| 69 65 6c 64 2e 0a 54 68 | 65 20 70 6f 73 69 74 69 |ield..Th|e positi|
|00005230| 6f 6e 2d 64 65 73 63 72 | 69 70 74 6f 72 20 64 65 |on-descr|iptor de|
|00005240| 74 65 72 6d 69 6e 65 73 | 20 61 20 70 6f 73 69 74 |termines| a posit|
|00005250| 69 6f 6e 2e 20 49 74 20 | 68 61 73 20 6f 6e 65 20 |ion. It |has one |
|00005260| 6f 66 20 74 68 65 0a 66 | 6f 6c 6c 6f 77 69 6e 67 |of the.f|ollowing|
|00005270| 20 76 61 6c 75 65 73 3a | 0a 60 69 6e 2d 66 72 6f | values:|.`in-fro|
|00005280| 6e 74 27 20 3d 3e 20 69 | 6e 73 65 72 74 20 69 6e |nt' => i|nsert in|
|00005290| 20 66 72 6f 6e 74 20 6f | 66 20 74 68 65 20 66 69 | front o|f the fi|
|000052a0| 65 6c 64 2e 0a 60 69 6e | 2d 66 72 6f 6e 74 2d 73 |eld..`in|-front-s|
|000052b0| 75 63 63 65 73 73 6f 72 | 27 20 3d 3e 20 69 6e 73 |uccessor|' => ins|
|000052c0| 65 72 74 20 69 6e 20 66 | 72 6f 6e 74 20 6f 66 20 |ert in f|ront of |
|000052d0| 74 68 65 20 73 75 63 63 | 65 73 73 6f 72 20 6f 66 |the succ|essor of|
|000052e0| 20 74 68 65 20 66 69 65 | 6c 64 2e 0a 60 62 65 68 | the fie|ld..`beh|
|000052f0| 69 6e 64 27 20 3d 3e 20 | 69 6e 73 65 72 74 20 62 |ind' => |insert b|
|00005300| 65 68 69 6e 64 20 6f 66 | 20 74 68 65 20 66 69 65 |ehind of| the fie|
|00005310| 6c 64 2e 0a 60 62 65 68 | 69 6e 64 2d 70 72 65 64 |ld..`beh|ind-pred|
|00005320| 65 63 65 73 73 6f 72 27 | 20 3d 3e 20 69 6e 73 65 |ecessor'| => inse|
|00005330| 72 74 20 62 65 68 69 6e | 64 20 74 68 65 20 70 72 |rt behin|d the pr|
|00005340| 65 64 65 63 65 73 73 6f | 72 20 6f 66 20 74 68 65 |edecesso|r of the|
|00005350| 20 66 69 65 6c 64 2e 0a | 54 68 65 20 6f 66 66 73 | field..|The offs|
|00005360| 65 74 20 69 73 20 61 6e | 20 69 6e 74 65 67 65 72 |et is an| integer|
|00005370| 20 2c 20 77 68 69 63 68 | 20 73 70 65 63 69 66 69 | , which| specifi|
|00005380| 65 73 20 61 6e 20 6f 66 | 66 73 65 74 2e 1f 0a 28 |es an of|fset...(|
|00005390| 64 65 66 76 61 72 20 56 | 69 65 77 2d 70 72 6f 63 |defvar V|iew-proc|
|000053a0| 65 73 73 2d 69 6e 73 65 | 72 74 2d 62 6c 61 6e 6b |ess-inse|rt-blank|
|000053b0| 2d 61 6c 69 73 74 20 27 | 28 28 22 53 5a 22 20 62 |-alist '|(("SZ" b|
|000053c0| 65 68 69 6e 64 2d 70 72 | 65 64 65 63 65 73 73 6f |ehind-pr|edecesso|
|000053d0| 72 20 30 29 20 28 22 53 | 49 5a 45 22 20 62 65 68 |r 0) ("S|IZE" beh|
|000053e0| 69 6e 64 2d 70 72 65 64 | 65 63 65 73 73 6f 72 20 |ind-pred|ecessor |
|000053f0| 30 29 20 28 22 52 53 53 | 22 20 62 65 68 69 6e 64 |0) ("RSS|" behind|
|00005400| 2d 70 72 65 64 65 63 65 | 73 73 6f 72 20 30 29 20 |-predece|ssor 0) |
|00005410| 28 22 53 54 41 52 54 22 | 20 62 65 68 69 6e 64 20 |("START"| behind |
|00005420| 31 29 29 20 28 23 24 20 | 2e 20 32 30 38 30 36 29 |1)) (#$ |. 20806)|
|00005430| 29 0a 23 40 34 33 20 53 | 79 6e 74 61 78 20 74 61 |).#@43 S|yntax ta|
|00005440| 62 6c 65 20 66 6f 72 20 | 74 68 65 20 60 56 69 65 |ble for |the `Vie|
|00005450| 77 2d 70 72 6f 63 65 73 | 73 2d 6d 6f 64 65 27 2e |w-proces|s-mode'.|
|00005460| 1f 0a 28 64 65 66 76 61 | 72 20 56 69 65 77 2d 70 |..(defva|r View-p|
|00005470| 72 6f 63 65 73 73 2d 6d | 6f 64 65 2d 73 79 6e 74 |rocess-m|ode-synt|
|00005480| 61 78 2d 74 61 62 6c 65 | 20 6e 69 6c 20 28 23 24 |ax-table| nil (#$|
|00005490| 20 2e 20 32 31 35 35 39 | 29 29 0a 28 62 79 74 65 | . 21559|)).(byte|
|000054a0| 2d 63 6f 64 65 20 22 08 | ac ef c1 1a c3 20 10 c4 |-code ".|..... ..|
|000054b0| 12 c4 c5 58 ab 8c c6 5c | 6e c7 08 23 88 5c 6e 54 |...X...\|n..#.\nT|
|000054c0| 89 12 aa 70 c6 c8 c7 08 | 23 88 c6 c9 c7 08 23 88 |...p....|#.....#.|
|000054d0| ca 12 ca cb 58 ab 8c c6 | 5c 6e c7 08 23 88 5c 6e |....X...|\n..#.\n|
|000054e0| 54 89 12 aa 70 cc 12 cc | cd 58 ab 8c c6 5c 6e c7 |T...p...|.X...\n.|
|000054f0| 08 23 88 5c 6e 54 89 12 | aa 70 c6 ce c7 08 23 88 |.#.\nT..|.p....#.|
|00005500| c6 cf c7 08 23 88 c6 d0 | c7 08 23 88 c6 d1 c7 08 |....#...|..#.....|
|00005510| 23 88 c6 d2 c7 08 23 88 | c6 d3 c7 08 23 88 29 c1 |#.....#.|....#.).|
|00005520| 87 22 20 5b 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |." [View|-process|
|00005530| 2d 6d 6f 64 65 2d 73 79 | 6e 74 61 78 2d 74 61 62 |-mode-sy|ntax-tab|
|00005540| 6c 65 20 30 20 69 20 6d | 61 6b 65 2d 73 79 6e 74 |le 0 i m|ake-synt|
|00005550| 61 78 2d 74 61 62 6c 65 | 20 3f 5c 21 20 3f 5c 23 |ax-table| ?\! ?\#|
|00005560| 20 6d 6f 64 69 66 79 2d | 73 79 6e 74 61 78 2d 65 | modify-|syntax-e|
|00005570| 6e 74 72 79 20 22 77 22 | 20 3f 5c 2c 20 3f 5c 2e |ntry "w"| ?\, ?\.|
|00005580| 20 3f 5c 3a 20 3f 5c 3b | 20 3f 5c 3f 20 3f 5c 40 | ?\: ?\;| ?\? ?\@|
|00005590| 20 3f 5c 5c 20 3f 5e 20 | 3f 5c 60 20 3f 5c 27 20 | ?\\ ?^ |?\` ?\' |
|000055a0| 3f 5c 7e 20 3f a1 5d 20 | 35 29 0a 23 40 36 33 20 |?\~ ?.] |5).#@63 |
|000055b0| 54 68 65 20 64 69 67 69 | 74 73 20 31 20 74 6f 20 |The digi|ts 1 to |
|000055c0| 39 20 77 69 6c 6c 20 62 | 65 20 62 69 6e 64 20 74 |9 will b|e bind t|
|000055d0| 6f 20 73 65 6e 64 20 73 | 69 67 6e 61 6c 20 63 6f |o send s|ignal co|
|000055e0| 6d 6d 61 6e 64 73 2c 20 | 69 66 20 74 2e 1f 0a 28 |mmands, |if t...(|
|000055f0| 64 65 66 76 61 72 20 56 | 69 65 77 2d 70 72 6f 63 |defvar V|iew-proc|
|00005600| 65 73 73 2d 64 69 67 69 | 74 2d 62 69 6e 64 69 6e |ess-digi|t-bindin|
|00005610| 67 73 2d 73 65 6e 64 2d | 73 69 67 6e 61 6c 20 6e |gs-send-|signal n|
|00005620| 69 6c 20 28 23 24 20 2e | 20 32 31 39 33 36 29 29 |il (#$ .| 21936))|
|00005630| 0a 23 40 34 38 20 4c 6f | 63 61 6c 20 73 75 62 6b |.#@48 Lo|cal subk|
|00005640| 65 79 6d 61 70 20 66 6f | 72 20 56 69 65 77 2d 70 |eymap fo|r View-p|
|00005650| 72 6f 63 65 73 73 2d 6d | 6f 64 65 20 62 75 66 66 |rocess-m|ode buff|
|00005660| 65 72 73 2e 1f 0a 28 64 | 65 66 76 61 72 20 56 69 |ers...(d|efvar Vi|
|00005670| 65 77 2d 70 72 6f 63 65 | 73 73 2d 6d 6f 64 65 2d |ew-proce|ss-mode-|
|00005680| 6d 61 72 6b 2d 6d 61 70 | 20 6e 69 6c 20 28 23 24 |mark-map| nil (#$|
|00005690| 20 2e 20 32 32 30 37 30 | 29 29 0a 28 62 79 74 65 | . 22070|)).(byte|
|000056a0| 2d 63 6f 64 65 20 22 08 | ac a1 c1 20 10 c2 08 c3 |-code ".|... ....|
|000056b0| c4 23 88 c2 08 c5 c6 23 | 88 c2 08 c7 c8 23 88 c2 |.#.....#|.....#..|
|000056c0| 08 c9 ca 23 88 c2 08 cb | cc 23 88 c1 87 22 20 5b |...#....|.#..." [|
|000056d0| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 6d 6f 64 |View-pro|cess-mod|
|000056e0| 65 2d 6d 61 72 6b 2d 6d | 61 70 20 6d 61 6b 65 2d |e-mark-m|ap make-|
|000056f0| 6b 65 79 6d 61 70 20 64 | 65 66 69 6e 65 2d 6b 65 |keymap d|efine-ke|
|00005700| 79 20 22 6d 22 20 56 69 | 65 77 2d 70 72 6f 63 65 |y "m" Vi|ew-proce|
|00005710| 73 73 2d 6d 61 72 6b 2d | 63 75 72 72 65 6e 74 2d |ss-mark-|current-|
|00005720| 6c 69 6e 65 20 22 75 22 | 20 56 69 65 77 2d 70 72 |line "u"| View-pr|
|00005730| 6f 63 65 73 73 2d 75 6e | 6d 61 72 6b 2d 63 75 72 |ocess-un|mark-cur|
|00005740| 72 65 6e 74 2d 6c 69 6e | 65 20 22 55 22 20 56 69 |rent-lin|e "U" Vi|
|00005750| 65 77 2d 70 72 6f 63 65 | 73 73 2d 75 6e 6d 61 72 |ew-proce|ss-unmar|
|00005760| 6b 2d 61 6c 6c 20 22 63 | 22 20 56 69 65 77 2d 70 |k-all "c|" View-p|
|00005770| 72 6f 63 65 73 73 2d 6d | 61 72 6b 2d 63 68 69 6c |rocess-m|ark-chil|
|00005780| 64 73 2d 69 6e 2d 63 75 | 72 72 65 6e 74 2d 6c 69 |ds-in-cu|rrent-li|
|00005790| 6e 65 20 22 6c 22 20 56 | 69 65 77 2d 70 72 6f 63 |ne "l" V|iew-proc|
|000057a0| 65 73 73 2d 72 65 73 65 | 74 2d 6c 61 73 74 2d 6d |ess-rese|t-last-m|
|000057b0| 61 72 6b 73 5d 20 34 29 | 0a 23 40 34 38 20 4c 6f |arks] 4)|.#@48 Lo|
|000057c0| 63 61 6c 20 73 75 62 6b | 65 79 6d 61 70 20 66 6f |cal subk|eymap fo|
|000057d0| 72 20 56 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 6d |r View-p|rocess-m|
|000057e0| 6f 64 65 20 62 75 66 66 | 65 72 73 2e 1f 0a 28 64 |ode buff|ers...(d|
|000057f0| 65 66 76 61 72 20 56 69 | 65 77 2d 70 72 6f 63 65 |efvar Vi|ew-proce|
|00005800| 73 73 2d 6d 6f 64 65 2d | 69 2d 6d 61 70 20 6e 69 |ss-mode-|i-map ni|
|00005810| 6c 20 28 23 24 20 2e 20 | 32 32 34 36 32 29 29 0a |l (#$ . |22462)).|
|00005820| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 ac 8f c1 |(byte-co|de "....|
|00005830| 20 10 c2 08 c3 c4 23 88 | c2 08 c5 c6 23 88 c1 87 | .....#.|....#...|
|00005840| 22 20 5b 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d |" [View-|process-|
|00005850| 6d 6f 64 65 2d 69 2d 6d | 61 70 20 6d 61 6b 65 2d |mode-i-m|ap make-|
|00005860| 6b 65 79 6d 61 70 20 64 | 65 66 69 6e 65 2d 6b 65 |keymap d|efine-ke|
|00005870| 79 20 22 73 22 20 56 69 | 65 77 2d 70 72 6f 63 65 |y "s" Vi|ew-proce|
|00005880| 73 73 2d 73 74 61 72 74 | 2d 69 74 69 6d 65 72 20 |ss-start|-itimer |
|00005890| 22 64 22 20 56 69 65 77 | 2d 70 72 6f 63 65 73 73 |"d" View|-process|
|000058a0| 2d 64 65 6c 65 74 65 2d | 69 74 69 6d 65 72 5d 20 |-delete-|itimer] |
|000058b0| 34 29 0a 23 40 34 38 20 | 4c 6f 63 61 6c 20 73 75 |4).#@48 |Local su|
|000058c0| 62 6b 65 79 6d 61 70 20 | 66 6f 72 20 56 69 65 77 |bkeymap |for View|
|000058d0| 2d 70 72 6f 63 65 73 73 | 2d 6d 6f 64 65 20 62 75 |-process|-mode bu|
|000058e0| 66 66 65 72 73 2e 1f 0a | 28 64 65 66 76 61 72 20 |ffers...|(defvar |
|000058f0| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 6d 6f 64 |View-pro|cess-mod|
|00005900| 65 2d 63 6f 6d 6d 61 2d | 6d 61 70 20 6e 69 6c 20 |e-comma-|map nil |
|00005910| 28 23 24 20 2e 20 32 32 | 37 31 32 29 29 0a 28 62 |(#$ . 22|712)).(b|
|00005920| 79 74 65 2d 63 6f 64 65 | 20 22 08 ac 8f c1 20 10 |yte-code| ".... .|
|00005930| c2 08 c3 c4 23 88 c2 08 | c5 c6 23 88 c1 87 22 20 |....#...|..#..." |
|00005940| 5b 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 6d 6f |[View-pr|ocess-mo|
|00005950| 64 65 2d 63 6f 6d 6d 61 | 2d 6d 61 70 20 6d 61 6b |de-comma|-map mak|
|00005960| 65 2d 6b 65 79 6d 61 70 | 20 64 65 66 69 6e 65 2d |e-keymap| define-|
|00005970| 6b 65 79 20 22 6b 22 20 | 56 69 65 77 2d 70 72 6f |key "k" |View-pro|
|00005980| 63 65 73 73 2d 73 65 6e | 64 2d 73 69 67 6e 61 6c |cess-sen|d-signal|
|00005990| 2d 74 6f 2d 70 72 6f 63 | 65 73 73 65 73 2d 77 69 |-to-proc|esses-wi|
|000059a0| 74 68 2d 6d 61 72 6b 20 | 22 61 22 20 56 69 65 77 |th-mark |"a" View|
|000059b0| 2d 70 72 6f 63 65 73 73 | 2d 72 65 6e 69 63 65 2d |-process|-renice-|
|000059c0| 70 72 6f 63 65 73 73 65 | 73 2d 77 69 74 68 2d 6d |processe|s-with-m|
|000059d0| 61 72 6b 5d 20 34 29 0a | 23 40 34 38 20 4c 6f 63 |ark] 4).|#@48 Loc|
|000059e0| 61 6c 20 73 75 62 6b 65 | 79 6d 61 70 20 66 6f 72 |al subke|ymap for|
|000059f0| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 6d 6f | View-pr|ocess-mo|
|00005a00| 64 65 20 62 75 66 66 65 | 72 73 2e 1f 0a 28 64 65 |de buffe|rs...(de|
|00005a10| 66 76 61 72 20 56 69 65 | 77 2d 70 72 6f 63 65 73 |fvar Vie|w-proces|
|00005a20| 73 2d 6d 6f 64 65 2d 70 | 65 72 69 6f 64 2d 6d 61 |s-mode-p|eriod-ma|
|00005a30| 70 20 6e 69 6c 20 28 23 | 24 20 2e 20 32 33 30 30 |p nil (#|$ . 2300|
|00005a40| 35 29 29 0a 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |5)).(byt|e-code "|
|00005a50| 08 ac ad c1 20 10 c2 08 | c3 c4 23 88 c2 08 c5 c6 |.... ...|..#.....|
|00005a60| 23 88 c2 08 c7 c8 23 88 | c2 08 c9 ca 23 88 c2 08 |#.....#.|....#...|
|00005a70| cb cc 23 88 c2 08 cd ce | 23 88 c2 08 cf d0 23 88 |..#.....|#.....#.|
|00005a80| c1 87 22 20 5b 56 69 65 | 77 2d 70 72 6f 63 65 73 |.." [Vie|w-proces|
|00005a90| 73 2d 6d 6f 64 65 2d 70 | 65 72 69 6f 64 2d 6d 61 |s-mode-p|eriod-ma|
|00005aa0| 70 20 6d 61 6b 65 2d 6b | 65 79 6d 61 70 20 64 65 |p make-k|eymap de|
|00005ab0| 66 69 6e 65 2d 6b 65 79 | 20 22 66 22 20 56 69 65 |fine-key| "f" Vie|
|00005ac0| 77 2d 70 72 6f 63 65 73 | 73 2d 66 69 6c 74 65 72 |w-proces|s-filter|
|00005ad0| 2d 72 65 67 69 6f 6e 2d | 62 79 2d 63 75 72 72 65 |-region-|by-curre|
|00005ae0| 6e 74 2d 66 69 65 6c 64 | 20 22 6c 22 20 56 69 65 |nt-field| "l" Vie|
|00005af0| 77 2d 70 72 6f 63 65 73 | 73 2d 66 69 6c 74 65 72 |w-proces|s-filter|
|00005b00| 2d 72 65 67 69 6f 6e 20 | 22 73 22 20 56 69 65 77 |-region |"s" View|
|00005b10| 2d 70 72 6f 63 65 73 73 | 2d 73 6f 72 74 2d 72 65 |-process|-sort-re|
|00005b20| 67 69 6f 6e 2d 62 79 2d | 63 75 72 72 65 6e 74 2d |gion-by-|current-|
|00005b30| 66 69 65 6c 64 20 22 72 | 22 20 56 69 65 77 2d 70 |field "r|" View-p|
|00005b40| 72 6f 63 65 73 73 2d 72 | 65 76 65 72 73 65 2d 72 |rocess-r|everse-r|
|00005b50| 65 67 69 6f 6e 20 22 6b | 22 20 56 69 65 77 2d 70 |egion "k|" View-p|
|00005b60| 72 6f 63 65 73 73 2d 73 | 65 6e 64 2d 73 69 67 6e |rocess-s|end-sign|
|00005b70| 61 6c 2d 74 6f 2d 70 72 | 6f 63 65 73 73 65 73 2d |al-to-pr|ocesses-|
|00005b80| 69 6e 2d 72 65 67 69 6f | 6e 20 22 61 22 20 56 69 |in-regio|n "a" Vi|
|00005b90| 65 77 2d 70 72 6f 63 65 | 73 73 2d 72 65 6e 69 63 |ew-proce|ss-renic|
|00005ba0| 65 2d 70 72 6f 63 65 73 | 73 65 73 2d 69 6e 2d 72 |e-proces|ses-in-r|
|00005bb0| 65 67 69 6f 6e 20 22 76 | 22 20 56 69 65 77 2d 70 |egion "v|" View-p|
|00005bc0| 72 6f 63 65 73 73 2d 73 | 74 61 74 75 73 5d 20 34 |rocess-s|tatus] 4|
|00005bd0| 29 0a 23 40 34 35 20 4c | 6f 63 61 6c 20 6b 65 79 |).#@45 L|ocal key|
|00005be0| 6d 61 70 20 66 6f 72 20 | 56 69 65 77 2d 70 72 6f |map for |View-pro|
|00005bf0| 63 65 73 73 2d 6d 6f 64 | 65 20 62 75 66 66 65 72 |cess-mod|e buffer|
|00005c00| 73 2e 1f 0a 28 64 65 66 | 76 61 72 20 56 69 65 77 |s...(def|var View|
|00005c10| 2d 70 72 6f 63 65 73 73 | 2d 6d 6f 64 65 2d 6d 61 |-process|-mode-ma|
|00005c20| 70 20 6e 69 6c 20 28 23 | 24 20 2e 20 32 33 35 31 |p nil (#|$ . 2351|
|00005c30| 31 29 29 0a 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |1)).(byt|e-code "|
|00005c40| 08 84 e7 00 c1 20 10 c2 | 08 c3 c4 23 88 c2 08 c5 |..... ..|...#....|
|00005c50| c6 23 88 c2 08 c7 c8 23 | 88 c2 08 c9 ca 23 88 c2 |.#.....#|.....#..|
|00005c60| 08 cb cc 23 88 c2 08 cd | ce 23 88 c2 08 cf d0 23 |...#....|.#.....#|
|00005c70| 88 c2 08 d1 d2 23 88 c2 | 08 d3 d4 23 88 c2 08 d5 |.....#..|...#....|
|00005c80| d6 23 88 c2 08 d7 d8 23 | 88 c2 08 d9 da 23 88 c2 |.#.....#|.....#..|
|00005c90| 08 db dc 23 88 c2 08 dd | de 23 88 c2 08 df e0 23 |...#....|.#.....#|
|00005ca0| 88 c2 08 e1 e2 23 88 c2 | 08 e3 e4 23 88 c2 08 e5 |.....#..|...#....|
|00005cb0| e6 23 88 c2 08 e7 e8 23 | 88 c2 08 e9 ea 23 88 c2 |.#.....#|.....#..|
|00005cc0| 08 eb ec 23 88 c2 08 ed | ee 23 88 c2 08 ef f0 23 |...#....|.#.....#|
|00005cd0| 88 c2 08 f1 f2 23 88 c2 | 08 f3 f4 23 88 c2 08 f5 |.....#..|...#....|
|00005ce0| f6 23 88 c2 08 f7 f8 23 | 88 c2 08 f9 fa 23 88 c2 |.#.....#|.....#..|
|00005cf0| 08 fb fc 23 88 c2 08 fd | fe 23 88 c2 08 ff 81 40 |...#....|.#.....@|
|00005d00| 00 23 88 c2 08 81 41 00 | 0e 42 23 88 c2 08 81 43 |.#....A.|.B#....C|
|00005d10| 00 0e 44 23 88 c2 08 81 | 45 00 0e 46 23 88 c2 08 |..D#....|E..F#...|
|00005d20| 81 47 00 0e 48 23 88 c1 | 87 22 20 5b 56 69 65 77 |.G..H#..|." [View|
|00005d30| 2d 70 72 6f 63 65 73 73 | 2d 6d 6f 64 65 2d 6d 61 |-process|-mode-ma|
|00005d40| 70 20 6d 61 6b 65 2d 6b | 65 79 6d 61 70 20 64 65 |p make-k|eymap de|
|00005d50| 66 69 6e 65 2d 6b 65 79 | 20 22 71 22 20 56 69 65 |fine-key| "q" Vie|
|00005d60| 77 2d 70 72 6f 63 65 73 | 73 2d 71 75 69 74 20 22 |w-proces|s-quit "|
|00005d70| 56 22 20 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d |V" View-|process-|
|00005d80| 64 69 73 70 6c 61 79 2d | 76 65 72 73 69 6f 6e 20 |display-|version |
|00005d90| 22 20 22 20 73 63 72 6f | 6c 6c 2d 75 70 20 22 62 |" " scro|ll-up "b|
|00005da0| 22 20 73 63 72 6f 6c 6c | 2d 64 6f 77 6e 20 22 74 |" scroll|-down "t|
|00005db0| 22 20 56 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 74 |" View-p|rocess-t|
|00005dc0| 6f 67 67 6c 65 2d 74 72 | 75 6e 63 61 74 65 2d 6c |oggle-tr|uncate-l|
|00005dd0| 69 6e 65 73 20 22 75 22 | 20 56 69 65 77 2d 70 72 |ines "u"| View-pr|
|00005de0| 6f 63 65 73 73 2d 73 74 | 61 74 75 73 2d 75 70 64 |ocess-st|atus-upd|
|00005df0| 61 74 65 20 22 55 22 20 | 56 69 65 77 2d 70 72 6f |ate "U" |View-pro|
|00005e00| 63 65 73 73 2d 72 65 6d | 6f 76 65 2d 61 6c 6c 2d |cess-rem|ove-all-|
|00005e10| 66 69 6c 74 65 72 2d 61 | 6e 64 2d 73 6f 72 74 65 |filter-a|nd-sorte|
|00005e20| 72 20 22 67 22 20 72 65 | 76 65 72 74 2d 62 75 66 |r "g" re|vert-buf|
|00005e30| 66 65 72 20 22 76 22 20 | 76 69 65 77 2d 70 72 6f |fer "v" |view-pro|
|00005e40| 63 65 73 73 65 73 20 22 | 66 22 20 56 69 65 77 2d |cesses "|f" View-|
|00005e50| 70 72 6f 63 65 73 73 2d | 66 69 6c 74 65 72 2d 62 |process-|filter-b|
|00005e60| 79 2d 63 75 72 72 65 6e | 74 2d 66 69 65 6c 64 2d |y-curren|t-field-|
|00005e70| 67 20 22 46 22 20 56 69 | 65 77 2d 70 72 6f 63 65 |g "F" Vi|ew-proce|
|00005e80| 73 73 2d 66 69 6c 74 65 | 72 2d 6f 75 74 70 75 74 |ss-filte|r-output|
|00005e90| 2d 62 79 2d 63 75 72 72 | 65 6e 74 2d 66 69 65 6c |-by-curr|ent-fiel|
|00005ea0| 64 20 22 6c 22 20 56 69 | 65 77 2d 70 72 6f 63 65 |d "l" Vi|ew-proce|
|00005eb0| 73 73 2d 66 69 6c 74 65 | 72 2d 67 20 22 4c 22 20 |ss-filte|r-g "L" |
|00005ec0| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 66 69 6c |View-pro|cess-fil|
|00005ed0| 74 65 72 2d 6f 75 74 70 | 75 74 20 22 73 22 20 56 |ter-outp|ut "s" V|
|00005ee0| 69 65 77 2d 70 72 6f 63 | 65 73 73 2d 73 6f 72 74 |iew-proc|ess-sort|
|00005ef0| 2d 62 79 2d 63 75 72 72 | 65 6e 74 2d 66 69 65 6c |-by-curr|ent-fiel|
|00005f00| 64 2d 67 20 22 53 22 20 | 56 69 65 77 2d 70 72 6f |d-g "S" |View-pro|
|00005f10| 63 65 73 73 2d 73 6f 72 | 74 2d 6f 75 74 70 75 74 |cess-sor|t-output|
|00005f20| 2d 62 79 2d 63 75 72 72 | 65 6e 74 2d 66 69 65 6c |-by-curr|ent-fiel|
|00005f30| 64 20 22 72 22 20 56 69 | 65 77 2d 70 72 6f 63 65 |d "r" Vi|ew-proce|
|00005f40| 73 73 2d 72 65 76 65 72 | 73 65 2d 67 20 22 52 22 |ss-rever|se-g "R"|
|00005f50| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 72 65 | View-pr|ocess-re|
|00005f60| 76 65 72 73 65 2d 6f 75 | 74 70 75 74 20 22 6b 22 |verse-ou|tput "k"|
|00005f70| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 73 65 | View-pr|ocess-se|
|00005f80| 6e 64 2d 73 69 67 6e 61 | 6c 2d 74 6f 2d 70 72 6f |nd-signa|l-to-pro|
|00005f90| 63 65 73 73 65 73 2d 67 | 20 22 4b 22 20 56 69 65 |cesses-g| "K" Vie|
|00005fa0| 77 2d 70 72 6f 63 65 73 | 73 2d 73 65 6e 64 2d 73 |w-proces|s-send-s|
|00005fb0| 69 67 6e 61 6c 2d 74 6f | 2d 70 72 6f 63 65 73 73 |ignal-to|-process|
|00005fc0| 2d 69 6e 2d 6c 69 6e 65 | 20 22 61 22 20 56 69 65 |-in-line| "a" Vie|
|00005fd0| 77 2d 70 72 6f 63 65 73 | 73 2d 72 65 6e 69 63 65 |w-proces|s-renice|
|00005fe0| 2d 70 72 6f 63 65 73 73 | 65 73 2d 67 20 22 41 22 |-process|es-g "A"|
|00005ff0| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 72 65 | View-pr|ocess-re|
|00006000| 6e 69 63 65 2d 70 72 6f | 63 65 73 73 2d 69 6e 2d |nice-pro|cess-in-|
|00006010| 6c 69 6e 65 20 22 3f 22 | 20 56 69 65 77 2d 70 72 |line "?"| View-pr|
|00006020| 6f 63 65 73 73 2d 77 68 | 69 63 68 2d 66 69 65 6c |ocess-wh|ich-fiel|
|00006030| 64 2d 6e 61 6d 65 20 22 | 68 22 20 56 69 65 77 2d |d-name "|h" View-|
|00006040| 70 72 6f 63 65 73 73 2d | 73 68 6f 77 2d 66 69 65 |process-|show-fie|
|00006050| 6c 64 2d 6e 61 6d 65 73 | 20 22 65 22 20 56 69 65 |ld-names| "e" Vie|
|00006060| 77 2d 70 72 6f 63 65 73 | 73 2d 64 69 73 70 6c 61 |w-proces|s-displa|
|00006070| 79 2d 65 6d 61 63 73 2d | 70 69 64 20 22 77 22 20 |y-emacs-|pid "w" |
|00006080| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 73 68 6f |View-pro|cess-sho|
|00006090| 77 2d 70 69 64 2d 61 6e | 64 2d 63 6f 6d 6d 61 6e |w-pid-an|d-comman|
|000060a0| 64 20 22 6e 22 20 56 69 | 65 77 2d 70 72 6f 63 65 |d "n" Vi|ew-proce|
|000060b0| 73 73 2d 6e 65 78 74 2d | 66 69 65 6c 64 20 22 70 |ss-next-|field "p|
|000060c0| 22 20 56 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 70 |" View-p|rocess-p|
|000060d0| 72 65 76 69 6f 75 73 2d | 66 69 65 6c 64 20 22 3c |revious-|field "<|
|000060e0| 22 20 56 69 65 77 2d 70 | 72 6f 63 65 73 73 2d 6f |" View-p|rocess-o|
|000060f0| 75 74 70 75 74 2d 73 74 | 61 72 74 20 22 3e 22 20 |utput-st|art ">" |
|00006100| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 6f 75 74 |View-pro|cess-out|
|00006110| 70 75 74 2d 65 6e 64 20 | 5b 72 65 74 75 72 6e 5d |put-end |[return]|
|00006120| 20 56 69 65 77 2d 70 72 | 6f 63 65 73 73 2d 67 6f | View-pr|ocess-go|
|00006130| 74 6f 2d 66 69 72 73 74 | 2d 66 69 65 6c 64 2d 6e |to-first|-field-n|
|00006140| 65 78 74 2d 6c 69 6e 65 | 20 22 4d 22 20 56 69 65 |ext-line| "M" Vie|
|00006150| 77 2d 70 72 6f 63 65 73 | 73 2d 73 75 62 6d 69 74 |w-proces|s-submit|
|00006160| 2d 62 75 67 2d 72 65 70 | 6f 72 74 20 22 6d 22 20 |-bug-rep|ort "m" |
|00006170| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 6d 6f 64 |View-pro|cess-mod|
|00006180| 65 2d 6d 61 72 6b 2d 6d | 61 70 20 22 2e 22 20 56 |e-mark-m|ap "." V|
|00006190| 69 65 77 2d 70 72 6f 63 | 65 73 73 2d 6d 6f 64 65 |iew-proc|ess-mode|
|000061a0| 2d 70 65 72 69 6f 64 2d | 6d 61 70 20 22 2c 22 20 |-period-|map "," |
|000061b0| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 6d 6f 64 |View-pro|cess-mod|
|000061c0| 65 2d 63 6f 6d 6d 61 2d | 6d 61 70 20 22 69 22 20 |e-comma-|map "i" |
|000061d0| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 6d 6f 64 |View-pro|cess-mod|
|000061e0| 65 2d 69 2d 6d 61 70 5d | 20 34 29 0a 23 40 35 35 |e-i-map]| 4).#@55|
|000061f0| 20 4e 61 6d 65 20 6f 66 | 20 74 68 65 20 70 75 6c | Name of| the pul|
|00006200| 6c 64 6f 77 6e 20 6d 65 | 6e 75 20 69 6e 20 74 68 |ldown me|nu in th|
|00006210| 65 20 60 56 69 65 77 2d | 70 72 6f 63 65 73 73 2d |e `View-|process-|
|00006220| 6d 6f 64 65 27 2e 1f 0a | 28 64 65 66 76 61 72 20 |mode'...|(defvar |
|00006230| 56 69 65 77 2d 70 72 6f | 63 65 73 73 2d 70 75 6c |View-pro|cess-pul|
|00006240| 6c 64 6f 77 6e 2d 6d 65 | 6e 75 2d 6e 61 6d 65 20 |ldown-me|nu-name |
|00006250| 22 50 72 6f 63 65 73 73 | 65 73 22 20 28 23 24 20 |"Process|es" (#$ |
|00006260| 2e 20 32 35 30 37 33 29 | 29 0a 23 40 34 39 20 50 |. 25073)|).#@49 P|
|00006270| 75 6c 6c 64 6f 77 6e 20 | 6d 65 6e 75 20 6c 69 73 |ulldown |menu lis|
|00006280| 74 20 66 6f 72 20 74 68 | 65 20 60 56 69 65 77 2d |t for th|e `View-|
|00006290| 70 72 6f 63 65 73 73 2d | 6d 6f 64 65 27 2e 1f 0a |process-|mode'...|
|000062a0| 28 64 65 66 76 61 72 20 | 56 69 65 77 2d 70 72 6f |(defvar |View-pro|
|000062b0| 63 65 73 73 2d 70 75 6c | 6c 64 6f 77 6e 2d 6d 65 |cess-pul|ldown-me|
|000062c0| 6e 75 20 6e 69 6c 20 28 | 23 24 20 2e 20 32 35 31 |nu nil (|#$ . 251|
|000062d0| 39 39 29 29 0a 23 40 36 | 38 20 4d 65 6e 75 20 6c |99)).#@6|8 Menu l|
|000062e0| 69 73 74 20 66 6f 72 20 | 74 68 65 20 60 56 69 65 |ist for |the `Vie|
|000062f0| 77 2d 70 72 6f 63 65 73 | 73 2d 6d 6f 64 65 27 2c |w-proces|s-mode',|
|00006300| 20 75 73 65 64 20 69 66 | 20 61 20 72 65 67 69 6f | used if| a regio|
|00006310| 6e 20 69 73 20 61 63 74 | 69 76 65 2e 1f 0a 28 64 |n is act|ive...(d|
|00006320| 65 66 76 61 72 20 56 69 | 65 77 2d 70 72 6f 63 65 |efvar Vi|ew-proce|
|00006330| 73 73 2d 72 65 67 69 6f | 6e 2d 6d 65 6e 75 20 6e |ss-regio|n-menu n|
|00006340| 69 6c 20 28 23 24 20 2e | 20 32 35 33 30 36 29 29 |il (#$ .| 25306))|
|00006350| 0a 23 40 31 30 32 20 4d | 65 6e 75 20 6c 69 73 74 |.#@102 M|enu list|
|00006360| 20 66 6f 72 20 74 68 65 | 20 60 56 69 65 77 2d 70 | for the| `View-p|
|00006370| 72 6f 63 65 73 73 2d 6d | 6f 64 65 27 2c 20 75 73 |rocess-m|ode', us|
|00006380| 65 64 20 69 66 20 6d 61 | 72 6b 65 64 20 6c 69 6e |ed if ma|rked lin|
|00006390| 65 73 20 65 78 69 73 74 | 73 2e 0a 4e 6f 74 20 75 |es exist|s..Not u|
|000063a0| 73 65 64 2c 20 69 66 20 | 61 20 72 65 67 69 6f 6e |sed, if |a region|
|000063b0| 20 69 73 20 61 63 74 69 | 76 65 2e 1f 0a 28 64 65 | is acti|ve...(de|
|000063c0| 66 76 61 72 20 56 69 65 | 77 2d 70 72 6f 63 65 73 |fvar Vie|w-proces|
|000063d0| 73 2d 6d 61 72 6b 65 64 | 2d 6d 65 6e 75 20 6e 69 |s-marked|-menu ni|
|000063e0| 6c 20 28 23 24 20 2e 20 | 32 35 34 33 31 29 29 0a |l (#$ . |25431)).|
|000063f0| 23 40 37 32 20 4d 65 6e | 75 20 6c 69 73 74 20 66 |#@72 Men|u list f|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.