Rearrange dgamelaunch watch menu to accomodate 20-char player names.

This commit is contained in:
John "Elwin" Edwards 2014-03-30 20:03:53 -07:00
parent 2eb8cef1c9
commit 5de69a6157

View file

@ -1,3 +1,5 @@
# rlgallery.org dgamelaunch configuration file
# This is a sample dgamelaunch configuration file. Only bash-style comments # This is a sample dgamelaunch configuration file. Only bash-style comments
# are allowed, such as this. Each configuration option will be explained # are allowed, such as this. Each configuration option will be explained
# along with its default value. # along with its default value.
@ -32,10 +34,10 @@ sortmode = "username"
# "duration", "idletime", or (if shmem is enabled) "watchers". # "duration", "idletime", or (if shmem is enabled) "watchers".
# #
watch_columns = [ ["", "", 1, "%s)"], watch_columns = [ ["", "", 1, "%s)"],
["User", "username", 4, "%-15s"], ["User", "username", 4, "%-20s"],
["Game", "game", 21, "%-11s"], ["Game", "game", 26, "%-11s"],
["Term", "windowsize", 34, "%s"], ["Term", "windowsize", 39, "%s"],
["Idle", "idletime", 43, "%-10s"], ["Idle", "idletime", 48, "%-10s"],
["Started", "starttime", 60, "%s"] ["Started", "starttime", 60, "%s"]
] ]
@ -239,11 +241,11 @@ menu["mainmenu_user"] {
commands["c"] = chpasswd commands["c"] = chpasswd
commands["e"] = chmail commands["e"] = chmail
commands["w"] = watch_menu commands["w"] = watch_menu
commands["3"] = play_game "RogV3" commands["3"] = play_game "RogueV3"
commands["4"] = play_game "RogV4" commands["4"] = play_game "RogueV4"
commands["5"] = play_game "RogV5" commands["5"] = play_game "RogueV5"
commands["Ss"] = play_game "SRog" commands["Ss"] = play_game "SRogue"
commands["Aa"] = play_game "ARog5" commands["Aa"] = play_game "ARogue5"
commands["q"] = quit commands["q"] = quit
} }
@ -257,7 +259,7 @@ menu["watchmenu_help"] {
DEFINE { DEFINE {
game_path = "/usr/bin/rogue3" game_path = "/usr/bin/rogue3"
game_name = "Rogue V3 (3.6)" game_name = "Rogue V3 (3.6)"
short_name = "RogV3" short_name = "RogueV3"
game_args = "rogue3", "-n", "%n" game_args = "rogue3", "-n", "%n"
@ -274,7 +276,7 @@ DEFINE {
DEFINE { DEFINE {
game_path = "/usr/bin/rogue4" game_path = "/usr/bin/rogue4"
game_name = "Rogue V4 (5.2)" game_name = "Rogue V4 (5.2)"
short_name = "RogV4" short_name = "RogueV4"
game_args = "rogue4", "-n", "%n" game_args = "rogue4", "-n", "%n"
inprogressdir = "%rinprogress/rogue4/" inprogressdir = "%rinprogress/rogue4/"
@ -287,7 +289,7 @@ DEFINE {
DEFINE { DEFINE {
game_path = "/usr/bin/rogue5" game_path = "/usr/bin/rogue5"
game_name = "Rogue V5 (5.4)" game_name = "Rogue V5 (5.4)"
short_name = "RogV5" short_name = "RogueV5"
game_args = "rogue5", "-n", "%n" game_args = "rogue5", "-n", "%n"
inprogressdir = "%rinprogress/rogue5/" inprogressdir = "%rinprogress/rogue5/"
@ -300,7 +302,7 @@ DEFINE {
DEFINE { DEFINE {
game_path = "/usr/bin/srogue" game_path = "/usr/bin/srogue"
game_name = "Super-Rogue" game_name = "Super-Rogue"
short_name = "SRog" short_name = "SRogue"
game_args = "srogue", "-n", "%n" game_args = "srogue", "-n", "%n"
inprogressdir = "%rinprogress/srogue/" inprogressdir = "%rinprogress/srogue/"
@ -313,7 +315,7 @@ DEFINE {
DEFINE { DEFINE {
game_path = "/usr/bin/arogue5" game_path = "/usr/bin/arogue5"
game_name = "Advanced Rogue 5" game_name = "Advanced Rogue 5"
short_name = "ARog5" short_name = "ARogue5"
game_args = "arogue5", "-n", "%n" game_args = "arogue5", "-n", "%n"
inprogressdir = "%rinprogress/arogue5/" inprogressdir = "%rinprogress/arogue5/"