Subject: pkg/14208: pkgtools/xpkgwedge: MESSAGE doesn't mention which file in /etc/ to modify for zsh
To: None <gnats-bugs@gnats.netbsd.org>
From: None <sen@eccosys.com>
List: netbsd-bugs
Date: 10/10/2001 02:10:35
>Number: 14208
>Category: pkg
>Synopsis: pkgtools/xpkgwedge: MESSAGE doesn't mention which file in /etc/ to modify for zsh
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Oct 10 02:11:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Sen Nagata
>Release: 1.5.2
>Organization:
>Environment:
>Description:
When installing xpkgwedge a message is displayed mentioning that
the environment variable XAPPLRESDIR should be set in /etc/profile
and /etc/csh.login for various shells.
It appears that neither of these two files is appropriate for zsh --
both files had settings to modify XAPPLRESIDR in my local environment
but I had trouble with zsh.
>How-To-Repeat:
>Fix:
I am not quite sure of the following, but it appears to work for me.
For zsh, I think the appropriate file to modify is /etc/zshenv.
See cvs diff output below for sample text to go in MESSAGE.
P.S. I don't know whether there are any other shells that might
be affected.
Index: pkg/MESSAGE
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/xpkgwedge/pkg/MESSAGE,v
retrieving revision 1.4
diff -u -r1.4 MESSAGE
--- MESSAGE 2001/06/06 02:39:09 1.4
+++ MESSAGE 2001/10/10 09:10:09
@@ -4,8 +4,8 @@
NOTES:
* You MUST set the environment variable XAPPLRESDIR in /etc/profile and
- /etc/csh.login by hand in order to make pkgs built with xpkgwedge run
- properly, e.g.
+ /etc/csh.login (and /etc/zshenv if using zsh) by hand in order to make
+ pkgs built with xpkgwedge run properly, e.g.
XAPPLRESDIR=${PREFIX}/lib/X11/app-defaults
export XAPPLRESDIR
>Release-Note:
>Audit-Trail:
>Unformatted: