diff options
-rw-r--r-- | TODO | 13 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | doc/Makefile.am | 2 | ||||
-rw-r--r-- | doc/ncmpc.1 | 27 | ||||
-rw-r--r-- | doc/ncmpcrc.sample (renamed from doc/ncmpcrc) | 0 | ||||
-rw-r--r-- | options.c | 2 |
6 files changed, 30 insertions, 16 deletions
@@ -2,19 +2,22 @@ client functions ---------------------------------------------------------------------------- * search screen - * load/save playlists + * id3 browser ncurses ---------------------------------------------------------------------------- * customizable keybindings - * color support / customizable color - done - * improve list drawing (faster) + * improve list drawing (faster) other ---------------------------------------------------------------------------- - * find/search function in playlist (like in less '/') - done - * configuration file(s) - keybindings,colors... - done * internationalization - gettext + * SIGWINCH handling + + + + + diff --git a/configure.ac b/configure.ac index 912767ef5..b79934412 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ dnl $Id: configure.ac,v 1.10 2004/03/18 09:33:43 kalle Exp $ dnl AC_INIT(main.c) -AM_INIT_AUTOMAKE(ncmpc, 0.10.0-svn) +AM_INIT_AUTOMAKE(ncmpc, 0.10.0) dnl Check for programs AC_PROG_CC diff --git a/doc/Makefile.am b/doc/Makefile.am index 37fb0a4f1..ef22f0742 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ man_MANS = ncmpc.1 docdir = $(prefix)/share/doc/$(PACKAGE) -doc_DATA = ncmpcrc +doc_DATA = ncmpcrc.sample EXTRA_DIST = $(man_MANS) $(doc_DATA) diff --git a/doc/ncmpc.1 b/doc/ncmpc.1 index 59f391e59..a4f752e03 100644 --- a/doc/ncmpc.1 +++ b/doc/ncmpc.1 @@ -1,6 +1,6 @@ .TH "mpc-ncurses" "1" "0.10.0" "Kalle Wallin" "" .SH "NAME" -ncmpc \- ncurses MPD client. +ncmpc \- curses Music Player Daemon (MPD) client. .SH "SYNOPSIS" .B ncmpc [options] @@ -16,6 +16,10 @@ options \-\-host and \-\-port. $ ncmpc \-\-host=musicserver \-\-port=44000 +To use a password with mpd, set MPD_HOST to password@host +or use the command line option \-\-password. Vales from +the command line overrides values from the environment. + Read more about MPD on http://www.musicpd.org .SH "OPTIONS" @@ -26,11 +30,14 @@ Display help. .B \-V, \-\-version Display version information. .TP -.B \-k, \-\-keys -Display key bindings. +.B \-c, \-\-colors +Enable colors. +.TP +.B \-C, \-\-no\-colors +Disable colors. .TP .B \-e, \-\-exit -Exit on connection errors. The default way is to reconnect. +Exit on connection errors. The default is to reconnect. .TP .B \-h, \-\-host=HOSTNAME Specify MPD host. @@ -38,12 +45,16 @@ Specify MPD host. .B \-p, \-\-port=PORT Connect to server on PORT. .TP +.B \-P, \-\-password=PASSWORD +Connect top MPD with a password. +.TP Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. .SH "KEYS" -Since ncmpc is under development key bindings may change. -View current ncmpc key bindings in the help screen or by running: +You can view ncmpc's key bindings by pressing F1 (help) when +ncmpc is running. +.SH "CONFIGURATION FILE" +When ncmpc start it read user setting from ~/.ncmpcrc. A example file ncmpcrc.sample should be provided with ncmpc. + -$ ncmpc \-\-keys - .SH "SEE ALSO" mpc(1), MPD(1) diff --git a/doc/ncmpcrc b/doc/ncmpcrc.sample index 98d34c699..98d34c699 100644 --- a/doc/ncmpcrc +++ b/doc/ncmpcrc.sample @@ -29,7 +29,7 @@ static struct poptOption optionsTable[] = { "Connect to server on port [" DEFAULT_PORT_STR "].", "PORT" }, { "host", 'h', POPT_ARG_STRING, &mpd_host, 0, "Connect to server [" DEFAULT_HOST "].", "HOSTNAME" }, - { "passwd", 'P', POPT_ARG_STRING, &mpd_password, 0, + { "password", 'P', POPT_ARG_STRING, &mpd_password, 0, "Connect with password.", "PASSWORD" }, POPT_AUTOHELP { NULL, 0, 0, NULL, 0 } |