AROS World Exec

Development => AROS Software Development => Topic started by: aGGreSSor on December 24, 2020, 12:24:18 AM

Title: Lost Shell commands in AROS
Post by: aGGreSSor on December 24, 2020, 12:24:18 AM
While studying MorphOS 3.14 "Source Code Releases" section, I noticed that many sources start with this text:
Quote
/*
    Copyright (C) 1995-2001 AROS - The Amiga Research OS
    $Id: modlist.c,v 1.5 2005/12/02 13:42:43 laire Exp $

    Desc:
    Lang: english
*/
I conducted a compatibility analysis between AROS and MorphOS at the level of the contents of the C directory. There are commands existing in AmigaOS 3.1 and / or MorphOS, but absent in AROS. as an example in AROS there is no command FORMAT, but it is in AmigaOS 3.1 and MorphOS!

I was greatly surprised by the absence of C/ModList and C/PortList in AROS, because the MorphOS source says that they are written for AROS.  :o
For fun, I tried to compile and check them in AROS One:

(https://i.postimg.cc/ZRqfkbXz/modlist.png)

(https://i.postimg.cc/ZYWSp4nQ/portlist.png)

It works! Thus, we lost at least two good working tools, which MorphOS developers included in MorphOS and uploaded them as sources.
I didn't find them in the official repository (https://github.com/aros-development-team/AROS/tree/master/workbench/c). These two commands are missing in AmigaOS 3 and maybe that's why they don't exist? Looks like: written, lost and forgotten.
Looks like a development cycle. :D

p.S. Hmm.. I looked at the source code C/ResList (https://github.com/aros-development-team/AROS/blob/faebdbeca09fd33673af6b5ca2f3fb1e2c82830d/workbench/c/ResList.c) and realized that all this requires rewriting for x86_64 ABIv1 supporting.  :(
Title: Re: Lost Shell commands in AROS
Post by: braincure on December 24, 2020, 03:14:12 AM
How can this be? Do I sense a betrayal in the past?
Title: Re: Lost Shell commands in AROS
Post by: paolone on December 24, 2020, 03:26:42 AM
How can this be? Do I sense a betrayal in the past?


Hmm. It smells like "this got broken, let's suspend building for a while" some time in the past, and never recovered. :-)

@Aggressor
Nice finding anyway. Would you please make the binaries avaialble, maybe on archives.aros-exec.org?
Title: Re: Lost Shell commands in AROS
Post by: aGGreSSor on December 24, 2020, 02:37:16 PM
Hmm. It smells like "this got broken, let's suspend building for a while" some time in the past, and never recovered. :-)

@Aggressor
Nice finding anyway. Would you please make the binaries avaialble, maybe on archives.aros-exec.org?
I'm sure that there is no malicious intent here. ;D
And still this is one of the illustrations of the compatibility problem as a result, that I'm reporting in my signature...
I made distros and upload them to archives.aros-exec.org (see upload (http://archives.aros-exec.org/index.php?function=uploads)) and aminet.net

p.S.

Appeared on aminet: portlist (http://aminet.net/package/util/shell/portlist.i386-aros) and modlist (http://aminet.net/package/util/shell/modlist.i386-aros)

The next day Stefan Haubenthal compiled it for the classic Amiga and sent to aminet as xlist (http://aminet.net/package/util/shell/xlist).
Throwing away the sources and script for installation, kindly attached by me. Wrote him a letter.  ;D
Title: Re: Lost Shell commands in AROS
Post by: amigamia on December 28, 2020, 08:32:08 AM
These shell tools are not necessarily original to AROS but very handy and neglected IMO. I think they have been included in Icaros since 2.2.4 if I am not mistaken. I posted the news on https://www.arosworld.org/infusions/news/news.php?readmore=9 (https://www.arosworld.org/infusions/news/news.php?readmore=9) a while ago.

The original link is at http://uhc.driar.se/ (http://uhc.driar.se/)
Title: Re: Lost Shell commands in AROS
Post by: aGGreSSor on December 28, 2020, 09:08:00 AM
These shell tools are not necessarily original to AROS but very handy and neglected IMO. I think they have been included in Icaros since 2.2.4 if I am not mistaken. I posted the news on https://www.arosworld.org/infusions/news/news.php?readmore=9 (https://www.arosworld.org/infusions/news/news.php?readmore=9) a while ago.

The original link is at http://uhc.driar.se/ (http://uhc.driar.se/)
These shell tools are original for AROS. Just look at the source, the copyright AROS Development Team is present everywhere.
This is a whole group of shell tools:
The sources of some of them were taken from AROS and compiled for MorphOS, and some were not.
Title: Re: Lost Shell commands in AROS
Post by: paolone on December 28, 2020, 10:47:33 AM
@Aggressor


Thanks.