Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Unix Operating Systems Software Linux

Man Page Project Can Now Use Official POSIX Docs 229

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."
This discussion has been archived. No new comments can be posted.

Man Page Project Can Now Use Official POSIX Docs

Comments Filter:
  • Re:man, that's cool! (Score:5, Informative)

    by Anonymous Coward on Saturday January 24, 2004 @07:36PM (#8077733)
    Try reading info pages with "pinfo" instead of "info" - you'll like info pages much more when you've got a decent viewer =)
  • by petabyte ( 238821 ) on Saturday January 24, 2004 @07:45PM (#8077780)
    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
  • Re:bah! (Score:1, Informative)

    by Anonymous Coward on Saturday January 24, 2004 @07:52PM (#8077830)
    Get pinfo [sourceforge.net] then. It's much more usable than that crappy info.
  • Could this mean... (Score:2, Informative)

    by rhythmx ( 744978 ) on Saturday January 24, 2004 @08:07PM (#8077894) Homepage Journal
    the beginnings of Linux-3.0.0??? from Linux kernel readme:
    WHAT IS LINUX? Linux is a Unix clone written from scratch by Linus Torvalds with assistance from a loosely-knit team of hackers across the Net. It aims towards POSIX compliance.
    The next major version will be released when the new kernel will break support for almost all existing binaries. If all the kernel interfaces are tweaked and made to be posix compliant. We may be seeing the Linux-3.0.0 soon!
  • by dietz ( 553239 ) on Saturday January 24, 2004 @08:08PM (#8077904)
    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")
  • by vidarh ( 309115 ) <vidar@hokstad.com> on Saturday January 24, 2004 @08:22PM (#8077971) Homepage Journal
    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.
  • Use POD and pod2man (Score:3, Informative)

    by barries ( 15577 ) on Saturday January 24, 2004 @08:37PM (#8078036) Homepage
    Yeah, it's trival: use POD. And pod2man. Or any other format you want (po2html, pod2text, etc) on almost any system with Perl on it. And integrate it in to your program as online help. And usage. And and and...

    Use the right tool, don't let the wrong tool use you.

    - Barrie

  • Re:Man & Info (Score:5, Informative)

    by AJWM ( 19027 ) on Saturday January 24, 2004 @08:44PM (#8078078) Homepage
    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.
  • by matusa ( 132837 ) <[moc.liamg] [ta] [lesihc]> on Saturday January 24, 2004 @09:12PM (#8078221) Homepage
    It's extremely useful for things like 'this glibc function deviates slightly from POSIX section xx.yy, which states:'

    Another good one is 'This extension[/odd syntax/whatever] is for compliance which POSIX section aa.bb, which states as follows:'

    (purposeful inconsistency.. boredom otherwise)
  • by Anonymous Coward on Saturday January 24, 2004 @09:25PM (#8078273)

    Download POSIX 2001 [unix.org].

    (POSIX 2001 and SUSv3 are the same document.)

  • by Anonymous Coward on Saturday January 24, 2004 @09:44PM (#8078396)
    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?

    Generally the IEEE (and ISO, ANSI, etc) don't make the standards available without some serious outlays of cash. I once needed access to a particular ANSI standard (X9.19, if you're curious), and found it cost ~$80. I managed to get a copy through ILL, and found that it was 20-30 staple-bound pages (most of which was legal garbage, with about 2 pages of useful info).

    Often ISO and IEEE will make the final draft available online, which is pretty useful, but you generally can't claim compliance without either buying the standard and/or going through expensive testing regimens. NIST will put the full final standard online, but they're always marked as being unofficial, if you want to claim compliance you have to buy the paper copy.

    It's the standard way of handling standards.
  • Re:bah! (Score:5, Informative)

    by JoeBuck ( 7947 ) on Saturday January 24, 2004 @10:05PM (#8078522) Homepage

    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.

  • by An Anonymous Hero ( 443895 ) on Saturday January 24, 2004 @11:22PM (#8078921)

    (Since this [win.tue.nl] is [unc.edu] not [ibiblio.org] very [tldp.org] informative [win.tue.nl]:)
    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.
  • Re: Why info? (Score:3, Informative)

    by some guy I know ( 229718 ) on Sunday January 25, 2004 @03:46AM (#8079930) Homepage
    Can someone tell me the point of info? [...] Why not just HTML and your favorite browser?
    The info format was created a long time ago.
    At that time, HTML didn't yet exist (or, at least, wasn't ubiquitous as it is now), so info made at least some sense (although I've always preferred man pages and n/troff docs myself).
    Nowadays, however, it makes no sense at all to continue with info when HTML/XML is so common.
    All of the info docs should be translated to HTML or XML and the old, obsolete info format should be abandoned.
  • Re:Examples..... (Score:3, Informative)

    by Shadowlore ( 10860 ) on Sunday January 25, 2004 @04:09AM (#8080011) Journal
    Insightful?!?!?! It's dead wrong!

    I teach System Admin. Had a class this week in fact. Used the man page on crontab to do it, and it included examples right there in the manpage.


    EXAMPLE CRON FILE
    # use /bin/sh to run commands, no matter what /etc/passwd says
    SHELL=/bin/sh
    # mail any output to `paul', no matter whose crontab this is
    MAILTO=paul
    #
    # run five minutes after midnight, every day
    5 0 * * * $HOME/bin/daily.job >> $HOME/tmp/out 2>&1
    # run at 2:15pm on the first of every month -- output mailed to paul
    15 14 1 * * $HOME/bin/monthly
    # run at 10 pm on weekdays, annoy Joe
    0 22 * * 1-5 mail -s "It's 10pm" joe%Joe,%%Where are your kids?%
    23 0-23/2 * * * echo "run 23 minutes after midn, 2am, 4am ..., everyday"
    5 4 * * sun echo "run at 5 after 4 every sunday"


    That is taken from the man page for crontab, section 5, from RH9/Fedora. I also contains a detailed description of each field.
  • by zoeblade ( 600058 ) on Sunday January 25, 2004 @05:30AM (#8080185) Homepage
    Saturday Night Live? If that sketch is what it sounds like, it was pre-Python. I forget who performed it originally (At Last, the 1948 show?), but it had some of the Python members in it, if I recall correctly.
  • Re:bah! (Score:2, Informative)

    by mullein ( 37149 ) on Sunday January 25, 2004 @06:03AM (#8080252)
    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.

    I always hated using info pages until I came across pinfo [dione.ids.pl], a colorized info/man viewer using arrow keys. That phrase is insufficient to describe its utility. It actually makes info pages useful! Debian has it in package repositories and I'd guess that other Linux distributions, perhaps BSDs, etc. package it.

Real Programmers don't eat quiche. They eat Twinkies and Szechwan food.

Working...