🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #73381

Re: RFC - gstty

#73381
From: Jyrki Kuoppala
Date: Thu, 03 Oct 1991 10:31
22 lines
1741 bytes
In article <DJM.91Oct3003216@frob.eng.umd.edu>, djm@eng (David J. MacKenzie) writes:
>For parsing command line options to a new program, use the GNU
>getopt_long function.  This means that long-named options will start
>with a `+' instead of `-'.
>
>I don't think programs, particularly command line utilities, should
>have extensive help strings compiled into them.  That's what the Info
>system is for.  So I am wary of "help" options.  It makes the binaries
>bloat and is hard to change and browse.  (I do not like bash's builtin help.)

Has there been specific plans to have a way to call the documentation
from the shell (or programs)?  Something like:

ls +format<HELP>

with perhaps ^H or something else as the help key would call emacs or
info to show documentation on ls option +format.  This could in simple
cases be done via the shell, for more complicated cases the shell
could call the program with `ls +help +format' which would call an
info reader.

//Jyrki
Technical Details
Message-ID: <1991Oct3.103106.4444@nntp.hut.fi>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!news.funet.fi!fuug!nntp.hut.fi!usenet
References: <1991Oct2.091000.9204@minyos.xx.rmit.oz.au> <DJM.91Oct3003216@frob.eng.umd.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,63a7ce5359d7b466
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1991-10-04 03:12:17 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!news.funet.fi!fuug!nntp.hut.fi!usenet
From: jkp@cs.HUT.FI (Jyrki Kuoppala)
Newsgroups: gnu.misc.discuss
Subject: Re: RFC - gstty
Message-ID: <1991Oct3.103106.4444@nntp.hut.fi>
Date: 3 Oct 91 10:31:06 GMT
References: <1991Oct2.091000.9204@minyos.xx.rmit.oz.au> <DJM.91Oct3003216@frob.eng.umd.edu>
Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
Reply-To: jkp@cs.HUT.FI (Jyrki Kuoppala)
Organization: Helsinki University of Technology, Finland
Lines: 22
In-Reply-To: djm@eng.umd.edu (David J. MacKenzie)
Nntp-Posting-Host: sauna.cs.hut.fi