Commit Graph

107 Commits

Author SHA1 Message Date
Jilles Tjoelker 7fab8e128d Some fixes to simplemail. It appears to work for me now.
To keep it simple, 'm' quits out of watching.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@107 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 13:35:38 +00:00
Jilles Tjoelker c250d038e9 Add code to test simplemail.
(nitpick) #include lines style(9) compliant again.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@106 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 13:33:36 +00:00
Jilles Tjoelker 488c628565 Same snprintf size bug again.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@105 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 13:16:31 +00:00
Jilles Tjoelker 974f567f04 snprintf() size argument was 1 too small, so MAIL variable always missed
last char.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@104 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 13:11:07 +00:00
Joshua Kwan 7e84a8baae wrap at 80, add some helpful install tips
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@103 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 06:53:02 +00:00
Joshua Kwan c8739c386b fix case where argv[1] == ENOENT
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@102 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 05:03:30 +00:00
Joshua Kwan d80b867622 stop using indent for a while, breaks small checkins
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@101 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 05:03:19 +00:00
Joshua Kwan 0b590733ff Here's a better fix
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@100 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 02:08:53 +00:00
Joshua Kwan 52e8cb7de8 fix truncation of any banner stuff after appending $VERSION
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@99 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 01:57:49 +00:00
Joshua Kwan f2a177ce95 version 1.3.10.1 doesn't allude to how much new crap is in this release.
call this 1.4. seriously


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@98 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 01:38:11 +00:00
Joshua Kwan e08b7668ad y.tab.c, lex.yy.c instead of y.tab.o lex.yy.o
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@97 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 23:27:18 +00:00
Joshua Kwan 651b85b4ee add io.c to the 4-BSD stuff
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@96 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 23:26:16 +00:00
Joshua Kwan dcf684328c #include <string.h>
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@95 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 17:44:30 +00:00
Joshua Kwan ecc8f9b897 this should really be strncmp
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@94 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 17:37:21 +00:00
Joshua Kwan 527b7ace92 scratch one off
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@93 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 17:31:01 +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
Jilles Tjoelker 6820e56684 Replace use of signal() by sigaction(). signal() is not very consistent.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@91 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 16:10:30 +00:00
Jilles Tjoelker 9939fa7365 Ignore nethackstub binary and ktrace.out (output of ktrace syscall tracer).
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@90 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 14:03:38 +00:00
Jilles Tjoelker 119b0c3058 Simple stub to test SIGHUP etc. stuff in an easier way.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@89 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 14:01:03 +00:00
Jilles Tjoelker 39c8fcbf1f Replace dgamelaunch with $(NAME) in a few places.
Add dependency for y.tab.o so it will be built automatically.
Replace flex command by lex, bison -y by yacc.
Change the install target a bit (although I don't use it myself).


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@88 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 13:16:23 +00:00
Joshua Kwan e85350f8fd remove y.tab.* and lex.yy.*
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@87 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 09:19:58 +00:00
Joshua Kwan 926f3e4af4 works!
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@86 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 09:18:39 +00:00
Joshua Kwan 2966031319 fix number handling
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@85 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 02:58:48 +00:00
Joshua Kwan 8da9e3acdc Quick fix
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@84 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 01:57:25 +00:00
Joshua Kwan 4f6bec9c0a It kind of works now. However, we must beware the static buffers that we made
before. They might no longer be enough.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@83 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-05 01:55:08 +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
Brett Carrington 00cfa2545f Added copyright lines to COPYING, completely rewrote README. Feedback appreciated.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@81 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 23:33:10 +00:00
Joshua Kwan 4aed9485f4 reindentation
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@80 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 22:49:29 +00:00
Brett Carrington 1adf4dbb69 Stupid pointless TODO: in comment
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@79 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 20:16:59 +00:00
Jilles Tjoelker 118c4a51a6 Make dgl-create-chroot.conf file clearer in the comments.
Add example dgl-create-chroot.conf file.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@78 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 16:42:08 +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 58d70cd5e3 replace two big conditionals with isalnum(3) calls
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@76 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 12:07:38 +00:00
Joshua Kwan e55e715ee2 update Changelog
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@75 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 12:07:26 +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 d8777057d6 knock one off
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@73 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 06:00:16 +00:00
Jilles Tjoelker 7ad4523dae Provide some feedback to the user that he has a stale game.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@72 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:56:09 +00:00
Joshua Kwan c76193877d fix some typos, add the crew to the copyright blurb
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@71 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:54:01 +00:00
Joshua Kwan b0ba0861ea ok, now it works
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@70 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:35:40 +00:00
Jilles Tjoelker acfec7933e Terminate if user chooses not to kill a hung game, and don't delete lockfile
in that case.
Move purge_stale_locks() call to before final endwin() in main().


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@69 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:31:00 +00:00
Joshua Kwan f20200f40c check for . and ..
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@68 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:28:57 +00:00
Joshua Kwan e9a719ea90 oops, big bug
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@67 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 02:20:54 +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 1105eddc64 Added cscope.out and error.log
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@64 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 01:54:45 +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 873b412c8f update Changelog, screw libiberty
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@62 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 01:14:36 +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 4a5f12d4fe always pass F_SETLK to fcntl even when unlocking
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@60 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 01:00:18 +00:00
Joshua Kwan 2a2f13d3b5 Add strlcpy.c back and fix some locking issues (replace all with fcntl)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@59 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 00:59:48 +00:00
Joshua Kwan 22afce0c28 Revamp the simplemail support
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@58 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-04 00:21:39 +00:00