From 1c0557154dd9da99ca78eea5be2939045765917f Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 10 Jul 2009 05:50:54 +0000 Subject: Add a default-terminal option to set the starting value of $TERM in new windows. This is "screen" by default and must be either that or something closely related. This does makes it easier to customise it if necessary. --- usr.bin/tmux/tmux.1 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'usr.bin/tmux/tmux.1') diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index 65ec37b47e9..76eff916dd2 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.21 2009/07/10 05:43:01 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.22 2009/07/10 05:50:54 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -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 -- cgit v1.2.3-59-g8ed1b