Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to have the following code in my .screenrc

 source /Users/masi/bin/screen/file.screen

However, I observe that sourcing at .screenrc is not supported.

Whi is sourcing in .screenrc not supported?

share|improve this question
@freiheit: Thank you for pointing out the mistake in the heading! – Masi Jul 9 '09 at 15:50
up vote 5 down vote accepted

I just tested and "source /path/to/a/file" in my .screenrc worked perfectly.

Does the user have permissions to read that file?

What version of screen? What OS?

share|improve this answer
Besides, it should be $PATH, otherwise it won't take the variable content. – chmeee Jul 8 '09 at 20:57
My question was confusing. --- I clarified it. – Masi Jul 9 '09 at 15:54
@freiheit: I have permissions to use read the file. My Screen is 4.00.03. I use OS X. – Masi Jul 12 '09 at 15:14
I found the reason for the bug. Screen does not understand ~/bin/screen/file.screen, but instead it understands /Users/masi/bin/screen/file.screen. --- Do you know how you can make Screen to understand ~ – Masi Jul 12 '09 at 15:22
try $HOME/bin/screen/file.screen – freiheit Jul 12 '09 at 15:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.