HP3000-L Archives

February 1997, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Mon, 24 Feb 1997 12:08:53 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
Gavin writes:

> One of the "Posix-Smoothing" enhancements I've suggested to HP is that
> they add a couple of bits to the MPE File Label to indicate which of
> the three line terminators we *think* the file uses (Unix=LF, Mac=CR,
> DOS/WIN=CRLF).  Additionally, the current MPE feature of automatically
> making LF delimited "UNIX style" text files look and act like MPE
> Variable Length files can be extended to look at this new file attribute,
> which would make it possible to correctly process these files in many
> more existing MPE applications.
...
> It might be possible to teach the Posix C runtime library that if you're
> asking for a file as a text file, that it should automagically translate
> the file appropriately when reading and writing.  This could make every
> Posix program on the 3000 able to handle any text file from any client.


I like it!

The POSIX library might be able to say fgets() and gets() are
generally text oriented ... if they're called on an ASCII bytestream
file, they should use the new record separator attribute information.


--
Stan Sieler                                          [log in to unmask]
                                     http://www.allegro.com/sieler.html

ATOM RSS1 RSS2