From charlesreid1

(Created page with "Unix screen command Also see Tmux - I know tmux is better, but I can't get out of my "screen" habit ==Initialization== ===Turn off startup message=== One of the first...")
 
Line 2: Line 2:


Also see [[Tmux]] - I know tmux is better, but I can't get out of my "screen" habit
Also see [[Tmux]] - I know tmux is better, but I can't get out of my "screen" habit
==Initialization==


===Turn off startup message===
===Turn off startup message===
Line 9: Line 7:
One of the first things about screen that will get really old is the startup message about sending pizza and beer to some guys who are probably now silver-haired and pushing 60:
One of the first things about screen that will get really old is the startup message about sending pizza and beer to some guys who are probably now silver-haired and pushing 60:


'''.screenrc'''
add to '''~/.screenrc'''


<pre>
<pre>
startup_message off
startup_message off
</pre>
===Remapping Control-A===
Another annoyance with screen is that the shortcut prefix, Control+A, clobbers the shortcut to go to the beginning of the line on the shell. It's much easier to change the prefix to be consistent with tmux (and will make the transition to tmux a little easier).
To change to Control + B:
add to '''~/.screenrc'''
<pre>
escape b
</pre>
</pre>

Revision as of 16:24, 21 March 2017

Unix screen command

Also see Tmux - I know tmux is better, but I can't get out of my "screen" habit

Turn off startup message

One of the first things about screen that will get really old is the startup message about sending pizza and beer to some guys who are probably now silver-haired and pushing 60:

add to ~/.screenrc

startup_message off

Remapping Control-A

Another annoyance with screen is that the shortcut prefix, Control+A, clobbers the shortcut to go to the beginning of the line on the shell. It's much easier to change the prefix to be consistent with tmux (and will make the transition to tmux a little easier).

To change to Control + B:

add to ~/.screenrc

escape b