[comp.binaries.ibm.pc.d] anarkey/zoo incompatible?

rl@cbnewsl.ATT.COM (roger.h.levy) (02/10/90)

After reading all the kudos for anarkey, I decided to try it.  I used
the -U option to recognize "/" as path separators and I asked anarkey
to place most of itself in extended memory.  By chance, practically
the first thing I did afterward was a "zoo -extract" command.  Zoo
(2.01) failed - it only gave me a brief message explaining how to get
help.  After rebooting without anarkey, zoo was OK.  Can anyone explain
this behavior?  Should I be afraid of what anarkey might do to other
programs?

Roger Levy
...!att!groucho!rl

woan@peyote.cactus.org (Ronald S. Woan) (02/11/90)

In article <4048@cbnewsl.ATT.COM>, rl@cbnewsl.ATT.COM (roger.h.levy) writes:
> After reading all the kudos for anarkey, I decided to try it.  I used
> the -U option to recognize "/" as path separators and I asked anarkey
> to place most of itself in extended memory.  By chance, practically
> the first thing I did afterward was a "zoo -extract" command.  Zoo
> (2.01) failed - it only gave me a brief message explaining how to get
> help.  After rebooting without anarkey, zoo was OK.  Can anyone explain
> this behavior?  Should I be afraid of what anarkey might do to other
> programs?

Remeber that given that option "/" is remapped to "\" and "-" is remapped
to "/". There is an option to enable only the "/" remapping but to get
"-" use "--" and to get "/" use "//"


						Ron

-- 
+-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+
+------------------------------My Employer----------------------------------+
+ Ronald S. Woan       @cs.utexas.edu:ibmchs!auschs!woan.austin.ibm.com!ron +
+ second choice:                                     woan@peyote.cactus.org +

bobmon@iuvax.cs.indiana.edu (RAMontante) (02/11/90)

rl@cbnewsl.ATT.COM (roger.h.levy) <4048@cbnewsl.ATT.COM> :
-After reading all the kudos for anarkey, I decided to try it.  I used
-the -U option to recognize "/" as path separators and I asked anarkey
-to place most of itself in extended memory.  By chance, practically
-the first thing I did afterward was a "zoo -extract" command.  Zoo
-(2.01) failed - it only gave me a brief message explaining how to get
-help.  After rebooting without anarkey, zoo was OK.  Can anyone explain
-this behavior?  Should I be afraid of what anarkey might do to other
-programs?

I don't have the doco. handy, but I think your -U option turns "/" into
"\" and "-" into "/" to generate the COMMAND.COM-style dir and option
markers.  This is to run things that have "\" and "/" hardcoded.

I avoid that issue by using Anarkey's -us option, which (again, I'm
trying to remember...) only turns single "/"'s into "\" and is
transparent to "\" and "-".  (Or maybe it's that -x\ option.)  Anyway,
zoo and anarkey get along okay for me.

Actually, my full installation line is:

c:\bin\looz xx \system\anarkey3  anarkey -E -a400 -h4000 -s2 -us -c -iif -x\

as I keep it tucked into an archive.  All my startup files are smaller that
way, and I just count on getting a cup of coffee while the monitor warms and
the AUTOEXEC finishes...

src@cup.portal.com (Steve R Calwas) (02/12/90)

In article <4048@cbnewsl.ATT.COM>, rl@cbnewsl.ATT.COM (roger.h.levy) writes:

>After reading all the kudos for anarkey, I decided to try it.  I used
>the -U option to recognize "/" as path separators and I asked anarkey
>to place most of itself in extended memory.  By chance, practically
>the first thing I did afterward was a "zoo -extract" command.  Zoo
>(2.01) failed - it only gave me a brief message explaining how to get
>help.  After rebooting without anarkey, zoo was OK.  Can anyone explain
>this behavior?

The cause of the ZOO failure was that the dash in your command was converted
by Anarkey to a slash (/) before it was executed.  This is due to your
installing Anarkey with the -U option.

Anarkey provides you with three methods around this.

   1) Install Anarkey with the -US option.  This will cause only slashes to
   be converted and dashes will be left alone.  This method is really
   obsolete in Anarkey v3.0, but some people still prefer it.

   2) Install with -U and enter your ZOO command line with two consecutive
   dashes.  These will be converted to a single dash before execution.

   3) However, the best solution by far is to install Anarkey with -U and
   tell it that the ZOO program already recognizes UNIX switchar
   conventions.  This is possible in version 3.0 of Anarkey.  Simply execute
   the command "!zoo".  Better yet, you can store this command in a disk
   file and "execute" it from AUTOEXEC.BAT using LOAD.EXE.  This command
   tells Anarkey that ZOO will recognize a dash as an option specifier and
   will not convert it.  However, other "UNIX characters" will still be
   converted, for example:

      /utils/zoo -extract    ...is converted to...  \utils\zoo -extract

   Use of this capability allows you to consistently use UNIX switchar
   conventions for ALL programs.  Refer to the section in the "ANARKEY User
   Manual" titled "UNIX Switchar Conventions" for complete details on using
   this function.

Steve Calwas                    src@cup.portal.com
Santa Clara, CA                 ...!sun!cup.portal.com!src