Commit Graph

150 Commits

Author SHA1 Message Date
Joshua Kwan 849a8c5012 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
2004-01-23 18:14:48 +00:00
Joshua Kwan 71804b9f88 resize bug is fixed by jilles!
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@149 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-23 16:41:23 +00:00
Joshua Kwan 8ea6b70149 rearrange preprocessor stuff
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@148 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-23 16:40:51 +00:00
Joshua Kwan b085111838 It's 2004!
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@147 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-22 01:59:47 +00:00
Joshua Kwan 8c0e5d511a no longer required
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@146 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-22 01:38:10 +00:00
Joshua Kwan 410a4f8d96 - 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
2004-01-21 16:47:30 +00:00
Jilles Tjoelker d1c6c24eea Note own getnstr().
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@144 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-21 16:40:56 +00:00
Jilles Tjoelker e09101d7f2 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
2004-01-21 16:32:28 +00:00
Jilles Tjoelker 390c2666cd 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
2004-01-21 16:31:40 +00:00
Joshua Kwan 95c2eed65e s/the n/a /
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@141 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-21 02:11:12 +00:00
Joshua Kwan a8cea1dcba bring the changelog up to date with recent events
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@140 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-21 02:11:04 +00:00
Joshua Kwan 6cddacb631 remove nethackstub in make clean
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@139 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-21 02:09:09 +00:00
Joshua Kwan 4272403cfd remove some doc cruft
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@138 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-21 02:07:07 +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
Joshua Kwan 7c8eebf836 warning message when config file = ENOENT
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@136 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-21 01:49:40 +00:00
Joshua Kwan dc9485bba1 make an error message clearer
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@135 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-21 01:47:02 +00:00
Joshua Kwan be57b91ba1 Additional anti-root uid security fixes
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@134 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-21 01:37:16 +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 14673b8bae again
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@131 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-19 17:01:42 +00:00
Joshua Kwan ce0d5f7f3d would this fix it permanently
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@130 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-19 16:59:26 +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
Jilles Tjoelker e61edfe9ee Some more information on running it on Solaris.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@127 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-17 01:05:00 +00:00
Joshua Kwan 2a53f0970f ports
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@126 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-16 22:56:59 +00:00
Joshua Kwan 72aa15da09 flex warnings
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@125 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-16 22:55:41 +00:00
Jilles Tjoelker d80186d75f 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
2004-01-16 21:44:36 +00:00
Jilles Tjoelker 1a081cc170 Solaris compatibility.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@123 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-16 16:36:33 +00:00
Joshua Kwan cc4181039e resolve lack of yywrap()
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@122 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-16 06:10:21 +00:00
Joshua Kwan de1e3fea9c solaris
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@121 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-16 02:32:33 +00:00
Joshua Kwan 61efafdd49 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
2004-01-16 02:02:40 +00:00
Joshua Kwan ff73c6b2cb mysetenv() for portability
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@119 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-16 02:00:47 +00:00
Joshua Kwan 2063de2fdc init a struct flock
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@118 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-16 01:37:33 +00:00
Joshua Kwan 1059fae93b solaris portability fixes
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@117 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-12 17:32:47 +00:00
Joshua Kwan 9a272b46c6 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
2004-01-12 17:24:14 +00:00
Jilles Tjoelker 1540973c6e 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
2004-01-07 14:53:08 +00:00
Jilles Tjoelker ce0eaea25c Some fixes and changes, partly relating to FreeBSD.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@114 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-07 13:37:30 +00:00
Jilles Tjoelker 9686e206c0 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
2004-01-07 12:00:41 +00:00
Joshua Kwan 20a824b932 fix a buffer overflow
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@112 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 19:04:07 +00:00
Jilles Tjoelker 64467ae41d SIGWINCH problems seem to be fixed now.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@111 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 15:51:51 +00:00
Jilles Tjoelker c2be1a8882 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
2004-01-06 14:27:56 +00:00
Jilles Tjoelker 67ebb9ea09 Make sure we don't forget the SIGWINCH problem.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@109 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 14:01:08 +00:00
Jilles Tjoelker 544a1b925b Some buglets.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@108 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-06 13:43:11 +00:00
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