From owner-freebsd-questions@FreeBSD.ORG Tue Jul 11 13:40:27 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 43A9D16A4DF for ; Tue, 11 Jul 2006 13:40:27 +0000 (UTC) (envelope-from petermatulis@yahoo.ca) Received: from web60025.mail.yahoo.com (web60025.mail.yahoo.com [209.73.178.73]) by mx1.FreeBSD.org (Postfix) with SMTP id AD18F43D55 for ; Tue, 11 Jul 2006 13:40:26 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: (qmail 98531 invoked by uid 60001); 11 Jul 2006 13:40:22 -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=dgY0Zk+1WxQ4DvXdaXOrmHPbIgiuoNQeaKWaG2lsdb8En+2KjjDuDbHlN4WeOdr8xb14woWO/ttkW+SWnRIOvPv4enlqLikiFYFSBFac8jW6NjKYZOnKNH/x+HEWdPnDauVH0gnHqtbWL8KpvChDBACZUoflc6IoWFvXt+xxqns= ; Message-ID: <20060711134022.98529.qmail@web60025.mail.yahoo.com> Received: from [66.131.121.105] by web60025.mail.yahoo.com via HTTP; Tue, 11 Jul 2006 09:40:22 EDT Date: Tue, 11 Jul 2006 09:40:22 -0400 (EDT) From: Peter To: Giorgos Keramidas In-Reply-To: <20060711132336.GB77495@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 13:40:27 -0000 --- 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? Peter __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com