Re: Re: Kannons and Katapults
By: Rob Swindell to Mike Powell on Mon Dec 08 2025 14:50:22
Hi, Rob.
"CR LF" or "CR NUL" is required in both directions
(in the default ASCII mode), to preserve the symmetry of the
NVT model. Even though it may be known in some situations
(e.g., with remote echo and suppress go ahead options in
effect) that characters are not being sent to an actual
printer, nonetheless, for the sake of consistency, the protocol
requires that a NUL be inserted following a CR not followed by
a LF in the data stream.
This finally explains why I kept triggering a bug on BeeBS a year or two ago - with CR -> CRLF disabled MuffinTerm was sending NULs after the CR and I could never work out why.
To be fair I didn't try that hard to work it out, I just switched CR -> CRLF on and Vela fixed the bug as well for good measure.
But, yeah - thanks for sharing :)
BobW
--- SBBSecho 3.32-Linux
* Origin: >>> Magnum BBS <<< - magnumbbs.net (2:250/3)