diff --git a/doc/ncmpc.1 b/doc/ncmpc.1
index 0aabe94ff0782fffb41d05a6a5009dec2e0a9ca0..69e591945f23b03c9ecb698781eeb9d5df3b9e0a 100644 (file)
--- a/doc/ncmpc.1
+++ b/doc/ncmpc.1
.B ncmpc
[options]
.SH "DESCRIPTION"
-ncmpc is a client for MPD, the Music Player Daemon.
+ncmpc is a client for MPD, the Music Player Daemon.
ncmpc connects to a MPD running on a machine on the local
network.
.B \-?, \-\-help
Display help.
.TP
-.B \-V, \-\-version
+.B \-V, \-\-version
Display version information and build-time configuration.
.TP
-.B \-c, \-\-colors
+.B \-c, \-\-colors
Enable colors.
.TP
-.B \-C, \-\-no\-colors
+.B \-C, \-\-no\-colors
Disable colors.
.TP
-.B \-m, \-\-mouse
+.B \-m, \-\-mouse
Enable mouse.
.TP
-.B \-M, \-\-no\-mouse
+.B \-M, \-\-no\-mouse
Disable mouse.
.TP
.B \-h, \-\-host=HOSTNAME
.B text\-editor\-ask = yes|no
Ask before starting an editor.
.TP
+.B chat\-prefix = PREFIX
+Prefix messages send with the chat screen with PREFIX. By default they are prefixed with the current user name enclosed by \fB<\fR and \fB>\fR and a space (i.e. "<name> ").
+.TP
.B second-column = yes|no
Display song length in a second column.
.SS Display
.B list\-format = SONG FORMAT
The format used to display songs in the main window.
.TP
+.B search\-format = SONG FORMAT
+The format used to display songs in the search window. Default is to use list\-format.
+.TP
.B status\-format = SONG FORMAT
The format used to display songs on the status line.
.TP
Set the background color. If the background color is assigned to the keyword \fBnone\fR, ncmpc will not change the background color. Standard colors are: black, red, green, yellow, blue, magenta, cyan and white. Terminal specific colors can also be given as integers.
.TP
.B color title = COLOR[,ATTRIBUTE]...
-Set the text color and attributes for the title row. Text colors are the same as for the background. Valid attributes are: standout, underline, reverse, blink, dim, and bold.
+Set the text color and attributes for the title row. Text colors are the same as for the background. Valid attributes are: standout, underline, reverse, blink, dim, and bold.
.TP
.B color title\-bold = COLOR[,ATTRIBUTE]...
Set the text color for the title row (the bold part).
ncmpc is running. To edit key bindings press 'K' and use the key editor in ncmpc.
.SH "SONG FORMAT"
Format of song display for status and the list window.
-The metadata delimiters are: %name%, %artist%, %track%, %time%, %file%, %shortfile%.
+The metadata delimiters are: %artist%, %albumartist%, %composer%, %performer%, %title%, %album%, %shortalbum%, %track%, %genre%, %name%, %time%, %date%, %file%, %shortfile%.
-The [] operators are used to group output such that if no metadata delimiters are found or matched between '[' and ']', then none of the characters between '[' and ']' are output. '&' and '|' are logical operators for AND and OR. '#' is used to escape characters.
+The [] operators are used to group output such that if none of the metadata delimiters between '[' and ']' are matched, then none of the characters between '[' and ']' are output; literal text is always output. '&' and '|' are logical operators for AND and OR. '#' is used to escape characters.
-Some useful examples for format are:
+Some useful examples for format are:
"%file%"
and
- "[[%artist% \- ]%title%]|[%file]"
+ "[[%artist% \- ]%title%]|%file%"
+
+Another one is:
+
+ "[%artist%|(artist n/a)] - [%title%|(title n/a)]"
+
+.SH "CHAT PROTOCOL"
+If ncmpc has been compiled with "chat" support, it uses the client-to-client protocol available in MPD 0.17 or higher to communicate with other clients. In order to receive messages it subscribes to the channel with the name "chat", and displays any message sent there as-is. When the user enters a message, it is first with the prefix specified by the \fBchat-prefix\fR option (or the default prefix), and then sent to the "chat" channel for others to read.
.SH "BUGS"
Report bugs on http://www.musicpd.org/mantis/
.SH "NOTE"