This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: screen - doesn't call .bashrc at startup
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 24 Jul 2007 23:55:57 -0400
- Subject: Re: screen - doesn't call .bashrc at startup
- References: <ca5781c80707242030g7366f4bax1f9eafbc3c01e14e@mail.gmail.com>
- Reply-to: 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/