Screen uses C-a as its "command" character. Unfortunately, C-a means "go to start of line" in emacs and terminals. The solution? In your .screenrc file: escape ^Ww This will default C-w as the command character.
GNU Screen - A Hacker's Ideal Terminal
31–40 of 103 posts
Re: GNU Screen - A Hacker's Ideal Terminal
#32Re: GNU Screen - A Hacker's Ideal Terminal
#33I don't think I can live without it anymore. There is no reason why you shouldn't use screen when ssh'ing in and working on remote machines, it will save you tons of time in case the connection goes down, plus allows your to keep a persistent working environment on remote boxes. ssh -t user@host screen -rx That will drop you immediately to a running screen on connect
screen -d -R
logout
On the rare occasions that I don't want to run under screen, I run `ssh -t user@host bash`.Re: GNU Screen - A Hacker's Ideal Terminal
#34Earlier quoted context omitted.
Better in what way?
For starters, it has built-in dwm/XMonad-style layouts, while screen has taken ages to even get vertically split windows.
Re: GNU Screen - A Hacker's Ideal Terminal
#35Earlier quoted context omitted.
Isn't C-w kill-region in emacs? I recently came up against this problem too, but what else to change it to .. ?
I like ` (just backtick, no control), though that clashes with Lisp a bit. (I don't usually use Lisp inside tmux, though.)
Re: GNU Screen - A Hacker's Ideal Terminal
#36Re: GNU Screen - A Hacker's Ideal Terminal
#37I don't think I can live without it anymore. There is no reason why you shouldn't use screen when ssh'ing in and working on remote machines, it will save you tons of time in case the connection goes down, plus allows your to keep a persistent working environment on remote boxes. ssh -t user@host screen -rx That will drop you immediately to a running screen on connect
My remote `.bash_profile` ends screen -d -R logout On the rare occasions that I don't want to run under screen, I run `ssh -t user@host bash`.
Re: GNU Screen - A Hacker's Ideal Terminal
#38I've been satisfied with just using multiple tabs in Terminal.app in OS X, but I'm curious if anyone has switched from that solution to screen and wouldn't go back? (for local use in particular)
It's also great if you want to run something big - say a job that would take 5 hours. I'm free to do whatever I want without fear that killing my ssh session will also kill the job.
Re: GNU Screen - A Hacker's Ideal Terminal
#39Earlier quoted context omitted.
I like ` (just backtick, no control), though that clashes with Lisp a bit. (I don't usually use Lisp inside tmux, though.)
` cannot be used since in terminal C + ` or C + SPC or C + @ translates into same thing(only allowed characters are @ [ \ ] ^ and _ ). I personally prefer using \
Re: GNU Screen - A Hacker's Ideal Terminal
#40anyone care to share their screenrc? heres mine: http://github.com/bdotdub/dotfiles/blob/master/screenrc