News for hackers. Stuff that matters.
Re:Run last command as root by js2 on Thursday December 16, 2010 @05:18PM (#2014037)
Put something like this in your .screenrc:

   escape "^^^^"
That will set the escape character to ctrl-carat instead of ctrl-a. To type a literal ctrl-carat, type it twice.

This is the same as:

   screen -e ^^^^
Re:Run last command as root by pyre on Friday December 17, 2010 @12:04AM (#2015253)
I prefer to bind it to ` with `` to send a real `. It makes it really easy to flip back and forth between two screen windows since last-window is now:

  `q
Now I don't even have to use Ctrl. This takes a little getting used to, but I prefer to use $() instead of `` for shell scripts (I use bash/zsh) so I don't make use of ` that often.

I do have bindings on F11 and F12 to toggle the escape character between ` and C-o. (Just in case I need to paste something into a terminal with ` characters.)

(Note: This whole setup is ripped off from some StackOverflow or HN post.)