*BSD News Article 62776


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!aggedor.rmit.edu.au!phillip
From: phillip@mirriwinni.cse.rmit.edu.au (Phillip Musumeci)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Linux netscape under FreeBSD
Date: 23 Feb 1996 13:45:20 GMT
Organization: Computer Systems Engineering Department, RMIT Australia
Lines: 75
Message-ID: <PHILLIP.96Feb24004520@mirriwinni.cse.rmit.edu.au>
References: <Dn4vvq.99x.0.macbeth@cogsci.ed.ac.uk>
Reply-To: phillip@rmit.edu.au
NNTP-Posting-Host: pm.cse.rmit.edu.au
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
In-reply-to: richard@cogsci.ed.ac.uk's message of Wed, 21 Feb 1996 16:16:38
	GMT

>>>>> "Richard" == Richard Tobin <richard@cogsci.ed.ac.uk> writes:

    Richard> I'd like to run the Linux version of netscape because the BSD
    Richard> version doesn't support Java.  This works fine except that it
    Richard> doesn't like the format of the /etc/hosts.conf file.  Is there
    Richard> a workaround for this?

    Richard> (I suppose one could create a complete chroot()ed Linux
    Richard> environment with union-mouted filesystems, but that seems a
    Richard> little excessive.)

Perhaps a chroot-ed approach would be OK regards linux philosophy.  In any
case, here is:

	part 1 --- a script that might be useful for running linux-netscape
	part 2 --- sample file /usr/local/lib/netscape/host.conf

Try to ignore the emulator messages in the console about a missing linux
logging routine :-)

phillip


===========================================================================

#!/bin/sh
# 1) Define a few environment variables for netscape/linux
# 2) Use a linux style host.conf file
#
# phillip@rmit.edu.au 5-jan-1996

# 1 #######################################################################
# use the supplied XKeysymDB
XKEYSYMDB=/usr/local/lib/netscape/XKeysymDB
export XKEYSYMDB

# note - /usr/X11R6/lib/X11/nls is a soft link to supplied nls
XNLSPATH=/usr/X11R6/lib/X11/nls
export XNLSPATH

XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults
export XAPPLRESDIR

# 2 #######################################################################
# From: Robert Sanders <rsanders@mindspring.com>, setup a local host.conf

RESOLV_HOST_CONF=/usr/local/lib/netscape/host.conf
export RESOLV_HOST_CONF

###########################################################################
exec /usr/local/lib/netscape/netscape $*

===========================================================================

order hosts,bind
multi on

===========================================================================




-- 
---------------------------------------------------------------------------
Dr Phillip Musumeci       __  /\  Postal Address:
Telephone:               /  \/  \     Dept. of Computer Systems Engineering 
 ++61 3 96605317(w1)    /        \    RMIT, GPO Box 2476V
 ++61 3 96605383(w2)   /         /    Melbourne 3001
 ++61 3 96605340(fax)  \   __   /     AUSTRALIA
RMIT Building 87.2.15,  `-'  \*/    WWW: http://pm.cse.rmit.edu.au/~phillip
410 Elizabeth Street.         .   EMAIL: phillip@rmit.edu.au
---------------------------------------------------------------------------
"And, of course,  you have the commercials  where savvy businesspeople  Get
Ahead by  using their Macintosh computers to  create the  ultimate American
business product: a really sharp-looking report."  -- Dave Barry