(defun manual-entry (topic &optional section) "\ Display the Unix manual entry for TOPIC. TOPIC is either the title of the entry, or has the form TITLE(SECTION) where SECTION is the desired section of the manual, as in `tty(4)'." (interactive "sManual entry (topic): ") (byte-code "ƈ? \"! !!O !!OԐ ! q :Q;# lO &!l &!v! @    \"TO%   ! !䏈db+ Av+ UP #  & % Web `\"! \" !!)" [section topic standard-output dirlist manual-formatted-dirlist case-fold-search nil name manual-formatted-dir-prefix dir name1 completions manual-program t string-match "\\`[ ]*\\([^( ]+\\)[ ]*(\\(.+\\))[ ]*\\'" match-beginning 2 match-end 1 "*Manual Entry*" buffer-flush-undo message "Looking for formatted entry for %s%s..." "(" ")" "" file-exists-p concat 0 "/" "." insert-man-file "\\.[^./]*$" -2 (byte-code " Q \"\" @Q!A" [completions topic section dir file-name-all-completions "." "" insert-man-file "/"] 6) ((file-error (byte-code "" [nil] 1))) buffer-size "No formatted entry, invoking man %s%s..." " " call-process 80 end-of-line error buffer-substring "Cleaning manual entry for %s..." nuke-nroff-bs set-buffer-modified-p] 30)) (defun nuke-nroff-bs nil (interactive "*") (byte-code "eb#=`Zfg U !8 U,!8 U8`S`T\"*eb#P!Aeb =_тj =iӂj#w!Teb#!{eb!e`\"" [nil t preceding following system-type search-forward "" 2 delete-char -2 95 delete-region re-search-forward "^ *\\([A-Za-z][-_A-Za-z0-9]*([0-9A-Z]+)\\).*\\1$" replace-match "" hpux "^[ ]*Hewlett-Packard\\(\\| Company\\)[ ]*- [0-9]* -.*$" usg-unix-v "^ *Page [0-9]*.*(printed [0-9/]*)$" "^\\(Printed\\|Sun Release\\) [0-9].*[0-9]$" " *" " " skip-chars-forward " "] 14)) (defun insert-man-file (name) (byte-code "O\"\"$1O\".%1!" [name t nil equal -2 ".Z" string-match "/cat[0-9][a-z]?\\.Z/" call-process "zcat" ".z" "pcat" insert-file-contents] 10))