On 06/15/2013 10:19 AM, Teemu Likonen wrote:
> I want to use pager /bin/more (or /usr/bin/less) internally in my
> program so that certain output text is automatically written to the
> pager program. Can't make it work, though. I thought the following code
> should work but it doesn't:
...
> Nothing is printed. If I switch "/bin/more" to "/bin/cat" it prints
> normally the numbers from 0 to 99.
>
> Is there a way to use a pager program internally in SBCL?
Might this be a problem with tty settings and the magic programs like
more use? You might wrap more in a shell script that invokes strace
to try finding the issue.
- Daniel