-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The following bug was submitted to Debian's bug tracker.
I'm curious what people think about this suggestion.

Don't we already check for something like redirected output (and force
the progress indicator to dots)? It seems to me that if that is
appropriate, then a case could be made for this as well.

Perhaps instead of "shutting up", though, wget should attempt to direct
to a file? Perhaps with a "one last message" to the terminal (assuming
the terminal doesn't have TOSTOP set--it should ignore SIGTTOU and
handle EIO to handle that case), to indicate that it's doing this.

- -Micah


- -------- Original Message --------
Subject: Bug#281201: wget prints it's progress even when background
Resent-Date: Tue, 10 Jul 2007 13:57:01 +0000,   Tue, 10 Jul 2007 13:57:02
+0000
Resent-From: Ilya Anfimov <[EMAIL PROTECTED]>
Resent-To: [EMAIL PROTECTED]
Resent-CC: Noèl Köthe <[EMAIL PROTECTED]>
Date: Tue, 10 Jul 2007 17:54:51 +0400
From: Ilya Anfimov <[EMAIL PROTECTED]>
Reply-To: Ilya Anfimov <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
To: Peter Eisentraut <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]


 My suggestion is to stop printing verbose progress messages
when the job is resumed in background. It could be checked
by (successful) getpgrp() not equal to (successful) tcgetprp(1)
in SIGCONT signal handler.
 And something like this is used in some console applications,
for example, in lftp.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGlThP7M8hyUobTrERCA4sAJ0RwfVIsL5UcafLkfm5qihERnRNvQCeIABc
t+Y3FeNYctJsdPcPbTwYukk=
=eBSi
-----END PGP SIGNATURE-----

Reply via email to