]> skyeroc.xyz Git - dgamelaunch/log
dgamelaunch
22 years agoPull C99 initializers that don't work with Sun compiler :(
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

22 years agoC99 initializers everywhere!
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

22 years agoTypo fix (rec -> play)
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

22 years agoFix some minor fallout.
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

22 years agoIgnore .svn now.
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

22 years agoRegenerate dependencies, function prototypes, remove useless includes, globals,
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

22 years agoHeader cleanup -- add #ifndef wrapping
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

22 years agoNot solely for use on alt.org...
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

22 years agoadd a clear() that might be needed in case a process isn't HUPable and we
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

22 years agoAdded .cvsignore as ignore file
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

22 years agoFix some stuff related to HUP'ping processes (not completely fixed yet)
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

22 years agore-mention virus and last_char_is.c in COPYING
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

22 years agoFix bug in populate_games where only first game would be seen (!)
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

22 years agouse Emacs keys by default
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

22 years agobail out if you specified a config file, and it's ENOENT - less confusing
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

22 years agosubdirs was a bad idea. back it out
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

22 years agouse bison+flex if possible
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

22 years agoBack out erroneous virus build fix
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

22 years agoclean editors/*.o as well
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

22 years agotweak some stuff to reflect the new directory organization
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

22 years agonote license of jilles' work
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

22 years agoremove deep_copy function, rename initncurses to initcurses
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

22 years agorip out some other useless code...
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

22 years agooops
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

22 years agoreword dtype's to be editor-agnostic and make it more of a template for admins
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

22 years agostuff
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

22 years agobetter way to do this
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

22 years agoland final virus+ee support
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

22 years agook, readd virus
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

22 years agoCleanups - globals, extraneous #defines, #include order, etc.
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

22 years agorip out more ee stuff
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

22 years agorip out the file operations menu, replace with 'save file'
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

22 years agokill ee_init which reads a configuration file
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

22 years agofix canned rcfile path
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

22 years agounused variable bit_bucket ...
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

22 years agoremove some unused variables
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

22 years agono bugs KNOWN
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

22 years agoAvoid calling lseek() on a descriptor managed by stdio.
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

22 years agoremove virus references
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

22 years agofix license, remove last_char_is.c (only used by virus)
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

22 years agoThrow out virus in favor of ee, which is much more newbie-friendly and somewhat
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

22 years agoresize bug is fixed by jilles!
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

22 years agorearrange preprocessor stuff
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

22 years agoIt's 2004!
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

22 years agono longer required
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

22 years ago- no need for strdup, we never free myconfig
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

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