[comp.sys.amiga] Bug in Arp Set

dml@loral.UUCP (Dave Lewis) (09/06/88)

  Don't rag on me for putting this in .amiga instead of .amiga.tech because
somebody upstream of us keeps sending rmgroup's on .tech.

  The deal is, I've finally got around to unarc'ing Arp 1.1, cleaning up &
printing the manuals (a whole UNIVERSE of stuff there) and installing the
commands on my disks. While converting my Aztec C 3.4 system disk to Arp 1.1
I found that the Arp "Set" command absolutely refuses to accept a string
containing a semi-colon. Aztec uses a semicolon to separate paths in its
INCLUDE environment variable, so the compiler can search multiple paths for
its #include files.

  Here is what the Arp Set command is doing:

1> Set INCLUDE=path1;path2;path3 <CR>    # Attempt to Set multiple paths

1> Set <CR>       # Display the current variables
INCLUDE=path1    <-- Waitaminnit, that's not what I wanted!

  I've tried escaping the semicolon: (and yes, ESCAPE is set to "*")

1> Set INCLUDE=path1*;path2*;path3 <CR>

1> Set <CR>
INCLUDE=path1*       well it sees the ast, anyway.

  So, much as I would like to, I can't use the Arp Set and must go back to the
Aztec Set which can only set one variable at a time. I've heard that it also
allocates a new memory area each time it's run, copies the existing variables
into it, and adds the new one; this causes horrible memory fragmentation.

  Is this a bug in Arp? Nothing in the Man pages for Set or SetEnv() mentions
any forbidden characters, and the Aztec Set handled the first command line
just fine for months and months.

  Other matters: the Resident functions look like a great deal; however I've
found that Matt Dillon's Shell, v2.07 at least, can't be Run or ARun; it just
quits. How can I make the Shell resident, so I can use DMouse to pop up a CLI
and run a Shell in it without re-loading >38K of code? 

  I intend to put the Arp SyncRun() function into the Shell, so at least I
can make other programs resident (notably Info). I've already put a -x switch
into "copy", which allows the copy only if there is already a file of the
same name in the destination - very handy for copying all your .c, .o, and
.sym files to disk without getting the .bak's mixed in: "copy -ux * df1:src"
does a SELECTIVE update of your "src" directory, leaving the junk in VD0:.
I'm going to add a simple "more" to it as well because it's a pain to grab
frantically for the mouse every time I want to read a file. No search or
page back capability, though (Bob Leivan's Less utility is over 22K!).
-- 
Dave Lewis      Loral Instrumentation      San Diego    (619) 282-3341
  ihnp4 --\   bang --\ kontron -\
  hp-sdd --\ calmasd ->-> crash ->--> loral!dml
  sdcrdcf -->--------> sdcsvax -/      (uucp)

MJB@cup.portal.com (09/08/88)

Manx accepts "!" as-well-as ";", maybe the "!" will work with arp?

MJB@cup.portal.com (09/08/88)

That's manx 3.6 accepts "!" as a delimiter, not sure about 3.4a. Sorry 'bout
that.  :->
                             - Martin Brown -