Re: Format of the INPUT TextArea

Rick Troth (
Fri, 22 Apr 1994 19:05:53 -0500 (CDT)

> I've been fiddling around with a server that uses forms. When I send
> the default text that starts in the textarea, I do so with CRLF's. When I
> get the text back from NCSA Mosaic for X, I get my CRLF's for any unmodified
> text plus LF's for any newly added lines. It's easy to handle this, just use
> the LF's as delimiters and throw out any CR's. But what's going to happen when
> NCSA Mosaic 2.0 for the Mac comes out? Do I need to start looking for CR, LF,
> or CRLF's?

I like to stick to the TELNET standard, CR/LF delimited lines.
Then run by the ROT, "be liberal about what you accept, conservative
about what you generate". So I'd say your server's on the right track.

> What should the standard be? CRLF's like the TELNET RFC, converted
> locally to whatever's convenient?

Right. I used to maintain a system that didn't use CR or
LF or NL or *anything* for the line delimiter. Lines were delimited
out of band, so you could have embedded CRs and/or LFs. It didn't care.
But it's much less confusing to use CR/LF "on the wire".

> --
> (Dave Sisson)

"There's just some things that numbers can't measure" - Bob Bennett 
Rick Troth <>, Rice University, Information Systems