From owner-freebsd-questions  Fri Feb 21 03:53:14 1997
Return-Path: <owner-questions>
Received: (from root@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id DAA19954
          for questions-outgoing; Fri, 21 Feb 1997 03:53:14 -0800 (PST)
Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1])
          by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id DAA19949
          for <FreeBsd-questions@freebsd.org>; Fri, 21 Feb 1997 03:53:11 -0800 (PST)
Received: from ct.picker.com by whqvax.picker.com with SMTP;
          Fri, 21 Feb 1997 6:52:38 -0500 (EST)
Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1)
	id AA04791; Fri, 21 Feb 97 06:52:37 EST
Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4)
	id GAA20912; Fri, 21 Feb 1997 06:50:26 -0500
Message-Id: <19970221065025.32320@ct.picker.com>
Date: Fri, 21 Feb 1997 06:50:25 -0500
From: Randall Hopper <rhh@ct.picker.com>
To: Michael Alwan <alwan@rma.edu>
Cc: FreeBsd-questions@freebsd.org
Subject: Re: Netscape 3.02 setup
References: <3.0.1.32.19970219200127.006920b0@rma.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.61
In-Reply-To: <3.0.1.32.19970219200127.006920b0@rma.edu>; from Michael Alwan on Feb 02, 1997 at 08:01:27PM
Sender: owner-questions@freebsd.org
X-Loop: FreeBSD.org
Precedence: bulk

Michael Alwan:
 |XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
 |XAPPLRESDIR=/usr/X11R6/lib/X11
 |XNLSPATH=/usr/share/nls/
 |
 |The files are in the places that the Netscape README says to put them; the
 |paths are typed just as the README says to do (e.g. forward slash after
 |"nls").  Obviously, I've put these statements in the wrong place.  Where do
 |they go?  It might help to know I start up X from root with xdm, use the
 |XF86_S3 server, and once I've got the server running, use the xterm to
 |start Netscape.

Well, I don't use xdm -- I log in and my user profiles run startx so this
might change where these can be placed and picked up.  I would guess that
putting them in ~/.xinitrc or the global default xinitrc would probably
work for both schemes but I don't know enough about how xdm transfers
control.

For the log-in-and-startx method, if your root user is running csh/tcsh,
put them in /etc/csh.cshrc:

     setenv XKEYSYMDB /usr/X11R6/lib/X11/XKeysymDB
     setenv XAPPLRESDIR /usr/X11R6/lib/X11
     setenv XNLSPATH /usr/share/nls/

or if your root user is running sh/ksh, put them in /etc/profile:

     XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
     XAPPLRESDIR=/usr/X11R6/lib/X11
     XNLSPATH=/usr/share/nls/
     export XKEYSYMDB XAPPLRESDIR XNLSPATH

Randall Hopper