Commit Graph

426 Commits

Author SHA1 Message Date
Jilles Tjoelker c87eb3df1d Yet another idea of mine
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@281 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-17 13:53:44 +00:00
Jilles Tjoelker 2f961b7079 Wait only 1/10 instead of 1 second between processes.
(yes I know sleep x.y is not portable but waiting so long is so annoying)


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@280 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-17 13:51:31 +00:00
Jilles Tjoelker b9631ee326 Show more author information and websites
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@279 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-15 14:23:11 +00:00
Jilles Tjoelker d52350d7dd nethack destroys the game if you send SIGHUP while it's at "Restoring
save file...--More--"


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@278 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-14 23:33:15 +00:00
Brett Carrington f7a0eca328 Removed the XXX comment, works fine on Mac OS X 10.3.2
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@277 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-13 00:41:39 +00:00
Jilles Tjoelker 0fb2230682 Reset offset if necessary
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@276 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-12 16:40:57 +00:00
Jilles Tjoelker 54e3b2a55f Reset offset to a lower value if not enough games exist anymore.
Avoids things like "(15-8 of 8)".


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@275 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-12 16:24:18 +00:00
Jilles Tjoelker 88811726d0 Provide 3 example configs instead of 1.
Revert brettcar's changes to dgl-create-chroot and put them in the macosx
example.
The macosx example is probably incomplete.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@274 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-10 12:46:22 +00:00
Jilles Tjoelker 41fd7d3b21 Fix brettcar typo
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@273 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-10 12:27:34 +00:00
Jilles Tjoelker 4c29fc67e9 FreeBSD and Linux do require -lcrypt
On Solaris 9 it is not necessary but does no harm.
I don't know whether I've detected MacOS X properly, but at least it compiles
on FreeBSD again now.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@272 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-10 12:16:55 +00:00
Brett Carrington 9eca87a1ed PLEASE LOOK AT THE DGL-CREATE-CHROOT SCRIPT
before you run it again. Same with the Makefile.
Most important change is in dgamelaunch.c


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@271 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-10 00:18:30 +00:00
Jilles Tjoelker bff3260468 Release 1.4.4
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@269 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-07 23:09:23 +00:00
Jilles Tjoelker d71b47be7e Stricter check on entered email addresses; the same check is now used for new
accounts as well as changes in existing accounts.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@268 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-06 20:34:27 +00:00
Jilles Tjoelker 9beae9e40d Selecting a game to watch with an uppercase letter attempts to change the
window size to the game's via the \033[8;<r>;<c>t sequence. Block SIGWINCH
before sending this sequence and unblock it after calling initcurses() again.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@267 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-04 14:38:02 +00:00
Jilles Tjoelker 0f2d2bf60f Actually exit on SIGTERM, this appears to be more convenient for most tests.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@266 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-04 14:31:21 +00:00
Jilles Tjoelker e33b7fabd6 Pass window size to watchers via inprogress file; show it on the list.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@265 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-04 13:58:03 +00:00
Jilles Tjoelker 2f258f13c7 Use client-supplied window size again (Pasi Kallinen).
Try to detect broken clients and force them to 80x24.
This backs out the functional change in rev 247.
Passing through window size to watchers in a later commit.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@264 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-03-04 13:30:12 +00:00
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