-
-
Save bps/299342 to your computer and use it in GitHub Desktop.
screenrc for IRC and mail that uses newer screen features.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get HOL screen from http://git.savannah.gnu.org/gitweb/?p=screen.git | |
# 4.1.0 has vertical splitting and support for layouts, but has been cooking | |
# since at least early 2007. See | |
# http://lists.gnu.org/archive/html/screen-users/2007-02/msg00000.html for | |
# documentation on the new features, as they're not in the man page yet. | |
# Build it with "cd src && autoreconf -iv && ./configure --prefix=whatever && | |
# make install" | |
# Communication layout, use a 160x50ish term | |
source ${HOME}/.screenrc | |
# "man 1 screen" for detail on the string escapes, but more or less they just | |
# list the screens and what's active. | |
hardstatus alwayslastline "%-w%{yW}%n %t%{-}%+w %=%H %0c %D %Y/%m/%d " | |
caption always "%?%F%{.yW}%?%3n %t" | |
sessionname comm | |
# Save a simple layout so we can use this session in a smaller term if | |
# necessary. Do something like "bind L layout next" to easily toggle between | |
# the two. | |
layout save single | |
screen -t irc irssi | |
split -v | |
focus right | |
screen -t mail mutt | |
layout save double | |
layout autosave on | |
# I saved this in ~/.screen/comm and run it with "screen -c ~/.screen/comm". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment