Commit Graph

32 Commits

Author SHA1 Message Date
Joshua Kwan 99e9e4997b Config file blues.. add silent option on command line
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@198 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 06:23:02 +00:00
Joshua Kwan 710df809e0 Allow user to login on the spot.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@195 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-31 03:04:58 +00:00
Joshua Kwan 6f11c9053a Regenerate dependencies, function prototypes, remove useless includes, globals,
and make code more readable. Move externs into a header file, just tidying up.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@186 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-30 02:49:29 +00:00
Joshua Kwan aaaa35c525 Fix some stuff related to HUP'ping processes (not completely fixed yet)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@181 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-28 16:31:37 +00:00
Joshua Kwan a095001e0a remove deep_copy function, rename initncurses to initcurses
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@169 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-26 08:29:04 +00:00
Joshua Kwan c4932ed44b Cleanups - globals, extraneous #defines, #include order, etc.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@161 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-25 22:34:35 +00:00
Joshua Kwan 8b9c796b10 Add ability to change location of passwd and lockfile.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@137 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-21 01:57:44 +00:00
Jilles Tjoelker 9a1b899cba NOSTREAMS must not be defined for Solaris.
The STREAMS manipulations are required in order to have a proper terminal with
termios manipulation.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@133 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-19 18:42:46 +00:00
Joshua Kwan cb93395b99 be smart about USE_OPENPTY
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@132 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-19 18:14:08 +00:00
Joshua Kwan 0f9d024d26 ncurses.h -> curses.h
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@129 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-19 16:56:03 +00:00
Jilles Tjoelker 2e89c7c3be Own version of getnstr() that always recognizes ^H and ^?; now always noecho(); mygetnstr() echoes if necessary.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@128 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-19 11:58:31 +00:00
Joshua Kwan 9419e79454 some fixes
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@92 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 17:27:49 +00:00
Joshua Kwan 6901a281a0 First try at the config file system. Still need to change usage of all
the macros, currently, this has no effect on dgamelaunch's functionality.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@82 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 01:25:38 +00:00
Joshua Kwan 5a623c9d44 Fix problem with people entering initial blank password.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@77 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 12:16:05 +00:00
Joshua Kwan ab14b92451 Ok, readd strlcat.c, use strlcat instead of strncat
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@74 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 07:35:14 +00:00
Joshua Kwan 71f367b1b4 Reindent, and add some error handling for kill
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@66 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:19:12 +00:00
Joshua Kwan 0daf7cdb3b Move gen_inprogress_lock() call to ttyrec.c, with the pid of nethack, and
purge_stale_locks() to remove all stale lockfiles.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@65 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:03:26 +00:00
Brett Carrington 45afd54ca0 graceful_exit, does nothing but please deprecate exit().
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@63 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 01:45:21 +00:00
Joshua Kwan ab8fc6018c use strlcpy
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@61 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 01:05:22 +00:00
Joshua Kwan f35d803c74 fix linux now :)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@44 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 21:00:54 +00:00
Joshua Kwan 3a2b0a7b0d works
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@43 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 20:47:53 +00:00
Joshua Kwan b72cade075 reindent
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@40 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 20:36:49 +00:00
Joshua Kwan 6f76353da3 First round of BSD fixes. Not done yet.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@38 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 20:31:30 +00:00
Joshua Kwan 11282a35d6 add function prototypes, fix up arguments of catch_sighup
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@35 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 06:14:34 +00:00
Joshua Kwan 5af442ca9d offload to populate_games function some junk in inprogressmenu. allow infinite
ongoing games.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@34 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-02 04:35:46 +00:00
Brett Carrington 3e9ec53de4 I renamed it to 'bannerfile', 'banfile' is ambigous (perhaps for a future
banner users file?) Also made LOC_BANNER in the header and updated the
chroot script to include the banner and default-rc files.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@25 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2003-12-31 20:21:00 +00:00
Joshua Kwan 8b0af2e9aa I can't stand it anymore, reindenting with 2 spaces,
also add a dgl-banner file that has a $VERSION token that one can put
anywhere, replace VER[1-7] and VERLINES


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@24 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2003-12-31 19:47:49 +00:00
Joshua Kwan 90350ecad3 games/games
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@19 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2003-12-31 07:17:45 +00:00
Joshua Kwan ade29a3309 tweaked for some Debianisms that should be default anyway
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@17 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2003-12-31 02:39:10 +00:00
Joshua Kwan 363b57f1a2 reindent files, add some glue to allow mailing from within the ttyplay session
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@13 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2003-12-31 01:58:56 +00:00
Joshua Kwan e70ddd377d make it pretty and make LOC_DGLROOT customizable to customize everything else
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@4 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2003-12-30 22:41:35 +00:00
Joshua Kwan f626f44b02 initial commit of new dgamelaunch to CVS
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@1 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2003-12-30 21:30:32 +00:00