]> skyeroc.xyz Git - dgamelaunch/log
dgamelaunch
22 years agoNote own getnstr().
Jilles Tjoelker [Wed, 21 Jan 2004 16:40:56 +0000 (16:40 +0000)]
Note own getnstr().

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@144 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agogetpwuid/getgrgid calls were removed so that's been fixed
Jilles Tjoelker [Wed, 21 Jan 2004 16:32:28 +0000 (16:32 +0000)]
getpwuid/getgrgid calls were removed so that's been fixed
passwd/lockfile conf file trouble is new

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@143 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoGive a message when the max number of users has been reached, avoiding the
Jilles Tjoelker [Wed, 21 Jan 2004 16:31:40 +0000 (16:31 +0000)]
Give a message when the max number of users has been reached, avoiding the
creation of a too large user list.
If the list was not too large when selecting the 'r' option, but is after all
data has been entered, bail out without message and corrupting the
terminal settings (oops).

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@142 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agos/the n/a /
Joshua Kwan [Wed, 21 Jan 2004 02:11:12 +0000 (02:11 +0000)]
s/the n/a /

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@141 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agobring the changelog up to date with recent events
Joshua Kwan [Wed, 21 Jan 2004 02:11:04 +0000 (02:11 +0000)]
bring the changelog up to date with recent events

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@140 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoremove nethackstub in make clean
Joshua Kwan [Wed, 21 Jan 2004 02:09:09 +0000 (02:09 +0000)]
remove nethackstub in make clean

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@139 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoremove some doc cruft
Joshua Kwan [Wed, 21 Jan 2004 02:07:07 +0000 (02:07 +0000)]
remove some doc cruft

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@138 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoAdd ability to change location of passwd and lockfile.
Joshua Kwan [Wed, 21 Jan 2004 01:57:44 +0000 (01:57 +0000)]
Add ability to change location of passwd and lockfile.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@137 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agowarning message when config file = ENOENT
Joshua Kwan [Wed, 21 Jan 2004 01:49:40 +0000 (01:49 +0000)]
warning message when config file = ENOENT

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@136 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agomake an error message clearer
Joshua Kwan [Wed, 21 Jan 2004 01:47:02 +0000 (01:47 +0000)]
make an error message clearer

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@135 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoAdditional anti-root uid security fixes
Joshua Kwan [Wed, 21 Jan 2004 01:37:16 +0000 (01:37 +0000)]
Additional anti-root uid security fixes

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@134 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoNOSTREAMS must not be defined for Solaris.
Jilles Tjoelker [Mon, 19 Jan 2004 18:42:46 +0000 (18:42 +0000)]
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

22 years agobe smart about USE_OPENPTY
Joshua Kwan [Mon, 19 Jan 2004 18:14:08 +0000 (18:14 +0000)]
be smart about USE_OPENPTY

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@132 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoagain
Joshua Kwan [Mon, 19 Jan 2004 17:01:42 +0000 (17:01 +0000)]
again

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@131 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agowould this fix it permanently
Joshua Kwan [Mon, 19 Jan 2004 16:59:26 +0000 (16:59 +0000)]
would this fix it permanently

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@130 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoncurses.h -> curses.h
Joshua Kwan [Mon, 19 Jan 2004 16:56:03 +0000 (16:56 +0000)]
ncurses.h -> curses.h

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@129 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoOwn version of getnstr() that always recognizes ^H and ^?; now always noecho(); myget...
Jilles Tjoelker [Mon, 19 Jan 2004 11:58:31 +0000 (11:58 +0000)]
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

