[teqc] Suggest

Lou Estey lou at unavco.org
Mon Aug 3 07:57:33 MDT 2009


Dear Guilherme,

> I believe that a suggest to next TEQC, not so important, will be
> change the function of +help key to
> 
> 
> -help = show entire help
> +help = show entire help with pause
> 
> This could be useful to show help not using pause of system, as I'm using
> 
> teqc -help | more

Besides the coding hassle, I don't see how the proposed `teqc +help`
(show help list with pause) is an improvement over the current
`teqc +help | more` (or `teqc -help | more`, which does the same) --
expect for maybe Windows users.  The proposal breaks the general
philosophy of UNIX commands: have each one (where possible) be able
to accept stdin or a list of filenames and output something reasonable
to stdout and stderr.  Therefore sending the help to stdout and
being able to pipe it to `more`, or `less`, or `grep`, or <insert
your own favorite command> still makes the most sense to me.

Now for Window users (or even UNIX users), one can do something
like `teqc +out help.txt +help` which sends all the help text to
the file "help.txt" and then you read it with your favorite ASCII
text editor (e.g. Notepad, vi, emacs, ...).

--lou

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Louis H. Estey, Ph.D.              office:  [+001] 303-381-7456
UNAVCO, 6350 Nautilus Drive           FAX:  [+001] 303-381-7451
Boulder, CO  80301-5554            e-mail:  lou  unavco.org
    WWW:  http://www.unavco.org   http://jules.unavco.org

"If the universe is the answer, what is the question?"
                                                -- Leon Lederman
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the teqc mailing list