summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-18 13:49:40 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-18 13:49:40 +0800
commitc77c6cf22be895bb34192df420a9a141fe4a9d2c (patch)
treeffbb5a3bc61d8d8a181853ffceacb2eb7f8c59a0 /include
parent18f83795218bf3ea80255e9e84781ffa306921c5 (diff)
downloadpttbbs-c77c6cf22be895bb34192df420a9a141fe4a9d2c.tar
pttbbs-c77c6cf22be895bb34192df420a9a141fe4a9d2c.tar.gz
pttbbs-c77c6cf22be895bb34192df420a9a141fe4a9d2c.tar.bz2
pttbbs-c77c6cf22be895bb34192df420a9a141fe4a9d2c.tar.lz
pttbbs-c77c6cf22be895bb34192df420a9a141fe4a9d2c.tar.xz
pttbbs-c77c6cf22be895bb34192df420a9a141fe4a9d2c.tar.zst
pttbbs-c77c6cf22be895bb34192df420a9a141fe4a9d2c.zip
- xchat: fix "waterball exists forever" issue, and prevent printing mail alerts all the time.
- visio: improve history navigation ordering git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4187 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/config.h4
-rw-r--r--include/visio.h7
2 files changed, 6 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h
index 76b393a3..26e1acfd 100644
--- a/include/config.h
+++ b/include/config.h
@@ -294,8 +294,8 @@
#define PASSWDSEM_KEY 2010 /* semaphore key */
-#define NEW_CHATPORT 3838
-#define CHATPORT 5722
+// #define NEW_CHATPORT 3838
+#define XCHATD_ADDR ":3838"
#define MAX_ROOM 16 /* 最多有幾間包廂? */
diff --git a/include/visio.h b/include/visio.h
index bfc9c945..37aa9cce 100644
--- a/include/visio.h
+++ b/include/visio.h
@@ -90,9 +90,10 @@ void prints(const char *fmt, ...) GCC_CHECK_FORMAT(1,2);
void mvouts(int y, int x, const char *str);
// input history
-int InputHistoryAdd (const char *s);
-void InputHistoryPrev(char *s, int sz);
-void InputHistoryNext(char *s, int sz);
+int InputHistoryAdd (const char *s);
+int InputHistoryExists (const char *s);
+void InputHistoryPrev (char *s, int sz);
+void InputHistoryNext (char *s, int sz);
// v*: primitive rendering
void vpad (int n, const char *pattern); /// pad n fields by pattern