22 years agoSome more information on running it on Solaris.
Jilles Tjoelker [Sat, 17 Jan 2004 01:05:00 +0000 (01:05 +0000)]
Some more information on running it on Solaris.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@127 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoports
Joshua Kwan [Fri, 16 Jan 2004 22:56:59 +0000 (22:56 +0000)]
ports

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@126 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoflex warnings
Joshua Kwan [Fri, 16 Jan 2004 22:55:41 +0000 (22:55 +0000)]
flex warnings

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@125 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoCopying terminal data files (as opposed to directories) works again now.
Jilles Tjoelker [Fri, 16 Jan 2004 21:44:36 +0000 (21:44 +0000)]
Copying terminal data files (as opposed to directories) works again now.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@124 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoSolaris compatibility.
Jilles Tjoelker [Fri, 16 Jan 2004 16:36:33 +0000 (16:36 +0000)]
Solaris compatibility.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@123 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoresolve lack of yywrap()
Joshua Kwan [Fri, 16 Jan 2004 06:10:21 +0000 (06:10 +0000)]
resolve lack of yywrap()

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@122 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agosolaris
Joshua Kwan [Fri, 16 Jan 2004 02:32:33 +0000 (02:32 +0000)]
solaris

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@121 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agodon't use on BSD and Linux, setenv(3) is BSD 4.3
Joshua Kwan [Fri, 16 Jan 2004 02:02:40 +0000 (02:02 +0000)]
don't use on BSD and Linux, setenv(3) is BSD 4.3

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@120 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agomysetenv() for portability
Joshua Kwan [Fri, 16 Jan 2004 02:00:47 +0000 (02:00 +0000)]
mysetenv() for portability

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@119 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoinit a struct flock
Joshua Kwan [Fri, 16 Jan 2004 01:37:33 +0000 (01:37 +0000)]
init a struct flock

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@118 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agosolaris portability fixes
Joshua Kwan [Mon, 12 Jan 2004 17:32:47 +0000 (17:32 +0000)]
solaris portability fixes

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@117 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agounion wait is deprecated on any unix worth shit. don't use it. ever.
Joshua Kwan [Mon, 12 Jan 2004 17:24:14 +0000 (17:24 +0000)]
union wait is deprecated on any unix worth shit. don't use it. ever.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@116 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoCopy /etc/localtime (so gremlins will steal intrinsics at appropriate times).
Jilles Tjoelker [Wed, 7 Jan 2004 14:53:08 +0000 (14:53 +0000)]
Copy /etc/localtime (so gremlins will steal intrinsics at appropriate times).

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@115 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoSome fixes and changes, partly relating to FreeBSD.
Jilles Tjoelker [Wed, 7 Jan 2004 13:37:30 +0000 (13:37 +0000)]
Some fixes and changes, partly relating to FreeBSD.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@114 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoDon't call getpwuid(3)/getgrgid(3) on uids/gids in the config file. The uid/gid
Jilles Tjoelker [Wed, 7 Jan 2004 12:00:41 +0000 (12:00 +0000)]
Don't call getpwuid(3)/getgrgid(3) on uids/gids in the config file. The uid/gid
doesn't need to be in /etc/passwd or /etc/group anyway, and this reduces
storage of sensitive information in dgamelaunch's memory space.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@113 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agofix a buffer overflow
Joshua Kwan [Tue, 6 Jan 2004 19:04:07 +0000 (19:04 +0000)]
fix a buffer overflow

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@112 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoSIGWINCH problems seem to be fixed now.
Jilles Tjoelker [Tue, 6 Jan 2004 15:51:51 +0000 (15:51 +0000)]
SIGWINCH problems seem to be fixed now.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@111 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoReset SIGWINCH to default before starting game to prevent that window resizes
Jilles Tjoelker [Tue, 6 Jan 2004 14:27:56 +0000 (14:27 +0000)]
Reset SIGWINCH to default before starting game to prevent that window resizes
during play cause disconnects.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@110 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoMake sure we don't forget the SIGWINCH problem.
Jilles Tjoelker [Tue, 6 Jan 2004 14:01:08 +0000 (14:01 +0000)]
Make sure we don't forget the SIGWINCH problem.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@109 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoSome buglets.
Jilles Tjoelker [Tue, 6 Jan 2004 13:43:11 +0000 (13:43 +0000)]
Some buglets.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@108 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoSome fixes to simplemail. It appears to work for me now.
Jilles Tjoelker [Tue, 6 Jan 2004 13:35:38 +0000 (13:35 +0000)]
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

