in reply to weird ctrl-z behaviour when piping from tin through perl
may not work as expected, as this uses stdout, which is buffered. You could useperl -ne 'print $_;' | less
to get the same behavior, however. When I ^Z either of these from the shell on linux, it gives me the shell prompt, and 'fg' returns me to the process, as expected.perl -ne 'print STDERR $_;' | less
Do you see the same 'stopped' message for the simple case at the end as you do for the 'tin' command?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: weird ctrl-z behaviour when piping from tin through perl
by Anonymous Monk on Sep 12, 2009 at 22:12 UTC |