home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23464 < prev    next >
Encoding:
Text File  |  1993-01-10  |  3.4 KB  |  78 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!utcsri!torn!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!uni-paderborn.de!urmel.informatik.rwth-aachen.de!Germany.EU.net!mcsun!news.funet.fi!hydra!klaava!wirzeniu
  3. From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
  4. Subject: Re: Corrupt 'tar' man page
  5. Message-ID: <1993Jan10.134826.23887@klaava.Helsinki.FI>
  6. Organization: University of Helsinki
  7. References: <1993Jan10.034926.3693@nwnexus.WA.COM> <1io8dqINNrc@matt.ksu.ksu.edu> <1993Jan10.060026.10328@nwnexus.WA.COM>
  8. Date: Sun, 10 Jan 1993 13:48:26 GMT
  9. Lines: 67
  10.  
  11. danubius@halcyon.com (Joseph R. Pannon) writes:
  12. >Thanks, J. M., but that only is half the answer I need.  I want it to
  13. >work under the 'man' program, just as the other pages that do work.  In
  14. >other words, how can I convert that text into the format 'man' uses.
  15.  
  16. The first form of online docs for Unix was man pages.  They are nice,
  17. but could be better.  One alternative format for man pages is Texinfo,
  18. developed by the GNU Project.  Texinfo allows hypertext (links in the
  19. text to other parts of the document), has better readers (that allow
  20. following the links), not just less or more, and is better for writing
  21. longer documents in the form of books.  Texinfo is the preferred
  22. format of documentation for GNU programs, and the GNU people
  23. ultimately want to have all documentation in that format.
  24.  
  25. Man pages and Texinfo are not compatible, and it is very non-trivial
  26. to convert Texinfo to a man page (although the other way can be
  27. automated).  Texinfo to man page conversion has to be done by hand.
  28.  
  29. Therefore, there is little chance that you can get man to understand
  30. the Texinfo document.  You'll just have to live with two different
  31. forms of documentation.  Life's a bitch.
  32.  
  33. >Or is tar a command that is 'not supposed' to have a 'man' doc format? 
  34.  
  35. No, but it just doesn't have documentation in man page format (or does
  36. it?  I can't remember that it does).  The reason it doesn't have a man
  37. page, is either because nobody has written one, or possibly because
  38. the author of GNU tar doesn't want to distribute two incompatible
  39. forms of documentation.  I don't know which reason is true.
  40.  
  41. However, assuming it is because nobody has written a tar man page for
  42. GNU tar, and you want it, you might want to remember how Linux has
  43. become what it is: people who want something, and find that it hasn't
  44. been done, do it themselves.  Doing something doesn't require knowing
  45. everything, it shouldn't be too hard to write a very basic man page
  46. for tar (after you know a little about tar).  Linux has not developed
  47. thanks to people who pop into c.o.l and telling people that such and
  48. such has to be done.
  49.  
  50. To get you started, the basic forms of usage for tar are
  51.  
  52.     tar -cvf tarfilename file1 file2 ...
  53.  
  54.         Create a tar file "tarfilename", put files "file1",
  55.         "file2" into it.
  56.  
  57.     tar -tvf tarfilename
  58.  
  59.         Display a table of contents for the tar file.
  60.  
  61.     tar -xvf tarfilename
  62.  
  63.         Extract all files from a tar file.
  64.  
  65. And don't look at me, I'm perfectly fine with "tar +help" for all the
  66. documentation I need, and I have better things to do than rewrite
  67. existing documentation (such as writing new documentation).  
  68.  
  69. If anybody writes a tar man page, and wants it to be included in the
  70. Linux Doc set (when that becomes ready in a few years), send me a note
  71. and I'll direct you to the person who coordinates the man pages and
  72. other program specific documentation (I don't have his name handy at
  73. the moment, sorry).
  74.  
  75. --
  76. Lars.Wirzenius@helsinki.fi  (finger wirzeniu@klaava.helsinki.fi)
  77.  
  78.