delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/16/19:48:24

X-Spam-Check-By: sourceware.org
Date: Mon, 16 Jul 2007 19:48:04 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Pedro Alves <pedro_alves AT portugalmail DOT pt>
cc: cygwin AT cygwin DOT com
Subject: Re: hacked package on server
In-Reply-To: <469BFD33.7000504@portugalmail.pt>
Message-ID: <Pine.GSO.4.63.0707161942231.18589@access1.cims.nyu.edu>
References: <12471618 DOT 1184601552985 DOT JavaMail DOT root AT elwamui-lapwing DOT atl DOT sa DOT earthlink DOT net> <Pine DOT GSO DOT 4 DOT 63 DOT 0707161448430 DOT 18589 AT access1 DOT cims DOT nyu DOT edu> <183c528b0707161244s83639c9j8ddfb09da2948f29 AT mail DOT gmail DOT com> <20070716211443 DOT GB4858 AT ednor DOT casa DOT cgf DOT cx> <7FE216529E1FE248A760B58F6B82A81002094EA1 AT EMMA DOT personal DOT adp DOT ltu DOT se> <469BFD33 DOT 7000504 AT portugalmail DOT pt>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Tue, 17 Jul 2007, Pedro Alves wrote:

> Bengt-Arne Fjellner wrote:
>
> > Well in my opinion It could even be better to have an unchecked checkbox
> > like:
> >
> > Wrong MD5 sum detected.
> > This package look broken. Try another mirror.
> > ( ) Yes I Really want to install this even if it looks broken.
> >
> > OK
> >
> > Or something like that. Then its two clicks or several keystrokes before
> > one can continue.
>
> yes, and having something like:
>
> are you sure <yes|no>
>
> (user clicks yes)
>
> are you really sure? <yes|no>
>
> (user clicks yes again)
>
> are you really, really sure? <yes|no>
>
> ... also makes it several clicks.

Indeed.

> The best solution, would be to replace the yes/no buttons with
> verbs/actions, like skip/'install anyway'/abort.
> I haven't looked at the code, but it is probably using
> MessageBox(Ex), which doesn't allow that.  Coding an extended messagebox
> isn't *that* hard, but, it is still work that takes motivation to do.

Yes, the code does use MessageBox.  However, there already exists, in
fact, a bit of code implementing a custom MessageBox (or, rather,
overriding the button labels) for the "Retry on in-use files"
functionality.  Interested parties should look at lines 181-217 of
install.cc (which adds an MB_RETRYCONTINUE message box type).

> The second best, and quickest, would be for a patch to show up
> implementing Thorsten's suggestion that cfg pointed out.
> Until someone steps up to do the work, this discussion is just going
> to fade out and die.

That is exactly the right approach.  <http://cygwin.com/acronyms/#PTC>
drives the open-source world more than anything else.

So, any volunteers?  There isn't even a need to fill out a copyright
assignment for setup contributions...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert

--
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