Slashdot Mirror


Man Page Project Can Now Use Official POSIX Docs

Martin_Sturm writes "The IEEE consortium announces in a recent press release that it granted permission to the Linux Man Page Project to incorporate material from the official documentation on the POSIX standard. Obviously this is very good news for the Man Page project which now has access to a huge amount of good documentation. Until recently the project could not use this documentation due to copyright restricions."

30 of 229 comments (clear)

  1. bah! by monkey_jam · · Score: 3, Funny

    real *nix users dont need man pages!

    1. Re:bah! by bersl2 · · Score: 4, Insightful

      Seriously, besides GNU, who else favors info over man? I find the system difficult to navigate. For instance, when I was first learning {,ba}sh... damn, the bash info page sucks.

    2. Re:bah! by JoeBuck · · Score: 5, Informative

      The format is not info but texinfo, which produces output in many forms: TeX (for typeset documents), HTML, as well as info; furthermore, the man pages for many GNU programs are now produced by automatic conversion from the info source.

      Texinfo beats roff format for man pages because it supports structure and hyperlinks. XML (or SGML) formats are even better, but "man format" sucks. And I've written a lot of "man pages" in my career.

  2. Man pages are evil... by inertia187 · · Score: 4, Funny
    It's evil because there's a deamon involved, and this command:
    $ man mount
    --
    A programmer is a machine for converting coffee into code.
    1. Re:Man pages are evil... by Anonymous Coward · · Score: 3, Funny

      maybe you need to try these command first ...

      man date

      man strip

      i'd leave the dollar sign out that's illegal
      in most states.

    2. Re:Man pages are evil... by Anonymous Coward · · Score: 5, Funny
      Check out the complete output:
      $ man woman
      No manual entry for woman
      How appropriate.
    3. Re:Man pages are evil... by Feztaa · · Score: 3, Funny
      Yeah, but once you learn out how to mount, you can:
      $ mount /woman
    4. Re:Man pages are evil... by jrockway · · Score: 3, Interesting

      Try M-x woman in emacs.

      --
      My other car is first.
  3. A play on "The Grumpy Man" from SNL by DarkHelmet · · Score: 3, Funny
    Real Linux hackers do not use man! They look at the source and figure out how the program works from the command line!

    And back before we had all this open-schopen source, we had to decompile our programs so that we could figure out how it works.

    And before we had fancy-shmancy C/C++, we disassembled our programs and found out how they worked from there.

    And we liked it!

    --
    /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
    1. Re:A play on "The Grumpy Man" from SNL by Anonymous Coward · · Score: 5, Funny

      Shhh ! You're gonna wake up one of these 3 digits slashdot ID elders. And you know how they love to speak about good ol'time...

    2. Re:A play on "The Grumpy Man" from SNL by mce · · Score: 3, Funny

      You already had disks to run to and write on? Jeez, I guess it shows that my 3-digit slashdot ID is considerably lower than yours. :-) Back when I started, we had to use our brain. That good ol'technology did save us a lot of useless running, though...

    3. Re:A play on "The Grumpy Man" from SNL by Russ+Steffen · · Score: 5, Funny

      Ach, you kids and your "brains." When I started we had to do all our thinkin' with just a few neurons at the top of our spinal chords. And we liked it! We loved it!

      Brains? Luxury...

  4. Who cares about the IEEE? by Anonymous Coward · · Score: 4, Funny

    Do they have SCO's permission?

  5. However... by SnowZero · · Score: 4, Funny

    In return for the free content, all man pages will be required to incorporate ascii-art banner ads.

    1. Re:However... by plams · · Score: 3, Funny

      would the ads be context sensitive? you know, adapt themselves to the user's preferences?

      > man mount

      * Do you realise that 10% of all males *
      * are GAY? * * * * K-Y-Jelly in K-mart *
      * * * * only $9.95!!!1!! * * * * * * * *

      NAME

      mount - mount a file system

      SYNOPSIS

      mount [-lhV]

      mount -a [-fFnrsvw] [-t vfstype] [-O optlist]
      mount [-fnrsvw] [-o options [,...]] device | dir
      mount [-fnrsvw] [-t vfstype] [-o options] device dir
      etc..

  6. man, that's cool! by adrianbaugh · · Score: 4, Insightful

    (Ahem.) I like man chiefly because the default (command-line) browser program doesn't suck quite so much. I'm sure there are technically superior ways to store documentation, but man is very readable. info, on the other hand, blows.

    --
    "'I pass the test,' she said. 'I will diminish, and go into the West, and remain Galadriel.'"
    - JRR Tolkien.
    1. Re:man, that's cool! by Anonymous Coward · · Score: 5, Informative

      Try reading info pages with "pinfo" instead of "info" - you'll like info pages much more when you've got a decent viewer =)

  7. Typical GNU utility man page... by compass46 · · Score: 4, Funny

    $ man cp

    "The UNIX man page system sucks. Use the info system instead."

    so...

    $ info cp

    "The UNIX man page system sucks. Use the info system instead."

    1. Re:Typical GNU utility man page... by petabyte · · Score: 4, Informative

      Umm, both my slackware and gentoo boxes have a full man page for cp. Apparently they're from the fileutils package.

      I'd suggest everyone load up the funny-manpages and asr-manpages if you're bored.

      man lart

  8. No more see info? by zsau · · Score: 4, Interesting

    Does this mean no more cruel messages telling us to see the info pages?

    --
    Look out!
  9. How useful is this? by A+nonymous+Coward · · Score: 4, Interesting

    Most man pages have long since been written from scratch for Linux. It would seem that any man pages still missing must be pretty rarely used, or for obsolete commands.

    There are differences between UNIXes and Linux distributions and BSD distributions. What do the POSIX man pages document, and is it more trouble than it is worth to use them as a basis for Linux man pages?

    I really don't know, this is not a troll, I didn't even know that there were POSIX man pages.

    1. Re:How useful is this? by dietz · · Score: 4, Informative

      I really don't know, this is not a troll, I didn't even know that there were POSIX man pages.

      There are no POSIX man pages. But previously they weren't allowed to even quote the POSIX standard in their manpages. They had to rewrite it all and hope they didn't introduce any inaccuracies in their rewriting.

      Now they can just quote the standard itself where they want to.

      This is mostly important for programming documentation (e.g. "man 3 strerror")

  10. Yeah, but... by inertia187 · · Score: 5, Funny
    They still need to improve the hideous grammar of the man pages:
    $ man nothing
    No manual entry for nothing
    --
    A programmer is a machine for converting coffee into code.
  11. Has anyone here tried to write man pages? by Pyromage · · Score: 5, Interesting

    I see a lot of people bitching about how info sucks. Well, you know what? Maybe it does. But have you actually tried to write a man page?

    The syntax for roff just sucks. Info, on the other hand, is a fairly reasonable way to write documentation.

  12. wtf? This wasn't automatic? by visualight · · Score: 4, Interesting

    The most interesting point of this story is that the entire planet wasn't given permission to reprint the posix standard from day one. It's a standard isn't it?

    Isn't promoting standards one of the main reasons for the IEEE consortium's existance? How do you promote standards by not allowing anyone to reprint them?

    And the Linux Man Page Project expresses how grateful they feel. Whatever.

    --
    Samsung took back my unlocked bootloader because Google wants me to rent movies. They're both evil.
    1. Re:wtf? This wasn't automatic? by vidarh · · Score: 4, Informative

      Many standards organisations survive to a large extent on income generated by selling copies of the standards documents. It's only in recent years started becoming common for standards documents to be available free. Still, even now most ANSI and ISO standards for instance still costs money.

  13. Re:Man & Info by AJWM · · Score: 5, Informative

    How would the 650 page GCC manual look as a man page?

    Like it was done by someone who didn't understand the Unix documentation scheme.

    The man pages were never the entire body of Unix documentation, just the first volume. The second volume consisted of longer, more tutorial or in depth documents for the programs that needed it. (Like some compilers, or awk, or [t]roff, etc.)

    Way back in prehistory I worked with a port of Version 7 Unix (UTS) that came with a complete set of printed manuals -- the man pages were only half the documentation.

    That said, info is lame, and commands that have no man page because they have info doubly so.

    --
    -- Alastair
  14. XSLT to generate man pages by KidSock · · Score: 4, Interesting

    The syntax for roff just sucks.

    Try using XSLT to generate troff. The CStyleX package will let you generate concise troff macros for GNU style C programming interface man pages (just like the screenshot on this page):

    http://www.ioplex.com/~miallen/cstylex/

    Actually the best part is that this will also generate HTML from the same source XML. And nothing prevents you from generting PostScript in the future or just about anything else for that matter. IOW you write XML run make and get man pages and HTML.

    PS: The package hasn't been updated in a while. The latest man.xsl and ref.xsl transforms are in the libmba package cited on the page referenced.

  15. Grumpy middle-aged man wakes up by JoeBuck · · Score: 4, Interesting

    Sorry, four digits. But then, I did use the Arpanet before the Jan 1982 switchover to TCP/IP, so I am damn old.

    Today's man pages look almost the same as 1981 man pages from Bell Labs, so you haven't missed much by being young.

  16. Release Notes (man-pages-1.65.Announce) by An+Anonymous+Hero · · Score: 4, Informative

    (Since this is not very informative:)
    RELEASE
    The Linux man page maintainer proudly announces. . .

    man-pages-1.65.tar.gz - man pages for Linux

    POSIX
    This release is the first to contain the POSIX 1003.1-2003 man pages. The directories man0p, man1p, man3p contain descriptions of the headers, the utilities, and the functions documented in that standard.

    Permission to distribute these POSIX man pages has just been obtained, and the pages in man0p, man1p, man3p were derived from the POSIX html pages by some silly conversion script. No doubt the result is still full of flaws, and all of this can be much improved. Corrections, scripts, etc. are welcome - aeb@<snip>.

    In order to use this, put in {/usr/share/misc/}man.conf{ig} or so your favourite order of looking at these pages, for example,
    MANSECT 1p:1:8:0p:3p:2:3:4:5:6:7:9:tcl:n:l:p:o
    or set the MANSECT environment variable.

    OTHER PAGES
    The remaining pages are most of the section 2, 3, 4, 5, 7 man pages for Linux, and in addition section 1 man pages for the fileutils-4.0 utilities, and section 5 and 8 man pages for the timezone utilities.

    [The latter were taken from ftp://elsie.nci.nih.gov/pub/tzcode2001a.tar.gz.] [The section 3 man pages for the db routines have been taken from ftp://ftp.terra.net/pub/sleepycat/db.1.86.tar.gz.] [The rpc man pages were taken from the 4.4BSD-Lite CDROM.]

    Differences from version 1.64:

    POSIX pages were added

    The man pages

    chroot.2 clone.2 intro.2 mkdir.2 remap_file_pages.2

    errno.3

    sk98lin.4

    elf.5 protocols.5 raw.7

    are new or have been updated. Typographical or grammatical errors have been corrected in several other places.

    Here is a breakdown of what this distribution contains:

    Section 0p = POSIX headers
    Section 1p = POSIX utilities
    Section 3p = POSIX functions

    Section 1 = user commands (intro, and pages not maintained by FSF)
    Section 2 = system calls
    Section 3 = libc calls
    Section 4 = devices (e.g., hd, sd)
    Section 5 = file formats and protocols (e.g., wtmp, /etc/passwd, nfs)
    Section 6 = games (intro only)
    Section 7 = conventions, macro packages, etc.
    Section 8 = system administration (intro only)

    Usually, there are no section 1, 6 and 8 man pages because these should be distributed with the binaries they are written for. Sometimes Section 9 is used for man pages describing parts of the kernel.

    Note that only Section 2 is rather complete, but Section 3 contains several hundred man pages. If you want to write some man pages, please do so and mail them to aeb@<snip>.

    The following people (listed in alphabetical order by first name) wrote, edited, or otherwise contributed to this project:

    <snip>

    Copyright information:

    For the POSIX pages permission to distribute was given by IEEE and the Open Group, see POSIX-COPYRIGHT.

    For the remaining pages, please note that these man pages are distributed under a variety of copyright licenses. Although these licenses permit free distribution of the nroff sources contained in this package, commercial distribution may impose other requirements (e.g., acknowledgement of copyright or inclusion of the raw nroff sources with the commercial distribution).
    If you distribute these man pages commercially, it is your responsibility to figure out your obligations. (For many man pages, these obligations require you to distribute nroff sources with any pre-formatted man pages that you provide.) Each file that contains nroff source for a man page also contains the author(s) name, email address, and copyright notice.