Commit Graph

641 Commits

Author SHA1 Message Date
Pasi Kallinen 46aa412b7b Add -pthread to CFLAGS 2014-08-29 16:28:10 +03:00
Pasi Kallinen 3f6ae400e9 Fix printf format arg type 2014-08-28 22:08:48 +03:00
Pasi Kallinen d704c69b90 Actually make ee give feedback when exiting due to strange characters 2014-05-22 22:12:14 +03:00
Pasi Kallinen 5e54bb3b75 Exit ee gracefully, if character conversion fails. 2014-05-16 19:19:12 +03:00
kenkeiras f8c6ad47be Added intermediate object files, virus, and ee executables to gitignore. 2014-02-11 19:12:12 -05:00
Pasi Kallinen 389c137df9 Allow repeat prefix for move paragraph forward/backward command 2013-05-25 12:36:02 +03:00
Pasi Kallinen 3c17a9b1bf Fix string search commands, so they don't crash when command repeat prefix is too big. 2013-05-25 12:32:41 +03:00
Pasi Kallinen f9ca114072 Minor code improvement 2013-05-25 12:01:25 +03:00
Pasi Kallinen ffc8d8bc1c Fix most of the commands that would crash if you gave a too big command repeat prefix number. 2013-05-25 11:36:23 +03:00
Pasi Kallinen d54512a31f Add a -c option (login shell command) with an error message. (from Edoardo Spadolini) 2013-03-04 17:26:06 +02:00
Pasi Kallinen 4d16194de8 Change the shared memory key to the password file. (from Edoardo Spadolini) 2013-03-04 17:08:49 +02:00
Pasi Kallinen 1a08194dfe Prevent input of non-ascii characters (from Edoardo Spadolini) 2013-03-04 17:03:53 +02:00
Pasi Kallinen 768cddff32 Add config option "flowcontrol" to disable XON/XOFF. 2012-12-18 18:34:06 +02:00
Pasi Kallinen d30dbda897 Virus: Fix dot command segfault 2012-12-15 19:42:54 +02:00
Pasi Kallinen 9bd76d6c15 Add default_term configuration option.
If the user's TERM is something unknown, dgl will use the default_term instead.
2012-12-15 01:17:20 +02:00
Pasi Kallinen 7a565e5e14 Add some missing signal blocking, perhaps this will fix the jammed shared memory block in watching menu. 2012-09-09 19:51:01 +03:00
Pasi Kallinen 934c992319 Remove brace hilite, text auto indent, etc. from virus 2012-06-10 16:56:19 +03:00
Pasi Kallinen 2407611518 Allow printing raw string.
Add escape codes to string substitutions.
Some mode docs in the example config file.
Make chroot creation script fail with message when no sqlite3.
2012-06-04 18:11:56 +03:00
root f29618c783 Change maximum banner line length to 256.
Add color and attribute changing commands to banners: $ATTR()
Fix chroot creation script failing if no nethack binary exists.
2012-06-03 09:45:58 +03:00
Pasi Kallinen 820cecae54 Add the err.h include 2012-05-21 23:05:43 +03:00
Pasi Kallinen 03ec968252 Sync virus with http://www.rocklinux.net/people/ripclaw/projects/software/virus/virus-0.0.6/ 2012-05-21 23:04:43 +03:00
Pasi Kallinen 25ee1a3386 Fix virus crash 2012-05-21 17:32:50 +03:00
Pasi Kallinen 41d7edf4a4 Merge commits from http://git.develz.org/?p=dgamelaunch.git
- Allow DGLAUTH as additional variable to pass login data,
   prioritized ahead of USER and LOGNAME. (Marc H. Thoben)
 - Empty autologin variables before running any external
   software. (Edoardo Spadolini)
 - Remove -f parameter to prevent privilege escalation.
   (Edoardo Spadolini)

