diff options
Diffstat (limited to 'sysinfo.c')
-rw-r--r-- | sysinfo.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -7,39 +7,39 @@ int bbs_sysinfo( term_screen *ts ) //setup screen to show stuff term_clr_scr( ts ); - printf("Press ANYKEY \n\n\n"); + term_printf( ts, "Press ANYKEY \n\n\n"); term_cur_set_c( ts, 0 ); - printf("BBS:MicroBBS %s (%s)\n", BUILD_VERSION, BUILD_DATE); + term_printf( ts, "BBS:MicroBBS %s (%s)\n", BUILD_VERSION, BUILD_DATE); term_cur_set_c( ts, 0 ); - printf("Author: FreeArtMan\n"); + term_printf( ts, "Author: FreeArtMan\n"); term_cur_set_c( ts, 0 ); - printf("Contributor: epoch\n"); + term_printf( ts, "Contributor: epoch\n"); term_cur_set_c( ts, 0 ); - printf("Main chan: irc://irc.freenode.net#mainlv\n"); + term_printf( ts, "Main chan: irc://irc.freenode.net#mainlv\n"); term_cur_set_c( ts, 0 ); - printf("Ideological support: irc://hacking.allowed.org#default\n"); + term_printf( ts, "Ideological support: irc://hacking.allowed.org#default\n"); term_cur_set_c( ts, 0 ); - printf("Root dir: %s\n",g_config.root_dir ); + term_printf( ts, "Root dir: %s\n",g_config.root_dir ); term_cur_set_c( ts, 0 ); - printf("Users dir: %s\n", g_config.user_dir ); + term_printf( ts, "Users dir: %s\n", g_config.user_dir ); term_cur_set_c( ts, 0 ); - printf("Article dir: %s\n", g_config.article_dir ); + term_printf( ts, "Article dir: %s\n", g_config.article_dir ); term_cur_set_c( ts, 0 ); - printf("Syslog : %d\n", g_config.syslog ); + term_printf( ts, "Syslog : %d\n", g_config.syslog ); //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_printf( ts, ":"); term_getc( ts ); return ret; |