From a942aaef1cdde595f482a853e6a1291c04b9d2c7 Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 14 Apr 2008 17:16:13 +0000 Subject: - (internal) code refine - improving visio system git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4164 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/pmore.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'mbbsd/pmore.c') 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" // ---------------------------------------------------------------- +// 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: -- cgit v1.2.3