cisin at xenosoft.com
Sat Dec 29 19:29:07 CST 2007
On Sat, 29 Dec 2007, Roy J. Tellason wrote:
> > LF CR?
> Not that I've ever seen, the CR usually being sent first because if it's any
> kinda mechanical thingy it takes longer.
that makes sense. I have run into LF CR in files, but haven't gotten
around to tracking down what system created them.
> > Is '\n' 0Dh? 0Ah? 0Dh 0Ah? 0Ah 0Dh?
> I remember back when I first started fiddling with c programming having to use
> \n\r in some instances to get what I wanted.
THAT would give LF CR on some systems!
> I always thought it'd be kinda nifty to have one character instead of two.
Many companies went that route.
> > For example,
> > TRS80 was 0Dh; IBM PC was 0Dh 0Ah
> I remember well one Tandy printer that double-spaced lines and there didn't
> seem to be any way to disable that "feature".
Some Tandy compatible printers had "smart auto linefeed" - a line feed
would be added to a CR IFF there was not a LF following the CR.
That worked well except for the LF CR case.
Grumpy Ol' Fred cisin at xenosoft.com
More information about the cctech