www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/03/09:07:03

Sender: drek AT delorie DOT com
Message-ID: <363F0CE3.1C5D0E87@monsterbymistake.com>
Date: Tue, 03 Nov 1998 09:02:11 -0500
From: Agent Drek <drek AT monsterbymistake DOT com>
Organization: Monster By Mistake
X-Mailer: Mozilla 4.05 [en] (X11; I; IRIX 6.3 IP32)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: File sharing NT--UNIX EOL
References: <363E0FC0 DOT EF92F165 AT mayn DOT de>
Reply-To: djgpp AT delorie DOT com

Hi.

    We just ported some of our C code from Unix (IRIX6.XX) to NT 4.0
using DJGPP on the NT

ie:
sprintf(file,"%s/%s/%s%s",SPOOL_DIR,argv[2],argv[2],SPOOL_COMP_EXT);

Our problem is when one of the NT boxes makes an entry in the data base
it puts
a bunch of ^M 's for EOL (end of line)

For now this just looks bad

I think I want ^J characters to be printed instead of ^M

Is this something I can change in DJGPP?

thanks in advance,

=derek

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019