Commit Graph

376 Commits

Author SHA1 Message Date
Joshua Kwan 1547d8cbdc 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
2004-01-26 16:50:13 +00:00
Joshua Kwan ffd088ad61 subdirs was a bad idea. back it out
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@175 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-26 16:49:57 +00:00
Joshua Kwan a821f74cb6 use bison+flex if possible
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@174 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-26 16:37:16 +00:00
Joshua Kwan dbcf027490 Back out erroneous virus build fix
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@173 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-26 16:10:17 +00:00
Joshua Kwan 8516cbb7a6 clean editors/*.o as well
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@172 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-26 16:08:02 +00:00
Joshua Kwan 6d9107f99d tweak some stuff to reflect the new directory organization
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@171 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-26 08:44:18 +00:00
Joshua Kwan a3d6878aac note license of jilles' work
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@170 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-26 08:33:26 +00:00
Joshua Kwan a095001e0a remove deep_copy function, rename initncurses to initcurses
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@169 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-26 08:29:04 +00:00
Joshua Kwan 4ca56b17c3 rip out some other useless code...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@168 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-26 08:09:39 +00:00
Joshua Kwan 5c64ec77f0 oops
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@167 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-25 22:54:03 +00:00
Joshua Kwan 0d9997866d 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
2004-01-25 22:53:24 +00:00
Joshua Kwan cc38171394 stuff
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@165 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-25 22:46:58 +00:00
Joshua Kwan ba78f8e71b better way to do this
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@164 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-25 22:45:23 +00:00
Joshua Kwan 0957e52c6c land final virus+ee support
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@163 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-25 22:44:34 +00:00
Joshua Kwan a68add55a3 ok, readd virus
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@162 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-25 22:38:59 +00:00
Joshua Kwan c4932ed44b Cleanups - globals, extraneous #defines, #include order, etc.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@161 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-25 22:34:35 +00:00
Joshua Kwan 5a152569a8 rip out more ee stuff
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@160 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-24 21:49:13 +00:00
Joshua Kwan dc539128d5 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
2004-01-23 19:50:39 +00:00
Joshua Kwan 6e0821a5ad kill ee_init which reads a configuration file
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@158 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-23 18:48:44 +00:00
Joshua Kwan e218bf1055 fix canned rcfile path
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@157 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-23 18:33:35 +00:00
Joshua Kwan cca65f1062 unused variable bit_bucket ...
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@156 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-23 18:33:07 +00:00
Joshua Kwan 7bc00ccc62 remove some unused variables
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@155 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-23 18:23:16 +00:00
Joshua Kwan 5afbbd6974 no bugs KNOWN
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@154 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-23 18:22:50 +00:00
Jilles Tjoelker eaaf80eb43 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
2004-01-23 18:21:07 +00:00
Joshua Kwan e52f31146b remove virus references
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@152 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2004-01-23 18:17:19 +00:00
Joshua Kwan 55ce1e72bf 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
2004-01-23 18:16:39 +00:00
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