Screen: Difference between revisions
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...") |
|||
| (One intermediate revision by the same user not shown) | |||
| 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 | ||
===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> | </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> | |||
{{Unix}} | |||
Latest 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
| GNU/Linux/Unix the concrete that makes the foundations of the internet.
Compiling Software · Upgrading Software Category:Build Tools · Make · Cmake · Gdb Bash Bash · Bash/Quick (Quick Reference) · Bash Math Text Editors Text Manipulation Command Line Utilities Aptitude · Diff · Make · Patch · Subversion · Xargs Security SSH (Secure Shell) · Gpg (Gnu Privacy Guard) · Category:Security Networking Linux/SSH · Linux/Networking · Linux/File Server Web Servers
|