comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: AdaTutor is not working because of wrong USERDATA.TXT
Date: Wed, 21 Sep 2011 23:01:47 -0700
Date: 2011-09-21T23:01:47-07:00	[thread overview]
Message-ID: <j5ejag$jt3$1@tornado.tornevall.net> (raw)
In-Reply-To: <9e00kiF9tkU2@mid.individual.net>

On 09/21/2011 10:50 PM, Georg Maubach wrote:
>
> AdaTutor complains that the USERDATA.TXT file has the wrong form. cat
> produced this output:
>
>   104
>   7
>   0
>   0
>
> I just copied the file from the zip file provided with the sources.
>
> How can I fix that?

This file has CR-LF line terminators. GNAT Ada.Text_IO on Linux expects LF line 
terminators. Try converting the file to Linux format.

-- 
Jeff Carter
"If you think you got a nasty taunting this time,
you ain't heard nothing yet!"
Monty Python and the Holy Grail
23



  reply	other threads:[~2011-09-22  6:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-22  5:50 AdaTutor is not working because of wrong USERDATA.TXT Georg Maubach
2011-09-22  6:01 ` Jeffrey Carter [this message]
2011-09-22 10:41   ` Peter C. Chapin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox