Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 have been using screen in Linux and in some systems I get the default command character in Ctrl+T, but in others I get Ctrl+A. How can I change the configuration in those with Ctrl+A to Ctrl+T?

share|improve this question

In the ~/.screenrc file, you should have:

escape ^Bt

This will remap screen's Escape key to Ctrl+t

share|improve this answer
    
Hi, I did a find with find ~/ -name .screenrc and it return nothing, so I don't have a file .screenrc in my home folder. Any other clue? – Saul Lugo Aug 12 '13 at 0:50
    
create the ~/.screenrc file and it will be loaded the next time you start screen – Ivan Zarea Aug 12 '13 at 12:02
    
Thank you very much, I did it and worked! – Saul Lugo Aug 13 '13 at 16:01
    
Why B? Would 'escape ^Xt' also work? – ishmael Dec 3 '13 at 20:30

Use escape command to change command character.

In yoru case, try to Ctrl + A :escape ^Ta on your running screen(Ctrl+A).

If you wish to use escape character(Ctrl+T) everytime, you write to ~/.screenrc

escape ^Ta

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .