This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: screen - doesn't call .bashrc at startup


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]