Skyebee [Mon, 8 Jun 2026 05:29:19 +0000 (01:29 -0400)]
drop 'dgamelaunch' from $VERSION replacement
chmod +x findlibs cpbin sanepath
Fix changelog whitespace
Document noisytoot changes
Skyebee [Mon, 8 Jun 2026 03:20:16 +0000 (23:20 -0400)]
Menus can be longer than 24 lines, if the window is that long.
Document change to version string
Document crawl merge
Fiddle with changelog
sbkelley [Sat, 6 Jun 2026 06:21:55 +0000 (02:21 -0400)]
Changes to loadbanner:
* You can put $INCLUDE anywhere in a line
sbkelley [Mon, 15 Jun 2026 21:37:45 +0000 (17:37 -0400)]
Merge branch 'paxed-merge' into dev-clean-history
Marc H. Thoben [Sat, 20 Feb 2010 16:47:29 +0000 (17:47 +0100)]
Add Stone Soup specific character stripping.
* Adjusted glyphs tables
* Removed DEC and added UNICODE
(cherry picked from commit
3927855ca3d803b89b40debd2fd89266482b34e5)
DEC_GRAPHICS -> UNICODE_GRAPHICS as crawl devs intended
sbkelley [Mon, 1 Jun 2026 19:42:43 +0000 (15:42 -0400)]
Add scripts and files peculiar to this repo
* install-dgl-nh500
* dgl.patch
* dgl.-nh500.patch
* cpbin
* findlibs
* sanepath
* README.md
* README -> README.bak
* dgl_menu_main_user.txt.orig
* dgamelaunch.conf.orig
Modifications to:
* dgamelaunch.conf
* dgl_menu_main_user.txt.orig
sbkelley [Mon, 15 Jun 2026 21:19:17 +0000 (17:19 -0400)]
Ron Nazarov [Wed, 4 Dec 2024 01:21:17 +0000 (01:21 +0000)]
Add exit code 14 (Cannot unshare()) to README
Ron Nazarov [Wed, 4 Dec 2024 01:14:30 +0000 (01:14 +0000)]
Make debug_write a variadic macro (without --enable-debugfile)
Fixes builds without --enable-debugfile failing due to too many
arguments getting passed to debug_write.
Ron Nazarov [Wed, 4 Dec 2024 01:09:51 +0000 (01:09 +0000)]
Check for libsqlite3 and error if it isn't found
Instead of just adding it anyway, which resulted in confusing and
incorrect error messages when it wasn't found but --enable-sqlite was
specified.
Ron Nazarov [Wed, 27 Nov 2024 00:41:20 +0000 (00:41 +0000)]
Add support for Linux namespaces
If compiled with --enable-namespaces, dgamelaunch will now create new
user and network namespaces before chrooting. This means that it
works without root (if unprivileged user namespaces are enabled) and
cannot access the network.
Without namespaces:
-chroot
-setgroups/setgid/setuid to shed_gid/shed_uid
With namespaces:
-unshare to create a new user and network namespace
-write to /proc/self/{uid,gid}_map to set uid/gid to shed_uid/shed_gid
-chroot
-drop all capabilities
Ron Nazarov [Mon, 25 Nov 2024 19:41:18 +0000 (19:41 +0000)]
Write error messages to dgldebug.log
Ron Nazarov [Mon, 25 Nov 2024 16:45:45 +0000 (16:45 +0000)]
Update configure.ac for autoconf 2.71
Ron Nazarov [Mon, 25 Nov 2024 16:31:04 +0000 (16:31 +0000)]
Check for libcrypt instead of unconditionally adding -lcrypt
This was causing the configure script to fail on checking for ncurses
when it was actually failing due to libcrypt being missing. A check
for -lutil should be added to, but I didn't do this since -lutil is
not required since glibc 2.34 and I'm using a newer version and don't
know what function it should check for.
Ron Nazarov [Mon, 25 Nov 2024 16:12:15 +0000 (16:12 +0000)]
Fix build errors
Add %option yywrap to config.l to fix linker errors complaining about
a missing yywrap.
Add #define _XOPEN_SOURCE 700 to ee.c to fix
-Wimplicit-function-declaration warnings (which GCC 14 makes errors by
default) about curses widechar functions.
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
Pasi Kallinen [Sat, 11 May 2019 10:03:49 +0000 (13:03 +0300)]
Fix warnings
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
Pasi Kallinen [Sat, 23 Jan 2016 16:58:59 +0000 (18:58 +0200)]
Merge pull request #9 from fstd/master
Some build system and portability fixes
fstd [Sat, 23 Jan 2016 04:21:32 +0000 (05:21 +0100)]
compile on FreeBSD
fstd [Sat, 23 Jan 2016 04:20:53 +0000 (05:20 +0100)]
separate $LEXLIBS because ee and virus do not need lex and will not build without a yylex() stub
fstd [Sat, 23 Jan 2016 03:10:36 +0000 (04:10 +0100)]
compile on NetBSD
fstd [Sat, 23 Jan 2016 03:09:45 +0000 (04:09 +0100)]
configure.ac: correctly check for pthreads
fstd [Sat, 23 Jan 2016 03:08:54 +0000 (04:08 +0100)]
autogen.sh: use autoreconf
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