From owner-freebsd-questions Sat Dec 19 07:52:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA19761 for freebsd-questions-outgoing; Sat, 19 Dec 1998 07:52:34 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from weenix.guru.org (weenix.guru.org [209.241.220.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA19755 for ; Sat, 19 Dec 1998 07:52:32 -0800 (PST) (envelope-from kmitch@weenix.guru.org) Received: (from kmitch@localhost) by weenix.guru.org (8.9.1/8.9.1) id KAA21153 for freebsd-questions@freebsd.org; Sat, 19 Dec 1998 10:54:02 -0500 (EST) (envelope-from kmitch) From: Keith Mitchell Message-Id: <199812191554.KAA21153@weenix.guru.org> Subject: Xfree and User Class Question To: freebsd-questions@FreeBSD.ORG Date: Sat, 19 Dec 1998 10:54:01 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was having a problem with elm's newmail program notifying me when I had new mail. I traced the problem to the MAIL environment variable not being set. My shell (tcsh) doesn't set this for you but (as I understamd it) the login class stuff is supposed to set it (via the setenv tag). I am using the stock login.conf that came with 3.0-RELEASE (which is also what OS level I am using). SSH seems to work correctly but not xterm. I looked into the XFree source and noticed that the only call to setusercontext is in xdm when it forks off a new xdm under the users resource limits. The resource limits are getting set correctly -- just not the environment variables in the setenv login capabilities tag. Is there anyway to get xterm/xdm to set these so that xterm will inherit them??? Thanks. -- Keith Mitchell Email: kmitch@guru.org PGP key available upon request http://weenix.guru.org/~kmitch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message