OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
doc
/
manpages
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/10/2024 09:42:49 AM
rwxr-xr-x
📄
Changes.old.gz
352.88 KB
02/02/2018 06:40:46 AM
rw-r--r--
📄
POSIX-MANPAGES
1.26 KB
09/15/2017 09:07:52 PM
rw-r--r--
📄
README.Debian
1.11 KB
09/15/2017 09:07:52 PM
rw-r--r--
📄
TODO.Debian
481 bytes
09/15/2017 09:07:52 PM
rw-r--r--
📄
changelog.Debian.gz
980 bytes
02/02/2018 09:05:07 PM
rw-r--r--
📄
copyright
80.8 KB
02/02/2018 08:59:29 PM
rw-r--r--
📄
man-addons.el
1.76 KB
09/15/2017 09:07:52 PM
rw-r--r--
📄
man-pages-4.15.Announce
2.59 KB
02/02/2018 06:40:46 AM
rw-r--r--
Editing: man-addons.el
Close
;;; man-addons.el - some helpful additions for browsing man pages. ;;; ;;; Copyright (c) 1998-2001 Karl M. Hegbloom <karlheg@hegbloom.net> ;;; Released under the terms of the GPL version >= 2.0 ;;; ;;; See: /usr/share/common-licences/GPL-2 ;;; ;;; The usual instructions apply... Place this file in a directory on ;;; your `load-path' and then add (require 'man-addons) to your ;;; `user-init-file'. ;;; ;;; This is tested in XEmacs 21 with both the native XEmacs man.el and ;;; one I ported from GNU Emacs. I hope it works equally well for GNU ;;; Emacs users. ;;; ;;; After loading this file, when you have man page source files ;;; visible from a `dired' buffer, you can push `l' when the cursor is ;;; over them, and preview the page in man mode. I find this very ;;; helpful while editting manual pages! ;;; ;;;###autoload (defun dired-man-locally () "From a dired buffer, view the man page file at point, using \"man -l file\"." (interactive) (if (= 1 (function-max-args #'manual-entry)) (manual-entry (concat (dired-get-filename) " -l")) (manual-entry (dired-get-filename) "-l"))) ;;;###autoload (add-hook 'dired-setup-keys-hook #'(lambda () (define-key dired-mode-map [(?l)] #'dired-man-locally))) (require 'thingatpt) ;;;###autoload (defun man-locally-at-point () "From any buffer, view the man page file at point, using \"man -l file\". This is useful when you use `view-file' to visit one of the .list files in /var/lib/dpkg/info -- put the cursor over a man page listed there, and use `M-x man-locally-at-point' to view it." (interactive) (let ((manpage (thing-at-point 'filename))) (if (= 1 (function-max-args #'manual-entry)) (manual-entry (concat manpage " -l")) (manual-entry manpage "-l")))) (provide 'man-addons)