Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 11:18:43 -0400 (EDT)
From:      Peter <petermatulis@yahoo.ca>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: aterm -e screen does not source .bashrc (was: Re: been buggin' me for a while now (console resolution))
Message-ID:  <20060711151843.44110.qmail@web60020.mail.yahoo.com>
In-Reply-To: <20060711134909.GB78308@gothmog.pc>

next in thread | previous in thread | raw e-mail | index | archive | help

--- Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:

> On 2006-07-11 09:40, Peter <petermatulis@yahoo.ca> wrote:
> >--- Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
> >>On 2006-07-11 09:09, Peter <petermatulis@yahoo.ca> 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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060711151843.44110.qmail>