New readline problem.

From: Harvey J. Stein <>
Date: 27 Dec 1999 09:51:14 -0500

I have another problem with readline now.

Consider the following file (called stkcat):

#!/usr/local/bin/stk -f

(let loop ((l (read-line)))
  (cond ((not (eof-object? l))
         (display l)
         (loop (read-line)))))

It just copies stdin to stdout.

I did:

   echo foo >foobar
   stkcat <foobar

When I use snow to run it (i.e. - when the 1st line is
#!/usr/local/bin/snow -f), then it works fine. When I use STk to run
it, it hangs after writing the last line.

I actually wrote this to test an rsh problem I've been seeing. I
can't use snow because I need (after) to slow down the writing.

This is on RH 6.0, with a freshly installed STk 4.0.1-1 & STk-devel
4.0.1-1 RPMs. I had the same behavior with STk 4.0.0, so I upgraded
to see if it would go away (it didn't).

Harvey Stein
Bloomberg LP
Received on Mon Dec 27 1999 - 15:51:56 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST