Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My friend provided me with a rather detailed .screenrc which I put into my ~/ directory. I am pretty confident when I run screen it isn't utilizing the edits in the file.

  • How could I confirm whether I'm using it or not?
  • How can I make sure my system uses the ~/.screenrc file?
share|improve this question

2 Answers 2

up vote 3 down vote accepted

$HOME/.screenrc should be the compiled-in default. You can also specify it on the command-line:

$ screen -c ~/.screenrc

You can also set it with an environment variable:

$ export SCREENRC="~/.screenrc"

As for confirming that it's being read/used, try putting these two into your screenrc:

hardstatus on
hardstatus alwayslastline

If it comes up listing all of your windows on the bottom line, your screenrc is being read.

share|improve this answer
    
confirmed. Thanks so much! –  mjb Sep 6 '11 at 15:43

Brightlancer's answer is useful, but based on some limited experience I can add:

If there is an error in your .screenrc file, it appears that screen ignores the file silently.

This could explain the cause. You may like to start with an empty file and add the lines slowly to find out the offending lines.

share|improve this answer

Your Answer

 
discard

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.