Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!STC.LOCKHEED.COM!kosma%human-torch From: kosma%human-torch@STC.LOCKHEED.COM (Monty Kosma) Newsgroups: comp.sys.amiga Subject: ARexx and mg3 questions Message-ID: <9007061951.AA00834@human-torch.lockheed.com> Date: 6 Jul 90 19:51:23 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 61 I don't know if this should be in c.s.a or c.s.a.tech, so I figure I'll post it to c.s.a since the c.s.a.tech people tend to react more viciously to stuff incorrectly posted there :-) I just (finally!) got Arexx (v 1.06 now, upgrading when bill sends the card) and have been starting to experiment with linking up mg3 and AmigaTeX and all sorts of other editor goodies. I've got a few quirks that I've run into that I'd like some comments on from anybody out there. Most of these have to do with the ideas about quoting stuff, an issue not abundantly clear to me right now. Experimentation has led me to the following set of questions (and I did RTFM but no real help there, yet): 1. In an Arexx script file, typing address 'mg' works fine, but typing address mg does not. 2. Also, in an Arexx script file, typing 'rexx-insert "hello"' works (inserts hello into the current mg buffer), but say 'rexx-insert "hello"' does not work; it merely echos 'rexx-insert "hello"' to the shell. 3. From within mg, the command M-x rexx ^M "'rexx-insert' "hi-there"" hangs mg completely. (mg bug? or should I have guessed that?) 4. From within mg, the command M-x rexx ^M 'rexx-insert "hello"' gives error 47, arithmetic conversion error (trying to subtract insert from rexx); apparently rexx-insert not get correctly quoted, so M-x rexx ^M ' 'rexx-insert "hello" ' ' does nothing. Absolutlely nothing. Then M-x rexx ^M ' "rexx-insert" "hello" ' works! 5. related to (4) above, what help would doing C-u M-x rexx ... provide (ctrl-u is supposed to somehow quote the args, but unfortunately the mg docs could be clearer. 6. finally, doing a M-x rexx-do-region on a region which includes the line "address 'mg'" gives a code 3 return error (mg port locked). I have a clue but would appreciate some more explanation. Thanks! monty kosma@human-torch.lasc-research.lockheed.com p.s. Mike, you really ought to put in a short example on how to use the commands name-last-kbd-macro and insert-kbd-macro ...it took me quite a bit of trial and error to figure them out :-) Thanks again!