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

When you say ^Z works nicely for cat|less, what do you mean? What happens?

When you say ^Z confuses perl for perl -ne 'print $_;'|less, what do you mean? What happens?

I tested on CentOS 5 and both of the above commands behave the same. ^Z suspends them and fg brings them back to the foreground.

Replies are listed 'Best First'.
Re^2: weird ctrl-z behaviour when piping from tin through perl
by ikegami (Patriarch) on Sep 11, 2009 at 20:44 UTC
    Gets a shell prompt vs gets a blank prompt that doesn't do anything apparent in response to Enter. (He's possibly feeding perl's <>.)
      That's correct in all counts (including the <>, I'm doing while (<>) in the script).