Subject: Re: SunOS emulation
To: Eric W. Bates <ericx@vineyard.net>
From: Dave McGuire <mcguire@neurotica.com>
List: port-sparc
Date: 12/22/1997 14:20:25
On December 22, Eric W. Bates wrote:
> The SunOS emulation works quite well.
> 
> However, Adobe's Acrobat Reader (I'm in the process of installing
> FrameMaker; so I expect the same problem will crop up) and it refuses
> to run the SunOS version because it doesn't recognize the current OS.
> 
> # bin/acroread
> The OS named NetBSD version 1.3_BETA is currently not installed.
> Try running on a installed platform and connecting to your display.
> Installed platform(s) include the following:
>   SPARC/SunOS version 4.1.3 or 4.1.4
> [Exit 1 ]
> 
> 
> How do I fool it?  It is not reading the ENV var OSTYPE.

  It's a trivial fix.  bin/acroread is just a shell script...Here's a
quick diff:

*** acroread    Mon Dec 22 14:18:23 1997
--- /usr/local/acroread/bin/acroread    Thu Sep 11 13:16:47 1997
***************
*** 143,146 ****
--- 143,150 ----

  case "$os_name" in
+   NetBSD)
+     ACRO_CONFIG=sparcsun
+     export ACRO_CONFIG
+     ;;
    SunOS)
      case "$os_release" in



                                -Dave McGuire
                                 mcguire@neurotica.com