summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-08 13:35:25 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-08 13:35:25 +0800
commit4606b7b13d0da6f7dd2f03f23a71c2f5367dc58b (patch)
tree5dc41b268b64624b2fc156923f65b0d89e2b081d
parenta6f6f4baddbdaf0979ccdfe47f5710797df1bb55 (diff)
downloadpttbbs-4606b7b13d0da6f7dd2f03f23a71c2f5367dc58b.tar
pttbbs-4606b7b13d0da6f7dd2f03f23a71c2f5367dc58b.tar.gz
pttbbs-4606b7b13d0da6f7dd2f03f23a71c2f5367dc58b.tar.bz2
pttbbs-4606b7b13d0da6f7dd2f03f23a71c2f5367dc58b.tar.lz
pttbbs-4606b7b13d0da6f7dd2f03f23a71c2f5367dc58b.tar.xz
pttbbs-4606b7b13d0da6f7dd2f03f23a71c2f5367dc58b.tar.zst
pttbbs-4606b7b13d0da6f7dd2f03f23a71c2f5367dc58b.zip
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
-rw-r--r--include/proto.h2
-rw-r--r--sample/pttbbs.conf4
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