Commit Graph

544 Commits

Author SHA1 Message Date
Pasi Kallinen 89825b1ca4 passwd file is global config, not per-game
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@351 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2007-03-31 21:18:32 +00:00
Pasi Kallinen 59254ed4b7 Add 'chdir' per-game config variable, which defines the dir where dgl will chdir to before executing the game.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@350 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2007-03-31 21:05:12 +00:00
Pasi Kallinen f64b9da317 Fix watching, thanks to Jilles!
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@349 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2007-03-31 16:21:58 +00:00
Pasi Kallinen c0b1bdfa8e Fix inprogress file name truncation
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@348 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2007-03-31 15:17:26 +00:00
Pasi Kallinen 731caa2fcf Allow setting max nick length in the dgl config file, while still retaining backwards compatibility with old-style, up to 20-char
long nicks.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@347 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2007-03-31 11:10:07 +00:00
Pasi Kallinen 687239516b Update Changelog
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@346 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2007-03-29 20:25:35 +00:00
Pasi Kallinen 7ec2c4b9cc Allow more than one game per dgl installation.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@345 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2007-03-29 20:14:55 +00:00
Joshua Kwan ee906001f2 fix all sorts of stuff with dgl-create-chroot
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@344 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2006-07-09 07:04:09 +00:00
Joshua Kwan f3239d7a2f Update svn info, use $(DESTDIR)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@343 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2005-01-02 10:31:59 +00:00
Joshua Kwan 683aa5879b one more dummy commit
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@342 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-09-12 09:05:06 +00:00
Joshua Kwan fbcaeb1837 dummy commit to check bdb import
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@341 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-09-12 09:01:59 +00:00
Joshua Kwan 8b30520189 dummy commit to check bdb import
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@340 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-09-12 09:01:59 +00:00
Joshua Kwan 3494f125ce dummy commit to check bdb import
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@339 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-09-12 09:01:59 +00:00
Joshua Kwan 7e976aa770 use a copy of the environment variable instead of the actual spot on the heap
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@338 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-09-12 08:58:32 +00:00
Jilles Tjoelker debd70f269 Use select() if kevent() does not work, e.g. file on msdosfs.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@337 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-08-28 21:30:54 +00:00
Jilles Tjoelker 8038fbe363 Use kqueue() if available (FreeBSD) to improve watching.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@336 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-08-23 14:00:29 +00:00
Jilles Tjoelker 389ad58508 Describe recent commits.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@335 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-08-23 13:08:51 +00:00
Jilles Tjoelker 0817cc32e8 * Make sure curses will redraw the watch list after 'm' has been used
* ^L and ^R will redraw the entire screen in the watch list


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@334 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-08-23 12:59:33 +00:00
Jilles Tjoelker ca91ccc027 Use one select() call to both delay and detect keypresses.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@333 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-08-23 12:43:59 +00:00
Jilles Tjoelker 30973454e4 * Clean up a bit
* Close the ttyrec file when watching is done


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@332 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-08-23 12:30:24 +00:00
Jilles Tjoelker e31ca985ee Making watching more efficient:
* Don't uselessly read the ttyrec file at the start.
* Toggle the ttyrec file between buffered and non-buffered. Non-buffered I/O
  via stdio can be very inefficient.
* Keep stdout buffered, and flush it when waiting for a key or more ttyrec
  data.

Tested somewhat on my FreeBSD 4 machine.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@331 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-08-22 22:32:10 +00:00
Joshua Kwan baa776486f amend Changelog for 1.4.6
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@329 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-07-03 23:35:16 +00:00
Joshua Kwan 8f78e6128c use libgen.h
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@328 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-07-03 23:34:13 +00:00
Joshua Kwan 03718b936e setproctitle for teh lunix
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@327 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-07-03 19:19:28 +00:00
Joshua Kwan 2afc9476a4 no more editors/*
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@326 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-30 03:39:39 +00:00
Jilles Tjoelker dc7b46bbfe Use setproctitle(3), if available, to hide autologin password and show logged
in user and whether they are playing.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@325 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-28 19:41:06 +00:00
Jilles Tjoelker 20b453bfde Include config.h in ttyrec.c (tried to use STREAMS on FreeBSD)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@324 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-28 12:39:23 +00:00
Joshua Kwan a39ceb7ae3 sane default for terminfo
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@323 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-23 17:46:17 +00:00
Joshua Kwan 033b20f11d update
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@322 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-22 16:37:33 +00:00
Joshua Kwan 6fecd2b69d hide all extra arguments, because they're probably -p
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@321 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-22 16:36:09 +00:00
Joshua Kwan c712485ff1 change the logic a bit..
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@320 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-21 01:20:56 +00:00
Joshua Kwan b094a201ac use $CC -xM for dependencies on solaris, if you are using cc
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@319 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-21 00:59:51 +00:00
Joshua Kwan 366737941c use cp -L for terminfo
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@318 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-20 08:32:06 +00:00
Joshua Kwan 554430ba81 add svn-commit.tmp
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@317 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:45:52 +00:00
Joshua Kwan bb8f906ebe add exec_prefix
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@316 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:45:04 +00:00
Joshua Kwan 0b57621dfa woohoo
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@315 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:43:49 +00:00
Joshua Kwan 85d0f00089 all workie
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@314 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:41:52 +00:00
Joshua Kwan 5ef58e47d1 autogen
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@313 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:40:18 +00:00
Joshua Kwan e1101f9fc0 add a autogen.sh, ignore it during make dist
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@312 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:39:06 +00:00
Joshua Kwan 95c77b4033 stuff
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@311 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:37:57 +00:00
Joshua Kwan ce1bcadf26 tcc doesn't like
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@310 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:37:06 +00:00
Joshua Kwan aa1a46543b fix everything!
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@309 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 21:16:50 +00:00
Joshua Kwan 694a7ee6a2 bleh
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@308 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 20:06:22 +00:00
Jilles Tjoelker 51dc0fe191 * Add comment recommending autoconf 2.53
* Prefer -lcurses to -lncurses and don't try to find initscr in -ltermcap
* Still not works properly on Solaris (but I needed a few patches earlier
  anyway)


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@307 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 18:51:53 +00:00
Joshua Kwan eee0d887dc bum da bum
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@306 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 18:18:13 +00:00
Joshua Kwan 4946187dd7 autoconfize
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@305 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 18:17:02 +00:00
Joshua Kwan 9aee4e563f various fixes
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@304 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 18:16:22 +00:00
Joshua Kwan cda1f84bcc stuff
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@303 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 18:04:36 +00:00
Joshua Kwan c38b91b557 s/withval/configfile/
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@302 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 17:58:35 +00:00
Joshua Kwan 8e89cf0e65 autoconfize
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@301 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-06-18 17:57:29 +00:00