Results 1 to 3 of 3

Thread: How to view installed man pages?

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    Jun 2004
    Posts
    16

    How to view installed man pages?

    I compiled an app which created a directory of man pages in /home/knoppix/xawtv/man, but how do I access those man pages?

    I've tried modifying $MANPATH and /etc/manpath.conf to no avail...

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Why not just copy or move those manpages to where they ought to be?

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Just for fun, I dinked around with making a "man" page for a fictitious command and storing it in ~\bin\man, then making it accessible. (OK, some people have a strange idea of "fun.")

    fingers99 is right; it would be easiest just to copy the man files somewhere on your manpath. But if you don't want to...

    Your man files will have to have the extension of the section they're in. (Manual pages are divided up into sections 1-9.) For example, an uncompressed man file that goes in section 1 might be named "aumix.1" -- or, compressed with gzip, "aumix.1.gz".

    Further, they have to go in a directory with the section number appended to it -- "aumix.1.gz" would live in a directory called "man1". (Actually, it's more complicated than this, especially when you get man pages in different languages involved.)

    If xawtv created "man1" and "man5" directories in /home/knoppix/xawtv/man, then put the *.1 and *.5 files in the correct places, you're set.

    For example, my fictitious man page (for the fictitious "coffee" command) is named "coffee.1". It lives in ~/bin/man/man1. To add it to my manpath, I put

    Code:
    MANDATORY_MANPATH                /home/eco2geek/bin/man
    in the MANDATORY_MANPATH section of /etc/manpath.config. (Note that the "man1" directory is left off!) Then I can type "man coffee" at the bash prompt to display it.

    I could have added a line to /etc/profile like this:

    MANPATH="/usr/share/man:/usr/X11R6/man:/usr/local/man:/usr/man:/home/eco2geek/bin/man"

    (note that the "man1" directory is still left off!) but my system would then ignore /etc/manpath.config, and I'd lose its benefits.

Similar Threads

  1. Developer Software for Web Pages
    By gonzalezmfrank in forum General Support
    Replies: 5
    Last Post: 06-13-2005, 05:16 PM
  2. Install problem, pages of 10 10 10 10 10
    By Borg in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 02-09-2005, 02:24 PM
  3. Using Knoppix to view web pages
    By reyn in forum General Support
    Replies: 4
    Last Post: 08-24-2004, 02:56 AM
  4. Can you read this pages (with Konqueror)
    By Gencho in forum The Lounge
    Replies: 2
    Last Post: 06-19-2004, 07:01 PM
  5. Searching man pages
    By sn0wflake in forum General Support
    Replies: 4
    Last Post: 03-25-2004, 07:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



Cisco SFP-10G-SR Transceiver Module picture

Cisco SFP-10G-SR Transceiver Module

$25.00



Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA picture

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA

$28.94



New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US picture

New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US

$17.00



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99