TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Rinat Sadretdinow
from: Francisco Caselin Nava
date: 1996-10-02 17:11:00
subject: Headers of ..MSG Files

-=> Quoting Rinat Sadretdinow to Francisco Caselin Nava <=-


 FN> THANKS!! =) That is just I'm seeking... =)
 RS> The original message contains one little bug. Instead of

 RS> /* print component name, msg number, msg class, and msg itself
 RS> according to MKMSGF rules. RTFtoolkitM dox for them.
 RS> */
 RS> fprintf ( fout, "%s%4.4d%c: %s\r\n", compname, i + 1, buf[toc[i]],
 RS> msg );

 RS> there should be

 RS> fprintf ( fout, "%s%4.4d%c: %s", compname, i + 1, buf[toc[i]],
 RS> msg );

 RS> without trailing \r\n. Otherwise extra linefeed will be
 RS> erroneously placed into the output.

The First time it was ran OK but now the output file contains lines with
780 cols =8-{}

Thank you =)



    --- ++--+++--+++---+++--+     *SaludOS/2*
   --   ++--+++--+||    ||  |    *Greetings/2*
 --     ++   ++  +++---+++--+  *From Mexico City*

___ Blue Wave/OS2 v2.30 [NR]

--- Maximus/2 2.02
* Origin: OS/2 Shareware BBS, telnet://bbs.os2bbs.com (1:109/347)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 109/347 18 7 396/1 270/101 712/515 711/808 934

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