From owner-freebsd-questions Mon Jun 22 17:31:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA02933 for freebsd-questions-outgoing; Mon, 22 Jun 1998 17:31:59 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jason02.u.washington.edu (root@jason02.u.washington.edu [140.142.76.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA02900 for ; Mon, 22 Jun 1998 17:31:50 -0700 (PDT) (envelope-from jcwells@u.washington.edu) Received: from saul5.u.washington.edu (root@saul5.u.washington.edu [140.142.83.3]) by jason02.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with ESMTP id RAA45486; Mon, 22 Jun 1998 17:31:52 -0700 Received: from s8-37-26.student.washington.edu (S8-37-26.student.washington.edu [128.208.37.26]) by saul5.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.04) with SMTP id RAA05049; Mon, 22 Jun 1998 17:31:51 -0700 (PDT) Date: Mon, 22 Jun 1998 17:21:29 +0000 (GMT) From: "Jason C. Wells" X-Sender: jason@s8-37-26.student.washington.edu To: "Ian O'Friel" cc: FreeBSD Questions Subject: Re: X Windows loses path variable In-Reply-To: <003001bd9df4$1c1a2b20$17e107c3@metallica> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 22 Jun 1998, Ian O'Friel wrote: >Whenever I start X-Windows it loses the path variable and any commands like >'ls' have to be entered as /bin/ls or I have to create new aliases whenever >I start it up, is there any way to make sure the path statement is actually >used. When I use the 'set' command on it's own it display's the enviroment >including the path command, how strange, any help ?? Which shell do you use? There are two invocations of shells. There are login shells and there are non-login shells. There are different rc files for different invocations. For example: bash uses - .bash_profile for login shells. - .bashrc for non-loging shells. An xterm is _not_ a login shells unless you deliberately make it one. You should read "man (yourshell)" to find out specifics. Catchya Later, | UW Mechanical Engineering Jason Wells | http://weber.u.washington.edu/~jcwells/ | 206-633-5994 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message