Commit graph

5 commits

Author SHA1 Message Date
Markus Pargmann
229ef8cfdc screen: Bugfixes
Multiple bugfixes in this patch:
1) Do not evaluate $TITLE.
2) Do not let normal title code set screen session titles if screen
plugin is active
3) Use default way to set hardstatus in screen, not xterm compatible
string.

Signed-off-by: Markus Pargmann <mpargmann@allfex.org>
2012-12-13 23:16:25 +01:00
Markus Pargmann
efda505417 screen: Bugfix extracted cmd, add customizable TITLE var
Bugfix:
zsh doc:
"If the history mechanism is active, the string that the user typed is
passed as the first argument, otherwise it is an empty string."
The title of a screen window should not depend on the history. So this
patch uses the third passed argument ("the third argument contains the
full text that is being executed.").

TITLE variable:
This combines automatic title set with customizable titles. It's often
useful in a screen session to set a manual title. By using
TITLE=YOUR_TITLE, it will replace the generated prefix but still display
the executed command. "TITLE=" will cause the screen plugin to generate
the title prefix again.

Signed-off-by: Markus Pargmann <mpargmann@allfex.org>
2012-12-13 20:18:50 +01:00
Denys Lózko
af729cc476 Add support of screen-* $TERM in screen plugin 2012-11-22 00:48:44 +02:00
Fredrik Appelberg
f1af415899 figuring out home dir on unix systems as well 2011-03-09 12:19:01 +01:00
Fredrik Appelberg
c2e8bed253 Added a plugin for GNU Screen. 2011-03-07 14:22:06 +01:00