From 4606b7b13d0da6f7dd2f03f23a71c2f5367dc58b Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 8 Sep 2005 05:35:25 +0000 Subject: fix previous patch. and enable pmore as default pager. it's stable enough. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3141 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 2 +- sample/pttbbs.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/proto.h b/include/proto.h index 195f0232..38bd407c 100644 --- a/include/proto.h +++ b/include/proto.h @@ -607,7 +607,7 @@ void sethomeman(char *buf, const char *userid); off_t dashs(const char *fname); void cursor_clear(int row, int column); void cursor_show(int row, int column); -void printdash(const char *mesg); +void printdash(const char *mesg, int msglen); char *Cdatelite(const time4_t *clock); int valid_ident(const char *ident); int userid_is_BM(const char *userid, const char *list); diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf index e8f806f8..d1a16a96 100644 --- a/sample/pttbbs.conf +++ b/sample/pttbbs.conf @@ -139,8 +139,8 @@ * 請換成你真正上線的時間 (time_t) */ //#define DBCSAWARE_UPGRADE_STARTTIME (0) -/* 使用新式的 pmore (piaip's more) 代替舊式 bug 抓不完的 more */ -#define USE_PIAIP_MORE +/* "不"使用新式的 pmore (piaip's more) 代替舊式 bug 抓不完的 more */ +//#define USE_TRADITIONAL_MORE /* 使用 rfork()取代 fork() . 目前只在 FreeBSD上有效 */ //#define USE_RFORK -- cgit v1.2.3