sbkelley [Sat, 23 May 2026 23:57:54 +0000 (19:57 -0400)]
Merge branch 'dev'
(cherry picked from commit
dc9c243e4ce81a1c78f54a33b3831f7662c1ce0c)
sbkelley [Mon, 1 Jun 2026 19:46:33 +0000 (15:46 -0400)]
add cpbin script (from
11917896)
sbkelley [Mon, 1 Jun 2026 19:46:23 +0000 (15:46 -0400)]
Add DCSS instructions to README (from
11917896)
sbkelley [Sat, 23 May 2026 15:22:01 +0000 (11:22 -0400)]
minor changes to install script
(cherry picked from commit
2676d6aebfca6edfc15dbc6b2160a9108874b9a9)
sbkelley [Sat, 23 May 2026 15:12:49 +0000 (11:12 -0400)]
Update README
(cherry picked from commit
49c4f0c26d2eb054c0c9b3a5897901e2a317161d)
sbkelley [Sat, 23 May 2026 08:31:00 +0000 (04:31 -0400)]
Update README
(cherry picked from commit
54ffe49ce54bec0227251760f84ce31e948d920c)
sbkelley [Mon, 1 Jun 2026 19:42:43 +0000 (15:42 -0400)]
Add install-dgl-nh500 and patches
Michael Meyer [Tue, 12 Nov 2024 22:12:17 +0000 (17:12 -0500)]
Add config "ifnxsleep" command
For sleeping/delaying a certain amount of time if the specified file
does not exist. Intended for use in delaying games iff no save file
exists, to ease up on the server load from start scumming (especially
automated start scumming).
Sleep 5 seconds if /path/to/file.txt does not exist:
| ifnxsleep 5 "/path/to/file.txt"
k21971 [Tue, 12 Nov 2024 22:08:18 +0000 (17:08 -0500)]
Add config file 'sleep' command.
Allows adding a delay in seconds where needed.
Co-authored-by: entrez <me@entrez.cc>
Tangles [Sat, 22 Feb 2020 01:48:31 +0000 (12:48 +1100)]
ACTUALLY try to use the dglroot dir as home if we are doing the chroot
...and fallback to / if it FAILS (not if it succeeds) *facepalm*
Tangles [Sat, 22 Feb 2020 01:03:00 +0000 (12:03 +1100)]
Try to use the dglroot dir as home if we are doing the chroot
Tangles [Fri, 21 Feb 2020 13:08:28 +0000 (00:08 +1100)]
set version to 'unofficial' 1.6.0-hdf
Tangles [Fri, 21 Feb 2020 13:07:56 +0000 (00:07 +1100)]
tidy up some comments in install-to-chroot.sh
Tangles [Fri, 21 Feb 2020 13:05:55 +0000 (00:05 +1100)]
Added quick-start install guide in INSTALL
Tangles [Fri, 21 Feb 2020 12:57:17 +0000 (23:57 +1100)]
.gitignore autom4te.cache.
Tangles [Thu, 20 Feb 2020 22:51:19 +0000 (09:51 +1100)]
changelog and version bump
Tangles [Sun, 16 Feb 2020 05:19:28 +0000 (16:19 +1100)]
bugfixes - userpref nesting, and breaking up strings with \0 that get used again.
Tangles [Sun, 16 Feb 2020 01:47:22 +0000 (12:47 +1100)]
multi-arg exec and nested ${pref1:${pref2}}
exec "command" "several args separated by spaces in 1 string".
I could not figure out how to nicely deal with multiple args in the parser,
so I just left it as DGL_CMD1, and do the separation manually.
Does the separation before dgl_format_str substitutions, to prevent
relying on potentially user-supplied input not having extra spaces embedded.
nested preferences - this just fixes a bug where we assumed the token
ended on the first }.
Tangles [Thu, 13 Feb 2020 12:53:21 +0000 (23:53 +1100)]
userpref - add opton to just get the first character when expanding prefs.
$0{variable:default}
Tangles [Thu, 13 Feb 2020 12:27:01 +0000 (23:27 +1100)]
userprefs - getpref() now calls dgl_format_str() on the 'fallback' value
which is recursive. getpref() and dgl_format_str both now return a
dynamic string which must be freed.
Tangles [Mon, 10 Feb 2020 14:02:26 +0000 (01:02 +1100)]
fix compile error from previous.
Tangles [Mon, 10 Feb 2020 13:58:44 +0000 (00:58 +1100)]
Make dgl_format_str reentrant by changing the static return buffer to auto
and returning a dynamically allocated copy.
Tangles [Mon, 10 Feb 2020 13:21:47 +0000 (00:21 +1100)]
userprefs - askpref (prompt user for a string value - be careful with this)
Tangles [Sat, 25 Jan 2020 11:01:10 +0000 (22:01 +1100)]
Changelog
Tangles [Wed, 22 Jan 2020 14:39:00 +0000 (01:39 +1100)]
userprefs - fix linked list dangling pointer in readprefs
Tangles [Wed, 22 Jan 2020 14:22:32 +0000 (01:22 +1100)]
add redraw command to redraw the banner when info might change
Tangles [Wed, 22 Jan 2020 13:48:04 +0000 (00:48 +1100)]
userprefs - small bugfix in banner parsing
Tangles [Wed, 22 Jan 2020 13:35:53 +0000 (00:35 +1100)]
userprefs - actually allow setpref() to be called from the config
Tangles [Wed, 22 Jan 2020 13:15:43 +0000 (00:15 +1100)]
userprefs - allow variable expansion in banner files
Tangles [Wed, 22 Jan 2020 12:06:51 +0000 (23:06 +1100)]
userprefs - getpref, setptref, variable expansion in TYPE_VALUE fields in config
Tangles [Tue, 21 Jan 2020 04:25:50 +0000 (15:25 +1100)]
userprefs - read and write prefs
k21971 [Sun, 11 Nov 2018 00:13:31 +0000 (11:13 +1100)]
Proper password salting/hash checking
Also edits to the 'change password' screen to reflect update
Thanks Kerio (see git commits
499ba7c and
b2f2e0a)
Tangles [Wed, 3 Jan 2018 04:00:56 +0000 (15:00 +1100)]
Merge branch 'watchmode'
Tangles [Wed, 3 Jan 2018 03:58:49 +0000 (14:58 +1100)]
Alignment of 'N/A' terminal size for enhanced watchmode games.
Tangles [Wed, 3 Jan 2018 02:52:26 +0000 (13:52 +1100)]
add install-to-chroot for hardfought.org
Tangles [Wed, 3 Jan 2018 01:28:44 +0000 (12:28 +1100)]
Enhanced watchmode
Allow an external program to be specified to watch particular games
to make use of NH4's wachmode. Add game config options watch_path,
watch_args and watchcommands to support this. Also add %w/%W for
format tokens the watched player, and %l/%L for the logged-in user
because %n/%N fall back to the watched player if nobody is logged
in, which is not always what we want. Watch menu now displays N/A
for the terminal size of games which use this, because NH4 watch
mode does not care about player's terminal dimensions. Other external
watching tools may need this in the future, but for now there is
nothing that requires this.
altorg [Sat, 19 Aug 2017 18:18:51 +0000 (11:18 -0700)]
added flex requirement
altorg [Sat, 19 Aug 2017 18:16:18 +0000 (11:16 -0700)]
added libncursesw5
altorg [Sat, 19 Aug 2017 18:13:56 +0000 (11:13 -0700)]
removed yacc install
altorg [Sat, 19 Aug 2017 18:12:44 +0000 (11:12 -0700)]
Update buildspec.yml
altorg [Sat, 19 Aug 2017 18:10:44 +0000 (11:10 -0700)]
Update buildspec.yml
altorg [Sat, 19 Aug 2017 18:08:51 +0000 (11:08 -0700)]
Update buildspec.yml
altorg [Sat, 19 Aug 2017 18:06:10 +0000 (11:06 -0700)]
Update buildspec.yml
altorg [Sat, 19 Aug 2017 18:04:06 +0000 (11:04 -0700)]
Update buildspec.yml
altorg [Sat, 19 Aug 2017 18:02:20 +0000 (11:02 -0700)]
Update buildspec.yml
altorg [Sat, 19 Aug 2017 18:01:28 +0000 (11:01 -0700)]
Create buildspec.yml
altorg [Mon, 6 Feb 2017 01:52:10 +0000 (17:52 -0800)]
Merge pull request #1 from Elronnd/master
(hopefully) put -lpthread in LIBS instead of CFLAGS
Elronnd [Mon, 6 Feb 2017 01:48:11 +0000 (18:48 -0700)]
(hopefully) put -lpthread in LIBS instead of CFLAGS
root [Sat, 2 Jan 2016 20:02:36 +0000 (20:02 +0000)]
Merge branch 'master' of git://github.com/paxed/dgamelaunch
Pasi Kallinen [Sat, 2 Jan 2016 20:02:15 +0000 (22:02 +0200)]
Fix some warnings
root [Sat, 2 Jan 2016 19:54:25 +0000 (19:54 +0000)]
Merge branch 'master' of git://github.com/paxed/dgamelaunch
Pasi Kallinen [Sat, 2 Jan 2016 17:53:30 +0000 (19:53 +0200)]
Fix SQLite query where underscore was an unintended wildcard
Pasi Kallinen [Wed, 9 Dec 2015 18:46:18 +0000 (20:46 +0200)]
Merge pull request #8 from henrikolsson/master
Prevent crash in passwordgood when supplied password is one character long
Pasi Kallinen [Wed, 9 Dec 2015 18:45:36 +0000 (20:45 +0200)]
Merge pull request #2 from swills/patch-1
Update Makefile.in
root [Mon, 7 Dec 2015 17:42:47 +0000 (17:42 +0000)]
Merge branch 'master' of git://github.com/paxed/dgamelaunch
Pasi Kallinen [Mon, 7 Dec 2015 16:40:04 +0000 (18:40 +0200)]
Stop processing arguments at -c
Original patch by Neil Moore <neil@s-z.org>
Pasi Kallinen [Mon, 7 Dec 2015 16:31:51 +0000 (18:31 +0200)]
Fix a buffer overflow in ee
Original patch by Neil Moore <neil@s-z.org>
Dobrazupa.org staff [Mon, 20 May 2013 18:44:41 +0000 (14:44 -0400)]
ee: don't crash when editing zero-byte files.
Pasi Kallinen [Mon, 7 Dec 2015 16:11:58 +0000 (18:11 +0200)]
Add play_if_exist command
Pasi Kallinen [Mon, 7 Dec 2015 16:10:11 +0000 (18:10 +0200)]
Ignore window size changes in resize check
root [Thu, 28 May 2015 10:59:05 +0000 (10:59 +0000)]
Ignore window size changes in resize check
Pasi Kallinen [Fri, 29 Aug 2014 13:28:10 +0000 (16:28 +0300)]
Add -pthread to CFLAGS
Pasi Kallinen [Thu, 28 Aug 2014 19:08:48 +0000 (22:08 +0300)]
Fix printf format arg type
Henrik Olsson [Sun, 6 Jul 2014 11:36:07 +0000 (13:36 +0200)]
Prevent crash in passwordgood when supplied password is one character long
Pasi Kallinen [Thu, 22 May 2014 19:12:14 +0000 (22:12 +0300)]
Actually make ee give feedback when exiting due to strange characters
Pasi Kallinen [Fri, 16 May 2014 16:19:12 +0000 (19:19 +0300)]
Exit ee gracefully, if character conversion fails.
kenkeiras [Wed, 12 Feb 2014 00:09:55 +0000 (19:09 -0500)]
Added intermediate object files, virus, and ee executables to gitignore.
Steve Wills [Fri, 4 Oct 2013 04:09:16 +0000 (04:09 +0000)]
Update Makefile.in
Add missing $(DESTDIR) to man page install
Pasi Kallinen [Sat, 25 May 2013 09:36:02 +0000 (12:36 +0300)]
Allow repeat prefix for move paragraph forward/backward command
Pasi Kallinen [Sat, 25 May 2013 09:32:41 +0000 (12:32 +0300)]
Fix string search commands, so they don't crash when command repeat prefix is too big.
Pasi Kallinen [Sat, 25 May 2013 09:01:25 +0000 (12:01 +0300)]
Minor code improvement
Pasi Kallinen [Sat, 25 May 2013 08:36:23 +0000 (11:36 +0300)]
Fix most of the commands that would crash if you gave a too big command repeat prefix number.
Pasi Kallinen [Mon, 4 Mar 2013 15:26:06 +0000 (17:26 +0200)]
Add a -c option (login shell command) with an error message. (from Edoardo Spadolini)
Pasi Kallinen [Mon, 4 Mar 2013 15:08:49 +0000 (17:08 +0200)]
Change the shared memory key to the password file. (from Edoardo Spadolini)
Pasi Kallinen [Mon, 4 Mar 2013 15:03:53 +0000 (17:03 +0200)]
Prevent input of non-ascii characters (from Edoardo Spadolini)
Pasi Kallinen [Tue, 18 Dec 2012 16:34:06 +0000 (18:34 +0200)]
Add config option "flowcontrol" to disable XON/XOFF.
Pasi Kallinen [Sat, 15 Dec 2012 17:42:54 +0000 (19:42 +0200)]
Virus: Fix dot command segfault
Pasi Kallinen [Fri, 14 Dec 2012 23:17:20 +0000 (01:17 +0200)]
Add default_term configuration option.
If the user's TERM is something unknown, dgl will use the default_term instead.
Pasi Kallinen [Sun, 9 Sep 2012 16:51:01 +0000 (19:51 +0300)]
Add some missing signal blocking, perhaps this will fix the jammed shared memory block in watching menu.
Pasi Kallinen [Sun, 10 Jun 2012 13:56:19 +0000 (16:56 +0300)]
Remove brace hilite, text auto indent, etc. from virus
Pasi Kallinen [Mon, 4 Jun 2012 15:11:56 +0000 (18:11 +0300)]
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.
root [Sun, 3 Jun 2012 06:45:58 +0000 (09:45 +0300)]
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.
Pasi Kallinen [Mon, 21 May 2012 20:05:43 +0000 (23:05 +0300)]
Add the err.h include
Pasi Kallinen [Mon, 21 May 2012 20:04:43 +0000 (23:04 +0300)]
Sync virus with http://www.rocklinux.net/people/ripclaw/projects/software/virus/virus-0.0.6/
Pasi Kallinen [Mon, 21 May 2012 14:32:50 +0000 (17:32 +0300)]
Fix virus crash
Pasi Kallinen [Sat, 17 Mar 2012 12:45:53 +0000 (14:45 +0200)]
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.
Pasi Kallinen [Sat, 17 Mar 2012 10:17:02 +0000 (12:17 +0200)]
Ensure valid values in watching
git-svn-migrate [Sun, 11 Dec 2011 15:46:34 +0000 (17:46 +0200)]
Convert svn:ignore properties to .gitignore.
Pasi Kallinen [Thu, 13 Oct 2011 16:13:53 +0000 (16:13 +0000)]
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
Pasi Kallinen [Wed, 12 Oct 2011 15:35:44 +0000 (15:35 +0000)]
Update TODO
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@627
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Wed, 12 Oct 2011 14:50:37 +0000 (14:50 +0000)]
Fix ee's check for ERR input (bhaak).
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@626
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Wed, 12 Oct 2011 14:49:01 +0000 (14:49 +0000)]
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
Pasi Kallinen [Wed, 12 Oct 2011 14:34:40 +0000 (14:34 +0000)]
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
Pasi Kallinen [Tue, 11 Oct 2011 18:05:11 +0000 (18:05 +0000)]
Make bannerstrmangle able to handle arbitrarily long strings.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@623
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Tue, 11 Oct 2011 16:48:21 +0000 (16:48 +0000)]
README and Changelog update.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@622
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Tue, 11 Oct 2011 15:50:59 +0000 (15:50 +0000)]
Always draw the whole banner.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@621
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 10 Oct 2011 19:28:28 +0000 (19:28 +0000)]
Document commandline parameters and environment variables
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@620
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e
Pasi Kallinen [Mon, 10 Oct 2011 19:06:20 +0000 (19:06 +0000)]
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
Pasi Kallinen [Mon, 10 Oct 2011 17:50:41 +0000 (17:50 +0000)]
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
Pasi Kallinen [Sun, 9 Oct 2011 19:09:43 +0000 (19:09 +0000)]
Add configurable default filemode.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@617
db0b04b0-f4d1-0310-9a6d-
de3e77497b0e