in reply to weird ctrl-z behaviour when piping from tin through perl

Sorry, but I'm not seeing a problem on Linux. The whole
perl -ne 'print $_;' | less
may not work as expected, as this uses stdout, which is buffered. You could use
perl -ne 'print STDERR $_;' | 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.

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
    I get Stopped. Type 'fg' to restart tin but no shell prompt.

    Btw, shell in this case is GNU bash, version 4.0.28(1)-release (x86_64--netbsd).