[Info-vax] RMS internals?
Howard S Shubs
howard at shubs.net
Sat Aug 8 12:16:28 EDT 2009
In article <qp3u7N$Vxwze at eisner.encompasserve.org>,
koehler at eisner.nospam.encompasserve.org (Bob Koehler) wrote:
> In that case, does it pre-date stm, stmlf, and stmcr? That may be
> what the OP really needs to know.
Not specifically. I'm reading records of whatever length using block
reads and RAB64 to get larger buffers, so I need to parse out the
records myself. The record length I'm specifically working on is over
33000 bytes long. So far, I've managed to do it for UNDEFINED and
VARIABLE records. VARIABLE is the key one since it's being used by FTP
when the user sends the file to the server.
When I had QA send the file via FTP using "binary" mode, I got the file
as written by Windows, including CRLF at the end of each record, which I
didn't consider very useful. Good thing our users apparently won't do
it that way.
But I figure it'd be a Good Idea to implement every record type I can.
Given the link sent earlier, I'm a little concerned about other possible
implementations of VARIABLE records. I'll check that out on Monday to
make sure I've covered remaining bases.
I find it kind of funny. The records I'm receiving alternate. I get
one record of 32767 bytes, then a record of 330 bytes, completing the
*actual* record length. It repeats until I have all the records. Fun!
I'm not assuming it'll always work that way, note.
--
Don't bother with piddly crap like "gun control".
Life is 100% fatal. Ban it.
More information about the Info-vax
mailing list