TIP: Click on subject to list as thread! ANSI
echo: ftsc_public
to: Wilfred van Velzen
from: Rob Swindell
date: 2019-08-26 00:59:00
subject: Re: Max subject length: 7

  Re: Re: Max subject length: 71 or 72 chars?
  By: Wilfred van Velzen to Rob Swindell on Mon Aug 26 2019 09:16 am

 >  RS> How does *your* implementation handle these fields? What would happen
 >  RS> if you received a Stored Message where byte 71 (the 72nd byte) of the
 >  RS> "subject" was non-null? Or if you received a packet that included a
 >  RS> 72-character subject followed by a null? Both of these conditions do
 >  RS> not appear to violate FTS-1, but I'm not sure how other programmers
 >  RS> have interpetted these specs over the years.
 >
 > I checked the fmail source: it reads a maximum of 72 bytes (untill and
 > including a NULL) from the pkt file for the subject. It doesn't care if byte
 > 71 isn't a NULL (when the maximum of 72 bytes are read), but it forces it to
 > NULL before further processing. So effectively limiting the subject to 71
 > characters. If the byte after 72 subject characters would be NULL, it
 > regards that as the 1st byte of the next field. So that would mean a message
 > body of 0 characters.

Thanks for the detailed reply.

-Rob
--- SBBSecho 3.09-Linux
                                                                                                              
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@dmine.net

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.