From b5b630229ad6e9cf4bed4227e816e2977e596fa9 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 22 May 2011 16:26:58 +0000 Subject: [PATCH] Sync OpenBSD patchset 918: tweak the TERMINFO section; ok nicm --- tmux.1 | 49 +++++++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/tmux.1 b/tmux.1 index 4fad61a4..4ec15a2e 100644 --- a/tmux.1 +++ b/tmux.1 @@ -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 .\" @@ -14,7 +14,7 @@ .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" 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 .Os .Sh NAME @@ -2834,6 +2834,29 @@ Show server information and terminal details. understands some extensions to .Xr terminfo 5 : .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 This sequence can be used by .Nm @@ -2843,28 +2866,6 @@ See the option above and the .Xr xterm 1 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 .Sh FILES .Bl -tag -width "/etc/tmux.confXXX" -compact