From ff24026ce0222c9b0bc78ee075dd0ca9bb50c193 Mon Sep 17 00:00:00 2001 From: piaip Date: Fri, 5 Aug 2005 20:19:49 +0000 Subject: large terminal rules. - vmsg with formats is now vmsgf. - deprecates vmsg_lines = i hope changes in admin does not make trouble because the old way looks like a mess within my terminal. - pending issue: = pressanykey_or_callangel is in oldway = showtitle, msg_seperator, and others should also be fixed git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2995 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mbbsd.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'mbbsd/mbbsd.c') diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 38fadf81..8369f50d 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -831,9 +831,14 @@ setup_utmp(int mode) inline static void welcome_msg(void) { - prints(ANSI_RESET " 歡迎您第 " ANSI_COLOR(1;33) "%d" ANSI_COLOR(0;37) " 度拜訪本站," - "上次您是從 " ANSI_COLOR(1;33) "%s" ANSI_COLOR(0;37) " 連往本站,\n" - " 我記得那天是 " ANSI_COLOR(1;33) "%s" ANSI_COLOR(0;37) "。\n", + prints(ANSI_RESET " 歡迎您第 " + ANSI_COLOR(1;33) "%d" ANSI_COLOR(0;37) " 度拜訪本站,上次您是從 " + ANSI_COLOR(1;33) "%s" ANSI_COLOR(0;37) " 連往本站," + ANSI_CLRTOEND "\n" + " 我記得那天是 " ANSI_COLOR(1;33) "%s" ANSI_COLOR(0;37) "。" + ANSI_CLRTOEND "\n" + ANSI_CLRTOEND "\n" + , ++cuser.numlogins, cuser.lasthost, Cdate(&(cuser.lastlogin))); pressanykey(); } -- cgit v1.2.3