Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Howard S Shubs <howard@shubs.net>
Subject: Re: RMS internals?
Date: Sun, 09 Aug 2009 03:14:43 -0400	[thread overview]
Message-ID: <howard-548BE5.03144309082009@news.newsguy.com> (raw)
In-Reply-To: 0037589e$0$28455$c3e8da3@news.astraweb.com

In article <0037589e$0$28455$c3e8da3@news.astraweb.com>,
 JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> If your client trasnfered in binary mode, you would have raw data with
> CR-LFs terminating records.  (or whatever line termination sequence
> windows uses). It would be easier to parse since there would be no RMS
> interpretation of the data.
> 
> Binary/image mode usually results in a file created on VMS with fixed
> length 512 byte records (aka: 1 record per block) and no record
> attributes. So when you read the data, you get the data uninterpreted by
> RMS.

Yes, that's why I asked them to get me a file transferred in binary 
mode.  I wanted to see what it'd look like to me.  Fixed length 512 byte 
"records" aside, I'm not sure I want to play the "what terminator are we 
looking for today" game.  Coming from Windows, that's a pretty easy 
game, I'll grant you, but I want to keep this as general as I can.

My code to deal with UNDEFINED is the simplest.  It just says, do we 
have enough data remaining in the buffer?  If yes, copy the next 33097 
bytes to the caller's buffer, and return.  If it were only that easy all 
the time. :-/  (otherwise, copy what remains to the user's buffer, 
$READ, then copy the remaining data we need for the user, and return, 
always allowing for EOF, of course)

-- 
Don't bother with piddly crap like "gun control".
Life is 100% fatal.  Ban it.


  reply	other threads:[~2009-08-09  7:14 UTC|newest]

Thread overview: 105+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-07 13:20 RMS internals? Howard S Shubs
2009-08-07 14:04 ` Bob Koehler
2009-08-07 14:09   ` Howard S Shubs
2009-08-07 14:25     ` R.A.Omond
2009-08-07 17:29     ` Graham Burley
2009-08-08 16:07       ` Howard S Shubs
2009-08-07 15:06 ` Malcolm Dunnett
2009-08-07 15:36   ` Richard B. Gilbert
2009-08-07 15:46     ` IanMiller
2009-08-07 17:57       ` JF Mezei
2009-08-08 11:32     ` VAXman-
2009-08-07 17:07   ` Bob Koehler
2009-08-07 18:24     ` Malcolm Dunnett
2009-08-07 21:35     ` P. Sture
2009-08-08 16:16     ` Howard S Shubs
2009-08-08 17:42       ` JF Mezei
2009-08-08 17:57         ` Howard S Shubs
2009-08-10 12:41           ` Bob Koehler
2009-08-10 14:11             ` Howard S Shubs
2009-08-10 14:49               ` Hein, Nashua NH
2009-08-11 15:09                 ` Howard S Shubs
2009-08-11 20:51                   ` Hein, Nashua NH
2009-08-24 15:49                     ` P. Sture
2009-08-10 21:02               ` Bob Koehler
2009-08-11 14:58                 ` Howard S Shubs
2009-08-10 22:34             ` Arne Vajhøj
2009-08-10 22:39               ` Arne Vajhøj
2009-08-11 15:26                 ` Howard S Shubs
2009-08-12  1:06                   ` Arne Vajhøj
2009-08-10 22:43               ` glen herrmannsfeldt
2009-08-10 22:56                 ` Arne Vajhøj
2009-08-11  2:58               ` Richard B. Gilbert
2009-08-11  4:05                 ` glen herrmannsfeldt
2009-08-11 18:02                   ` P. Sture
2009-08-11 13:00                 ` Bob Koehler
2009-08-11 13:36                   ` Richard B. Gilbert
2009-08-11 15:29                     ` Howard S Shubs
2009-08-11 17:17                       ` Richard B. Gilbert
2009-08-12  3:04                         ` Howard S Shubs
2009-08-11 17:04                     ` Bob Koehler
2009-08-12 16:45                     ` Michael Moroney
2009-08-11 18:38                   ` glen herrmannsfeldt
2009-08-11 18:55                     ` Al Kossow
2009-08-11 19:30                       ` Richard B. Gilbert
2009-08-11 19:55                         ` glen herrmannsfeldt
2009-08-11 19:46                       ` glen herrmannsfeldt
2009-08-12 13:40                       ` Bob Koehler
2009-08-12 13:44                       ` Bob Koehler
2009-08-12 13:39                     ` Bob Koehler
2009-08-12 17:55                       ` glen herrmannsfeldt
2009-08-12  1:00                 ` Arne Vajhøj
2009-08-08 17:52       ` Arne Vajhøj
2009-08-08 18:03         ` Howard S Shubs
2009-08-08 18:26           ` Arne Vajhøj
2009-08-08 18:38             ` JF Mezei
2009-08-09  2:14               ` Howard S Shubs
2009-08-09  2:35                 ` glen herrmannsfeldt
2009-08-09  7:11                   ` Howard S Shubs
2009-08-10 12:44                   ` Bob Koehler
2009-08-10 13:57                     ` Richard B. Gilbert
2009-08-10 18:47                       ` glen herrmannsfeldt
2009-08-10 21:00                       ` Bob Koehler
2009-08-10 18:32                     ` glen herrmannsfeldt
2009-08-10 20:35                       ` Rich Alderson
2009-08-10 21:32                       ` Stefaan A Eeckels
2009-08-09  4:08                 ` JF Mezei
2009-08-09  7:14                   ` Howard S Shubs [this message]
2009-08-09 17:21                     ` Michael Moroney
2009-08-10  6:02                       ` Howard S Shubs
2009-08-09  9:23                   ` R.A.Omond
2009-08-10 16:07                     ` P. Sture
2009-08-10 21:04                     ` Bob Koehler
2009-08-09  1:59             ` Howard S Shubs
2009-08-10  2:11               ` Arne Vajhøj
2009-08-10  6:00                 ` Howard S Shubs
2009-08-10 22:33                   ` Arne Vajhøj
2009-08-11 15:13                     ` Howard S Shubs
2009-08-11 17:08                     ` Bob Koehler
2009-08-12  3:18                       ` Howard S Shubs
2009-08-13 16:05                         ` P. Sture
2009-08-14  1:13                           ` Howard S Shubs
2009-08-12 14:21                     ` Bob Koehler
2009-08-10 15:57           ` P. Sture
2009-08-11 15:16             ` Howard S Shubs
2009-08-10 12:38       ` Bob Koehler
2009-08-10 17:10         ` JF Mezei
2009-08-10 21:06           ` Bob Koehler
2009-08-10 22:59           ` Michael Moroney
2009-08-11 15:23             ` Howard S Shubs
2009-08-11 17:12               ` Bob Koehler
2009-08-11 15:22           ` Howard S Shubs
2009-08-10 22:27         ` Arne Vajhøj
2009-08-07 19:28   ` Alan Frisbie
2009-08-08 16:20     ` Howard S Shubs
2009-08-07 21:27   ` P. Sture
2009-08-08 16:08   ` Howard S Shubs
2009-08-09 13:14   ` Hein, Nashua NH
2009-08-09 14:50     ` Hein, Nashua NH
2009-08-09 16:53       ` Howard S Shubs
2009-08-09 17:29         ` Arne Vajhøj
2009-08-10  5:59           ` Howard S Shubs
2009-08-10 22:29             ` Arne Vajhøj
2009-08-11 15:24               ` Howard S Shubs
2009-08-12  1:05                 ` Arne Vajhøj
2009-08-12  3:01                   ` Howard S Shubs
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox