summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-03 03:18:12 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-03 03:18:12 +0800
commitcbfcf574f76b32105c654ea5d5d1c94f41a03a9a (patch)
tree737bab0ba83f363b88e53b9d671223624963c99a /include
parent99872db43844acada2f32cef254f870f137c1c04 (diff)
downloadpttbbs-cbfcf574f76b32105c654ea5d5d1c94f41a03a9a.tar
pttbbs-cbfcf574f76b32105c654ea5d5d1c94f41a03a9a.tar.gz
pttbbs-cbfcf574f76b32105c654ea5d5d1c94f41a03a9a.tar.bz2
pttbbs-cbfcf574f76b32105c654ea5d5d1c94f41a03a9a.tar.lz
pttbbs-cbfcf574f76b32105c654ea5d5d1c94f41a03a9a.tar.xz
pttbbs-cbfcf574f76b32105c654ea5d5d1c94f41a03a9a.tar.zst
pttbbs-cbfcf574f76b32105c654ea5d5d1c94f41a03a9a.zip
pmore: piaip's new more (pager).
This is a whole new design to replace old buggy more.c Better searching, unlimited filelength, clean code, ... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2741 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h
index 1e031e9a..558a6b05 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -384,8 +384,17 @@ int m_sob(void);
void m_sob_brd(char *bname,char *fromdir);
#endif
-/* more */
+#ifdef USE_PIAIP_MORE
+#ifndef REAL_MORE
+#define more(a,b) pmore(a,b)
+#endif
+#else
+/* old more */
int more(char *fpath, int promptend);
+#endif
+/* piaip's new pager */
+int pmore(char *fpath, int promptend);
+
/* name */
typedef int (*gnc_comp_func)(int, const char*, int);