From fnaumann@mail.cs.uni-magdeburg.de Thu Oct 23 15:26:22 2003 Message-ID: <1066914858.3f97d42a697d2@imp2-l.free.fr> Date: Thu, 23 Oct 2003 15:14:18 +0200 From: Xavier Joubert To: MiNT Mailing List Subject: Re: [MiNT] newline problem References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 Delivered-To: mint@fishpool.com Delivered-To: mint@lists.fishpool.fi X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: xavier.joubert@free.fr Precedence: bulk List-help: List-unsubscribe: List-ID: X-List-ID: Hello Martin, Selon Martin Tarenskeen : > When I compile a commandline program using gcc I can use the program and > read it's text output perfectly in my TosWin2 windows when running MiNT. > But if I use it as a TTP program under plain TOS, the text output becomes > unreadable because of the unixoide CR without LF. What should I do to make > such an app usable under plain TOS ? Partice Mandin already wrote a patch that solves this bug. You can find it here : http://membres.lycos.fr/pmandin/index.php?page=patch-libs#mintlib . It sets STDIN, STDOUT and STDERR in text mode instead of raw mode. This patch was already discussed here, but I must admit I didn't understand why it was not committed in CVS. Frank, is there a problem with it ? Best regards, Xavier