Less interrupting in less
Normally all processes in a pipeline run in the same process group, causing all of them to receive the signal. You can use setsid foo | less
to run foo
in a different pgrp.
You can disable line numbers with the
-n or --line-numbers
option.
produce_output | less -n
You can also just do this:
less +F -f <(produce_output)