Re: Strange pager (less, more) behavior



In article <slrne2jhv8.8ph.ulrick@xxxxxxxxxxxxxxxx>,
Dave Ulrick <d-ulrick@xxxxxxx> wrote:

However, I've noticed on my Linux 2.6.9 (and above) PCs that at
least some of my programs sometimes gets involved in a rather strange
bit of (mis)behavior when I pipe its output to a pager such as 'less'
or 'more'. When I do this, my command line looks something like
this:

$ ./myprogram 2>&1 | less

99.44% of the time, this works perfectly, but every once in a while,
the pager doesn't appear. Instead, 'bash' gives me these messages:

[1]+ Stopped ./myprogram 2>&1 | less

You you tried it in a sub-shell?

$ (./myprogram 2>&1 | less)

--
http://www.spinics.net/lists/gcchelp/
.