--
I've just recently started digging into the Arexx onmy amiga, and as curious if there are many other amiga users using arexx here in this echo ?
You find them over in comp.sys.amiga.programmer :-).
--
Best Regards, Dr. Peter Kittel // E-Mail:
Private Site in Frankfurt, Germany \X/ peterk @ combo.ganesha.com
ken <cbm...@qahvir.digital.net> записано в статью
<xEOL1.14$Uw4.7...@ddi2.digital.net>...
> ** To reply in e-mail, remove "qahvir." from address **
>
>
>
>
> --
> I've just recently started digging into the Arexx onmy amiga, and as
curious if there are many other amiga users using arexx here in this echo ?
>
Hi!
I some times use my Amiga and i cant live without Arexx.
Arexx-is best!
You can contact with me : e...@aip.mk.ua (Eliass)
> I some times use my Amiga and i cant live without Arexx.
> Arexx-is best!
> You can contact with me : e...@aip.mk.ua (Eliass)
Maybe if there's enough of us, we ought to take a look into creating a mailing
list for amiga arexx. Just a thought, I got into following a thread I ran
across the other day to onelist.com to subscribe to 'just-amiga' saw how
simple it was to create a FREE mailing list, made my own that actually took
off. Maybe do the same for amiga. I did join an amiga C++ programming echo
there. This is actually all kinds of amiga programming. Actually there were
several amiga mail lists on different subjects. Different languages etc..
Figure what the heck the list itself is free, creating it is free.. But check
1st, there's a lot of duplicate lists going nowhere. Only diff seems to be in
the titles. Always has to be a power trip.. I don't like your rules so join my
list...
Found 3 or 4 different lists just on harley davidson....
Children born year xxxx about 4 or 5 of these...
Back to arexx. Try this one.. I think either the DOSSUPPORT.LIBRARY or
REXXARP.LIBRARY is buggy. Ran something the other day (luckily immediately
after adding the dossupport.library) and got a bug in awebs x-viewer arexx
program. moved dossupport out of the path, tried again, and alls well...
Then there is why I'm currently using arexx.. Far as I know, there's only one
program available to add the search option to the amigaguide files. (which
does confuse me, as I used to have SEARCH right there on the amigaguide button
row.) But no else seems to recall amigaguide ever having this button.. Sheesh..
Moving on since I have no idea how to get the search button back into
amigaguide, it remains to create a WORKING search util.
I have no idea why the searchguide util failed the other day, as I used to use
it regularly. I can only assume since previously when I searched, I had no
idea that the search was supposed to find something. And at times it did find
stuff. But the other day running thru disk masters amigaguide (to save some
searching) as I knew the words 'viewpic' existed in the guide, I chose to
use the search to save time browsing for that specific paragraph.
Searchguide came back said it didn't exist. Huh ????
I went to CLI and ran Commodores SEARCH util on the disk master guide,and came
back with 3 hits for 'viewpic'...
This told me right off my searchguide program was worthless... Searching
aminet showed it seemed to be the one and only program of it's type..
So now what wait for someone to write another ? Hasn't been one since 92, How
long do we wait ?
Anyways using some rtrequesters and the commodore SEARCH util, I have
something started. Trouble is 1st I need to learn the language to make the
program... I have part of the program done. I have it choosing which guide
file to search, and the requester for the search specifics.
Haven't figured out how to combine the two above just yet, or open the guide
up to create a workable list of found items to pass to amigaguide similar to
the searchguide util itself.
SEARCH does report similar to this
1 @database "SearchGuide.guide"
4 @remark "$VER: SearchGuide.guide 0.8.1.6 (28.11.96) Gérard Cornu"
8 @node main "SearchGuide 0.8.1.6 ©1996 Gérard Cornu - Guide summary"
9 @{" Search " SYSTEM "RUN SearchGuide SearchGuide.guide"}
12 @{b}SearchGuide 0.8.1.6 - Guide Summary@{ub} - (28-Nov-96)
22 @{" Using SearchGuide " link using}
30 @{" Test SearchGuide " SYSTEM "RUN SearchGuide SearchGuide.guide"}
33 @node copyright "SearchGuide copyright and other boring stuff"
37 @{b}SearchGuide@{ub} - version 0.8.1.6 28-Nov-96
41 SearchGuide, as well as all the accompanying files, is ©1996 Gérard Cornu.
shows the line number plus the line. Oddly enough there also seems to be a
problem with amigas search util.
Using the command search searchguide.guide search
it came back with the error value after keyword is missing.
Modifying it to search searchguide.guide searc
it came back with the above listing (actually a lot more, but above is enough
for an example.
I also tried using the word 'pattern' in a search and got the keyword error
also. Had to change pattern to patter before it worked.
Aha found the prob here. any reserved parameter for the search option can't be
used as a complete word to search for ie:
search = searc pattern=patter from=fro all=al nonum=nonu quiet=quie etc..
Well at least that small quirk is known in advance so putting it into the
docs can alleviate most problems.
Then theres the thing if there's nothing found, theres little reason to open
a file to write nothing to it.. Oh this was my 1st attempt at trying to get
the filename to use. Had to open a file, after using the amigas 'requestfile'
program to write the result then read it. then I found the rtrequest option
in some arexx libs. See there's a lot to learn and I'm just getting started.
Anyways the thing now I need to learn is how to parse and use the results
above 'LINE NUMBER' 'TEXT FOUND'
how to separate or create the template line_number[SPACE]text_found and pass
it to amigaguide to create the search found buttons for a quick jump to the
items.
I am an avid ARexx user since '87. This group is mostly aimed at all
other implimentations of rexx other than the Amiga, but I read it
anyway for the occasional "general rexx" information posted here,
which isn't very often.. its most often aimed at a specific
implimentation that has no equivelant in Amiga Rexx; mostly because
Commodore "stole" ARexx (got it from Hawes then never paid him, so he
dropped support), so we don't have all the neat new goodies all the
other rexx implimentations have; specificly all the neat net stuff.
On the other hand, Amiga rexx has many support libraries that there
are no equivelant to on other platforms. So, I've never felt
comfortable discussing arexx on comp.lang.rexx.
I personally dislike mailing lists filling up my mailbox. I would
much prefer discussing ARexx in a newsgroup. What would it take to
start a new group? Like maybe "comp.lang.arexx". I think I would be
more comfortable writing to an Amiga Rexx specific group than to this
one (this is my first post here ever, and I've been reading this group
a long time).
I don't plan to abandon reading this group... the occasional golden
snippets of generic code I get from here are worth filtering through
all the other platform specific stuff.
D.F. Duck http://www.wordbench.com/dfd/
: I am an avid ARexx user since '87. This group is mostly aimed at all
: other implimentations of rexx other than the Amiga, but I read it
: anyway for the occasional "general rexx" information posted here,
: which isn't very often.. its most often aimed at a specific
: implimentation that has no equivelant in Amiga Rexx; mostly because
: Commodore "stole" ARexx (got it from Hawes then never paid him, so he
: dropped support), so we don't have all the neat new goodies all the
: other rexx implimentations have; specificly all the neat net stuff.
There is a port of Regina for the Amiga, so there is no reason why someone
interested in all the "neat new goodies" not to consider porting them
to the Amiga. From the Amiga-specific changes that I've had to incorporate
into the core Regina code, I'd say that porting of external function
packages would be quite easy.
It would be really great if Regina were considered an alternative to ARexx
on the Amiga. That way you would have a standard Rexx interpreter, and maybe
some of the nifty Amiga extensions could be made available on other
platforms. One other benefit Amiga users would have with Regina is that
it is MUCH faster than ARexx!
Cheers, Mark
---------------------------- Mark Hessling ----------------------------
EMAIL: M.Hes...@qut.edu.au
WEB: http://www.lightlink.com/hessling/
SNAIL-MAIL: PO Box 203, Bellara, QLD 4507, AUSTRALIA
AUTHOR: THE: Free XEDIT/KEDIT editor for DOS, OS/2, Win32, Unix, X11
Rexx/SQL: Free Rexx extensions for SQL databases (and ODBC)
MAINTAINER: PDCurses: Public Domain Curses for DOS, OS/2, Win32, X11
Regina: Free Rexx interpreter for DOS, OS/2, Win32, Unix
MEMBER: Rexx Language Association: http://www.rexxla.org
-------------------------------------------------------------------------
Of course, ARexx also has differences in the PARSE instruction and in the
file I/O functions, so you probably wouldn't be able to run the same
program with both interpreters.
--
---- Ian Collier : i...@comlab.ox.ac.uk : WWW page (including REXX section):
------ http://www.comlab.ox.ac.uk/oucl/users/ian.collier/imc.html
New to this group? Answers to frequently-asked questions can be had from
http://rexx.hursley.ibm.com/rexx/ .
> I personally dislike mailing lists filling up my mailbox. I would
> much prefer discussing ARexx in a newsgroup. What would it take to
> start a new group? Like maybe "comp.lang.arexx". I think I would be
> more comfortable writing to an Amiga Rexx specific group than to this
> one (this is my first post here ever, and I've been reading this group
> a long time).
>
FWIW: My inet connect only allows me 3 megs total. Maybe re:mailbox, if you
really think you'll see that much (I don't) I'm set with several mail lists
and really don't see more than 18 sometimes more a day, and the majority of
those can be scrubbed just by the titles alone ie: six bucks.. goes on to
make money. girls: gee guess what this is.. etc...
What I like about the mail lists is it's fast and almost identical to a news
group. Plus you can go back to daily archives.
hatever, I'd be glad to start one up if the amiga arexx people want to try it
out. It can be dumped as easily as it can be started.
>In article <6ud3aa$urs$1...@dove.qut.edu.au>, M.Hes...@qut.edu.au wrote:
>>It would be really great if Regina were considered an alternative to ARexx
>>on the Amiga. That way you would have a standard Rexx interpreter, and
>maybe >some of the nifty Amiga extensions could be made available on other
>>platforms. One other benefit Amiga users would have with Regina is that
>>it is MUCH faster than ARexx!
>
>Of course, ARexx also has differences in the PARSE instruction and in the
>file I/O functions, so you probably wouldn't be able to run the same
>program with both interpreters.
A couple things:
a) have you gotten much feedback from Amiga users?
b) Have you contacted Amiga Inc. about Regina, since they are do to release
the next OS this fall?
--
Charles Elliott
Team Amiga
Novice Animator
email: Charles...@juno.com
A lot of Amiga users don't know this group exists. The Amiga implementation
of original Rexx is one of the best and I have even gotten NetRexx to run to
some degree. It would be nice if more Amiga users would discuss rexx here...
Grant
I have followed Regina for Amiga for a while now but I was not able to get
the claimed speed out of it with the Rexxcps test. Also needint 4 times the
memory to do the same thing is silly but it does allow you to write rexx
code that is very similar to rexx code on other platforms and that is good.
Keep up the good work.
Grant
A lot of rexx books that I have and use were actually written for OS\2 rexx
and whenever I find anything that I don't recognise I double check with Mike
C. definition of the language and I found out that arexx is much closer to
the original than OS\2 rexx... except for that missing format() (which I
have added as an external function).
Grant
Would you care to elaborate on some of these differences?
imc
Speak up, I can't hear you... ;-)
One of the big ones is how OS\2 rexx handles the address instruction (not address function)
The
original idea for rexx was for inter-process communications (among other
things) and on OS\2 it just doesn't work that way. It isn't really a fault
of OS\2 as much as the developers that wrote software. As a whole OS\2 rexx
is probably %90 in line with the originally outlined language. The biggest
problem I had with OS\2 rexx is how it addresses programs (or doesn't). Rexx
allows you to ADDRESS VALUE <variablename> such as ADDRESS 'word' and then
send commands to it. OS\2 doesn't make a lot of use of this and uses rexx as
more of a batch language. Like I said it is more a problem (as far as I
know) with the applications not having rexx ports for external accesss. Also
the way you add external functions. In OS\2 Rexx you have to register external
functions by using the RxFuncAdd function like this
LoadRexxUtil : PROCEDURE
If RxFuncQuery('SysLoadFuncs') then
DO
IF RxFuncAdd('SysLoadFuncs','RexxUtil','SysLoadFuncs') THEN
DO
SAY "Error Couldn't load RexxUtil Library."
RETURN 1
END
CALL SysLoadFuncs
END
RETURN 0
On Arexx you do this by
if ~SHOW('L'rexxarplib.library) THEN DO
CALL ADDLIB('rexxarplib.libarary',0,-30,0)
notice that both of these are system specific and rexx doesn't specify a way
to do this (but I like arexx's better ;) My books for Rexx don't list an
address function or address instruction which are both part of the language.
Arexx isn't totally compliant either though. It is missing the format()
function and there really is no reason why so I wrote my own and call it as
an external function...
Grant
Grant McWilliams wrote:
> My books for Rexx don't list an
> address function or address instruction which are both part of the language.
Then I'd have to say that the books you've been using aren't appropriate for OS/2; OS/2 does
have the address instruction.
--
Shmuel (Seymour J.) Metz
Reply to host nsf (dot) gov, user smetz
I just checked three more OS\2 books and no mention of the address
instruction or function. If someone has a book or example code of an OS\2
rexx program addressing a port with the instruction could you please post
it or show me where to find it. I would like to compare differences for
future references. Also any OS/2 programs that have external ports would be
nice. I think one of rexxes greatest attributes is its cross platform
potential...
Grant
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Grant ___ _ __ __ Richland,WA |
| McWilliams / _ \ _ __ (_)__ _ __ \ \ / /_ _ _ _ ___ in Spring98 |
| | _ | ' \| / _` / _` \ \/\/ / _` | '_/ -_) Kennewick,WA|
| |_| |_|_|_|_|_\__, \__,_|\_/\_/\__,_|_| \___| |
|Providing the original and best|___/ solution to professional multimedia_|
My only problems with Amiga regina is size. I also didn't get the speed (Rexxcps)
that was listed in the docs but that isn't a big deal as it was as fast as arexx.
Arexx is a marvel in efficiency though at around 30k (assembly)! Haage & Partner
are also doing a new rexx interpreter (in C++) but I don't know why as we already have
two. What we really need is an updated compiler or even english docs for the
tritonrexx.library would be nice!
Dick Goran's "OS/2 Rexx Reference Summary Handbook" has them, as of course
does the IBM manual from the OS/2 technical library.
> Also any OS/2 programs that have external ports would be
>nice.
I should think that Mansfield's KEDIT and Mark Hessling's THE are the main
contenders on this front.
So does the online reference manuals (OS/2 Procedure Language 2/REXX
and Object REXX Reference).
>> Also any OS/2 programs that have external ports would be
>>nice.
>
>I should think that Mansfield's KEDIT and Mark Hessling's THE are the main
>contenders on this front.
As well as EPM, LPEX and UltiMail, to name a few.
--
Martin Lafaix <laf...@ibm.net>
Team OS/2
http://www.mygale.org/~lafaix
Thanks guys! So is this just not a very used part of OS/2 rexx or just the
best kept secret. I don't know why these books aren't pointing it out...
> >> Also any OS/2 programs that have external ports would be
> >>nice.
> >
> >I should think that Mansfield's KEDIT and Mark Hessling's THE are the main
> >contenders on this front.
>
> As well as EPM, LPEX and UltiMail, to name a few.
> --
> Martin Lafaix <laf...@ibm.net>
> Team OS/2
> http://www.mygale.org/~lafaix
Grant
any application with a port of course! Probably 80% have ports, some better
than others.
> In IBM's SAA REXX, for the most part, any application which supports
> REXX scripting calls the REXX script itself so that it is REXX's
> external environment. That means that you do not need to use the
> ADDRESS command to control an application. At the same time, you can
> supposedly send commands to other environments using
> ADDRESS environment [command]
If you run an arexx script from within a program (as a macro) it assumes the
port is the calling program so there is no need to address() anything. If the
same script is run from outside (command line) then the address() has to
happen.
> The only time I ever have been able to do this has been when the other
> environment was 'CMD', the OS/2 Command Line Interface.
address 'COMMAND' on the Amiga allows you to run amigados commands. Probably
very similar to address 'CMD' ON OS\2...
> With IBM's ObjectREXX, things change slightly. You can still use the
> ADDRESS command (little good that it does you), but you can also import
> SOM (System Object Model, a CORBA compliant Object Model) objects, which
> under OS/2 Warp version 4 is DSOM (D for distributed) which means that
> if your application is composed of SOM Objects, you can control those
> objects from OREXX.
Amiga never got OREXX, I don't know if that is good or bad but I do know
that Mike C's main idea for rexx was super easy syntax without a lot of
"punctuation" and OREXX seemed to deviate from that a ways. I have to admit
I don't know a lot about OREXX though. NetRexx seems like a nice thing though.
> So, it turns out that the ADDRESS instruction under AmigaREXX and IBM's
> versions of REXX are not at all the same thing. Amiga's is powerful,
> across the system. IBM's is very limited, this process only, thank you
> very much.
Yes, address under Arexx is very nice. I have a script (at what point do these
things stop being scripts and start being programs???) that tells my email
program to go out and get my mail, then takes the mail, parses only the ones
with a specific subject for sales info. Then runs my retail point of sale
software and enters new sales into it. After matching up sales versus inventory
it lets me know what I need to order and what needs to be sent out right now.
After inventory is updated or if prices change the program takes that information
and rewrites any changed webpages and uploads them back to my site. My retail
point of sale software doesn't have as much support for tax info as I would like
so I am now working on a spreadsheet that can do all tax stuff and the point
of sale software would update sales,profit, tax collected ect.. and of course
automaticly through a port... I have come to rely on rexx ports and inter-
process communications heavily and I don't know of another language that is
as capable as rexx for this. Now if I could just get it to go faster...
Grant
> I just checked three more OS\2 books and no mention of the address
> instruction or function. If someone has a book or example code of an OS\2
> rexx program addressing a port
Are you talking about "address" or "storage"? Address is used to direct
strings to specific environments and to query or change the current
environment; it is not used to communicate with peripheral equipment. A
native OS/2 application has no direct access to the hardware.
Look at the online REXX documentation in OS/2 and search for "address"; you
should find it.
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own