Subject: | |
From: | |
Reply To: | |
Date: | Mon, 19 Feb 2001 16:57:33 EST |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Frank asks:
> I am working with APACHE 1.3.4 on my 928 under 6.5 and have been
> investigating the BASIC V Interpreter as a CGI tool.
>
> #!/bin/sh
> callci basic BTEST
>
> No harassment please ... It loads very quickly and is already IMAGE-
> enabled.
>
> When reading the results of an HTML POST, my program only receives the
> first ~88 bytes / 44 words of data. For this test, I've tried reading
> STDIN & STDINX with variations of :
>
> 200 DIM R$(240)
> 210 FILES *
> 220 SYSTEM H2,"FILE IN1234=$STDIN;REC=-240,1,F,ASCII"
> 230 ASSIGN "IN1234",1,H2
> 240 LINPUT #1;R$
>
> Any ideas why the limit and how to get around it ?
>
If the file is a bytestream file (that is, a file that looks something like
the following in MPE space; this file below is a picture of Michealangelo's
Sistene Chapel in Windows .bmp format):
FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
SIZE TYP EOF LIMIT R/B SECTORS #X MX
CREATION 1B FA 565590 1000000 255 2224 9 8
then you might try something like this:
1140 ON END #1 THEN 1340
1150 FOR R=55 TO 1E7
1160 LINPUT #1,R;I$
which is nothing more than an awful lot of single-byte record reads. It does
work, however (byte 55 is where the data starts in a Windows 24-bit image
bitmap).
Wirt Atmar
|
|
|