From: Austin Obyrne <austin.obyrne@hotmail.com>
Subject: Re: Will Ada-95 Programs Written in MS Windows Run in MacOS and Linux Without Some Tweaking.
Date: Sat, 7 Dec 2013 10:26:29 -0800 (PST)
Date: 2013-12-07T10:26:29-08:00 [thread overview]
Message-ID: <a4cf1ea7-d5a2-4bd4-9637-51f6a92996ec@googlegroups.com> (raw)
In-Reply-To: <ly7gbg60mp.fsf@pushface.org>
On Saturday, December 7, 2013 5:18:06 PM UTC, Simon Wright wrote:
> Austin Obyrne <austin.obyrne@hotmail.com> writes: > From what you have told me I think I should leave the dissemination of > the finished ciphers (currently to hand in Ada-95 only but required in > all the possible future versions of Ada) to experienced people who are > au fait with all the nuances of compilers that are available to day. The compilers I've tried with this are Ada2005 natively, and your programs also work with the -gnat12 (Ada 2012) switch. You might have tripped over new reserved words, but didn't, and since you haven't used access or tagged types or tasking I think you'd be pretty safe to upgrade your compiler. A couple of points: (a) when I encrypted Now is the time for all good men to come to the aid of the Party. ~ it decrypted as Now is the time for all good mento come to the aid of the Party.~ Is that meant to happen, or is there a problem with Windows line terminators (CR/LF) vs Unix (LF)? (b) when I decrypted Email_CipherTextFile_X.dat I got Execution terminated by unhandled exception Exception name: ADA.IO_EXCEPTIONS.DATA_ERROR and the exception was raised at line 683 of general_decryption_program_mark_2.adb.
Hi Simon,
The second line down below is line 683
FOR I IN 1 .. 3 LOOP
*=> Ada.Integer_Text_IO.Get(File => InData, Item => W(I));
--Ada.Integer_Text_IO.Put(Item => W(I), Width => 8);
END LOOP;
This appears to be ok to me ?
You are working from a very old edition of this program
Could I ask you to start again and download "SureCrypt Cipher" from
http://www.adacryptpages.com
Sorry for the inconvenience - you are going great guns - the line numbers are difficult for me to trace today in the older program - Note - There is only one of each program in this more recent download.
I think there is always going to be some small errors - ideally I should liaise very closely with anybody such as yourself in any exercises like this.
Can you please spell out exactly which program you are referring to also because I have sometimes renamed them differently over the years in different uploads.
Ada-wise all these programs are the same -just extra refinements have been added now and then.
Thanks for what you are doing.
Austin
next prev parent reply other threads:[~2013-12-07 18:26 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-07 12:24 Will Ada-95 Programs Written in MS Windows Run in MacOS and Linux Without Some Tweaking Austin Obyrne
2013-12-07 13:16 ` Simon Wright
2013-12-07 14:01 ` Austin Obyrne
2013-12-07 17:18 ` Simon Wright
2013-12-07 18:26 ` Austin Obyrne [this message]
2013-12-08 17:17 ` Simon Wright
2013-12-08 18:17 ` Jeffrey Carter
2013-12-08 20:00 ` Simon Wright
2013-12-08 21:20 ` Jeffrey Carter
2013-12-08 18:44 ` Austin Obyrne
2013-12-08 20:10 ` Simon Wright
2013-12-08 20:31 ` Austin Obyrne
2013-12-08 22:39 ` Austin Obyrne
2013-12-16 11:46 ` Simon Wright
2013-12-16 19:00 ` Austin Obyrne
2013-12-16 21:19 ` Simon Wright
2013-12-16 21:40 ` Austin Obyrne
2013-12-18 4:44 ` Austin Obyrne
2013-12-18 8:35 ` Simon Wright
2013-12-18 9:54 ` Austin Obyrne
2013-12-18 4:57 ` Austin Obyrne
2013-12-18 8:55 ` Simon Wright
2013-12-18 5:38 ` Austin Obyrne
2013-12-18 9:02 ` Simon Wright
2013-12-18 13:02 ` Austin Obyrne
2013-12-16 19:24 ` Austin Obyrne
2013-12-17 9:06 ` Austin Obyrne
2013-12-08 20:01 ` Simon Wright
2013-12-10 6:37 ` Randy Brukardt
2013-12-10 10:14 ` Austin Obyrne
2013-12-10 11:39 ` Austin Obyrne
2013-12-10 21:49 ` Randy Brukardt
2013-12-10 23:08 ` Binary versus text and compiler versions, was: " Simon Clubley
2013-12-11 8:35 ` Dmitry A. Kazakov
2013-12-11 12:50 ` Simon Clubley
2013-12-11 13:29 ` Dmitry A. Kazakov
2013-12-11 14:20 ` Simon Wright
2013-12-11 18:25 ` Simon Clubley
2013-12-11 14:53 ` G.B.
2013-12-11 15:14 ` Eryndlia Mavourneen
2013-12-11 16:07 ` Austin Obyrne
2013-12-11 16:26 ` Eryndlia Mavourneen
2013-12-11 17:37 ` Austin Obyrne
2013-12-11 17:54 ` Eryndlia Mavourneen
2013-12-12 1:55 ` Austin Obyrne
2013-12-11 16:54 ` G.B.
2013-12-11 11:37 ` Austin Obyrne
2013-12-12 19:23 ` erlo
2013-12-11 10:35 ` Austin Obyrne
2013-12-11 0:34 ` Simon Wright
2013-12-11 1:01 ` Jeffrey Carter
2013-12-11 8:38 ` Simon Wright
2013-12-11 17:07 ` Simon Wright
2013-12-11 8:49 ` Simon Wright
2013-12-07 22:49 ` Austin Obyrne
2013-12-07 14:08 ` Austin Obyrne
2013-12-08 20:06 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox