add screen mode (idea by jostber <http://github.com/jostber>)
authorJohannes Weißl <jargon@molb.org>
Tue, 9 Nov 2010 13:37:31 +0000 (14:37 +0100)
committerJohannes Weißl <jargon@molb.org>
Tue, 9 Nov 2010 13:56:27 +0000 (14:56 +0100)
commit46afe24c0022bfb3218949426d6be6a26bb495ec
tree78bfae205ad7827778cf022ecab8aad3473da401
parent103486179e9d3e05ddc52d4b7289c99c61f86c01
add screen mode (idea by jostber <github.com/jostber>)

To use it, set the following variables:
export MUTTJUMP_USE_SCREEN=yes
export MUTTJUMP_SCREEN_SESSION=foobar

start mutt inside screen session:
  screen -S foobar -t Sent mutt -f =Sent
  screen -X -S foobar eval "screen -t INBOX mutt -f =INBOX"
(optionally start more mutt instances)

screen window names are generated from the mailbox path using
the function MUTTJUMP_SCREEN_WINDOW_NAME_MANGLE(mbox_path),
which defaults to basename(mbox_path).
muttjump

Benjamin Mako Hill || Want to submit a patch?