Joshua Kwan [Sun, 1 Feb 2004 08:10:00 +0000 (08:10 +0000)]
Pedantry, c/o paxed
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@203
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sat, 31 Jan 2004 08:41:00 +0000 (08:41 +0000)]
make sure precedence doens't bite ARRAY_SIZE in the ass
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@202
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sat, 31 Jan 2004 08:39:46 +0000 (08:39 +0000)]
amended Changelog
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@201
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sat, 31 Jan 2004 06:25:59 +0000 (06:25 +0000)]
Unneeded variables now that ccomment() is gone
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@200
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sat, 31 Jan 2004 06:25:30 +0000 (06:25 +0000)]
update documentation for -q flag
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@199
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sat, 31 Jan 2004 06:23:02 +0000 (06:23 +0000)]
Config file blues.. add silent option on command line
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@198
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sat, 31 Jan 2004 06:22:38 +0000 (06:22 +0000)]
C-comments are pretty superfluous, remove support for them
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@197
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sat, 31 Jan 2004 03:10:03 +0000 (03:10 +0000)]
Fix a little fallout, also notify mailer of failed login...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@196
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sat, 31 Jan 2004 03:04:58 +0000 (03:04 +0000)]
Allow user to login on the spot.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@195
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sat, 31 Jan 2004 02:57:02 +0000 (02:57 +0000)]
Return to game after mail sending - is done!
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@194
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Jilles Tjoelker [Fri, 30 Jan 2004 21:28:38 +0000 (21:28 +0000)]
Return to watching after sending a simplemail message. This behaves like
choosing the letter again in the watch menu, as the screen contents are lost
when typing in the message and must be restored.
Tested on my FreeBSD 4.8 machine and the Solaris 9 machine. On the latter,
some problems because dgamelaunch doesn't recognize nethackstub's clear
screen sequence. Continuing watching works on both.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@193
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Jilles Tjoelker [Fri, 30 Jan 2004 20:08:31 +0000 (20:08 +0000)]
Clearer error message if h->len is too big. The current value of errno has
no meaning here, so don't use perror().
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@192
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 30 Jan 2004 17:32:12 +0000 (17:32 +0000)]
Pull C99 initializers that don't work with Sun compiler :(
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@191
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 30 Jan 2004 16:47:40 +0000 (16:47 +0000)]
C99 initializers everywhere!
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@190
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 30 Jan 2004 02:57:48 +0000 (02:57 +0000)]
Typo fix (rec -> play)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@189
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 30 Jan 2004 02:52:23 +0000 (02:52 +0000)]
Fix some minor fallout.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@188
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 30 Jan 2004 02:50:25 +0000 (02:50 +0000)]
Ignore .svn now.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@187
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 30 Jan 2004 02:49:29 +0000 (02:49 +0000)]
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
Joshua Kwan [Fri, 30 Jan 2004 02:28:48 +0000 (02:28 +0000)]
Header cleanup -- add #ifndef wrapping
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@185
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 30 Jan 2004 02:10:14 +0000 (02:10 +0000)]
Not solely for use on alt.org...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@184
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 30 Jan 2004 00:56:46 +0000 (00:56 +0000)]
add a clear() that might be needed in case a process isn't HUPable and we
ask the user if he wants to SIGTERM it
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@183
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Thu, 29 Jan 2004 17:50:33 +0000 (17:50 +0000)]
Added .cvsignore as ignore file
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@182
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Wed, 28 Jan 2004 16:31:37 +0000 (16:31 +0000)]
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
Joshua Kwan [Tue, 27 Jan 2004 17:31:26 +0000 (17:31 +0000)]
re-mention virus and last_char_is.c in COPYING
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@179
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Tue, 27 Jan 2004 09:05:39 +0000 (09:05 +0000)]
Fix bug in populate_games where only first game would be seen (!)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@178
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Mon, 26 Jan 2004 16:54:02 +0000 (16:54 +0000)]
use Emacs keys by default
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@177
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Mon, 26 Jan 2004 16:50:13 +0000 (16:50 +0000)]
bail out if you specified a config file, and it's ENOENT - less confusing
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@176
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Mon, 26 Jan 2004 16:49:57 +0000 (16:49 +0000)]
subdirs was a bad idea. back it out
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@175
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Mon, 26 Jan 2004 16:37:16 +0000 (16:37 +0000)]
use bison+flex if possible
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@174
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Mon, 26 Jan 2004 16:10:17 +0000 (16:10 +0000)]
Back out erroneous virus build fix
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@173
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Mon, 26 Jan 2004 16:08:02 +0000 (16:08 +0000)]
clean editors/*.o as well
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@172
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Mon, 26 Jan 2004 08:44:18 +0000 (08:44 +0000)]
tweak some stuff to reflect the new directory organization
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@171
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Mon, 26 Jan 2004 08:33:26 +0000 (08:33 +0000)]
note license of jilles' work
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@170
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Mon, 26 Jan 2004 08:29:04 +0000 (08:29 +0000)]
remove deep_copy function, rename initncurses to initcurses
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@169
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Mon, 26 Jan 2004 08:09:39 +0000 (08:09 +0000)]
rip out some other useless code...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@168
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sun, 25 Jan 2004 22:54:03 +0000 (22:54 +0000)]
oops
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@167
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sun, 25 Jan 2004 22:53:24 +0000 (22:53 +0000)]
reword dtype's to be editor-agnostic and make it more of a template for admins
to edit
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@166
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sun, 25 Jan 2004 22:46:58 +0000 (22:46 +0000)]
stuff
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@165
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sun, 25 Jan 2004 22:45:23 +0000 (22:45 +0000)]
better way to do this
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@164
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sun, 25 Jan 2004 22:44:34 +0000 (22:44 +0000)]
land final virus+ee support
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@163
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sun, 25 Jan 2004 22:38:59 +0000 (22:38 +0000)]
ok, readd virus
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@162
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sun, 25 Jan 2004 22:34:35 +0000 (22:34 +0000)]
Cleanups - globals, extraneous #defines, #include order, etc.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@161
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Sat, 24 Jan 2004 21:49:13 +0000 (21:49 +0000)]
rip out more ee stuff
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@160
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 23 Jan 2004 19:50:39 +0000 (19:50 +0000)]
rip out the file operations menu, replace with 'save file'
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@159
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 23 Jan 2004 18:48:44 +0000 (18:48 +0000)]
kill ee_init which reads a configuration file
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@158
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 23 Jan 2004 18:33:35 +0000 (18:33 +0000)]
fix canned rcfile path
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@157
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 23 Jan 2004 18:33:07 +0000 (18:33 +0000)]
unused variable bit_bucket ...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@156
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 23 Jan 2004 18:23:16 +0000 (18:23 +0000)]
remove some unused variables
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@155
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 23 Jan 2004 18:22:50 +0000 (18:22 +0000)]
no bugs KNOWN
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@154
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Jilles Tjoelker [Fri, 23 Jan 2004 18:21:07 +0000 (18:21 +0000)]
Avoid calling lseek() on a descriptor managed by stdio.
This often leads to undefined behaviour.
Function: set_seek_offset_clrscr()
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@153
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 23 Jan 2004 18:17:19 +0000 (18:17 +0000)]
remove virus references
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@152
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 23 Jan 2004 18:16:39 +0000 (18:16 +0000)]
fix license, remove last_char_is.c (only used by virus)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@151
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 23 Jan 2004 18:14:48 +0000 (18:14 +0000)]
Throw out virus in favor of ee, which is much more newbie-friendly and somewhat
less iffy than virus.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@150
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 23 Jan 2004 16:41:23 +0000 (16:41 +0000)]
resize bug is fixed by jilles!
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@149
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Fri, 23 Jan 2004 16:40:51 +0000 (16:40 +0000)]
rearrange preprocessor stuff
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@148
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Thu, 22 Jan 2004 01:59:47 +0000 (01:59 +0000)]
It's 2004!
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@147
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Thu, 22 Jan 2004 01:38:10 +0000 (01:38 +0000)]
no longer required
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@146
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Joshua Kwan [Wed, 21 Jan 2004 16:47:30 +0000 (16:47 +0000)]
- no need for strdup, we never free myconfig
- use defconfig for default passwd/lockfile
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@145
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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