aboutsummaryrefslogtreecommitdiffstats
path: root/options.h
diff options
context:
space:
mode:
authorwrog <wrog>2006-12-06 23:57:51 +0000
committerwrog <wrog>2006-12-06 23:57:51 +0000
commite6816f605d09158be5d5c904c71580688f0591ae (patch)
tree9eeac8cdb10f87ae3dfabd108b61ff9cc66ba8b2 /options.h
parent0d13527d1f076fb37e7fbaa556c8d07a03fa0036 (diff)
downloadmoo-e6816f605d09158be5d5c904c71580688f0591ae.tar.gz
moo-e6816f605d09158be5d5c904c71580688f0591ae.tar.xz
moo-e6816f605d09158be5d5c904c71580688f0591ae.zip
New INPUT_APPLY_BACKSPACE option to process backspace/delete characters on nonbinary connections (patch 1571939)constants.updater.1
Diffstat (limited to 'options.h')
-rw-r--r--options.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/options.h b/options.h
index 310e65b..02a23fc 100644
--- a/options.h
+++ b/options.h
@@ -207,6 +207,15 @@
#define DEFAULT_CONNECT_TIMEOUT 300
/******************************************************************************
+ * On connections that have not been set to binary mode, the server normally
+ * discards incoming characters that are not printable ASCII, including
+ * backspace (8) and delete(127). If INPUT_APPLY_BACKSPACE is defined,
+ * backspace and delete cause the preceding character (if any) to be removed
+ * from the input stream. (Comment this out to restore pre-1.8.3 behavior)
+ */
+#define INPUT_APPLY_BACKSPACE
+
+/******************************************************************************
* The server maintains a cache of the most recently used patterns from calls
* to the match() and rmatch() built-in functions. PATTERN_CACHE_SIZE controls
* how many past patterns are remembered by the server. Do not set it to a
@@ -391,6 +400,9 @@
/*
* $Log$
+ * Revision 1.11 2006/12/06 23:57:51 wrog
+ * New INPUT_APPLY_BACKSPACE option to process backspace/delete characters on nonbinary connections (patch 1571939)
+ *
* Revision 1.10 2006/09/07 00:55:02 bjj
* Add new MEMO_STRLEN option which uses the refcounting mechanism to
* store strlen with strings. This is basically free, since most string