Commit Graph

659 Commits

Author SHA1 Message Date
Jilles Tjoelker b3fb5538e8 Show total number of games in progress below the list, useful if there are
more than fits on the screen.



git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@263 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-01 21:17:05 +00:00
Jilles Tjoelker ff19ea96cc Install the manpage as well.
Now version 1.4.3.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@261 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-28 15:18:20 +00:00
Jilles Tjoelker bd9a769047 An attempt at a man page.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@260 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-25 18:26:44 +00:00
Jilles Tjoelker 742afceadc Don't fail if client-supplied window size seems incorrect.
Add forgotten change for 1.4.2 in Changelog.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@259 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-24 15:46:01 +00:00
Joshua Kwan 5cc0a7c1b3 Note existence of DEFCONFIG.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@258 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-24 09:58:44 +00:00
Joshua Kwan 9333116712 populate_gfx_array(stripped) in ttyplay_main, not (NO_GRAPHICS).
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@257 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-23 03:55:21 +00:00
Joshua Kwan bb1361d2c2 dgamelaunch 1.4.2
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@255 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-22 23:41:18 +00:00
Jilles Tjoelker 2316fddf78 * Message length is at most 80, not 79 characters
* Improve dgl-wall's handling of bad arguments


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@254 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-22 22:40:33 +00:00
Jilles Tjoelker 6afc30c0b2 Make -f switch work
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@253 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-22 22:28:54 +00:00
Jilles Tjoelker bd9114c65d Remove superfluous nonportable #include <getopt.h>
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@252 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-22 20:42:05 +00:00
Joshua Kwan da4c7ec4a7 Add a prototype for ttyrec_getpty. [dummy commit to test svn]
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@251 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-22 09:37:15 +00:00
Joshua Kwan bae2acf031 Knock this one off the list
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@250 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-22 09:01:28 +00:00
Joshua Kwan 56e5619777 Added dgl-wall to cvsignore, fixed build
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@249 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-22 09:01:03 +00:00
Joshua Kwan 901a5ea38a Committing this, currently broken, shouldn't be within 5 minutes
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@248 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-22 05:57:36 +00:00
Jilles Tjoelker 89181d3dcd Abort if window size too small
Force window size to 80x24 (if the watched game's window size is larger than
the watcher's, chaos results)


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@247 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-20 17:57:29 +00:00
Jilles Tjoelker 44c608a12f Make sure to watch right game on the second and further pages
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@246 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-19 21:10:23 +00:00
Joshua Kwan 8bfdcb26fe don't always call write_canned_rcfile()
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@245 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-17 18:33:13 +00:00
Joshua Kwan 8da5f29475 dgamelaunch 1.4.2 soon
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@244 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-17 06:18:36 +00:00
Joshua Kwan cb40c5ffc0 DEFCONFIG holds path to config file, hardcoded, edit Makefile for this
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@243 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-17 02:44:33 +00:00
Jilles Tjoelker 9e10c33d22 Some todo-items mentioned in #nethack.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@242 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-17 01:55:59 +00:00
Joshua Kwan 686c76bbea zero 'me' after allocating it
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@241 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-17 01:00:22 +00:00
Jilles Tjoelker f7f3ebcae7 Set me to NULL if new user doesn't enter a username.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@240 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-17 00:58:21 +00:00
Jilles Tjoelker 8769ab9e15 Block signals during writefile().
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@239 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-17 00:53:28 +00:00
Jilles Tjoelker 90fdfa022c Stress-test script for creation of new accounts
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@238 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-16 17:47:41 +00:00
Jilles Tjoelker 33f37ede33 List PIDs of xterms for easier killing.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@237 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-15 23:20:51 +00:00
Jilles Tjoelker ee48608bcf Users with name like "test10" picked up inprogress files for "test1" as their
own.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@236 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-15 23:19:39 +00:00
Jilles Tjoelker 195c938c53 Simple stress-test script.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@235 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-15 23:10:33 +00:00
Joshua Kwan 6e01003303 Maybe this'll do it.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@234 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-13 23:15:03 +00:00
Joshua Kwan 1dd5b1dc8b call fcntl(2) with F_SETLK not F_UNLCK
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@233 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-13 23:01:17 +00:00
Jilles Tjoelker d9d9e9f1c9 Remove bogus and too early unlock
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@232 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-13 22:59:28 +00:00
Joshua Kwan bf82bdb034 Due to severity of the bug fixed, this should be v1.4.1
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@231 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-13 22:47:29 +00:00
Joshua Kwan 363ceebf62 Jilles-pedantry
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@230 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-13 22:36:17 +00:00
Joshua Kwan 0676d450d0 CRITICAL: Do NOT call writefile() for a new user
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@229 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-13 22:30:59 +00:00
Joshua Kwan ccd503105e Removed some worthless input cruft
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@228 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-10 21:19:49 +00:00
Joshua Kwan e541cf9a6f Any key refreshes, not just 'r'
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@227 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-07 08:42:26 +00:00
Joshua Kwan 939fc7ef8b Some administrivia... ->1.5pre
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@226 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-06 21:09:37 +00:00
Jilles Tjoelker 92bfc49788 while (true) -> for (;;)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@225 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-05 19:50:58 +00:00
Joshua Kwan 7f0a010f23 at Pasi's request add option to change email address.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@224 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-05 19:38:17 +00:00
Joshua Kwan 09b7c71f72 attempt to remove the inprogress file on an unclean termination
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@222 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-03 03:02:19 +00:00
Joshua Kwan c0afaba270 - remove third argument from ttyplay_main
- kludge to not run strip_gfx when stripped == NO_GRAPHICS
- other random fixes


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@221 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-03 02:55:24 +00:00
Jilles Tjoelker e4ede2e885 Make ibmgraphics stripping work (decgraphics stripping still doesn't work
for me)


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@220 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 23:42:41 +00:00
Joshua Kwan 39100e0631 a few security fixes
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@219 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 23:28:17 +00:00
Joshua Kwan f0efefec2f SECURITY: accept only argument following -f for dgamelaunch.conf path
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@218 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 22:57:54 +00:00
Jilles Tjoelker 142b5d434e Remove C++ variable declaration after statement.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@217 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 20:51:37 +00:00
Joshua Kwan 38503b374a allow dynamic switching of graphics stripping
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@216 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 20:43:12 +00:00
Joshua Kwan 6a0ceb9af0 Fix signed/unsigned char issues in ee.c to quell warnings with other compilers
as well as gcc -pedantic


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@215 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 09:58:10 +00:00
Joshua Kwan 9ca4d758a9 bad thinko, remove [^-]
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@214 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 01:31:48 +00:00
Joshua Kwan 98bc415047 add line number references to all errors
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@213 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 01:07:21 +00:00
Joshua Kwan 4fc6f54bec handle unterminated strings a bit better, and negative numbers
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@212 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 01:03:57 +00:00
Joshua Kwan d5c7d15202 doh, errno.h for ERANGE
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@211 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-02-02 00:30:06 +00:00