Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Howard S Shubs <howard@shubs.net>
Subject: Re: RMS internals?
Date: Sat, 08 Aug 2009 14:03:12 -0400	[thread overview]
Message-ID: <howard-7A9971.14031208082009@news.newsguy.com> (raw)
In-Reply-To: 4a7dbb58$0$295$14726298@news.sunsite.dk

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1547 bytes --]

In article <4a7dbb58$0$295$14726298@news.sunsite.dk>,
 Arne Vajh�j <arne@vajhoej.dk> wrote:

> In that case it is not a really a valid file.

I'm not sure how you arrive at this result.  A file can have any record.  
RMS asserts limits which other operating systems do not have to adhere 
to.  So I've written code which "deals" with RMS' limits.


> See:
>    http://h71000.www7.hp.com/doc/731final/4523/4523pro_006.html#fab_mrs

Yes, BTDT.  Those are RMS-specific limits.  If the file had been 
generated on VMS, maybe they'd be relevant.  Since the file was 
generated elsewhere, they're not.  This is a case of VMS being "too 
nice" and getting in my way.  It happens on occasion.


> > 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.
> 
> The variable format is welldefined:
>    2 bytes with length
>    data butes
>    0 or 1 bytes to fill to even number of bytes

Yes, and it's that last line I need to account for.  Since I only have 
one kind of test file, I saw an extra byte at the end of the record and 
took it for gospel.  Now I know it for padding and will allow for it in 
case this record happens to get longer, to an even length, in the 
future.  The product creating the file is from a 3rd party, out of my 
control.

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


  reply	other threads:[~2009-08-08 18:03 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 [this message]
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
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