delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/08/16:58:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3FAD6706.58495361@dessent.net>
Date: Sat, 08 Nov 2003 13:58:30 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
X-Accept-Language: en,en-US
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Info versus Man
References: <ldmqqvcmqtegf0hn29rusk12rr4ss5tp9r AT 4ax DOT com>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - host.linuxsv3.net
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - dessent.net
Note-from-DJ: This may be spam

zzapper wrote:
> 
> Hi Ya All
> 
> Is INFO just a viewer for Man Pages, or does it have it's own
> database?
> 
> Is INFO preferred to MAN ??
> 
> (Sorry for hogging this NG recently)
> zzapper

Yes, they are completely seperate.  The 'info' program reads and
displays texinfo documents, which live in /usr/info.  texinfo documents
are organized into nodes, which leads to a sort of link structure or
heirarchy.  The 'info' program is just one way of formatting/viewing
them, they can also be easily formatted as PostScript, HTML, etc.

The 'man' program formats and displays manpages which are a much older
format (nroff/groff).  They contain markup to make sections stand out,
highlight commands vs. normal text, etc. but they are still essentially
flat text files with embellishment.  They live in /usr/man.

The GNU people decided one day that man pages had worn out their welcome
and so they developed the texinfo project to support a new format of
documentation.  Thus, the preferred docu for all the GNU utils are the
texinfo files, and the manpages are really an afterthought in a lot of
cases.  However many people hate the 'info' program and just want plain
old manpages, so I wouldn't expect them to go away any time soon.  
Personally I have mixed feelings about both.  If you ever try to use the
manpage for 'bash' you quickly realize how cumbersome it is, compared to
viewing the HTML version of the texinfo docs online.  However, for quick
and dirty things that basically consist of a short summary of some
options the manpage cannot be beat.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019