X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject:  Re: screen - doesn't call .bashrc at startup
Date:  Wed, 25 Jul 2007 09:35:27 +0100
Lines: 17
Message-ID: <f8720g$l9n$2@sea.gmane.org>
References:  <ca5781c80707242030g7366f4bax1f9eafbc3c01e14e@mail.gmail.com> <46A6C9CD.5080501@cygwin.com> <ca5781c80707242117q3f05bc29k62e7621f1d77aedf@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset="utf-8"
Content-Transfer-Encoding:  7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

* yitzle (Wed, 25 Jul 2007 00:17:50 -0400)
> > Then on my Fedora Core system '/etc/screenrc' contains:
> >
> > # make the shell in every window a login shell
> > #shell -$SHELL
> >
> > So maybe look in '/etc/screenrc' and see if there's a similar setting there
> > that you can enable?  Otherwise, just add it to your '~/.screenrc'.
> 
> That line does the trick. Thanks!

If this "does the trick" then your system is seriously screwed. 
.bashrc is *not* sourced for login shells. Why don't you have a look 
at the man page?!

By the way: your problem is probably the oldest and most often asked 
bash FAQ.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

