delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/25/04:36:02

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT 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 AT mail DOT gmail DOT com> <46A6C9CD DOT 5080501 AT cygwin DOT com> <ca5781c80707242117q3f05bc29k62e7621f1d77aedf AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.70.2067
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019