22 years agoAdd code to test simplemail.
Jilles Tjoelker [Tue, 6 Jan 2004 13:33:36 +0000 (13:33 +0000)]
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

22 years agoSame snprintf size bug again.
Jilles Tjoelker [Tue, 6 Jan 2004 13:16:31 +0000 (13:16 +0000)]
Same snprintf size bug again.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@105 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agosnprintf() size argument was 1 too small, so MAIL variable always missed
Jilles Tjoelker [Tue, 6 Jan 2004 13:11:07 +0000 (13:11 +0000)]
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

22 years agowrap at 80, add some helpful install tips
Joshua Kwan [Tue, 6 Jan 2004 06:53:02 +0000 (06:53 +0000)]
wrap at 80, add some helpful install tips

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@103 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agofix case where argv[1] == ENOENT
Joshua Kwan [Tue, 6 Jan 2004 05:03:30 +0000 (05:03 +0000)]
fix case where argv[1] == ENOENT

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@102 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agostop using indent for a while, breaks small checkins
Joshua Kwan [Tue, 6 Jan 2004 05:03:19 +0000 (05:03 +0000)]
stop using indent for a while, breaks small checkins

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@101 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoHere's a better fix
Joshua Kwan [Tue, 6 Jan 2004 02:08:53 +0000 (02:08 +0000)]
Here's a better fix

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@100 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agofix truncation of any banner stuff after appending $VERSION
Joshua Kwan [Tue, 6 Jan 2004 01:57:49 +0000 (01:57 +0000)]
fix truncation of any banner stuff after appending $VERSION

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@99 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoversion 1.3.10.1 doesn't allude to how much new crap is in this release.
Joshua Kwan [Tue, 6 Jan 2004 01:38:11 +0000 (01:38 +0000)]
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

22 years agoy.tab.c, lex.yy.c instead of y.tab.o lex.yy.o
Joshua Kwan [Mon, 5 Jan 2004 23:27:18 +0000 (23:27 +0000)]
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

22 years agoadd io.c to the 4-BSD stuff
Joshua Kwan [Mon, 5 Jan 2004 23:26:16 +0000 (23:26 +0000)]
add io.c to the 4-BSD stuff

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@96 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years ago#include <string.h>
Joshua Kwan [Mon, 5 Jan 2004 17:44:30 +0000 (17:44 +0000)]
#include <string.h>

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@95 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agothis should really be strncmp
Joshua Kwan [Mon, 5 Jan 2004 17:37:21 +0000 (17:37 +0000)]
this should really be strncmp

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@94 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoscratch one off
Joshua Kwan [Mon, 5 Jan 2004 17:31:01 +0000 (17:31 +0000)]
scratch one off

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@93 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agosome fixes
Joshua Kwan [Mon, 5 Jan 2004 17:27:49 +0000 (17:27 +0000)]
some fixes

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@92 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoReplace use of signal() by sigaction(). signal() is not very consistent.
Jilles Tjoelker [Mon, 5 Jan 2004 16:10:30 +0000 (16:10 +0000)]
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

22 years agoIgnore nethackstub binary and ktrace.out (output of ktrace syscall tracer).
Jilles Tjoelker [Mon, 5 Jan 2004 14:03:38 +0000 (14:03 +0000)]
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

22 years agoSimple stub to test SIGHUP etc. stuff in an easier way.
Jilles Tjoelker [Mon, 5 Jan 2004 14:01:03 +0000 (14:01 +0000)]
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

22 years agoReplace dgamelaunch with $(NAME) in a few places.
Jilles Tjoelker [Mon, 5 Jan 2004 13:16:23 +0000 (13:16 +0000)]
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

