delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <46A6C9CD.5080501@cygwin.com> |
Date: | Tue, 24 Jul 2007 23:55:57 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: screen - doesn't call .bashrc at startup |
References: | <ca5781c80707242030g7366f4bax1f9eafbc3c01e14e AT mail DOT gmail DOT com> |
In-Reply-To: | <ca5781c80707242030g7366f4bax1f9eafbc3c01e14e@mail.gmail.com> |
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 wrote: > Under RedHat/Fedora, when screen starts up, it will execute (source) > my .bashrc file. > Under cygwin, it doesn't. > Bug? Feature request? Disabled feature? I don't know much about screen (never used it myself) but looking at the man page I find: shell command Set the command to be used to create a new shell. This overrides the value of the environment variable $SHELL. This is useful if you’d like to run a tty-enhancer which is expecting to execute the program speci- fied in $SHELL. If the command begins with a ’-’ character, the shell will be started as a login-shell. 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'. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |