summaryrefslogtreecommitdiffstats
path: root/mbbsd/pmore.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-15 01:16:13 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-15 01:16:13 +0800
commita942aaef1cdde595f482a853e6a1291c04b9d2c7 (patch)
tree73c7992b234f85bd7440a33ccf2a6c610cdff42c /mbbsd/pmore.c
parenta2f6c27927c37f89b888f9e4c1afe96049bdf406 (diff)
downloadpttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.tar
pttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.tar.gz
pttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.tar.bz2
pttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.tar.lz
pttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.tar.xz
pttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.tar.zst
pttbbs-a942aaef1cdde595f482a853e6a1291c04b9d2c7.zip
- (internal) code refine - improving visio system
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4164 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/pmore.c')
-rw-r--r--mbbsd/pmore.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c
index 8bf14636..f4e3b074 100644
--- a/mbbsd/pmore.c
+++ b/mbbsd/pmore.c
@@ -152,6 +152,19 @@
#include "bbs.h"
// ---------------------------------------------------------------- <PORTING>
+// Generic Porting
+// ----------------------------------------------------------------
+// You need to have following APIs to support pmore:
+// vkey(): return user input, with KEY_* translated (igetch())
+// vmsg(): print a message at bottom line, pause and return user pressed key
+// outc()/outs()/prints(): character/string/formatstr output (w/ANSI ability)
+// t_columns / b_lines / t_lines: current terminal dimension
+// clear() / clrtobol() / clrtoeol(): screen clear API
+// move(): move cursor location
+// scroll() / rscroll() / refresh(): scroll / reverse-scroll / refresh screen
+// getdata / getdata_buf : query user input
+//
+// ----------------------------------------------------------------
// Maple3 Porting
// ----------------------------------------------------------------
// To use pmore in Maple3(itoc), you need to: