home *** CD-ROM | disk | FTP | other *** search
- ;;; compiled by jwz@thalidomide on Fri Nov 13 02:09:00 1992
- ;;; from file /u/jwz/emacs19/lisp/packages/man.el
- ;;; emacs version 19.3.4 Lucid.
- ;;; bytecomp version 2.08; 27-aug-92.
- ;;; optimization is on.
- ;;; this file uses opcodes which do not exist in Emacs18.
-
- (if (and (boundp 'emacs-version)
- (or (and (boundp 'epoch::version) epoch::version)
- (string-lessp emacs-version "19")))
- (error "This file was compiled for Emacs19."))
-
- (defconst Manual-program "man" "\
- *Name of the program to invoke in order to format the source man pages.")
- (defvar Manual-topic-buffer t "\
- *Non-nil means \\[Manual-entry] should output the manual entry for TOPIC into
- a buffer named *TOPIC Manual Entry*, otherwise, it should name the buffer
- *Manual Entry*.")
- (defvar Manual-buffer-view-mode t "\
- *Non-nil means that \\[view-buffer] is used to display the output from
- \\[Manual-entry]; nil means that the buffer is left in fundamental-mode
- in another window.")
- (defvar Manual-match-topic-exactly nil "\
- *Non-nil means that \\[manual-entry] will match the given TOPIC exactly, rather
- apply it as a pattern. When this is nil, and \"Manual-query-multiple-pages\" is
- non-nil, then \\[manual-entry] will query you for all matching TOPICs.
- This variable only has affect on the preformatted man pages (the \"cat\" files),
- since the \"man\" command always does exact topic matches.")
- (defvar Manual-query-multiple-pages t "\
- *Non-nil means that \\[manual-entry] will query the user about multiple man
- pages which match the given topic. The query is done using the function
- \"y-or-n-p\". If this variable is nil, all man pages with topics matching the
- topic given to \\[manual-entry] will be inserted into the temporary buffer.
- See the variable \"Manual-match-topic-exactly\" to control the matching.")
- (defvar Manual-directory-list nil "\
- *A list of directories used with the \"man\" command, where each directory
- contains a set of \"man?\" and \"cat?\" subdirectories. If this variable is nil,
- it is initialized by \\[Manual-directory-list-init].")
- (defvar Manual-formatted-directory-list nil "\
- A list of directories containing formatted man pages. Initialized by
- \\[Manual-directory-list-init].")
- (defvar Manual-unformatted-directory-list nil "\
- A list of directories containing the unformatted (source) man pages. Initialized
- by \\[Manual-directory-list-init].")
- (fset 'Manual-directory-list-init #[(&optional arg) "½é┴\n¼╕├─!┴ë½Ñ╟╚\"½₧╔ëòOCñ╔òGW¡ç╔òT┴Oë¼[┴\n┴*\n¼å╠\n═\"\n?¡ç╠\n╬\"ëç" [arg nil Manual-directory-list getenv "MANPATH" dirlist manpath string-match "[^:]+" 0 Manual-formatted-directory-list Manual-unformatted-directory-list Manual-select-subdirectories "cat" "man"] 5 "\
- Unless the variable Manual-directory-list is nil, initialize it using the
- MANPATH environment variable. Once this variable is set,
- \\[Manual-directory-list-init] will not reinitialize it unless a prefix
- argument is given." "P"])
- (fset 'manual-entry #[(topic &optional arg) "└┴!ê┴┬├!¡ü┼U¼à╞U½à?¬é╚Y┴ëëë \n¼Ö╤╥\"½Æ┼ö┼òO╘ö╘òO╒ܽà╓ ¬╘╫╪½ç┘┌Q¬ü█#ê▄▌\"$¼ä¼¬╫▀½âα¬üß½ç┘┌Q¬ü█$ê▄▌\"\"$\n¼ë\n¼à ⽫é\n@#$¡£ ½çσµQ¬æσ╤τ#\"¡ç#╘ö╘òOµQ ½âΦ¬üΘP*δ\n\"ë,½╕,Aë-½ºε,@!ε-@!ܽÆ∩-@\"∩-@\n\"\n-Aë-¼Y),Aë,¼H) ½è≡±#C\n*É≥3!êè3qê½å⌠⌡\"ê\n½å⌠÷\n\"ê≈ °W½îebê┴ê∙╘`{!ê╫·«é\nG╘V½â√¬äⁿP\"ê² ê■┴!ê┬├!¡ü?½äü@ ╫█!)æê*¬ö╫üA ½ç┘┌Q¬ü█#êë.ç" [Manual-directory-list-init nil boundp temp-buffer-show-hook arg 2 4 Manual-match-topic-exactly 3 apropos-mode manlist fmtlist section force exact hook case-fold-search string-match "\\`[ ]*\\([^( ]+\\)[ ]*(\\(.+\\))[ ]*\\'" topic 1 "-k" t message "Looking for formatted entry for %s%s..." "(" ")" "" Manual-select-man-pages Manual-select-directories Manual-formatted-directory-list "%sooking for unformatted entry for %s%s..." "L" "No formatted entry, l" Manual-unformatted-directory-list name Manual-topic-buffer "*" " " "/\\([^/]+\\)$" "*Manual Apropos*" "*Manual Entry*" bufname append rest rest2 file-name-nondirectory delq format "%s.%s" buffer-flush-undo standard-output mapcar #[(name) "dbê└┴┬Åêdbê├cç" [nil (Manual-insert-man-file name) ((file-error)) "\n\n-----\n"] 3] #[(name) "└ë├─\"ê╞ö╞òO╟ö╟òO╚╔ \n#ê╩└╠└ \n&ê*═cç" [nil section topic string-match "\\([^/]+\\)\\.\\([^./]+\\)$" name 1 2 message "Invoking man %s %s ..." call-process Manual-program t "\n\n-----\n"] 7] buffer-size 80 error "Cleaning manual entr%s..." "ies" "y for " Manual-nuke-nroff-bs set-buffer-modified-p Manual-buffer-view-mode view-buffer "No entries found for %s%s"] 9 "\
- Display the Unix manual entry (or entries) for TOPIC. If prefix
- arg is given, modify the search according to the value:
- 2 = toggle exact matching of the TOPIC name
- 3 = force a search of the unformatted man directories
- 4 = both 2 and 3
- The manual entries are searched according to the variable
- Manual-directory-list, which should be a list of directories. If
- Manual-directory-list is nil, \\[Manual-directory-list-init] is
- invoked to create this list from the MANPATH environment variable.
- See the variable Manual-topic-buffer which controls how the buffer
- is named. See also the variables Manual-match-topic-exactly,
- Manual-query-multiple-pages, and Manual-buffer-view-mode." (byte-code "└è┬├─┼#ê ─xê` ─wê`{)╟╚ܽâ╔¬à╩╦Q!ë╚ܽä¬é+═!Dç" ["-A-Za-z0-9_" fmh re-search-backward "\\sw" nil t default read-string "" "Manual entry: " "Manual entry: (default " ") " thing prefix-numeric-value current-prefix-arg] 5)])
- (byte-code "└┴Mê┬├Mê─┼Mê╞╟Mê╚╔Mê╩╚Mê╦╠Mç" [Manual-select-subdirectories #[(dirlist subdir) "└┴┬├\"\"ç" [apply append mapcar #[(dir) "└ !¡ç┬├─ \"\"ç" [file-exists-p dir mapcar #[(name) "└ \n\"ç" [expand-file-name name dir] 3] file-name-all-completions subdir] 5] dirlist] 5] Manual-select-directories #[(dirlist section) "└┴\n\"ç" [mapcar #[(fmtdir) "½ï┴┬├O─P\"¡üç" [section string-match 0 1 "/$" fmtdir] 4] dirlist] 3] Manual-select-man-pages-iterator #[(file) "½ì┴┬─R\"╟=¡àPç" [exact string-match "^" topic "\\." section file 0 dir] 5] Manual-select-man-pages #[(dirlist topic section exact) "└┴┬├\"\"ë½ì½ë└┴┬╟\"\"¬ü)ç" [apply append mapcar #[(dir) "└ !½ò┬├─┼╞¡ä╔PP \"\"\"ç╩╦ \"ê├ç" [file-directory-p dir delq nil mapcar Manual-select-man-pages-iterator file-name-all-completions topic section "." message "warning: %s is not a directory"] 8] dirlist manlist Manual-query-multiple-pages #[(page) "¡è┴┬├\"!¡éCç" [page y-or-n-p format "Read %s? "] 4]] 6] Manual-nuke-nroff-bs #[nil "ebê└┴┬├#½┤`─ZfgU¼à╟U½å╚╔!ê¬ÿ╟U¼å╩U½ê`S`T|ê¬ä╚╦!ê*¬Eebê╠═┬├#½å╬╧!ê¬sebê╠╤=½â╥¬ô╙=½â╘¬è╒=½â╓¬ü╫┬├#½å╬╧!ê¬Xebê╠╪┬├#½å╬╧!ê¬sebê╠┘┬├#½å╬┌!ê¬sebê█┬wêe`|ç" [search-forward "" nil t 2 preceding following 95 delete-char -2 32 -1 re-search-forward "^ *\\([A-Za-z][-_A-Za-z0-9]*([0-9A-Za-z]+)\\).*\\1$" replace-match "" system-type hpux "^[ ]*Hewlett-Packard\\(\\| Company\\)[ ]*- [0-9]* -.*$" dgux-unix "^[ ]*Licensed material--.*Page [0-9]*$" usg-unix-v "^ *Page [0-9]*.*(printed [0-9/]*)$" "^\\(Printed\\|Sun Release\\) [0-9].*[0-9]$" "]" "\n\n\n\n*" "\n\n" "\n"] 4 nil "*"] nuke-nroff-bs Manual-insert-man-file #[(name) "┴┬O├ܽê─┼┬╞┬%ç┴┬O╟ܽê─╚┬╞┬%ç╔!ç" [name -2 nil ".Z" call-process "zcat" t ".z" "pcat" insert-file-contents] 6]] 2)
-