>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




Bug Reports

Author Thread: INBUF limited to 28 lines
wintech1
INBUF limited to 28 lines
Posted: Friday, May 13, 2005 3:01 PM (EST)

Using APL+Win 4.0.03, INBUF is limited to 28 lines.  Seems to be machine dependent.  The 28 line limit occurs on a Win2000 machine, but a Win98 machine is fine.  Any thoughts?

 

Here's an example trying to put 50 lines in INBUF:

      ŒINBUF ,((50 5½'ŒSI ©'),œ[2]•¨,¨¼50),ŒTCNL
      ŒSI ©1
      ŒSI ©2
      ŒSI ©3
      ŒSI ©4
      ŒSI ©5
      ŒSI ©6
      ŒSI ©7
      ŒSI ©8
      ŒSI ©9
      ŒSI ©10
      ŒSI ©11
      ŒSI ©12
      ŒSI ©13
      ŒSI ©14
      ŒSI ©15
      ŒSI ©16
      ŒSI ©17
      ŒSI ©18
      ŒSI ©19
      ŒSI ©20
      ŒSI ©21
      ŒSI ©22
      ŒSI ©23
      ŒSI ©24
      ŒSI ©25
      ŒSI ©26
      ŒSI ©27
      ŒSI ©28

 


Comments:

Author Thread:
j.merrill
INBUF limited to 28 lines
Posted: Friday, May 13, 2005 3:25 PM (EST)
On my Win2000 machine, all the interpreters can handle that sample with no trouble. 
 
I can't easily explain why this is causing trouble on one machine.  Perhaps you have some kind of "macro recorder" do-hicky running (or some other thing that's watching every keystroke) and it can't keep up?
 
I don't know how #inbuf is implemented (what Windows APIs it uses)....

     

Support
INBUF limited to 28 lines
Posted: Friday, May 13, 2005 5:11 PM (EST)
The problem isn't reproduced here either.  We don't have an explanation for your problem.

APL2000 Support

     

Paul.Ravitz
INBUF limited to 28 lines
Posted: Thursday, May 19, 2005 1:10 PM (EST)

I think I may know what your problem is.  Are you running a program called WebWasher on that PC?  I had EXACTLY the same problem, which I reported to APL2000 back in 2001.  The solution is to stop using WebWasher.  See E-mail train below ... paul

 

-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~

Followup E-mail: John Walker determined that it was WebWasher that was interfering with #INBUF.  WebWasher is a filter program for web pages.  Why it's interfering with #INBUF is a mystery, but there it is.

 

     -- Paul

 

-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Original E-mail:

 

Although #INBUF can easily handle up to 8191 characters (approx 2*13), it appears to have a limit of about 28 lines (meaning entries separated by new-line characters).  Whether you pass it all in one #INBUF or one line at a time using {neg}1 #INBUF, anything you give it past the 28th line is lost.  For example, try (in APL2ASCII format):

 

      #INBUF 1{drop},#TCNL,'<0 0{rho}>,I2' #FMT {iota}50

 

I noticed this when I wrote a utility routine that built up a multi-line argument to #INBUF, but noticed that #INBUF was dropping trailing lines.

 

Is this a known limitation or a bug?

 

    Thanks -- Paul

     

wintech1
INBUF limited to 28 lines
Posted: Monday, June 06, 2005 2:02 PM (EST)
I figured out that the problem is related to a Kensington Optical Mouse Driver (ksm_run.exe).  If I disable the driver, APL works fine.

     

Support
INBUF limited to 28 lines
Posted: Tuesday, June 07, 2005 11:55 AM (EST)

What made you think of the mouse driver?

 

APL2000 Support

     

wintech1
INBUF limited to 28 lines
Posted: Wednesday, June 08, 2005 4:13 PM (EST)
I booted up my machine in safe mode and tried one application at a time until I recreated the problem.  I had a hunch that it was the mouse driver because I am the only one at my company having this problem and it is the only application unique to my computer. 

     



APL2000 Official Web Site

When we try to pick out anything else in the Universe, we find it hitched to everything else in the Universe.
-- John Muir

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |