From cbfcf574f76b32105c654ea5d5d1c94f41a03a9a Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 2 Jun 2005 19:18:12 +0000 Subject: 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 --- include/proto.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3