22 years agoremove y.tab.* and lex.yy.*
Joshua Kwan [Mon, 5 Jan 2004 09:19:58 +0000 (09:19 +0000)]
remove y.tab.* and lex.yy.*

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@87 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoworks!
Joshua Kwan [Mon, 5 Jan 2004 09:18:39 +0000 (09:18 +0000)]
works!

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@86 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agofix number handling
Joshua Kwan [Mon, 5 Jan 2004 02:58:48 +0000 (02:58 +0000)]
fix number handling

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@85 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoQuick fix
Joshua Kwan [Mon, 5 Jan 2004 01:57:25 +0000 (01:57 +0000)]
Quick fix

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@84 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoIt kind of works now. However, we must beware the static buffers that we made
Joshua Kwan [Mon, 5 Jan 2004 01:55:08 +0000 (01:55 +0000)]
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

22 years agoFirst try at the config file system. Still need to change usage of all
Joshua Kwan [Mon, 5 Jan 2004 01:25:38 +0000 (01:25 +0000)]
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

22 years agoAdded copyright lines to COPYING, completely rewrote README. Feedback appreciated.
Brett Carrington [Sun, 4 Jan 2004 23:33:10 +0000 (23:33 +0000)]
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

22 years agoreindentation
Joshua Kwan [Sun, 4 Jan 2004 22:49:29 +0000 (22:49 +0000)]
reindentation

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@80 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoStupid pointless TODO: in comment
Brett Carrington [Sun, 4 Jan 2004 20:16:59 +0000 (20:16 +0000)]
Stupid pointless TODO: in comment

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@79 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoMake dgl-create-chroot.conf file clearer in the comments.
Jilles Tjoelker [Sun, 4 Jan 2004 16:42:08 +0000 (16:42 +0000)]
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

22 years agoFix problem with people entering initial blank password.
Joshua Kwan [Sun, 4 Jan 2004 12:16:05 +0000 (12:16 +0000)]
Fix problem with people entering initial blank password.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@77 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoreplace two big conditionals with isalnum(3) calls
Joshua Kwan [Sun, 4 Jan 2004 12:07:38 +0000 (12:07 +0000)]
replace two big conditionals with isalnum(3) calls

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@76 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoupdate Changelog
Joshua Kwan [Sun, 4 Jan 2004 12:07:26 +0000 (12:07 +0000)]
update Changelog

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@75 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoOk, readd strlcat.c, use strlcat instead of strncat
Joshua Kwan [Sun, 4 Jan 2004 07:35:14 +0000 (07:35 +0000)]
Ok, readd strlcat.c, use strlcat instead of strncat

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@74 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoknock one off
Joshua Kwan [Sun, 4 Jan 2004 06:00:16 +0000 (06:00 +0000)]
knock one off

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@73 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoProvide some feedback to the user that he has a stale game.
Jilles Tjoelker [Sun, 4 Jan 2004 02:56:09 +0000 (02:56 +0000)]
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

22 years agofix some typos, add the crew to the copyright blurb
Joshua Kwan [Sun, 4 Jan 2004 02:54:01 +0000 (02:54 +0000)]
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

22 years agook, now it works
Joshua Kwan [Sun, 4 Jan 2004 02:35:40 +0000 (02:35 +0000)]
ok, now it works

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@70 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoTerminate if user chooses not to kill a hung game, and don't delete lockfile
Jilles Tjoelker [Sun, 4 Jan 2004 02:31:00 +0000 (02:31 +0000)]
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

22 years agocheck for . and ..
Joshua Kwan [Sun, 4 Jan 2004 02:28:57 +0000 (02:28 +0000)]
check for . and ..

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@68 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agooops, big bug
Joshua Kwan [Sun, 4 Jan 2004 02:20:54 +0000 (02:20 +0000)]
oops, big bug

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@67 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoReindent, and add some error handling for kill
Joshua Kwan [Sun, 4 Jan 2004 02:19:12 +0000 (02:19 +0000)]
Reindent, and add some error handling for kill

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@66 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoMove gen_inprogress_lock() call to ttyrec.c, with the pid of nethack, and
Joshua Kwan [Sun, 4 Jan 2004 02:03:26 +0000 (02:03 +0000)]
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

