Spelling and grammar corrections to several of the BBS programs. Thanks to Sean Dennis for the updates.

This commit is contained in:
Andrew Leary 2016-06-23 13:56:09 -04:00
parent 18a1fff1d1
commit 862eb0ca88
8 changed files with 54 additions and 48 deletions

View File

@ -5,7 +5,7 @@ $Id: AUTHORS,v 1.29 2015/11/03 21:05:00 mbse Exp $
The following people are members of the MBSE BBS development team: The following people are members of the MBSE BBS development team:
Andrew Leary 1:320/219@fidonet Andrew Leary ajleary19@gmail.com 1:320/219@fidonet
Vincent Coen vbcoen@gmail.com 2:250/1@fidonet Vincent Coen vbcoen@gmail.com 2:250/1@fidonet
Robert James Clay jame@rocasa.us 1:120/544@fidonet Robert James Clay jame@rocasa.us 1:120/544@fidonet

View File

@ -1,3 +1,9 @@
v1.0.6.6 23-Jun-2016 - Andrew Leary
1. Several spelling and grammar corrections in mbsebbs.c,
chat.c, offline.c, and newuser.c. Thanks to Sean Dennis for
the updates.
v1.0.6.5 12-Feb-2016 - Robert James Clay v1.0.6.5 12-Feb-2016 - Robert James Clay
1. Edit README file to better reflect current practice. 1. Edit README file to better reflect current practice.

6
configure vendored
View File

@ -2309,10 +2309,10 @@ SUBDIRS="lib mbcico mbfido mbmon mbsebbs mbutils mbnntp mbtask mbsetup unix lang
PACKAGE="mbsebbs" PACKAGE="mbsebbs"
MAJOR="1" MAJOR="1"
MINOR="0" MINOR="0"
REVISION="6.5" REVISION="6.6"
VERSION="$MAJOR.$MINOR.$REVISION" VERSION="$MAJOR.$MINOR.$REVISION"
COPYRIGHT="Copyright (C) 1997-2015 Michiel Broek, All Rights Reserved" COPYRIGHT="Copyright (C) 1997-2016 Michiel Broek, All Rights Reserved"
SHORTRIGHT="Copyright (C) 1997-2015 M. Broek" SHORTRIGHT="Copyright (C) 1997-2016 M. Broek"
GROUP="bbs" GROUP="bbs"
OWNER="mbse" OWNER="mbse"
ROWNER="`id -un root`" ROWNER="`id -un root`"

View File

@ -12,10 +12,10 @@ AC_SUBST(SUBDIRS)
PACKAGE="mbsebbs" PACKAGE="mbsebbs"
MAJOR="1" MAJOR="1"
MINOR="0" MINOR="0"
REVISION="6.5" REVISION="6.6"
VERSION="$MAJOR.$MINOR.$REVISION" VERSION="$MAJOR.$MINOR.$REVISION"
COPYRIGHT="Copyright (C) 1997-2015 Michiel Broek, All Rights Reserved" COPYRIGHT="Copyright (C) 1997-2016 Michiel Broek, All Rights Reserved"
SHORTRIGHT="Copyright (C) 1997-2015 M. Broek" SHORTRIGHT="Copyright (C) 1997-2016 M. Broek"
GROUP="bbs" GROUP="bbs"
OWNER="mbse" OWNER="mbse"
ROWNER="`id -un root`" ROWNER="`id -un root`"

View File

@ -236,7 +236,7 @@ void Chat(char *username, char *channel)
if (socket_send(buf) == 0) { if (socket_send(buf) == 0) {
strncpy(buf, socket_receive(), sizeof(buf)-1); strncpy(buf, socket_receive(), sizeof(buf)-1);
if (strncmp(buf, "200:1,", 6) == 0) { if (strncmp(buf, "200:1,", 6) == 0) {
Syslog('!', "Chatsever is not available"); Syslog('!', "Chat server is not available");
colour(LIGHTRED, BLACK); colour(LIGHTRED, BLACK);
mvprintw(4, 1, (char *) Language(30)); mvprintw(4, 1, (char *) Language(30));
Enter(2); Enter(2);
@ -248,7 +248,7 @@ void Chat(char *username, char *channel)
locate(rows - 2, 1); locate(rows - 2, 1);
colour(WHITE, BLUE); colour(WHITE, BLUE);
snprintf(buf, 200, "%-*s", cols, " Chat, type \"/EXIT\" to exit or \"/HELP\" for help"); snprintf(buf, 200, "%-*s", cols, " Type \"/EXIT\" to exit or \"/HELP\" for help.");
mvprintw(rows - 2, 1, buf); mvprintw(rows - 2, 1, buf);
colour(WHITE, BLACK); colour(WHITE, BLACK);

View File

@ -220,7 +220,7 @@ int main(int argc, char **argv)
i = getpid(); i = getpid();
if ((tty = ttyname(0)) == NULL) { if ((tty = ttyname(0)) == NULL) {
WriteError("Not at a tty"); WriteError("Not at a TTY");
Free_Language(); Free_Language();
Quick_Bye(MBERR_OK); Quick_Bye(MBERR_OK);
} }
@ -250,7 +250,7 @@ int main(int argc, char **argv)
* log the user off. * log the user off.
*/ */
if (CheckStatus() == FALSE) { if (CheckStatus() == FALSE) {
Syslog('+', "Kicking user out, the BBS is closed"); Syslog('+', "Kicking user out. The BBS is closed.");
Free_Language(); Free_Language();
Quick_Bye(MBERR_OK); Quick_Bye(MBERR_OK);
} }
@ -272,7 +272,7 @@ int main(int argc, char **argv)
* Check and report screens that are too small * Check and report screens that are too small
*/ */
if ((cols < 80) || (rows < 24)) { if ((cols < 80) || (rows < 24)) {
snprintf(temp, 81, "Your screen is set to %dx%d, we use 80x24 at least", cols, rows); snprintf(temp, 81, "\r\n\r\nYour screen is set to %dx%d. MBSE requires an 80x24 minimum screen size.", cols, rows);
poutCR(LIGHTRED, BLACK, temp); poutCR(LIGHTRED, BLACK, temp);
Enter(1); Enter(1);
cols = 80; cols = 80;
@ -287,9 +287,9 @@ int main(int argc, char **argv)
*/ */
snprintf(temp, PATH_MAX, "%s/%s", CFG.bbs_usersdir, sUnixName); snprintf(temp, PATH_MAX, "%s/%s", CFG.bbs_usersdir, sUnixName);
if (stat(temp, &sb)) { if (stat(temp, &sb)) {
snprintf(temp, 81, "No homedirectory\r\n\r\n"); snprintf(temp, 81, "You don't have a home directory!\r\n\r\n");
PUTSTR(temp); PUTSTR(temp);
WriteError("homedirectory %s doesn't exist", temp); WriteError("User's home directory %s doesn't exist", temp);
Quick_Bye(MBERR_OK); Quick_Bye(MBERR_OK);
} }
Fix = FALSE; Fix = FALSE;
@ -331,13 +331,13 @@ int main(int argc, char **argv)
} }
if (Fix) { if (Fix) {
if (chmod(temp, 0770)) { if (chmod(temp, 0770)) {
WriteError("Could not set home directory mode to 0770"); WriteError("Could not set home directory mode to 0770!");
snprintf(temp, 81, "Internal error, the sysop is notified"); snprintf(temp, 81, "Internal error: the sysop has been notified.");
poutCR(LIGHTRED, BLACK, temp); poutCR(LIGHTRED, BLACK, temp);
Enter(1); Enter(1);
Quick_Bye(MBERR_OK); Quick_Bye(MBERR_OK);
} else { } else {
Syslog('+', "Corrected home directory mode to 0770"); Syslog('+', "Corrected home directory mode to 0770.");
} }
} }
@ -359,7 +359,7 @@ int main(int argc, char **argv)
snprintf(ttyinfo.comment, 41, "%s", p); snprintf(ttyinfo.comment, 41, "%s", p);
snprintf(ttyinfo.tty, 7, "%s", pTTY); snprintf(ttyinfo.tty, 7, "%s", pTTY);
snprintf(ttyinfo.speed, 21, "10 mbit"); snprintf(ttyinfo.speed, 21, "10 mbit");
snprintf(ttyinfo.flags, 31, "IBN,IFC,XX"); snprintf(ttyinfo.flags, 31, "XX,IBN,IFC");
ttyinfo.type = NETWORK; ttyinfo.type = NETWORK;
ttyinfo.available = TRUE; ttyinfo.available = TRUE;
ttyinfo.honor_zmh = FALSE; ttyinfo.honor_zmh = FALSE;

View File

@ -198,7 +198,7 @@ int newuser(void)
if (CFG.iVoicePhone) { if (CFG.iVoicePhone) {
while (1) { while (1) {
Enter(1); Enter(1);
/* Please enter you Voice Number */ /* Please enter your voice number */
language(LIGHTGREEN, BLACK, 45); language(LIGHTGREEN, BLACK, 45);
Enter(1); Enter(1);
@ -223,7 +223,7 @@ int newuser(void)
if (CFG.iDataPhone) { if (CFG.iDataPhone) {
while (TRUE) { while (TRUE) {
Enter(1); Enter(1);
/* Please enter you Data Number */ /* Please enter your data number */
language(LIGHTGREEN, BLACK, 48); language(LIGHTGREEN, BLACK, 48);
Enter(1); Enter(1);
@ -559,7 +559,7 @@ int newuser(void)
DisplayFile((char *)"registered"); DisplayFile((char *)"registered");
Syslog('+', "Completed new-user procedure"); Syslog('+', "Completed new user procedure");
/* New user registration completed. */ /* New user registration completed. */
poutCR(LIGHTGREEN, BLACK, (char *) Language(71)); poutCR(LIGHTGREEN, BLACK, (char *) Language(71));
/* You need to login again with the name: */ /* You need to login again with the name: */

View File

@ -955,7 +955,7 @@ void OLR_RestrictDate()
{ {
WhosDoingWhat(OLR, NULL); WhosDoingWhat(OLR, NULL);
PUTSTR((char *)"Not Yet Implemented"); PUTSTR((char *)"Sorry, but this feature isn't yet implemented.");
Enter(1); Enter(1);
Pause(); Pause();
} }
@ -974,7 +974,7 @@ void OLR_Upload(void)
up_list *up = NULL, *tmpf; up_list *up = NULL, *tmpf;
if (strlen(CFG.bbsid) == 0) { if (strlen(CFG.bbsid) == 0) {
PUTSTR((char *)"System configuration error, inform sysop"); PUTSTR((char *)"System configuration error. Inform the sysop!");
Enter(1); Enter(1);
WriteError("Config OLR bbsid not configured"); WriteError("Config OLR bbsid not configured");
Pause(); Pause();
@ -1013,7 +1013,7 @@ void OLR_Upload(void)
} }
if (RetVal == FALSE) { if (RetVal == FALSE) {
WriteError("Invalid OLR packed received"); WriteError("Invalid OLR packet received!");
for (tmpf = up; tmpf; tmpf = tmpf->next) { for (tmpf = up; tmpf; tmpf = tmpf->next) {
Syslog('+', "Delete %s", tmpf->filename); Syslog('+', "Delete %s", tmpf->filename);
unlink(tmpf->filename); unlink(tmpf->filename);
@ -1074,7 +1074,7 @@ void OLR_Upload(void)
rc = execute_str(archiver.funarc, File, NULL, (char *)"/dev/null", (char *)"/dev/null", (char *)"/dev/null"); rc = execute_str(archiver.funarc, File, NULL, (char *)"/dev/null", (char *)"/dev/null", (char *)"/dev/null");
if (rawport() != 0) { if (rawport() != 0) {
WriteError("Unable to set raw mode"); WriteError("Unable to set raw mode!");
} }
if (rc) { if (rc) {
WriteError("$Failed %s", temp); WriteError("$Failed %s", temp);
@ -1133,7 +1133,7 @@ void OLR_Upload(void)
return; return;
} }
WriteError("OLR_Upload: Garbage in mailpacket, clean directory!"); WriteError("OLR Upload: Garbage in mail packet. Clean up the directory!");
/* Unknown type mailpacket */ /* Unknown type mailpacket */
poutCR(LIGHTRED, BLACK, (char *)Language(443)); poutCR(LIGHTRED, BLACK, (char *)Language(443));
Pause(); Pause();
@ -1172,9 +1172,9 @@ void OLR_DownBW()
msg_high *mhl = NULL; msg_high *mhl = NULL;
if (strlen(CFG.bbsid) == 0) { if (strlen(CFG.bbsid) == 0) {
PUTSTR((char *)"System configuration error, inform sysop"); PUTSTR((char *)"System configuration error. Inform the sysop!");
Enter(1); Enter(1);
WriteError("Config OLR bbsid not configured"); WriteError("Config OLR BBS ID not configured");
Pause(); Pause();
return; return;
} }
@ -1409,9 +1409,9 @@ void OLR_DownBW()
/* Download failed */ /* Download failed */
poutCR(CFG.HiliteF, CFG.HiliteB, (char *)Language(447)); poutCR(CFG.HiliteF, CFG.HiliteB, (char *)Language(447));
} else { } else {
Syslog('+', "BlueWave download successfull"); Syslog('+', "Blue Wave download successful");
PUTCHAR('\r'); PUTCHAR('\r');
/* Download successfull */ /* Download successful */
poutCR(CFG.HiliteF, CFG.HiliteB, (char *)Language(448)); poutCR(CFG.HiliteF, CFG.HiliteB, (char *)Language(448));
if (mhl != NULL) if (mhl != NULL)
@ -1950,7 +1950,7 @@ void OLR_DownQWK(void)
msg_high *tmp, *mhl = NULL; msg_high *tmp, *mhl = NULL;
if (strlen(CFG.bbsid) == 0) { if (strlen(CFG.bbsid) == 0) {
poutCR(LIGHTRED, BLACK, (char *)"System configuration error, inform sysop"); poutCR(LIGHTRED, BLACK, (char *)"System configuration error. Inform the sysop!");
WriteError("Config OLR bbsid not configured"); WriteError("Config OLR bbsid not configured");
Pause(); Pause();
return; return;
@ -2159,9 +2159,9 @@ void OLR_DownQWK(void)
/* Download failed */ /* Download failed */
pout(CFG.HiliteF, CFG.HiliteB, (char *)Language(447)); pout(CFG.HiliteF, CFG.HiliteB, (char *)Language(447));
} else { } else {
Syslog('+', "QWK download successfull"); Syslog('+', "QWK download successful");
PUTCHAR('\r'); PUTCHAR('\r');
/* Download successfull */ /* Download successful */
poutCR(CFG.HiliteF, CFG.HiliteB, (char *)Language(448)); poutCR(CFG.HiliteF, CFG.HiliteB, (char *)Language(448));
if (mhl != NULL) if (mhl != NULL)
@ -2191,7 +2191,7 @@ void QWK_Fetch()
fidoaddr dest; fidoaddr dest;
int HasTear; int HasTear;
/* Processing BlueWave reply packet */ /* Processing QWK reply packet */
poutCR(LIGHTBLUE, BLACK, (char *)Language(459)); poutCR(LIGHTBLUE, BLACK, (char *)Language(459));
temp = calloc(PATH_MAX, sizeof(char)); temp = calloc(PATH_MAX, sizeof(char));
otemp = calloc(PATH_MAX, sizeof(char)); otemp = calloc(PATH_MAX, sizeof(char));
@ -2665,7 +2665,7 @@ void OLR_DownASCII(void)
msg_high *tmp, *mhl = NULL; msg_high *tmp, *mhl = NULL;
if (strlen(CFG.bbsid) == 0) { if (strlen(CFG.bbsid) == 0) {
poutCR(LIGHTRED, BLACK, (char *)"System configuration error, inform sysop"); poutCR(LIGHTRED, BLACK, (char *)"System configuration error. Inform the sysop!");
WriteError("Config OLR bbsid not configured"); WriteError("Config OLR bbsid not configured");
Pause(); Pause();
return; return;
@ -2853,9 +2853,9 @@ void OLR_DownASCII(void)
/* Download failed */ /* Download failed */
pout(CFG.HiliteF, CFG.HiliteB, (char *)Language(447)); pout(CFG.HiliteF, CFG.HiliteB, (char *)Language(447));
} else { } else {
Syslog('+', "ASCII download successfull"); Syslog('+', "ASCII download successful");
PUTCHAR('\r'); PUTCHAR('\r');
/* Download successfull */ /* Download successful */
poutCR(CFG.HiliteF, CFG.HiliteB, (char *)Language(448)); poutCR(CFG.HiliteF, CFG.HiliteB, (char *)Language(448));
if (mhl != NULL) if (mhl != NULL)