Documenting the interface colours settings.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4835 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
c970035001
commit
693e2aaf6c
|
@ -2,6 +2,8 @@
|
||||||
* src/winio.c (statusbar): Elide a variable.
|
* src/winio.c (statusbar): Elide a variable.
|
||||||
* src/*: Rename the variable 'reverse_attr' to 'hilite_attribute',
|
* src/*: Rename the variable 'reverse_attr' to 'hilite_attribute',
|
||||||
and remove an unneeded call of wattroff().
|
and remove an unneeded call of wattroff().
|
||||||
|
* doc/man/nanorc.5, doc/texinfo/nano.tex: Document the settings
|
||||||
|
of titlecolor, statuscolor, keycolor and functioncolor.
|
||||||
|
|
||||||
2014-05-03 Benno Schulenberg <bensberg@justemail.net>
|
2014-05-03 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/*.h, src/*.c: Add the ability to colour four elements of
|
* src/*.h, src/*.c: Add the ability to colour four elements of
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
.\" <http://www.gnu.org/licenses/>.
|
.\" <http://www.gnu.org/licenses/>.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.TH NANORC 5 "version 2.3.3" "March 2014"
|
.TH NANORC 5 "version 2.3.3" "May 2014"
|
||||||
.\" Please adjust this date whenever revising the manpage.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
@ -98,10 +98,20 @@ Hard-wrap lines at column number \fIn\fP. If \fIn\fP is 0 or less, the
|
||||||
maximum line length will be the screen width less \fIn\fP columns. The
|
maximum line length will be the screen width less \fIn\fP columns. The
|
||||||
default value is \-8.
|
default value is \-8.
|
||||||
.TP
|
.TP
|
||||||
|
.B set functioncolor \fIfgcolor\fR,\fIbgcolor\fR
|
||||||
|
Specify the color combination to use for the function descriptions
|
||||||
|
in the two help lines at the bottom of the screen.
|
||||||
|
See \fBset titlecolor\fR for more details.
|
||||||
|
.TP
|
||||||
.B set/unset historylog
|
.B set/unset historylog
|
||||||
Enable \fI~/.nano_history\fP for saving and reading search/replace
|
Enable \fI~/.nano_history\fP for saving and reading search/replace
|
||||||
strings.
|
strings.
|
||||||
.TP
|
.TP
|
||||||
|
.B set keycolor \fIfgcolor\fR,\fIbgcolor\fR
|
||||||
|
Specify the color combination to use for the shortcut key combos
|
||||||
|
in the two help lines at the bottom of the screen.
|
||||||
|
See \fBset titlecolor\fR for more details.
|
||||||
|
.TP
|
||||||
.B set/unset locking
|
.B set/unset locking
|
||||||
Enable vim-style lock-files for when editing files.
|
Enable vim-style lock-files for when editing files.
|
||||||
.TP
|
.TP
|
||||||
|
@ -203,6 +213,10 @@ Enable soft line wrapping for easier viewing of very long lines.
|
||||||
Use spelling checker \fIspellprog\fP instead of the built-in one, which
|
Use spelling checker \fIspellprog\fP instead of the built-in one, which
|
||||||
calls \fIspell\fP.
|
calls \fIspell\fP.
|
||||||
.TP
|
.TP
|
||||||
|
.B set statuscolor \fIfgcolor\fR,\fIbgcolor\fR
|
||||||
|
Specify the color combination to use for the statusbar.
|
||||||
|
See \fBset titlecolor\fR for more details.
|
||||||
|
.TP
|
||||||
.B set/unset suspend
|
.B set/unset suspend
|
||||||
Allow \fBnano\fP to be suspended.
|
Allow \fBnano\fP to be suspended.
|
||||||
.TP
|
.TP
|
||||||
|
@ -216,6 +230,12 @@ Convert typed tabs to spaces.
|
||||||
.B set/unset tempfile
|
.B set/unset tempfile
|
||||||
Save automatically on exit, don't prompt.
|
Save automatically on exit, don't prompt.
|
||||||
.TP
|
.TP
|
||||||
|
.B set titlecolor \fIfgcolor\fR,\fIbgcolor\fR
|
||||||
|
Specify the color combination to use for the titlebar.
|
||||||
|
Valid color names for foreground and background are:
|
||||||
|
.BR white , \ black , \ red , \ blue , \ green , \ yellow , \ magenta ", and " cyan .
|
||||||
|
And either "\fIfgcolor\fR" or ",\fIbgcolor\fR" may be left out.
|
||||||
|
.TP
|
||||||
.B set/unset undo
|
.B set/unset undo
|
||||||
Enable experimental generic-purpose undo code.
|
Enable experimental generic-purpose undo code.
|
||||||
.TP
|
.TP
|
||||||
|
@ -258,9 +278,9 @@ system and will be silently ignored otherwise.
|
||||||
For the currently defined syntax, display all expressions matching
|
For the currently defined syntax, display all expressions matching
|
||||||
the extended regular expression \fIregex\fP with foreground color
|
the extended regular expression \fIregex\fP with foreground color
|
||||||
\fIfgcolor\fP and background color \fIbgcolor\fP, at least one of which
|
\fIfgcolor\fP and background color \fIbgcolor\fP, at least one of which
|
||||||
must be specified. Legal colors for foreground and background color
|
must be specified. Valid colors for foreground and background
|
||||||
are: white, black, red, blue, green, yellow, magenta, and cyan. You may
|
are: white, black, red, blue, green, yellow, magenta, and cyan. You may
|
||||||
use the prefix "bright" to force a stronger color highlight for the
|
use the prefix "bright" to get a stronger color highlight for the
|
||||||
foreground. If your terminal supports transparency, not specifying a
|
foreground. If your terminal supports transparency, not specifying a
|
||||||
\fIbgcolor\fP tells \fBnano\fP to attempt to use a transparent
|
\fIbgcolor\fP tells \fBnano\fP to attempt to use a transparent
|
||||||
background.
|
background.
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
@smallbook
|
@smallbook
|
||||||
@set EDITION 0.1
|
@set EDITION 0.1
|
||||||
@set VERSION 2.3.3
|
@set VERSION 2.3.3
|
||||||
@set UPDATED April 2014
|
@set UPDATED May 2014
|
||||||
|
|
||||||
@dircategory Editors
|
@dircategory Editors
|
||||||
@direntry
|
@direntry
|
||||||
|
@ -313,8 +313,8 @@ Enable 'soft wrapping'. This will make @code{nano} attempt to display the
|
||||||
entire contents of any line, even if it is longer than the screen width, by
|
entire contents of any line, even if it is longer than the screen width, by
|
||||||
continuing it over multiple screen lines. Since
|
continuing it over multiple screen lines. Since
|
||||||
'$' normally refers to a variable in the Unix shell, you should specify
|
'$' normally refers to a variable in the Unix shell, you should specify
|
||||||
this option last when using other options (e.g. 'nano -wS$') or pass it
|
this option last when using other options (e.g. @code{nano -wS$}) or pass it
|
||||||
separately (e.g. 'nano -wS -$').
|
separately (e.g. @code{nano -wS -$}).
|
||||||
|
|
||||||
@item -a, -b, -e, -f, -g, -j
|
@item -a, -b, -e, -f, -g, -j
|
||||||
Ignored, for compatibility with Pico.
|
Ignored, for compatibility with Pico.
|
||||||
|
@ -561,10 +561,20 @@ Hard-wrap lines at column number "n". If "n" is 0 or less, the maximum line
|
||||||
length will be the screen width less "n" columns. The default value is
|
length will be the screen width less "n" columns. The default value is
|
||||||
-8.
|
-8.
|
||||||
|
|
||||||
|
@item set functioncolor fgcolor,bgcolor
|
||||||
|
Specify the color (combination) to use for the function descriptions
|
||||||
|
in the two help lines at the bottom of the screen.
|
||||||
|
See "set titlecolor" for more details.
|
||||||
|
|
||||||
@item set/unset historylog
|
@item set/unset historylog
|
||||||
Enable ~/.nano_history for saving and reading search/replace strings.
|
Enable ~/.nano_history for saving and reading search/replace strings.
|
||||||
|
|
||||||
@ item set/unset locking
|
@item set keycolor fgcolor,bgcolor
|
||||||
|
Specify the color (combination) to use for the shortcut key combos
|
||||||
|
in the two help lines at the bottom of the screen.
|
||||||
|
See "set titlecolor" for more details.
|
||||||
|
|
||||||
|
@item set/unset locking
|
||||||
Enable vim-style lock-files for when editing files.
|
Enable vim-style lock-files for when editing files.
|
||||||
|
|
||||||
@item set matchbrackets "string"
|
@item set matchbrackets "string"
|
||||||
|
@ -671,6 +681,10 @@ Enable soft line wrapping for easier viewing of very long lines.
|
||||||
Use spelling checker "spellprog" instead of the built-in one, which
|
Use spelling checker "spellprog" instead of the built-in one, which
|
||||||
calls "spell".
|
calls "spell".
|
||||||
|
|
||||||
|
@item set statuscolor fgcolor,bgcolor
|
||||||
|
Specify the color (combination) to use for the statusbar.
|
||||||
|
See "set titlecolor" for more details.
|
||||||
|
|
||||||
@item set/unset suspend
|
@item set/unset suspend
|
||||||
Allow @code{nano} to be suspended.
|
Allow @code{nano} to be suspended.
|
||||||
|
|
||||||
|
@ -684,6 +698,12 @@ Convert typed tabs to spaces.
|
||||||
@item set/unset tempfile
|
@item set/unset tempfile
|
||||||
Save automatically on exit, don't prompt.
|
Save automatically on exit, don't prompt.
|
||||||
|
|
||||||
|
@item set titlecolor fgcolor,bgcolor
|
||||||
|
Specify the color (combination) to use for the titlebar.
|
||||||
|
Valid color names for foreground and background are:
|
||||||
|
white, black, red, blue, green, yellow, magenta, and cyan.
|
||||||
|
And either "fgcolor" or ",bgcolor" may be left out.
|
||||||
|
|
||||||
@item set/unset undo
|
@item set/unset undo
|
||||||
Enable experimental generic-purpose undo code.
|
Enable experimental generic-purpose undo code.
|
||||||
|
|
||||||
|
@ -724,10 +744,10 @@ when libmagic is installed on the system and will be silently ignored otherwise.
|
||||||
For the currently defined syntax, display all expressions matching the
|
For the currently defined syntax, display all expressions matching the
|
||||||
extended regular expression "regex" with foreground color "fgcolor" and
|
extended regular expression "regex" with foreground color "fgcolor" and
|
||||||
background color "bgcolor", at least one of which must be specified.
|
background color "bgcolor", at least one of which must be specified.
|
||||||
Legal colors for foreground and background color are: white, black, red,
|
Valid colors for foreground and background are: white, black, red,
|
||||||
blue, green, yellow, magenta, and cyan. You may use the prefix "bright"
|
blue, green, yellow, magenta, and cyan. You may use the prefix "bright"
|
||||||
to force a stronger color highlight for the foreground. If your
|
to get a stronger color highlight for the foreground. If your
|
||||||
terminal supports transparency, not specifying a "bgcolor" tells "nano"
|
terminal supports transparency, not specifying a "bgcolor" tells @code{nano}
|
||||||
to attempt to use a transparent background.
|
to attempt to use a transparent background.
|
||||||
|
|
||||||
@item icolor fgcolor,bgcolor "regex" @dots{}
|
@item icolor fgcolor,bgcolor "regex" @dots{}
|
||||||
|
|
Loading…
Reference in New Issue