summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 87e9bd7)
raw | patch | inline | side by side (parent: 87e9bd7)
author | Kalle Wallin <kaw@linux.se> | |
Wed, 31 Mar 2004 13:53:33 +0000 (13:53 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Wed, 31 Mar 2004 13:53:33 +0000 (13:53 +0000) |
TODO | patch | blob | history | |
configure.ac | patch | blob | history | |
doc/Makefile.am | patch | blob | history | |
doc/ncmpc.1 | patch | blob | history | |
doc/ncmpcrc | [deleted file] | patch | blob | history |
doc/ncmpcrc.sample | [new file with mode: 0644] | patch | blob |
options.c | patch | blob | history |
index 9b0422eccd42c5b19ba66ed6e12ff60c425da400..03300192c369ca545b10575c317bfc38f8b522bb 100644 (file)
--- a/TODO
+++ b/TODO
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 912767ef5ef1051a96f60fa97d0631ec5cc3d2a7..b799344121e5c2e9ec590032d852d0c6c4d06cfa 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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 37fb0a4f13630bdbc67190f41a271ecbf6e3226b..ef22f0742ca9b2151fef313bd07d1e28023a8558 100644 (file)
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
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 59f391e59ca50a0b0c318002694754adab500fae..a4f752e0317c443c78c4f44545e112829fbda7c5 100644 (file)
--- a/doc/ncmpc.1
+++ b/doc/ncmpc.1
.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]
$ 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"
.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.
.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
--- a/doc/ncmpcrc
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# Configuration file for ncmpc (~/.ncmpcrc)
-#
-
-
-#
-# Color configuration
-#
-# colors: black,red,green,yellow,blue,magenta,cyan,white
-#
-
-# enable/disable colors
-enable_colors = yes
-
-# background color
-#background_color = blue
-
-# text colors
-#title_color = white
-#line_color = green
-#list_color = yellow
-#progress_color = green
-#status_color = white
-#alert_color = yellow
-
-
-#
-# Key bindings - NOT IMPLEMENTED
-#
-# key_up = 13
-
-
-#
-# Key names - NOT IMPLEMENTED
-#
-#key_name 13 Enter
-#
-
-
diff --git a/doc/ncmpcrc.sample b/doc/ncmpcrc.sample
--- /dev/null
+++ b/doc/ncmpcrc.sample
@@ -0,0 +1,39 @@
+#
+# Configuration file for ncmpc (~/.ncmpcrc)
+#
+
+
+#
+# Color configuration
+#
+# colors: black,red,green,yellow,blue,magenta,cyan,white
+#
+
+# enable/disable colors
+enable_colors = yes
+
+# background color
+#background_color = blue
+
+# text colors
+#title_color = white
+#line_color = green
+#list_color = yellow
+#progress_color = green
+#status_color = white
+#alert_color = yellow
+
+
+#
+# Key bindings - NOT IMPLEMENTED
+#
+# key_up = 13
+
+
+#
+# Key names - NOT IMPLEMENTED
+#
+#key_name 13 Enter
+#
+
+
diff --git a/options.c b/options.c
index 8556b0f742ee55b6c303f5a3e090345c5d5e98ca..81f67bd87d4e4ee81b6bf5cfd688e8bc54ed8a70 100644 (file)
--- a/options.c
+++ b/options.c
"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 }