summaryrefslogtreecommitdiffstats
path: root/sysinfo.c
blob: 72bd41b5e8765bc8a69f22ce8b58bc64c6736aca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include "sysinfo.h"

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;
}