Re: patch: prompt for password

2007-07-26 Thread Maciej W. Rozycki
On Wed, 25 Jul 2007, Micah Cowan wrote: > As pointed out, there will be some work necessary to allow for > portability across other platforms, and use of stdin/stdout may not be The autoconf macro I quoted solves the problem for *nix systems -- anybody with an incompatible configuration is welc

Re: patch: prompt for password

2007-07-26 Thread Maciej W. Rozycki
On Wed, 25 Jul 2007, Micah Cowan wrote: > > Otherwise it looks OK, I think. Though I am not sure whether it is > > really needed given that many years have passed and nobody wanted such a > > feature. But the decision is up to the maintainer (once you sort out > > technical problems). > > I

Re: patch: prompt for password

2007-07-25 Thread Matthew Woehlke
Josh Williams wrote: On 7/25/07, Matthew Woehlke <[EMAIL PROTECTED]> wrote: Any reason you're not replying to the list? (Unless there is, please direct replies to the list.) No, I was in a hurry at the time and forgot to change the e-mail address before I sent it. "Reply All" ;-) (Although i

Re: patch: prompt for password

2007-07-25 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Maciej W. Rozycki wrote: > On Wed, 25 Jul 2007, Matthew Woehlke wrote: > >> I both dislike GNU formatting and am not familiar with it, so obviously >> someone that understands it will have to fix this. > > Well, chances are nobody could be bothere

Re: patch: prompt for password

2007-07-25 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Maciej W. Rozycki wrote: > Otherwise it looks OK, I think. Though I am not sure whether it is > really needed given that many years have passed and nobody wanted such a > feature. But the decision is up to the maintainer (once you sort out > te

Re: patch: prompt for password

2007-07-25 Thread Matthew Woehlke
Maciej W. Rozycki wrote: On Wed, 25 Jul 2007, Matthew Woehlke wrote: Read from stderr? I admit I've heard stderr is bi-directional but I can't say I've ever seen it used to read input. Well, `wget' can be used as a filter (and I did do so a couple of times in some scripts in the past; I woul

Re: patch: prompt for password

2007-07-25 Thread Josh Williams
On 7/25/07, Matthew Woehlke <[EMAIL PROTECTED]> wrote: Any reason you're not replying to the list? (Unless there is, please direct replies to the list.) No, I was in a hurry at the time and forgot to change the e-mail address before I sent it. I personally *must have* this patch; storing my l

Re: patch: prompt for password

2007-07-25 Thread Steven M. Schweda
From: Matthew Woehlke > [...] > +#include /* FIXME probably not portable? */ > [...] This would certainly be a problem on VMS, which has its own terminal handling scheme, and no support for termios. Rather than installing a load of UNIX-specific ("probably not portable") code into the mid

Re: patch: prompt for password

2007-07-25 Thread Maciej W. Rozycki
On Wed, 25 Jul 2007, Matthew Woehlke wrote: > Read from stderr? I admit I've heard stderr is bi-directional but I can't say > I've ever seen it used to read input. Well, `wget' can be used as a filter (and I did do so a couple of times in some scripts in the past; I would be surprised if others

Re: patch: prompt for password

2007-07-25 Thread Matthew Woehlke
Maciej W. Rozycki wrote: On Tue, 24 Jul 2007, Matthew Woehlke wrote: This rough patch adds a '--ask-password' option to wget. About all that can be It's a good rule to send patches inlined rather than attached as that makes them easy to comment on. It's also a good rule to send patches as

Re: patch: prompt for password

2007-07-25 Thread Maciej W. Rozycki
On Tue, 24 Jul 2007, Matthew Woehlke wrote: > This rough patch adds a '--ask-password' option to wget. About all that can be It's a good rule to send patches inlined rather than attached as that makes them easy to comment on. > said for it is that it works; hopefully it will serve as a useful

patch: prompt for password

2007-07-24 Thread Matthew Woehlke
This rough patch adds a '--ask-password' option to wget. About all that can be said for it is that it works; hopefully it will serve as a useful proof of concept and possible a starting point for a fully-developed feature. -- Matthew "Resistance is futile" -- Borg "No, resistance is the recipr