TIP: Click on subject to list as thread! ANSI
echo: bbs_internet
to: sean dennis
from: Jon Watson
date: 2004-10-15 17:05:14
subject: Re: FTN Packet File Structure?

======>>> Sean Dennis, 1:18/200 wrote:

Originally to: Jon Watson

Your spelling looks good to me.  About the parsing of the AREA: keyword-to be  
honest, I know very, very little about it.  I've never yet figured out how to  
work with the .PKT format, but I may soon so I can write my own message stuff.


<<<====== end quote


It's a mystery...I have about 50 packets to look at now, and there doesn't
seem to be any consistent delimeter where the headers end and the message
text truly begins. On some packets there is a double carriage return
between the last header and the first line of message text, in other
packets there's only a single carriage return.

Most of the packets (perhaps all, not sure yet) have a ^M^A sequence
between all the headers and then EITHER just a ^M before the text or a ^M^M
before the text. So....I *think* that a single ^M followed by anything
other than a ^A *may* work. But since I can't get preg_replace or
ereg_replace to work on the whole string, I have to read it and evaluate it
char by char. Slooooow business.

We'll see how it goes....

Jon


-FOTW: read your
Fidonet On The Web!
http://www.theheatsinkbbs.ca :=-



--- Internet Rex 2.29
* Origin: The gateway at The HeatSink BBS (1:134/703)
SEEN-BY: 633/267 270
@PATH: 134/703 10 3613/1275 123/500 106/2000 633/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™.