X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: screen - doesn't call .bashrc at startup Date: Wed, 25 Jul 2007 09:35:27 +0100 Lines: 17 Message-ID: References: <46A6C9CD DOT 5080501 AT cygwin DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/