Update documentation to reflect the changes.
2012-03-17 14:45:53 +02:00
Pasi Kallinen 7c0741110e Ensure valid values in watching 2012-03-17 12:17:02 +02:00
git-svn-migrate 3ef04ef269 Convert svn:ignore properties to .gitignore. 2011-12-11 17:46:34 +02:00
Pasi Kallinen bb5507b983 Allow defining the login db in config file also when using sqlite.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@628 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-13 16:13:53 +00:00
Pasi Kallinen a6ab367469 Update TODO
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@627 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-12 15:35:44 +00:00
Pasi Kallinen 3f402d4bbd Fix ee's check for ERR input (bhaak).
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@626 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-12 14:50:37 +00:00
Pasi Kallinen 97967299ea A very primitive Unicode conversion of ee.
This introduces a 1MB file limit due to a lame static buffer in one place.
(Adam Borowski <kilobyte@angband.pl>)


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@625 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-12 14:49:01 +00:00
Pasi Kallinen b5d3e6257b Allow getting the server time and date via banner variables:
bannervars = [ "$DATETIME" = timeformat("%F %T") ]


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@624 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-12 14:34:40 +00:00
Pasi Kallinen 5a0c90fa0f Make bannerstrmangle able to handle arbitrarily long strings.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@623 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-11 18:05:11 +00:00
Pasi Kallinen 6e6d773dd1 README and Changelog update.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@622 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-11 16:48:21 +00:00
Pasi Kallinen 85d39473fb Always draw the whole banner.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@621 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-11 15:50:59 +00:00
Pasi Kallinen 228be4b554 Document commandline parameters and environment variables
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@620 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-10 19:28:28 +00:00
Pasi Kallinen 4098176edc Document error codes. Make all error conditions return unique error codes.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@619 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-10 19:06:20 +00:00
Pasi Kallinen d770f8ed96 Add "duration" watch-mode column, which shows time since the game was started.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@618 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-10 17:50:41 +00:00
Pasi Kallinen b42d170041 Add configurable default filemode.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@617 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-09 19:09:43 +00:00
Pasi Kallinen acfbf2781d ...except ncurses prevents using escape sequences. Grh.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@616 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-09 18:01:59 +00:00
Pasi Kallinen 6bce15fd41 Add $ESC(code), which allows changing text color and attributes in banners.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@615 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-09 17:47:24 +00:00
Pasi Kallinen 1b0489d50f Document $INCLUDE()
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@614 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-09 16:36:58 +00:00
Pasi Kallinen 0ba0998ece Replace server_id with generic configurable string replacements usable in banners.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@613 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-09 15:31:34 +00:00
Pasi Kallinen 78e94fa5de Add %t string formatting, for the TTYREC of the last played game. (Edoardo Spadolini <kerio00@gmail.com>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@612 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-07 14:41:21 +00:00
Pasi Kallinen 3c51941256 Make sending select-utf8-charset escape code configurable.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@611 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-05 13:57:32 +00:00
Pasi Kallinen 1d7ceb5ddf Make locale configurable.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@610 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-04 14:03:15 +00:00
Pasi Kallinen acf2705aea Fix defconfig.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@609 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-03 16:02:30 +00:00
Pasi Kallinen 8c4329175c Fix default watch column indexes (Napkin).
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@608 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-03 15:57:22 +00:00
Pasi Kallinen 76be23aa5c Add option -i <name> to initialize a player externally. (Marc H. Thoben <root@develz.org>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@607 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-03 15:53:34 +00:00
Pasi Kallinen 8e076008d1 Tweak output of -s slightly. (Marc H. Thoben <root@develz.org>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@606 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-03 15:49:14 +00:00
Pasi Kallinen 3b189f61d9 Add option -s to show active players. (Marc H. Thoben <root@develz.org>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@605 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-03 15:45:46 +00:00
Pasi Kallinen b2ffeb7c3e try to not stomp all over ncurses' WINCH handler (Jesse Luehrs <doy@tozt.net>)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@604 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
2011-10-03 15:42:30 +00:00