]> skyeroc.xyz Git - dgamelaunch/commitdiff
Document the watch_columns option. (Darshan Shaligram <scintilla@gmail.com>)
authorPasi Kallinen <paxed@alt.org>
Mon, 3 Oct 2011 14:49:22 +0000 (14:49 +0000)
committerPasi Kallinen <paxed@alt.org>
Mon, 3 Oct 2011 14:49:22 +0000 (14:49 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@593 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

examples/dgamelaunch.conf

index ee8fc38cdab29b599fcce21f899aa5785588b3a0..d7bb306e3118c4420ffebadd2b5e0003a2f4a705 100644 (file)
@@ -24,6 +24,22 @@ maxnicklen = 10
 # "username" is the default.
 #sortmode = "username"
 
+# Set the columns displayed in the watching-screen. Each column definition
+# must have four elements as:
+#   [ "<display title>", "<sortname>", <Screen column>, "<printf format>" ]
+#
+# <sortname> may be "unsorted", "username", "game", "windowsize", "starttime",
+# "idletime", or (if shmem is enabled) "watchers".
+#
+# watch_columns = [ ["", "", 1, "%s)"],
+#                   ["User", "username", 4, "%-15s"],
+#                   ["Game", "game", 21, "%-11s"],
+#                   ["Term", "windowsize", 34, "%s"],
+#                   ["Idle", "idletime", 43, "%-10s"],
+#                   ["Watchers", "watchers", 55, "%5s"],
+#                   ["Started", "starttime", 65, "%s"]
+#                 ]
+
 # Path to a prepared chroot jail.
 chroot_path = "/opt/nethack/nethack.alt.org/"