version 1.231, 2011/05/20 19:29:13 |
version 1.232, 2011/05/21 10:04:17 |
|
|
understands some extensions to |
understands some extensions to |
.Xr terminfo 5 : |
.Xr terminfo 5 : |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Em \&Ms |
.It Em Cc , Cr |
This sequence can be used by |
Set the cursor color. |
.Nm |
The first takes a single string argument and is used to set the colour; |
to store the current buffer in the host terminal's selection (clipboard). |
the second takes no arguments and restores the default cursor colour. |
See the |
If set, a sequence such as this may be used |
.Em set-clipboard |
to change the cursor colour from inside |
option above and the |
.Nm : |
.Xr xterm 1 |
.Bd -literal -offset indent |
man page. |
$ printf '\e033]12;red\e033\e\e' |
.It Em Cs, Csr |
.Ed |
|
.It Em Cs , Csr |
Change the cursor style. |
Change the cursor style. |
If set allows a sequence such as: |
If set, a sequence such as this may be used |
|
to change the cursor to an underline: |
.Bd -literal -offset indent |
.Bd -literal -offset indent |
$ printf '\e033[4 q' |
$ printf '\e033[4 q' |
.Ed |
.Ed |
.Pp |
.Pp |
To change the cursor to an underline. |
|
If |
If |
.Em Csr |
.Em Csr |
is set, it will be used to reset the cursor style instead |
is set, it will be used to reset the cursor style instead |
of |
of |
.Em Cs . |
.Em Cs . |
.It Em Cc, Cr |
.It Em \&Ms |
The first takes one string argument and is used to set the cursor colour; |
This sequence can be used by |
the second takes no arguments and restores the default cursor colour. |
.Nm |
If they present, a sequence such as this may be used to change the |
to store the current buffer in the host terminal's selection (clipboard). |
cursor colour from inside |
See the |
.Nm : |
.Em set-clipboard |
.Bd -literal -offset indent |
option above and the |
$ printf '\e033]12;red\e033\e\e' |
.Xr xterm 1 |
.Ed |
man page. |
.El |
.El |
.Sh FILES |
.Sh FILES |
.Bl -tag -width "/etc/tmux.confXXX" -compact |
.Bl -tag -width "/etc/tmux.confXXX" -compact |