Commit Graph

  • dc539128d5 rip out the file operations menu, replace with 'save file' Joshua Kwan 2004-01-23 19:50:39 +00:00
  • 6e0821a5ad kill ee_init which reads a configuration file Joshua Kwan 2004-01-23 18:48:44 +00:00
  • e218bf1055 fix canned rcfile path Joshua Kwan 2004-01-23 18:33:35 +00:00
  • cca65f1062 unused variable bit_bucket ... Joshua Kwan 2004-01-23 18:33:07 +00:00
  • 7bc00ccc62 remove some unused variables Joshua Kwan 2004-01-23 18:23:16 +00:00
  • 5afbbd6974 no bugs KNOWN Joshua Kwan 2004-01-23 18:22:50 +00:00
  • eaaf80eb43 Avoid calling lseek() on a descriptor managed by stdio. This often leads to undefined behaviour. Function: set_seek_offset_clrscr() Jilles Tjoelker 2004-01-23 18:21:07 +00:00
  • e52f31146b remove virus references Joshua Kwan 2004-01-23 18:17:19 +00:00
  • 55ce1e72bf fix license, remove last_char_is.c (only used by virus) Joshua Kwan 2004-01-23 18:16:39 +00:00
  • 849a8c5012 Throw out virus in favor of ee, which is much more newbie-friendly and somewhat less iffy than virus. Joshua Kwan 2004-01-23 18:14:48 +00:00
  • 71804b9f88 resize bug is fixed by jilles! Joshua Kwan 2004-01-23 16:41:23 +00:00
  • 8ea6b70149 rearrange preprocessor stuff Joshua Kwan 2004-01-23 16:40:51 +00:00
  • b085111838 It's 2004! Joshua Kwan 2004-01-22 01:59:47 +00:00
  • 8c0e5d511a no longer required Joshua Kwan 2004-01-22 01:38:10 +00:00
  • 410a4f8d96 - no need for strdup, we never free myconfig - use defconfig for default passwd/lockfile Joshua Kwan 2004-01-21 16:47:30 +00:00
  • d1c6c24eea Note own getnstr(). Jilles Tjoelker 2004-01-21 16:40:56 +00:00
  • e09101d7f2 getpwuid/getgrgid calls were removed so that's been fixed passwd/lockfile conf file trouble is new Jilles Tjoelker 2004-01-21 16:32:28 +00:00
  • 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). Jilles Tjoelker 2004-01-21 16:31:40 +00:00
  • 95c2eed65e s/the n/a / Joshua Kwan 2004-01-21 02:11:12 +00:00
  • a8cea1dcba bring the changelog up to date with recent events Joshua Kwan 2004-01-21 02:11:04 +00:00
  • 6cddacb631 remove nethackstub in make clean Joshua Kwan 2004-01-21 02:09:09 +00:00
  • 4272403cfd remove some doc cruft Joshua Kwan 2004-01-21 02:07:07 +00:00
  • 8b9c796b10 Add ability to change location of passwd and lockfile. Joshua Kwan 2004-01-21 01:57:44 +00:00
  • 7c8eebf836 warning message when config file = ENOENT Joshua Kwan 2004-01-21 01:49:40 +00:00
  • dc9485bba1 make an error message clearer Joshua Kwan 2004-01-21 01:47:02 +00:00
  • be57b91ba1 Additional anti-root uid security fixes Joshua Kwan 2004-01-21 01:37:16 +00:00
  • 9a1b899cba NOSTREAMS must not be defined for Solaris. The STREAMS manipulations are required in order to have a proper terminal with termios manipulation. Jilles Tjoelker 2004-01-19 18:42:46 +00:00
  • cb93395b99 be smart about USE_OPENPTY Joshua Kwan 2004-01-19 18:14:08 +00:00
  • 14673b8bae again Joshua Kwan 2004-01-19 17:01:42 +00:00
  • ce0d5f7f3d would this fix it permanently Joshua Kwan 2004-01-19 16:59:26 +00:00
  • 0f9d024d26 ncurses.h -> curses.h Joshua Kwan 2004-01-19 16:56:03 +00:00
  • 2e89c7c3be Own version of getnstr() that always recognizes ^H and ^?; now always noecho(); mygetnstr() echoes if necessary. Jilles Tjoelker 2004-01-19 11:58:31 +00:00
  • e61edfe9ee Some more information on running it on Solaris. Jilles Tjoelker 2004-01-17 01:05:00 +00:00
  • 2a53f0970f ports Joshua Kwan 2004-01-16 22:56:59 +00:00
  • 72aa15da09 flex warnings Joshua Kwan 2004-01-16 22:55:41 +00:00
  • d80186d75f Copying terminal data files (as opposed to directories) works again now. Jilles Tjoelker 2004-01-16 21:44:36 +00:00
  • 1a081cc170 Solaris compatibility. Jilles Tjoelker 2004-01-16 16:36:33 +00:00
  • cc4181039e resolve lack of yywrap() Joshua Kwan 2004-01-16 06:10:21 +00:00
  • de1e3fea9c solaris Joshua Kwan 2004-01-16 02:32:33 +00:00
  • 61efafdd49 don't use on BSD and Linux, setenv(3) is BSD 4.3 Joshua Kwan 2004-01-16 02:02:40 +00:00
  • ff73c6b2cb mysetenv() for portability Joshua Kwan 2004-01-16 02:00:47 +00:00
  • 2063de2fdc init a struct flock Joshua Kwan 2004-01-16 01:37:33 +00:00
  • 1059fae93b solaris portability fixes Joshua Kwan 2004-01-12 17:32:47 +00:00
  • 9a272b46c6 union wait is deprecated on any unix worth shit. don't use it. ever. Joshua Kwan 2004-01-12 17:24:14 +00:00
  • 1540973c6e Copy /etc/localtime (so gremlins will steal intrinsics at appropriate times). Jilles Tjoelker 2004-01-07 14:53:08 +00:00
  • ce0eaea25c Some fixes and changes, partly relating to FreeBSD. Jilles Tjoelker 2004-01-07 13:37:30 +00:00
  • 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. Jilles Tjoelker 2004-01-07 12:00:41 +00:00
  • 20a824b932 fix a buffer overflow Joshua Kwan 2004-01-06 19:04:07 +00:00
  • 64467ae41d SIGWINCH problems seem to be fixed now. Jilles Tjoelker 2004-01-06 15:51:51 +00:00
  • c2be1a8882 Reset SIGWINCH to default before starting game to prevent that window resizes during play cause disconnects. Jilles Tjoelker 2004-01-06 14:27:56 +00:00
  • 67ebb9ea09 Make sure we don't forget the SIGWINCH problem. Jilles Tjoelker 2004-01-06 14:01:08 +00:00
  • 544a1b925b Some buglets. Jilles Tjoelker 2004-01-06 13:43:11 +00:00
  • 7fab8e128d Some fixes to simplemail. It appears to work for me now. To keep it simple, 'm' quits out of watching. Jilles Tjoelker 2004-01-06 13:35:38 +00:00
  • c250d038e9 Add code to test simplemail. (nitpick) #include lines style(9) compliant again. Jilles Tjoelker 2004-01-06 13:33:36 +00:00
  • 488c628565 Same snprintf size bug again. Jilles Tjoelker 2004-01-06 13:16:31 +00:00
  • 974f567f04 snprintf() size argument was 1 too small, so MAIL variable always missed last char. Jilles Tjoelker 2004-01-06 13:11:07 +00:00
  • 7e84a8baae wrap at 80, add some helpful install tips Joshua Kwan 2004-01-06 06:53:02 +00:00
  • c8739c386b fix case where argv[1] == ENOENT Joshua Kwan 2004-01-06 05:03:30 +00:00
  • d80b867622 stop using indent for a while, breaks small checkins Joshua Kwan 2004-01-06 05:03:19 +00:00
  • 0b590733ff Here's a better fix Joshua Kwan 2004-01-06 02:08:53 +00:00
  • 52e8cb7de8 fix truncation of any banner stuff after appending $VERSION Joshua Kwan 2004-01-06 01:57:49 +00:00
  • f2a177ce95 version 1.3.10.1 doesn't allude to how much new crap is in this release. call this 1.4. seriously Joshua Kwan 2004-01-06 01:38:11 +00:00
  • e08b7668ad y.tab.c, lex.yy.c instead of y.tab.o lex.yy.o Joshua Kwan 2004-01-05 23:27:18 +00:00
  • 651b85b4ee add io.c to the 4-BSD stuff Joshua Kwan 2004-01-05 23:26:16 +00:00
  • dcf684328c #include <string.h> Joshua Kwan 2004-01-05 17:44:30 +00:00
  • ecc8f9b897 this should really be strncmp Joshua Kwan 2004-01-05 17:37:21 +00:00
  • 527b7ace92 scratch one off Joshua Kwan 2004-01-05 17:31:01 +00:00
  • 9419e79454 some fixes Joshua Kwan 2004-01-05 17:27:49 +00:00
  • 6820e56684 Replace use of signal() by sigaction(). signal() is not very consistent. Jilles Tjoelker 2004-01-05 16:10:30 +00:00
  • 9939fa7365 Ignore nethackstub binary and ktrace.out (output of ktrace syscall tracer). Jilles Tjoelker 2004-01-05 14:03:38 +00:00
  • 119b0c3058 Simple stub to test SIGHUP etc. stuff in an easier way. Jilles Tjoelker 2004-01-05 14:01:03 +00:00
  • 39c8fcbf1f 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). Jilles Tjoelker 2004-01-05 13:16:23 +00:00
  • e85350f8fd remove y.tab.* and lex.yy.* Joshua Kwan 2004-01-05 09:19:58 +00:00
  • 926f3e4af4 works! Joshua Kwan 2004-01-05 09:18:39 +00:00
  • 2966031319 fix number handling Joshua Kwan 2004-01-05 02:58:48 +00:00
  • 8da9e3acdc Quick fix Joshua Kwan 2004-01-05 01:57:25 +00:00
  • 4f6bec9c0a It kind of works now. However, we must beware the static buffers that we made before. They might no longer be enough. Joshua Kwan 2004-01-05 01:55:08 +00:00
  • 6901a281a0 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. Joshua Kwan 2004-01-05 01:25:38 +00:00
  • 00cfa2545f Added copyright lines to COPYING, completely rewrote README. Feedback appreciated. Brett Carrington 2004-01-04 23:33:10 +00:00
  • 4aed9485f4 reindentation Joshua Kwan 2004-01-04 22:49:29 +00:00
  • 1adf4dbb69 Stupid pointless TODO: in comment Brett Carrington 2004-01-04 20:16:59 +00:00
  • 118c4a51a6 Make dgl-create-chroot.conf file clearer in the comments. Add example dgl-create-chroot.conf file. Jilles Tjoelker 2004-01-04 16:42:08 +00:00
  • 5a623c9d44 Fix problem with people entering initial blank password. Joshua Kwan 2004-01-04 12:16:05 +00:00
  • 58d70cd5e3 replace two big conditionals with isalnum(3) calls Joshua Kwan 2004-01-04 12:07:38 +00:00
  • e55e715ee2 update Changelog Joshua Kwan 2004-01-04 12:07:26 +00:00
  • ab14b92451 Ok, readd strlcat.c, use strlcat instead of strncat Joshua Kwan 2004-01-04 07:35:14 +00:00
  • d8777057d6 knock one off Joshua Kwan 2004-01-04 06:00:16 +00:00
  • 7ad4523dae Provide some feedback to the user that he has a stale game. Jilles Tjoelker 2004-01-04 02:56:09 +00:00
  • c76193877d fix some typos, add the crew to the copyright blurb Joshua Kwan 2004-01-04 02:54:01 +00:00
  • b0ba0861ea ok, now it works Joshua Kwan 2004-01-04 02:35:40 +00:00
  • acfec7933e 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(). Jilles Tjoelker 2004-01-04 02:31:00 +00:00
  • f20200f40c check for . and .. Joshua Kwan 2004-01-04 02:28:57 +00:00
  • e9a719ea90 oops, big bug Joshua Kwan 2004-01-04 02:20:54 +00:00
  • 71f367b1b4 Reindent, and add some error handling for kill Joshua Kwan 2004-01-04 02:19:12 +00:00
  • 0daf7cdb3b Move gen_inprogress_lock() call to ttyrec.c, with the pid of nethack, and purge_stale_locks() to remove all stale lockfiles. Joshua Kwan 2004-01-04 02:03:26 +00:00
  • 1105eddc64 Added cscope.out and error.log Brett Carrington 2004-01-04 01:54:45 +00:00
  • 45afd54ca0 graceful_exit, does nothing but please deprecate exit(). Brett Carrington 2004-01-04 01:45:21 +00:00
  • 873b412c8f update Changelog, screw libiberty Joshua Kwan 2004-01-04 01:14:36 +00:00
  • ab8fc6018c use strlcpy Joshua Kwan 2004-01-04 01:05:22 +00:00
  • 4a5f12d4fe always pass F_SETLK to fcntl even when unlocking Joshua Kwan 2004-01-04 01:00:18 +00:00