Sync OpenBSD patchset 918:

tweak the TERMINFO section; ok nicm
This commit is contained in:
Tiago Cunha 2011-05-22 16:26:58 +00:00
parent d256660a78
commit b5b630229a

49
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.317 2011-05-22 16:26:38 tcunha Exp $ .\" $Id: tmux.1,v 1.318 2011-05-22 16:26:58 tcunha Exp $
.\" .\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\" .\"
@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.Dd $Mdocdate: May 20 2011 $ .Dd $Mdocdate: May 21 2011 $
.Dt TMUX 1 .Dt TMUX 1
.Os .Os
.Sh NAME .Sh NAME
@ -2834,6 +2834,29 @@ Show server information and terminal details.
understands some extensions to understands some extensions to
.Xr terminfo 5 : .Xr terminfo 5 :
.Bl -tag -width Ds .Bl -tag -width Ds
.It Em Cc , Cr
Set the cursor color.
The first takes a single string argument and is used to set the colour;
the second takes no arguments and restores the default cursor colour.
If set, a sequence such as this may be used
to change the cursor colour from inside
.Nm :
.Bd -literal -offset indent
$ printf '\e033]12;red\e033\e\e'
.Ed
.It Em Cs , Csr
Change the cursor style.
If set, a sequence such as this may be used
to change the cursor to an underline:
.Bd -literal -offset indent
$ printf '\e033[4 q'
.Ed
.Pp
If
.Em Csr
is set, it will be used to reset the cursor style instead
of
.Em Cs .
.It Em \&Ms .It Em \&Ms
This sequence can be used by This sequence can be used by
.Nm .Nm
@ -2843,28 +2866,6 @@ See the
option above and the option above and the
.Xr xterm 1 .Xr xterm 1
man page. man page.
.It Em Cs, Csr
Change the cursor style.
If set allows a sequence such as:
.Bd -literal -offset indent
$ printf '\e033[4 q'
.Ed
.Pp
To change the cursor to an underline.
If
.Em Csr
is set, it will be used to reset the cursor style instead
of
.Em Cs .
.It Em Cc, Cr
The first takes one string argument and is used to set the cursor colour;
the second takes no arguments and restores the default cursor colour.
If they present, a sequence such as this may be used to change the
cursor colour from inside
.Nm :
.Bd -literal -offset indent
$ printf '\e033]12;red\e033\e\e'
.Ed
.El .El
.Sh FILES .Sh FILES
.Bl -tag -width "/etc/tmux.confXXX" -compact .Bl -tag -width "/etc/tmux.confXXX" -compact