22 years agoAdded cscope.out and error.log
Brett Carrington [Sun, 4 Jan 2004 01:54:45 +0000 (01:54 +0000)]
Added cscope.out and error.log

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@64 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agograceful_exit, does nothing but please deprecate exit().
Brett Carrington [Sun, 4 Jan 2004 01:45:21 +0000 (01:45 +0000)]
graceful_exit, does nothing but please deprecate exit().

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@63 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoupdate Changelog, screw libiberty
Joshua Kwan [Sun, 4 Jan 2004 01:14:36 +0000 (01:14 +0000)]
update Changelog, screw libiberty

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@62 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agouse strlcpy
Joshua Kwan [Sun, 4 Jan 2004 01:05:22 +0000 (01:05 +0000)]
use strlcpy

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@61 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoalways pass F_SETLK to fcntl even when unlocking
Joshua Kwan [Sun, 4 Jan 2004 01:00:18 +0000 (01:00 +0000)]
always pass F_SETLK to fcntl even when unlocking

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@60 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoAdd strlcpy.c back and fix some locking issues (replace all with fcntl)
Joshua Kwan [Sun, 4 Jan 2004 00:59:48 +0000 (00:59 +0000)]
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

22 years agoRevamp the simplemail support
Joshua Kwan [Sun, 4 Jan 2004 00:21:39 +0000 (00:21 +0000)]
Revamp the simplemail support

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@58 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoOops, I had an old version in the repository.
Joshua Kwan [Sat, 3 Jan 2004 22:35:09 +0000 (22:35 +0000)]
Oops, I had an old version in the repository.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@57 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoSee comments in file (use diff if you can't find them)
Brett Carrington [Sat, 3 Jan 2004 21:57:22 +0000 (21:57 +0000)]
See comments in file (use diff if you can't find them)

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@56 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agomodifications by jilles@stack.nl (in #nethack.) Commiting by proxy.
Brett Carrington [Sat, 3 Jan 2004 21:50:40 +0000 (21:50 +0000)]
modifications by jilles@stack.nl (in #nethack.) Commiting by proxy.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@55 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoGot the array sizes backwards.
Joshua Kwan [Sat, 3 Jan 2004 20:38:05 +0000 (20:38 +0000)]
Got the array sizes backwards.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@54 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoAdd this
Joshua Kwan [Sat, 3 Jan 2004 20:19:38 +0000 (20:19 +0000)]
Add this

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@53 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years ago> and < not d and u
Joshua Kwan [Sat, 3 Jan 2004 04:01:42 +0000 (04:01 +0000)]
> and < not d and u

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@52 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agotypo
Joshua Kwan [Sat, 3 Jan 2004 03:54:16 +0000 (03:54 +0000)]
typo

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@51 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agofix some errors pointed out by jilles and paxed
Joshua Kwan [Sat, 3 Jan 2004 03:51:29 +0000 (03:51 +0000)]
fix some errors pointed out by jilles and paxed

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@50 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agouse an ARRAY_SIZE macro if available, if not, #define it
Joshua Kwan [Sat, 3 Jan 2004 02:10:35 +0000 (02:10 +0000)]
use an ARRAY_SIZE macro if available, if not, #define it

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@49 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoadd a sample 'classic' inetd line
Joshua Kwan [Sat, 3 Jan 2004 02:10:23 +0000 (02:10 +0000)]
add a sample 'classic' inetd line

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@48 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agousage() is useless
Joshua Kwan [Sat, 3 Jan 2004 00:31:47 +0000 (00:31 +0000)]
usage() is useless

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@47 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoremove -Wno-unused-parameter and -W, former is not supported by older gccs
Joshua Kwan [Sat, 3 Jan 2004 00:30:47 +0000 (00:30 +0000)]
remove -Wno-unused-parameter and -W, former is not supported by older gccs

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@46 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

22 years agoUpdate COPYING to show all licenses represented in source, amend ChangeLog
Joshua Kwan [Sat, 3 Jan 2004 00:26:48 +0000 (00:26 +0000)]
Update COPYING to show all licenses represented in source, amend ChangeLog

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@45 db0b04b0-f4d1-0310-9a6d-de3e77497b0e