From owner-freebsd-questions@FreeBSD.ORG Tue Jul 11 13:49:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67B6316A4DE for ; Tue, 11 Jul 2006 13:49:36 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 535DB43D6D for ; Tue, 11 Jul 2006 13:49:29 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.7/8.13.7/Debian-1) with ESMTP id k6BDnEBi000679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 11 Jul 2006 16:49:15 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.7/8.13.7) with ESMTP id k6BDn9uY078628; Tue, 11 Jul 2006 16:49:09 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.7/8.13.7/Submit) id k6BDn9aX078627; Tue, 11 Jul 2006 16:49:09 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 11 Jul 2006 16:49:09 +0300 From: Giorgos Keramidas To: Peter Message-ID: <20060711134909.GB78308@gothmog.pc> References: <20060711132336.GB77495@gothmog.pc> <20060711134022.98529.qmail@web60025.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060711134022.98529.qmail@web60025.mail.yahoo.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.676, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.72, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions Subject: Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution)) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 13:49:36 -0000 On 2006-07-11 09:40, Peter wrote: >--- Giorgos Keramidas wrote: >>On 2006-07-11 09:09, Peter wrote: >>> I have the following in my .xinitrc file: >>> >>> aterm -e screen & >>> >>> What is happening is that neither /etc/profile nor ~/.profile are >>> being read. How can I get either of them to be sourced? >> >> By default, xterm, rxvt, aterm and various other terminal emulators >> start non-login shells. This means that .profile is not sourced by >> the >> shell spawned by the terminal. You can enable a `login shell' inside >> one of these terminal emulators with the -ls option: >> >> aterm -ls -e screen & >> > > I added this option but I still do not get my ~/.profile sourced (no > aliases). Going '. ~/.profile' gives me my aliases. How does aterm > know what file to look for? aterm doesn't care about .profile or other files. It starts a shell, based on the $SHELL environment variable and your login shell from `/etc/passwd'. What shell are you using?