[Info-vax] MAX record size in a sequential file

George Cornelius cornelius at eisner.decus.org
Tue May 15 14:33:10 EDT 2012


jbriggs444 wrote:
> Stream-lf means that your on-disk record layout is controlled by
> the presence of line feeds in the data.  Record attributes of CR means
> that your on-the-printer layout has each record printed on a
> separate line.  Seems quite standard to me.  Exactly what one would
> want when attempting to reproduce the semantics of a Unix text file.
> 
> But I am in the presence of one who knows his stuff.  So it is
> plausible that I am missing something.

No, you have it right.

As a minor nit, it can take a CR-LF pair to actually generate the
desired display format, but, historically, the old Underwood would
do a line advance along with the carriage movement.

[I don't remember how we managed to get a return with no linefeed
when overtyping, although of course backspaces would do it].

But the original question still stands.  Why do some programs seem
to update the header to reflect the longest record size while others
leave it at max?  For the C run-time library, which tends to bypass
RMS for much of what it does, I understand, but I believe I have
seen this in other contexts as well.

George



More information about the Info-vax mailing list