[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] bug #45790: wget prints it's progress even when backgroun
From: |
Dale R. Worley |
Subject: |
Re: [Bug-wget] bug #45790: wget prints it's progress even when background |
Date: |
Wed, 28 Sep 2016 11:47:56 -0400 |
"Wajda, Piotr" <address@hidden> writes:
> The case with stopping wget is obvious. CTRL+Z and bg should make wget
> write to file and I can catch bg with SIGCONT.
> But I wonder what to do when after CTRL+Z and bg, user runs fg. In this
> case there's no signal between bg anf fg,
Though the user could, instead of just "fg", do "fg", then Ctrl-Z, then
"fg" again. The second "fg" would cause a SIGCONT, and wget could at
that point theck that it had been foregrounded. Not elegant, but fairly
simple.
Dale