[comp.sys.mac.programmer] Is live, or is it A/UX?

dorner@pequod.cso.uiuc.edu (Steve Dorner) (04/13/91)

Is there an approved way to test for A/UX?

Eudora has long been incompatible with it, and I found out why today;
A/UX barfs at me if I call TcpSend with more than a few (8 is too many,
4 is ok) WDS entries.  Since MacOS hasn't any problem with 50, I'm very reluctant to limit myself to only 4.  So, I need to know if A/UX is running.

I have neither an A/UX system nor A/UX manuals, and I can't find the answer
in IM or the Technotes.  Help, please?

I would vastly prefer an answer that did NOT involve Gestalt, since it's
verboten for me to have documentation or glue for such a macho trap.
--
Steve Dorner, U of Illinois Computing Services Office
Internet: s-dorner@uiuc.edu  UUCP: uunet!uiucuxc!uiuc.edu!s-dorner

d88-jwa@byse.nada.kth.se (Jon W{tte) (04/13/91)

In article <> dorner@pequod.cso.uiuc.edu (Steve Dorner) writes:

   Is there an approved way to test for A/UX?

The _Gestalt selector for A/UX version is 'a/ux' - undefined result
means no A/UX...

   I would vastly prefer an answer that did NOT involve Gestalt, since it's
   verboten for me to have documentation or glue for such a macho trap.

Hey, the glue and docs are ftpable ! Just check the TechNotes !

I could mail you IM VI if you want me to, but it's a little on
the large side :-)

There is a trap called "_AUXDispatch" which you could test for. It
can be used for making A/UX system calls from MacOS applications.

I don't have the trap # for it tho'


--
          I remain: h+@nada.kth.se (Jon W{tte) (Yes, a brace !)
"It's not entirely useless. It came in this great cardboard box !" - Calvin
 "Life should be more like TV. I think all women should wear tight clothes,
       and all men should carry powerful handguns" - Calvin, again