Add a default-terminal option to set the starting value of $TERM in new

windows.
This commit is contained in:
Nicholas Marriott
2009-07-12 17:07:58 +00:00
parent 79bc6041c9
commit d7b4aa0ff3
5 changed files with 26 additions and 8 deletions

14
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.108 2009-07-12 17:04:21 nicm Exp $
.\" $Id: tmux.1,v 1.109 2009-07-12 17:07:58 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@ -1090,6 +1090,18 @@ environment variable or, if it is unset, the user's shell returned by
Set the default working directory for processes created from keys, or
interactively from the prompt.
The default is the current working directory when the server is started.
.It Ic default-terminal Ar terminal
Set the default terminal for new windows created in this session - the
default value of the
.Ev TERM
environment variable.
For
.Nm
to work correctly, this
.Em must
be set to
.Ql screen
or a derivative of it.
.It Ic display-time Ar time
Set the amount of time for which status line messages are displayed.
.Ar time