summaryrefslogtreecommitdiffstats
path: root/hunt/huntd
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-07-04 07:10:22 +0000
committerdholland <dholland@NetBSD.org>2009-07-04 07:10:22 +0000
commit2e8daf459306ea1d8374438d469f60aa0149aa32 (patch)
treef8ac868239c10468429ad0ae7a90a340de2c89d3 /hunt/huntd
parent90a7b8b0ddece21340e896e8cec8e3f8ef4383d3 (diff)
downloadbsdgames-darwin-2e8daf459306ea1d8374438d469f60aa0149aa32.tar.gz
bsdgames-darwin-2e8daf459306ea1d8374438d469f60aa0149aa32.tar.zst
bsdgames-darwin-2e8daf459306ea1d8374438d469f60aa0149aa32.zip
Remove the non-curses screen handling, since it relies on knowing
about various internals of SVR4 curses, old BSD curses, and/or other unclean things. (Yes, the non-curses handling still used bits of curses. Fie.)
Diffstat (limited to 'hunt/huntd')
-rw-r--r--hunt/huntd/hunt.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/hunt/huntd/hunt.h b/hunt/huntd/hunt.h
index 1b98b276..49b8c0e5 100644
--- a/hunt/huntd/hunt.h
+++ b/hunt/huntd/hunt.h
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt.h,v 1.16 2009/07/04 06:38:35 dholland Exp $ */
+/* $NetBSD: hunt.h,v 1.17 2009/07/04 07:10:23 dholland Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -40,7 +40,7 @@
#include <syslog.h>
#endif
-#if !defined(TERMINFO) && BSD_RELEASE < 44
+#if BSD_RELEASE < 44
#include <sgtty.h>
#else
#include <sys/ioctl.h>
@@ -80,11 +80,6 @@
#if !defined(REFLECT) && !defined(RANDOM)
#define RANDOM
#endif
-#ifdef TERMINFO
-/* mvcur() in terminfo needs the curses library to be initialized to not
- * coredump, so give up and use it. */
-#define USE_CURSES
-#endif
/* decrement version number for each change in startup protocol */
#define HUNT_VERSION -1