jidanni@dman.ddts.net (Dan Jacobson) writes:
|> here's some ideas for your deluxe edition:
|> $ (while sleep 3; do echo o; done)&
|> $ fg -o file #exec job's 1> file
|> $ fg -a file #appends
|> $ bg -a file
|> $ bg \< file #or -i, or -fd 1, 2 , 0 etc. or /dev/stderr ...
|> etc. etc. i.e. redirecting output and input in mid job.
|> or something like that. in case you can't do this already.
This is impossible. Redirections cannot be changed after a process is
started, except by the process itself.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."