From c77c6cf22be895bb34192df420a9a141fe4a9d2c Mon Sep 17 00:00:00 2001 From: piaip Date: Fri, 18 Apr 2008 05:49:40 +0000 Subject: - 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 --- include/config.h | 4 ++-- include/visio.h | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'include') 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 -- cgit v1.2.3