[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [bug #45790] wget prints it's progress even when background
From: |
NoëlKöthe |
Subject: |
[Bug-wget] [bug #45790] wget prints it's progress even when background |
Date: |
Tue, 18 Aug 2015 09:03:32 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.1.0 |
URL:
<http://savannah.gnu.org/bugs/?45790>
Summary: wget prints it's progress even when background
Project: GNU Wget
Submitted by: nok
Submitted on: Di 18 Aug 2015 11:03:31 CEST
Category: User Interface
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: None
Operating System: None
Reproducibility: None
Fixed Release: None
Planned Release: None
Regression: None
Work Required: None
Patch Included: None
_______________________________________________________
Details:
Hello,
an old forgotten bug report:
--8<--
When wget is suspended in command line and then
send into background (eg using bash bg command), it continues
to print it's progress messages. This leads to either stopping
wget or to garbling terminal with wget messages (depending
on the TOSTOP terminal setting).
--8<--
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.
--8<--
https://bugs.debian.org/281201
As an example:
# wget
http://cdimage.debian.org/debian-cd/current/multi-arch/iso-cd/debian-8.1.0-amd64-i386-netinst.iso
<Press ctrl+z>
[1]+ Stopped wget
http://cdimage.debian.org/debian-cd/current/multi-arch/iso-cd/debian-8.1.0-amd64-i386-netinst.iso
address@hidden:/tmp/test$ bg
<garbling the terminal but commands work as expected>
Regards
Noël
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45790>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Bug-wget] [bug #45790] wget prints it's progress even when background,
NoëlKöthe <=