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:52
subject: Re: Max subject length: 71 or 72 chars?

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)
SEEN-BY: 103/705 154/10 203/0 218/700 221/0 1 6 360 229/426 240/5832 280/464
SEEN-BY: 280/5003 5006 5555 292/854 310/31 320/219 396/45 423/120 633/0 267
SEEN-BY: 633/280 281 412 509 640/1321 1384 712/848 770/1 2452/250 5020/545
@PATH: 103/705 280/464 221/1 640/1384 633/280 267

SOURCE: echomail via fidonet.ozzmosis.com

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™.