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.

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
add comment

2 Answers

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
add comment

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
add comment

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.