summaryrefslogtreecommitdiffstats
path: root/sysinfo.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-01-08 21:21:23 +0900
committerFreeArtMan <dos21h@gmail.com>2015-01-08 21:21:23 +0900
commitad222a30782ebacacd0f5388f01b65fa61e12697 (patch)
tree861e83d3214929fe7d58a0d79dcb0e069bb32b16 /sysinfo.c
parent3d489fe502178d2d4e58eb8d5736be2fbda38077 (diff)
downloadmicrobbs-ad222a30782ebacacd0f5388f01b65fa61e12697.tar.gz
microbbs-ad222a30782ebacacd0f5388f01b65fa61e12697.zip
Fixed positioning for captcha, motd, mainmenu, sysinfo
Diffstat (limited to 'sysinfo.c')
-rw-r--r--sysinfo.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/sysinfo.c b/sysinfo.c
index 5d1eacb..72bd41b 100644
--- a/sysinfo.c
+++ b/sysinfo.c
@@ -4,11 +4,32 @@ int bbs_sysinfo( term_screen *ts )
{
int ret=0;
+ //setup screen to show stuff
+ term_clr_scr( ts );
+
+ printf("Press ANYKEY \n\n\n");
+
+ term_cur_set_c( ts, 0 );
printf("BBS:MicroBBS %s (%s)\n", BUILD_VERSION, BUILD_DATE);
+
+ term_cur_set_c( ts, 0 );
printf("Author: FreeArtMan\n");
+
+ term_cur_set_c( ts, 0 );
printf("Contributor: epoch\n");
+
+ term_cur_set_c( ts, 0 );
+ printf("Main chan: irc://irc.freenode.net#mainlv\n");
+
+ term_cur_set_c( ts, 0 );
printf("Ideological support: irc://hacking.allowed.org#default\n");
+ //main loop wait while press something
+ term_cur_set_r( ts, term_get_maxrow( ts ) );
+ term_cur_set_c( ts, 0 );
+ printf(":"); fflush( stdout );
+ term_getc( ts );
+
return ret;
}