summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-06 04:19:49 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-08-06 04:19:49 +0800
commitff24026ce0222c9b0bc78ee075dd0ca9bb50c193 (patch)
tree70f8bffef1edbe949b5aaf83c5dd8717fdb9e87b /mbbsd/mbbsd.c
parent7fe0f796e47c21a8975c956830f0b63f024e35d2 (diff)
downloadpttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.tar
pttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.tar.gz
pttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.tar.bz2
pttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.tar.lz
pttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.tar.xz
pttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.tar.zst
pttbbs-ff24026ce0222c9b0bc78ee075dd0ca9bb50c193.zip
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
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c11
1 files changed, 8 insertions, 3 deletions
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();
}