Re: [Freedos-user] Spaghetti

2021-01-27 Thread Bryan Kilgallin

Yes, Deposite Pirate:


I am
pretty sure this is some ugly workaround by whoever maintained OpenGEM. The 
location of GEM
directories such as GEMAPPS and GEMSYS and so on was however somewhat hardcoded.


I kept getting CHDIR errors about GEMAPPS\GEMSYS. And these were 
generated from all over the batch file maze!


I had C:\OPENGEM instead of C:\. So the batch files couldn't find 
C:\GEMAPPS\GEMSYS. Because I had C:\OPENGEM\GEMAPPS\GEMSYS.

--
members.iinet.net.au/~kilgallin/


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Spaghetti

2021-01-27 Thread Deposite Pirate
January 27, 2021 6:59 PM, "Bryan Kilgallin"  wrote:
> I have been editing the OpenGEM code. It's a dog's breakfast! First it 
> assumes that I didn't put
> the OpenGEM directory where I did. Then it cross-references jumps between 
> batch files in an opaque
> way. And the writes to screen do not say where you are in this maze!

As a user of early GEM on the Amstrad 1512, this mess of batch files did not 
exist back then. I am
pretty sure this is some ugly workaround by whoever maintained OpenGEM. The 
location of GEM
directories such as GEMAPPS and GEMSYS and so on was however somewhat 
hardcoded. You could run it
from either A: or C: for sure as there is an Amstrad floppy disk that converts 
the first four
system disks to a hard drive installation of all of them at once.

January 27, 2021 7:35 PM, "dmccunney"  wrote:
> Out of curiosity, how much confusion might have been avoided if you
> had placed the OpenGEM directory where the code assumed it would be?
> (And why *didn't* you place it there?)
> 
> Most development projects make assumptions about things like that that
> you change at your peril, and you think hard about why you are
> changing things before you do it.

There are plenty of valid reasons to want to put GEM someplace else. Such as 
running it from a
network drive. Or simply to organize your filesystem to be able to efficiently 
find things.


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Spaghetti

2021-01-27 Thread Bryan Kilgallin

I wrote:

I presume that I was responding to instruction here like "Put it where 
you feel like."

I found it here.

{But even if you don't have FDIMPLES, you can still
install packages "manually." Just unzip them and put the files wherever 
you like. That's the nice thing about DOS - everything is statically 
linked, and specific paths usually don't matter much.}


https://www.mail-archive.com/freedos-user@lists.sourceforge.net/msg21955.html
--
members.iinet.net.au/~kilgallin/


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Spaghetti

2021-01-27 Thread Bryan Kilgallin

Well, Dennis:


Out of curiosity, how much confusion might have been avoided if you
had placed the OpenGEM directory where the code assumed it would be?


I suppose it would work right.


(And why *didn't* you place it there?)


I presume that I was responding to instruction here like "Put it where 
you feel like."



Most development projects make assumptions about things like that that
you change at your peril, and you think hard about why you are
changing things before you do it.


I think that guidance here was "Yeah, well sorta, y'know."!

--
members.iinet.net.au/~kilgallin/



___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Spaghetti

2021-01-27 Thread Ralf Quint

On 1/27/2021 10:32 AM, dmccunney wrote:

On Wed, Jan 27, 2021 at 1:00 PM Bryan Kilgallin  wrote:

I have been editing the OpenGEM code. It's a dog's breakfast! First it
assumes that I didn't put the OpenGEM directory where I did. Then it
cross-references jumps between batch files in an opaque way. And the
writes to screen do not say where you are in this maze!

Out of curiosity, how much confusion might have been avoided if you
had placed the OpenGEM directory where the code assumed it would be?
(And why *didn't* you place it there?)

Most development projects make assumptions about things like that that
you change at your peril, and you think hard about why you are
changing things before you do it.


+1



--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Spaghetti

2021-01-27 Thread dmccunney
On Wed, Jan 27, 2021 at 1:00 PM Bryan Kilgallin  wrote:
>
> I have been editing the OpenGEM code. It's a dog's breakfast! First it
> assumes that I didn't put the OpenGEM directory where I did. Then it
> cross-references jumps between batch files in an opaque way. And the
> writes to screen do not say where you are in this maze!

Out of curiosity, how much confusion might have been avoided if you
had placed the OpenGEM directory where the code assumed it would be?
(And why *didn't* you place it there?)

Most development projects make assumptions about things like that that
you change at your peril, and you think hard about why you are
changing things before you do it.
__
Dennis


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Spaghetti

2021-01-27 Thread Bryan Kilgallin

I wrote:


I have been editing the OpenGEM code.


Correction: it's the SETUP labyrinth that I've been documenting for 
myself. It still doesn't work (say colourising the GEM window). But I'm 
finding my way around the modules, and correcting the jump-to locations.

--
members.iinet.net.au/~kilgallin/


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Spaghetti

2021-01-27 Thread geneb

On Thu, 28 Jan 2021, Bryan Kilgallin wrote:

I have been editing the OpenGEM code. It's a dog's breakfast! First it 
assumes that I didn't put the OpenGEM directory where I did. Then it 
cross-references jumps between batch files in an opaque way. And the writes 
to screen do not say where you are in this maze!



Most of that code was written by Digital Research... ;)

g.

--
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
http://www.diy-cockpits.org/coll - Go Collimated or Go Home.
Some people collect things for a hobby.  Geeks collect hobbies.

ScarletDME - The red hot Data Management Environment
A Multi-Value database for the masses, not the classes.
http://scarlet.deltasoft.com - Get it _today_!


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Spaghetti

2021-01-27 Thread Michael Powell
On Wed, Jan 27, 2021 at 12:59 PM Bryan Kilgallin 
wrote:

> I have been editing the OpenGEM code. It's a dog's breakfast! First it
> assumes that I didn't put the OpenGEM directory where I did. Then it
> cross-references jumps between batch files in an opaque way. And the
> writes to screen do not say where you are in this maze!
>
> Please would coders allow for future maintenance of their works.
>

I can sympathize, and relate. If it were not also a time honored tradition,
it seems, throughout the industry [to produce dog food...].

-- 
> members.iinet.net.au/~kilgallin/
>
>
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Spaghetti

2021-01-27 Thread Bryan Kilgallin
I have been editing the OpenGEM code. It's a dog's breakfast! First it 
assumes that I didn't put the OpenGEM directory where I did. Then it 
cross-references jumps between batch files in an opaque way. And the 
writes to screen do not say where you are in this maze!


Please would coders allow for future maintenance of their works.
--
members.iinet.net.au/~kilgallin/


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user