"Wajda, Piotr" <[email protected]> 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
