bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Use stderr instead of stdout for --ask-password


From: Micah Cowan
Subject: Re: [Bug-wget] Use stderr instead of stdout for --ask-password
Date: Wed, 23 Feb 2011 08:14:02 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 02/23/2011 01:23 AM, Giuseppe Scrivano wrote:
> Hello Gilles,
> 
> thanks for your patch.  I am not sure it is a good idea to use stderr
> to prompt a message to the user.  I would just inhibit the message when
> -O- is used.

Personally, I agree with Gilles; in every single instance other than
here, we always write information meant for the user to stderr (I
believe for the reason he cites: so as not to interfere with the output
in the case of -O-). I'd say we should either blindly write to stderr in
all cases, or else consider specifically finding the terminal and
writing to that (ttyname?)

-- 
Micah J. Cowan
http://micah.cowan.name/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]