Added OS and CPU nameing functions
This commit is contained in:
@@ -310,16 +310,13 @@ int Save_Email(int IsReply)
|
||||
} else
|
||||
Msg.ReplyCRC = 0xffffffff;
|
||||
|
||||
|
||||
/*
|
||||
* Add message text
|
||||
*/
|
||||
for (i = 1; i < Line; i++) {
|
||||
MsgText_Add2(Message[i]);
|
||||
}
|
||||
|
||||
sprintf(temp, "--- MBSE BBS v%s (Linux)", VERSION);
|
||||
MsgText_Add2(temp);
|
||||
MsgText_Add2(TearLine());
|
||||
|
||||
/*
|
||||
* Save if to disk
|
||||
|
@@ -436,7 +436,7 @@ void Masterlist()
|
||||
MidLine((char *)"", fp, TRUE);
|
||||
MidLine((char *)"", np, TRUE);
|
||||
|
||||
sprintf(temp, "Created by MBSE BBS v%s (Linux) at %s", VERSION, StrDateDMY(t_start));
|
||||
sprintf(temp, "Created by MBSE BBS v%s (%s-%s) at %s", VERSION, OsName(), OsCPU(), StrDateDMY(t_start));
|
||||
MidLine(temp, fp, TRUE);
|
||||
MidLine(temp, np, TRUE);
|
||||
|
||||
|
@@ -274,17 +274,7 @@ void Add_Footkludges(int Quote)
|
||||
MsgText_Add2(temp);
|
||||
MsgText_Add2((char *)"");
|
||||
}
|
||||
|
||||
#ifdef __linux__
|
||||
sprintf(temp, "--- MBSE BBS v%s (Linux)", VERSION);
|
||||
#elif __FreeBSD__
|
||||
sprintf(temp, "--- MBSE BBS v%s (FreeBSD)", VERSION);
|
||||
#elif __NetBSD__
|
||||
sprintf(temp, "--- MBSE BBS v%s (NetBSD)", VERSION);
|
||||
#else
|
||||
sprintf(temp, "--- MBSE BBS v%s (Unknown)", VERSION);
|
||||
#endif
|
||||
MsgText_Add2(temp);
|
||||
MsgText_Add2(TearLine());
|
||||
|
||||
if ((msgs.Type == ECHOMAIL) || (msgs.Type == LIST)) {
|
||||
/* RANDOM ORIGIN LINES IMPLEMENTEREN */
|
||||
|
@@ -91,15 +91,7 @@ void cr(void)
|
||||
|
||||
wl(a);
|
||||
ls(a);
|
||||
#ifdef __linux__
|
||||
sprintf(temp, "MBSE Bulletin Board System %s (Linux)", VERSION);
|
||||
#elif __FreeBSD__
|
||||
sprintf(temp, "MBSE Bulletin Board System %s (FreeBSD)", VERSION);
|
||||
#elif __NetBSD__
|
||||
sprintf(temp, "MBSE Bulletin Board System %s (NetBSD)", VERSION);
|
||||
#else
|
||||
sprintf(temp, "MBSE Bulletin Board System %s (Unknown OS)", VERSION);
|
||||
#endif
|
||||
sprintf(temp, "MBSE Bulletin Board System %s (%s-%s)", VERSION, OsName(), OsCPU());
|
||||
pout(14, 0, padleft(temp, 76, ' '));
|
||||
rs(a);
|
||||
wl(a);
|
||||
|
Reference in New Issue
Block a user