screen - doesn't call .bashrc at startup

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Jul 25 03:56:00 GMT 2007


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/



More information about the Cygwin mailing list