This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Blind people using setup.exe?
On Mon, 27 Jun 2005, Brian Dessent wrote:
> Igor Pechtchanski wrote:
>
> > Hehe. While we're at it, would you like to make setup print out a list of
> > its command-line options, either in a message box or by doing an
> > AllocConsole()? I know the latter approach will pop up a console box if
> > setup is started from a pty or via a shortcut (which will go away once the
> > output is done), but it's better than nothing, and should work just fine
> > if setup is started from a console shell.
>
> I think having a spurious console appear and then disappear is not very
> friendly. I have considered having it do a messagebox with the --help
> output, which I guess is better than what we have now.
One advantage of using the AllocConsole approach is that when starting
setup from a console window, the output would appear on that console. If
there is a way to check whether AllocConsole actually creates a new
console or reuses the existing one (by, say, trying
AttachConsole(ATTACH_PARENT_PROCESS), though that'd only work in WinXP),
setup could also add a "Pause..." prompt after displaying the help
message in a new console.
Of course, ideally it would be great to have setup interact with pty's...
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT