ARexx and 2.5
  • Caterpillar
    Caterpillar
    gdanko
    Posts: 28 from 2010/6/8
    Is it installed by default? How do I use it? On my linux box I installed regina-rexx. How do I get to using it on MorphOS?
  • »17.06.10 - 03:06
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Papiosaur
    Posts: 2229 from 2003/4/10
    From: France
    To activate Arexx in MorphOS

    You must rename file sys:morphos/libs/rexxsyslib.library to rexxsyslib.library_old for desactivate it then copy file rexxsyslib.library from AmigaOS 3.x to sys:libs/

    it is in the FAQ i think ;-)
  • »17.06.10 - 07:08
    Profile Visit Website
  • MorphOS Developer
    Piru
    Posts: 587 from 2003/2/24
    From: finland, the l...
    And here's how you can find rexxsyslib.library:

    http://aminet.net/search?content=rexxsyslib.library&sort=bytes
  • »17.06.10 - 11:26
    Profile
  • Caterpillar
    Caterpillar
    gdanko
    Posts: 28 from 2010/6/8
    Once the lib is installed what's the rexx interpreter's filename?
  • »17.06.10 - 12:21
    Profile
  • Moderator
    Golem
    Posts: 766 from 2003/2/28
    From: Denmark
    You can use RX to run scripts/commands/etc. RexxMast is started by startup-sequence.
  • »17.06.10 - 12:26
    Profile Visit Website
  • Caterpillar
    Caterpillar
    gdanko
    Posts: 28 from 2010/6/8
    Quote:


    Golem wrote:
    You can use RX to run scripts/commands/etc. RexxMast is started by startup-sequence.


    Forgive me as I am coming from a Linux background. It's been a long time since I've used my Amiga. On Linux I install regina-rexx via apt-get and I can execute:

    regina script.rexx from the CLI

    Can this be done from the MorphOS shell? Can I open a shell and type:

    RX script.rexx?
  • »17.06.10 - 12:47
    Profile
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2096 from 2003/2/24
    From: po-RNO
    Yes, "rx script.rexx" works from shell and if your script has "s" protection bit set, then it works just by "script.rexx".

    MorphOS also has couple of handy shell commands for arexx. PortList gives you all available port names and with RXCmd you can send arexx commands to them without using actual arexx script. It can be useful with shell scripts or hotkeys etc.
  • »17.06.10 - 13:23
    Profile Visit Website
  • Caterpillar
    Caterpillar
    gdanko
    Posts: 28 from 2010/6/8
    Excellent, thanks jPV. I can't wait to get moving on all the things I want to do with Morph. :) Kudos to the dev team for a truly amazing product.
  • »17.06.10 - 13:38
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    osco
    Posts: 680 from 2009/10/21
    From: Boston, USA
    To the angels

    Still in tears of joy....
    I've lost my family but coding like a saint.
    :-D
    Mac Mini 1.5GHz, 1G, 250G Drive, Apple Cinema Display, MorphOS 3.1 registered, MacOS 10 PowerBook (5,8) 1.67Hz, 2G, 80G Drive,........Waiting
    PowerBook (5,8) 1.67Hz, 2G, 40G MorphOS 3.1 unregisterd
  • »17.06.10 - 18:27
    Profile
  • Caterpillar
    Caterpillar
    Matt_H
    Posts: 30 from 2009/2/21
    From: Boston, MA, Un...
    Out of curiosity, why does MOSSYS:Libs/rexxsyslib.library even exist if it doesn't do anything? Or does it do something?
  • »18.06.10 - 01:29
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    It does something. It implements the needed functions required to make rexx messages work, which are required by many applications (in fact, almost all, since mui uses it). It "just" lacks the interpreter.
  • »18.06.10 - 02:04
    Profile Visit Website