To be clear, this isn't a screen issue, I'm sure it's a general shell issue.
On a new Ubuntu 12.04 server, I'm currently logged into a terminal in which I want to run the screen command with my custom ~/.screenrc file. I scp'ed my .rc file to the Ubuntu machine and ran screen, but I can tell that it didn't read my .rc file. I tried several things in the current session:
- Run
/bin/bashthenscreen shthenscreensourcethe file and other weird environment variable tricks
The problem was easily fixed by creating a new ssh session into the Ubuntu server and running screen, but I'm curious - how do I make the .rc file 'work' in the original terminal that I was using before copying the .rc file?