delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/25/18:26:29

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 25 Feb 2003 18:26:03 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Robert Collins <rbcollins AT cygwin DOT com>
cc: Max Bowsher <maxb AT ukf DOT net>, <cygwin AT cygwin DOT com>
Subject: Re: Command-line options for setup.exe
In-Reply-To: <1046213933.495.24.camel@localhost>
Message-ID: <Pine.GSO.4.44.0302251825120.27438-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On 26 Feb 2003, Robert Collins wrote:

> On Wed, 2003-02-26 AT 09:46, Max Bowsher wrote:
> > Igor Pechtchanski wrote:
> > > On Tue, 25 Feb 2003, Max Bowsher wrote:
> > >> No, building it as a MinGW app is fine.
> > >> But it must be run from a CYGWIN=tty shell.
> > >
> > > Oh, ok.  I don't use "tty" myself, so I needed it built as a Cygwin
> > > app. Could it, perhaps, pop up a dialog box instead if stdout is not
> > > available? Is there any way of detecting whether output to stdout
> > > will be seen?
> >
> > Detection is the tricky part. I can't figure out how.
>
> I wouldn't bother with detection. setup.exe is a gui, it's fine for it
> to show help as a gui.
>
> What is needed is this:
> The current libgetopt call to show the parameter help should become a
> convenience call over a lower interface.
>
> That interface should:
> * Provide a const interator to all the options in the optionset.
>
> That will let setup iterate over the options, extracting the help text
> and placing into a GUI text area (or a combobox etc etc).

Hmm, build a const String and pop up a MessageBox?
	Igor

> This is also on my TODO, and why I haven't applied your trivial 'add
> help' option to setup - because it will need to be changed no matter
> what.
>
> Rob

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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