Thread: screen and bash
View Single Post

   
  #1 (permalink)  
Old 02-20-2008, 06:41 PM
Mewla Penn
 
Posts: n/a
Default screen and bash

I installed Slackware 11. It's good. I have one subtle problem.

In previous Slackwares, I could set .screenrc to have "shell -$SHELL"
and when I started screen, each new session it opened would be a login
session and my environment variables and aliases would be available.

With Slackware 11, the shell setting in .screenrc is ignored. Old and
new Slackwares are both using the same version of screen, but bash has
changed. It looks like the newer version of bash is not working
correctly.

I can get around the problem by manually typing ". .bash_profile" each
new screen session I start, but that's a waste of typing when it should
work from the config file.

Do others have the same problem? Have I missed an obvious change in the
config file? Have I missed something else? Is there an easy solution,
other than going back to previous versions of bash?

Reply With Quote