2011-10-03 15:47:19 +02:00
|
|
|
|
2013-03-04 16:03:53 +01:00
|
|
|
-pass the correct terminal size to nethack. (dgl handles
|
|
|
|
term resizes correctly, but nethack doesn't see the new size)
|
|
|
|
|
2011-10-12 16:34:40 +02:00
|
|
|
-allow setting banners for the internal menus, with the same method
|
|
|
|
as normal user-defined menus, but only the banner is used from them.
|
|
|
|
if no such menu is defined, then uses the default banner file.
|
|
|
|
|
2011-10-11 20:05:11 +02:00
|
|
|
-update dgamelaunch.8
|
|
|
|
|
2011-10-11 17:50:59 +02:00
|
|
|
-occasionally dgl crashes, leaving the shmem semaphore in a state
|
|
|
|
where the shmem block has to be freed.
|
|
|
|
|
|
|
|
-configure option --ncurses and --ncursesw
|
|
|
|
|
2011-10-03 15:47:19 +02:00
|
|
|
< kerio> paxed: it would also be cool to have %g and %s work within a game definition too
|
|
|
|
|
|
|
|
< kerio> paxed: is this intended behavior? i can't set two different spooldirs for two different games
|
2010-05-06 19:30:16 +02:00
|
|
|
|
2011-08-31 16:36:22 +02:00
|
|
|
|
|
|
|
[22:45] < kerio> paxed: dgamelaunch bug! :D - you *need* a file called dgamelaunch in the root of the jail -
|
|
|
|
otherwise the shared memory craps out
|
|
|
|
[22:48] < kerio> anyway, /dgldir/shmkey would've been better
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-08-12 20:06:34 +02:00
|
|
|
-when no banner file given, try to make a banner automagically?
|
|
|
|
(needs some way to name the options given as keys... maybe another
|
|
|
|
format for the keys that includes a string to be used as the name)
|
|
|
|
|
2011-03-26 20:01:57 +01:00
|
|
|
-cursor keys are not restored after watching a game of
|
|
|
|
curses-nethack.
|
|
|
|
|
2010-05-05 15:37:40 +02:00
|
|
|
-$MTIME(filename)
|
2010-03-13 19:33:34 +01:00
|
|
|
|
|
|
|
< Napkin> I'd suggest the default of DGL_MAILMSGLEN to be less
|
|
|
|
< Napkin> there are 4 digits in front of the prompt, paxed. having
|
|
|
|
it at 80, will cause display errors if someone types more than 75 letters
|
|
|
|
< Napkin> well, to be precise - not the writing - but deleting
|
|
|
|
will no longer work, because the cursor won't be moved to the previous
|
|
|
|
line again
|
|
|
|
|
2009-12-23 19:04:26 +01:00
|
|
|
-when exiting from watching a player, move the cursor to the last line
|
|
|
|
of the screen before enabling the ncurses mode; so when we exit dgl,
|
|
|
|
the watched player's game is all visible and the menu prompt doesn't
|
|
|
|
mess it up.
|
|
|
|
-watching menu will hilight the first matching username... what if we have
|
|
|
|
more than one game installed, and someone's playing more than one at the
|
|
|
|
same time? Should also save game#, not just the username.
|
2011-10-10 19:50:41 +02:00
|
|
|
-allow admin to disable the 'm' mail key in ttyplay.
|
2009-11-27 19:41:35 +01:00
|
|
|
-update README
|
2009-10-23 09:16:29 +02:00
|
|
|
-whenever config file has a dir, check that it ends with "/"
|
2009-10-21 16:49:46 +02:00
|
|
|
-in domailuser(), we need find_curr_player_game(username)
|
2009-10-21 11:06:44 +02:00
|
|
|
-for menu definitions, allow "default" commands (when user presses a
|
|
|
|
key not defined in other commands):
|
|
|
|
commands[default] = ...
|
|
|
|
|
2009-10-20 17:51:29 +02:00
|
|
|
-allow the admin to config the watching menu:
|
|
|
|
-top banner
|
|
|
|
-bottom banner
|
|
|
|
-set default sort method
|
2009-10-21 11:06:44 +02:00
|
|
|
-selectorchars:
|
|
|
|
watch_selectorchars = "abcdefghijklmn" (a-zA-Z, minus qQ)
|
|
|
|
-keys:
|
|
|
|
currently: qQ=return, '.'=sort++, ','=sort--, etc
|
2009-10-20 17:51:29 +02:00
|
|
|
|
2009-10-15 17:11:54 +02:00
|
|
|
-update virus to the newest version.
|
2009-11-27 19:05:36 +01:00
|
|
|
(virus is originally from busybox:
|
|
|
|
http://git.busybox.net/busybox/tree/editors/vi.c
|
|
|
|
but that version needs to be made secure)
|
2009-05-24 19:32:32 +02:00
|
|
|
-allow changing the name where the ttyrecs are saved, like
|
|
|
|
ttyrec_fn = "%rttyrec/%n/%g/%p.ttyrec"
|
|
|
|
-maybe save more stuff in the db, if we're using the sqlite
|
|
|
|
(last login timestamp, watch-menu sort-type, etc)
|
2008-11-13 21:40:50 +01:00
|
|
|
-Allow using a ttyrec (or similar screen capture) as the menu
|
|
|
|
text, instead of a text file.
|
|
|
|
maybe adding a bannertype={auto,txt,ttyrec,screendump}
|
|
|
|
into a menu def. auto=try to detect it from file extension.
|
2009-11-27 19:05:36 +01:00
|
|
|
would be useful to be able to define a program to run that
|
|
|
|
generates the banner? (eg. nethack hiscore list via nethack itself)
|
2011-10-11 17:50:59 +02:00
|
|
|
to output raw escape codes under ncurses, use write(1, "foo", strlen("foo"))
|
|
|
|
(must restore cursor position after printing or ncurses is confoosed)
|
2008-03-26 21:30:37 +01:00
|
|
|
-BUG: cannot quit watching until caught up with the stream.
|
2008-08-23 17:48:11 +02:00
|
|
|
-allow configuring the watching, new user registration,
|
|
|
|
email/passwd change, etc. screens.
|
2011-10-10 19:50:41 +02:00
|
|
|
-add config file command "chmod file mode"
|
2008-03-20 18:05:09 +01:00
|
|
|
-allow configuring the ttyrec dir location & file format.
|
2008-01-13 19:18:42 +01:00
|
|
|
-add commandline parameters to dgamelaunch:
|
|
|
|
dgamelaunch --chpasswd "nick" "newpass"
|
2009-11-27 19:05:36 +01:00
|
|
|
-some games (robotfindskitten?) are not worth saving into ttyrecs,
|
|
|
|
make it configurable. if no ttyrecs, then can't watch the game, which is
|
|
|
|
a pity. maybe rather just save the latest ttyrec, which ties into
|
|
|
|
having configurable ttyrec filenames...
|
2007-12-28 13:02:58 +01:00
|
|
|
-allow configuring ttyplay.c; some games may use different clear-screen
|
|
|
|
commands. (see for example crawl)
|
2008-01-14 23:06:32 +01:00
|
|
|
-allow configuring the gfx stripping. (number of chars, types of stripping,
|
2010-03-12 23:07:08 +01:00
|
|
|
include unicode stripping from crawl dgl, etc.)
|
2009-11-27 19:05:36 +01:00
|
|
|
This must be per-game configs; maybe we're running nethack and crawl
|
|
|
|
on the same server. ...does ttyplay know what game we're watching?
|
|
|
|
|
|
|
|
charstrip "name" {
|
|
|
|
start_state = 0;
|
|
|
|
state = (0 and 0x0e), 0x00, 1;
|
|
|
|
state = (1 and 0x0f), 0x0f, 0;
|
|
|
|
state = (1 and 0x1b), 0x1b, 0;
|
|
|
|
state = (1 and gfxmap), gfxmap, 1;
|
|
|
|
|
|
|
|
# initializes the gfxmap from charstrip "name" gfxmap. could also have
|
|
|
|
# gfxmap_init = zero;
|
|
|
|
gfxmap_init = from "name";
|
|
|
|
|
|
|
|
# the following will replace characters 128-135 with the listed characters.
|
|
|
|
# accepts:
|
|
|
|
# 0xff (hexadecimal), 240 (decimal), 001 (octal), 'x' (character)
|
|
|
|
gfxmap = 128, (' ', '|', '#', 0xb3, 0x00, 240, 241);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
in game definition:
|
|
|
|
char_strips = "name", "name", "name", ...
|
|
|
|
or maybe add a new command '' set_charstrip "name" ''
|
|
|
|
|
|
|
|
|
2008-01-01 12:45:14 +01:00
|
|
|
-public (no-password) accounts? (a per-user flag) what happens when someone
|
|
|
|
is playing on the account and someone else logins and we start playing?
|
2007-04-09 14:57:45 +02:00
|
|
|
-allow users to run recover themselves
|
2007-04-02 20:35:56 +02:00
|
|
|
-configurable stuff: allowed chars in usernames,
|
|
|
|
allow char stripping, ...
|
2007-03-29 22:14:55 +02:00
|
|
|
|
2004-01-02 12:59:50 +01:00
|
|
|
- Localization of variables, code clean up
|
2004-02-17 02:55:59 +01:00
|
|
|
|
|
|
|
- Use /var/run/nologin and/or dgl-specific nologin file
|