From owner-freebsd-questions@FreeBSD.ORG Tue Jul 11 15:18:49 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 782FF16A4DE for ; Tue, 11 Jul 2006 15:18:49 +0000 (UTC) (envelope-from petermatulis@yahoo.ca) Received: from web60020.mail.yahoo.com (web60020.mail.yahoo.com [209.73.178.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 0C49D43D69 for ; Tue, 11 Jul 2006 15:18:43 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: (qmail 44112 invoked by uid 60001); 11 Jul 2006 15:18:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=AspLnkT3iy3RPPAlQzlwdbTmVa8dKVjb1Q5nGGK+6QTL1Ot0MPO36FJjCxspb7NX0hshfhKqRMSQbdzQPQgzVX6rqlPzs75/uRxMCSfveABnIiM1W2HsMqJvu2kTrI0bPXtBpXnxuKV2+6JbqKddSSdfO6rymJLZ5GIsORIylG4= ; Message-ID: <20060711151843.44110.qmail@web60020.mail.yahoo.com> Received: from [66.131.121.105] by web60020.mail.yahoo.com via HTTP; Tue, 11 Jul 2006 11:18:43 EDT Date: Tue, 11 Jul 2006 11:18:43 -0400 (EDT) From: Peter To: Giorgos Keramidas In-Reply-To: <20060711134909.GB78308@gothmog.pc> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 15:18:49 -0000 --- Giorgos Keramidas wrote: > 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? $ echo $SHELL /usr/local/bin/bash $ grep peter /etc/passwd peter:*:1002:100:User &:/home/peter:/usr/local/bin/bash Do I need to set up a different file (.bashrc)? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com