Changed copyright notices to come from config.h
This commit is contained in:
parent
d5739ef30c
commit
3bd0a45143
@ -1,6 +1,7 @@
|
|||||||
/* config.h.in. */
|
/* config.h.in. */
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
|
#undef SHORTRIGHT
|
||||||
#undef COPYRIGHT
|
#undef COPYRIGHT
|
||||||
#undef VERSION
|
#undef VERSION
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ dnl General settings for MBSE BBS
|
|||||||
PACKAGE="mbsebbs"
|
PACKAGE="mbsebbs"
|
||||||
VERSION="0.33.19"
|
VERSION="0.33.19"
|
||||||
COPYRIGHT="Copyright (C) 1997-2001 Michiel Broek, All Rights Reserved"
|
COPYRIGHT="Copyright (C) 1997-2001 Michiel Broek, All Rights Reserved"
|
||||||
|
SHORTRIGHT="Copyright (C) 1997-2001 M. Broek"
|
||||||
GROUP="bbs"
|
GROUP="bbs"
|
||||||
OWNER="mbse"
|
OWNER="mbse"
|
||||||
AC_SUBST(PACKAGE)
|
AC_SUBST(PACKAGE)
|
||||||
@ -20,6 +21,7 @@ AC_SUBST(OWNER)
|
|||||||
AC_PREFIX_DEFAULT(/opt/mbse)
|
AC_PREFIX_DEFAULT(/opt/mbse)
|
||||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
|
AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
|
||||||
AC_DEFINE_UNQUOTED(COPYRIGHT, "$COPYRIGHT")
|
AC_DEFINE_UNQUOTED(COPYRIGHT, "$COPYRIGHT")
|
||||||
|
AC_DEFINE_UNQUOTED(SHORTRIGHT, "$SHORTRIGHT")
|
||||||
|
|
||||||
dnl Checks for programs.
|
dnl Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
@ -33,7 +35,7 @@ AC_CHECK_PROG(INSTALL, install, install)
|
|||||||
AC_PROG_MAKE_SET
|
AC_PROG_MAKE_SET
|
||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
AC_PROG_YACC
|
AC_PROG_YACC
|
||||||
AC_PROG_LEX
|
dnl AC_PROG_LEX
|
||||||
AC_CHECK_PROG(TAR, tar, tar)
|
AC_CHECK_PROG(TAR, tar, tar)
|
||||||
AC_CHECK_PROG(ZIP, zip, zip)
|
AC_CHECK_PROG(ZIP, zip, zip)
|
||||||
dnl AM_PROG_LEX
|
dnl AM_PROG_LEX
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: structs.h
|
* $Id$
|
||||||
* Purpose ...............: MBSE BBS Global structure
|
* Purpose ...............: MBSE BBS Global structure
|
||||||
* Last modification date : 26-Oct-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -37,16 +36,12 @@
|
|||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* Global definitions and structures.
|
* Global typedefs.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define Copyright "Copyright (C) 1997-2001 Michiel Broek, All Rights Reserved"
|
|
||||||
#define ShortRight "Copyright (C) 1997-2001 M. Broek"
|
|
||||||
|
|
||||||
|
|
||||||
typedef enum {YES, NO, ASK, ONLY} ASKTYPE;
|
typedef enum {YES, NO, ASK, ONLY} ASKTYPE;
|
||||||
typedef enum {LOCALMAIL, NETMAIL, ECHOMAIL, NEWS} MSGTYPE;
|
typedef enum {LOCALMAIL, NETMAIL, ECHOMAIL, NEWS, LIST} MSGTYPE;
|
||||||
typedef enum {BOTH, PRIVATE, PUBLIC, RONLY, FTNMOD, USEMOD} MSGKINDSTYPE;
|
typedef enum {BOTH, PRIVATE, PUBLIC, RONLY, FTNMOD, USEMOD} MSGKINDSTYPE;
|
||||||
typedef enum {IGNORE, CREATE, KILL} ORPHANTYPE;
|
typedef enum {IGNORE, CREATE, KILL} ORPHANTYPE;
|
||||||
typedef enum {SEND, RECV, BOTHDIR} NODETYPE;
|
typedef enum {SEND, RECV, BOTHDIR} NODETYPE;
|
||||||
@ -497,7 +492,8 @@ struct FILEIndex {
|
|||||||
struct FILERecord {
|
struct FILERecord {
|
||||||
char Name[13]; /* DOS style filename */
|
char Name[13]; /* DOS style filename */
|
||||||
char LName[81]; /* Long filename */
|
char LName[81]; /* Long filename */
|
||||||
char xTicArea[13]; /* Tic area file came in */
|
char xTicArea[9]; /* Tic area file came in */
|
||||||
|
unsigned long TicAreaCRC; /* CRC of TIC area name */
|
||||||
off_t Size; /* File Size */
|
off_t Size; /* File Size */
|
||||||
unsigned long Crc32; /* File CRC-32 */
|
unsigned long Crc32; /* File CRC-32 */
|
||||||
char Uploader[36]; /* Uploader name */
|
char Uploader[36]; /* Uploader name */
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbcico/mbcico.c
|
* $Id$
|
||||||
* Purpose ...............: Fidonet mailer
|
* Purpose: Fidonet mailer
|
||||||
* Last modification date : 07-Feb-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -80,7 +79,7 @@ extern int mypid;
|
|||||||
void usage(void)
|
void usage(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr,"ifcico; (c) Eugene G. Crosser, 1993-1997\n");
|
fprintf(stderr,"ifcico; (c) Eugene G. Crosser, 1993-1997\n");
|
||||||
fprintf(stderr,"mbcico ver. %s; (c) %s\n\n", VERSION, ShortRight);
|
fprintf(stderr,"mbcico ver. %s; (c) %s\n\n", VERSION, SHORTRIGHT);
|
||||||
fprintf(stderr,"-r<role> -a<inetaddr> <node> ...\n");
|
fprintf(stderr,"-r<role> -a<inetaddr> <node> ...\n");
|
||||||
fprintf(stderr,"-r 0|1 1 - master, 0 - slave [0]\n");
|
fprintf(stderr,"-r 0|1 1 - master, 0 - slave [0]\n");
|
||||||
fprintf(stderr,"-n<phone> forced phone number\n");
|
fprintf(stderr,"-n<phone> forced phone number\n");
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbcico/mbout.c
|
* $Id$
|
||||||
* Purpose ...............: MBSE BBS Outbound Manager
|
* Purpose: MBSE BBS Outbound Manager
|
||||||
* Last modification date : 31-Jan-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -64,7 +63,7 @@ void ProgName()
|
|||||||
colour(15, 0);
|
colour(15, 0);
|
||||||
printf("\nMBOUT: MBSE BBS %s Outbound Manager\n", VERSION);
|
printf("\nMBOUT: MBSE BBS %s Outbound Manager\n", VERSION);
|
||||||
colour(14, 0);
|
colour(14, 0);
|
||||||
printf(" %s\n", Copyright);
|
printf(" %s\n", COPYRIGHT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbfido/forward.c
|
* $Id$
|
||||||
* Purpose ...............: File forward to a node
|
* Purpose ...............: File forward to a node
|
||||||
* Last modification date : 10-Aug-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -189,7 +188,7 @@ void ForwardFile(fidoaddr Node, fa_list *sbl)
|
|||||||
for (i = 0; i < TIC.TicIn.TotLDesc; i++)
|
for (i = 0; i < TIC.TicIn.TotLDesc; i++)
|
||||||
fprintf(fp, "LDesc %s\r\n", TIC.TicIn.LDesc[i]);
|
fprintf(fp, "LDesc %s\r\n", TIC.TicIn.LDesc[i]);
|
||||||
}
|
}
|
||||||
fprintf(fp, "Created by MBSE BBS %s %s\r\n", VERSION, ShortRight);
|
fprintf(fp, "Created by MBSE BBS %s %s\r\n", VERSION, SHORTRIGHT);
|
||||||
if (TIC.TicIn.TotPath)
|
if (TIC.TicIn.TotPath)
|
||||||
for (i = 0; i < TIC.TicIn.TotPath; i++)
|
for (i = 0; i < TIC.TicIn.TotPath; i++)
|
||||||
fprintf(fp, "Path %s\r\n", TIC.TicIn.Path[i]);
|
fprintf(fp, "Path %s\r\n", TIC.TicIn.Path[i]);
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbfido/hatch.c
|
* $Id$
|
||||||
* Purpose ...............: Hatch files
|
* Purpose ...............: Hatch files
|
||||||
* Last modification date : 08-Oct-2000
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2000
|
* Copyright (C) 1997-2000
|
||||||
@ -152,7 +151,7 @@ int CheckHatch(char *temp)
|
|||||||
WriteError("Can't create %s", tf);
|
WriteError("Can't create %s", tf);
|
||||||
else {
|
else {
|
||||||
fprintf(Tf, "Hatch\r\n");
|
fprintf(Tf, "Hatch\r\n");
|
||||||
fprintf(Tf, "Created MBSE BBS v%s, %s\r\n", VERSION, ShortRight);
|
fprintf(Tf, "Created MBSE BBS v%s, %s\r\n", VERSION, SHORTRIGHT);
|
||||||
fprintf(Tf, "Area %s\r\n", hatch.Name);
|
fprintf(Tf, "Area %s\r\n", hatch.Name);
|
||||||
if (SearchTic(hatch.Name)) {
|
if (SearchTic(hatch.Name)) {
|
||||||
fprintf(Tf, "Origin %s\r\n", aka2str(tic.Aka));
|
fprintf(Tf, "Origin %s\r\n", aka2str(tic.Aka));
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbfido/magic.c
|
* $Id$
|
||||||
* Purpose ...............: .TIC files magic processing.
|
* Purpose ...............: .TIC files magic processing.
|
||||||
* Last modification date : 16-Feb-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -387,7 +386,7 @@ void Magic_AdoptFile(void)
|
|||||||
else {
|
else {
|
||||||
fprintf(Tf, "Hatch\r\n");
|
fprintf(Tf, "Hatch\r\n");
|
||||||
fprintf(Tf, "NoMove\r\n");
|
fprintf(Tf, "NoMove\r\n");
|
||||||
fprintf(Tf, "Created MBSE BBS v%s, %s\r\n", VERSION, ShortRight);
|
fprintf(Tf, "Created MBSE BBS v%s, %s\r\n", VERSION, SHORTRIGHT);
|
||||||
fprintf(Tf, "Area %s\r\n", magic.ToArea);
|
fprintf(Tf, "Area %s\r\n", magic.ToArea);
|
||||||
fprintf(Tf, "Origin %s\r\n", aka2str(tic.Aka));
|
fprintf(Tf, "Origin %s\r\n", aka2str(tic.Aka));
|
||||||
fprintf(Tf, "From %s\r\n", aka2str(tic.Aka));
|
fprintf(Tf, "From %s\r\n", aka2str(tic.Aka));
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbaff/mbaff.c
|
* $Id$
|
||||||
* Purpose ...............: Announce new files and FileFind
|
* Purpose ...............: Announce new files and FileFind
|
||||||
* Last modification date : 08-Oct-2000
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2000
|
* Copyright (C) 1997-2000
|
||||||
@ -59,7 +58,7 @@ void ProgName(void)
|
|||||||
colour(15, 0);
|
colour(15, 0);
|
||||||
printf("\nMBAFF: MBSE BBS %s Announce new files and FileFind\n", VERSION);
|
printf("\nMBAFF: MBSE BBS %s Announce new files and FileFind\n", VERSION);
|
||||||
colour(14, 0);
|
colour(14, 0);
|
||||||
printf(" %s\n", Copyright);
|
printf(" %s\n", COPYRIGHT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbdiff/mbdiff.c
|
* $Id$
|
||||||
* Purpose ...............: Nodelist diff processor
|
* Purpose ...............: Nodelist diff processor
|
||||||
* Last modification date : 25-May-2001
|
|
||||||
* Original ideas ........: Eugene G. Crosser.
|
* Original ideas ........: Eugene G. Crosser.
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
@ -64,7 +63,7 @@ void ProgName(void)
|
|||||||
colour(15, 0);
|
colour(15, 0);
|
||||||
printf("\nMBDIFF: MBSE BBS %s Nodelist diff processor\n", VERSION);
|
printf("\nMBDIFF: MBSE BBS %s Nodelist diff processor\n", VERSION);
|
||||||
colour(14, 0);
|
colour(14, 0);
|
||||||
printf(" %s\n", Copyright);
|
printf(" %s\n", COPYRIGHT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbfido/mbfido.c
|
* $Id$
|
||||||
* Purpose ...............: Process Fidonet style mail and files.
|
* Purpose: Process Fidonet style mail and files.
|
||||||
* Last modification date : 14-Aug-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -156,7 +155,7 @@ void ProgName(void)
|
|||||||
colour(15, 0);
|
colour(15, 0);
|
||||||
printf("\nMBFIDO: MBSE BBS %s - Fidonet File and Mail processor\n", VERSION);
|
printf("\nMBFIDO: MBSE BBS %s - Fidonet File and Mail processor\n", VERSION);
|
||||||
colour(14, 0);
|
colour(14, 0);
|
||||||
printf(" %s\n", Copyright);
|
printf(" %s\n", COPYRIGHT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbfile/mbfile.c
|
* $Id$
|
||||||
* Purpose ...............: File Database Maintenance
|
* Purpose: File Database Maintenance
|
||||||
* Last modification date : 19-Oct-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -66,7 +65,7 @@ void ProgName(void)
|
|||||||
colour(15, 0);
|
colour(15, 0);
|
||||||
printf("\nMBFILE: MBSE BBS %s File maintenance utility\n", VERSION);
|
printf("\nMBFILE: MBSE BBS %s File maintenance utility\n", VERSION);
|
||||||
colour(14, 0);
|
colour(14, 0);
|
||||||
printf(" %s\n", Copyright);
|
printf(" %s\n", COPYRIGHT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -212,15 +211,16 @@ void Help(void)
|
|||||||
colour(9, 0);
|
colour(9, 0);
|
||||||
printf(" Commands are:\n\n");
|
printf(" Commands are:\n\n");
|
||||||
colour(3, 0);
|
colour(3, 0);
|
||||||
|
// printf(" a adopt <area> <file> [desc] Adopt file to area\n");
|
||||||
printf(" c check Check filebase\n");
|
printf(" c check Check filebase\n");
|
||||||
// printf(" d delete <file> <area> Mark file in area for deletion\n");
|
// printf(" d delete <area> <file> Mark file in area for deletion\n");
|
||||||
// printf(" im import <file> <area> Import file in area\n");
|
// printf(" im import <area> Import files in current dir to area\n");
|
||||||
printf(" in index Create filerequest index\n");
|
printf(" in index Create filerequest index\n");
|
||||||
printf(" k kill Kill/move old files\n");
|
printf(" k kill Kill/move old files\n");
|
||||||
printf(" l list List file areas\n");
|
printf(" l list List file areas\n");
|
||||||
// printf(" m move <file> <from> <to> Move file from to area\n");
|
// printf(" m move <from> <to> <file> Move file from to area\n");
|
||||||
printf(" p pack Pack filebase\n");
|
printf(" p pack Pack filebase\n");
|
||||||
// printf(" r rearc <file> <area> <arc> Rearc file in area to new archiver\n");
|
// printf(" r rearc <area> [file] [arc] Rearc file(s) in area\n");
|
||||||
colour(9, 0);
|
colour(9, 0);
|
||||||
printf("\n Options are:\n\n");
|
printf("\n Options are:\n\n");
|
||||||
colour(3, 0);
|
colour(3, 0);
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbindex.c
|
* $Id$
|
||||||
* Purpose ...............: Nodelist Compiler
|
* Purpose ...............: Nodelist Compiler
|
||||||
* Last modification date : 08-Aug-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -165,7 +164,7 @@ void ProgName(void)
|
|||||||
colour(15, 0);
|
colour(15, 0);
|
||||||
printf("\nMBINDEX: MBSE BBS %s Nodelist Index Compiler\n", VERSION);
|
printf("\nMBINDEX: MBSE BBS %s Nodelist Index Compiler\n", VERSION);
|
||||||
colour(14, 0);
|
colour(14, 0);
|
||||||
printf(" %s\n", Copyright);
|
printf(" %s\n", COPYRIGHT);
|
||||||
colour(3, 0);
|
colour(3, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbmsg/mbmsg.c
|
* $Id$
|
||||||
* Purpose ...............: Message Base Maintenance
|
* Purpose ...............: Message Base Maintenance
|
||||||
* Last modification date : 27-Jun-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -73,7 +72,7 @@ void ProgName()
|
|||||||
colour(15, 0);
|
colour(15, 0);
|
||||||
printf("\nMBMSG: MBSE BBS %s - Message Base Maintenance Utility\n", VERSION);
|
printf("\nMBMSG: MBSE BBS %s - Message Base Maintenance Utility\n", VERSION);
|
||||||
colour(14, 0);
|
colour(14, 0);
|
||||||
printf(" %s\n", Copyright);
|
printf(" %s\n", COPYRIGHT);
|
||||||
colour(7, 0);
|
colour(7, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,8 +34,6 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "mutil.h"
|
#include "mutil.h"
|
||||||
|
|
||||||
#define Copyright "Copyright (C) 1997-2001 Michiel Broek, All Rights Reserved"
|
|
||||||
|
|
||||||
|
|
||||||
static void die(int onsig)
|
static void die(int onsig)
|
||||||
{
|
{
|
||||||
@ -379,7 +377,7 @@ void soft_info(void)
|
|||||||
center_addstr( 6, (char *)"MBSE BBS (Unknown)");
|
center_addstr( 6, (char *)"MBSE BBS (Unknown)");
|
||||||
#endif
|
#endif
|
||||||
set_color(WHITE, BLACK);
|
set_color(WHITE, BLACK);
|
||||||
center_addstr( 8, (char *)Copyright);
|
center_addstr( 8, (char *)COPYRIGHT);
|
||||||
set_color(YELLOW, BLACK);
|
set_color(YELLOW, BLACK);
|
||||||
center_addstr(10, (char *)"Made in the Netherlands.");
|
center_addstr(10, (char *)"Made in the Netherlands.");
|
||||||
set_color(WHITE, BLACK);
|
set_color(WHITE, BLACK);
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mutil.c
|
* $Id$
|
||||||
* Purpose ...............: Utilities
|
* Purpose ...............: Utilities
|
||||||
* Last modification date : 07-Aug-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -425,7 +424,7 @@ void screen_start(char *name)
|
|||||||
printf((char *)"%s for MBSE BBS version %s", name, VERSION);
|
printf((char *)"%s for MBSE BBS version %s", name, VERSION);
|
||||||
set_color(YELLOW, BLUE);
|
set_color(YELLOW, BLUE);
|
||||||
locate(2, 1);
|
locate(2, 1);
|
||||||
printf((char *)"(c) Copyright Michiel Broek");
|
printf((char *)SHORTRIGHT);
|
||||||
set_color(LIGHTGRAY, BLACK);
|
set_color(LIGHTGRAY, BLACK);
|
||||||
show_date(LIGHTGRAY, BLACK, 0, 0);
|
show_date(LIGHTGRAY, BLACK, 0, 0);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbsebbs/mball.c
|
* $Id$
|
||||||
* Purpose ...............: Creates allfiles listings
|
* Purpose ...............: Creates allfiles listings
|
||||||
* Last modification date : 09-Aug-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -65,7 +64,7 @@ void ProgName()
|
|||||||
colour(15, 0);
|
colour(15, 0);
|
||||||
printf("\nMBALL: MBSE BBS %s Allfiles Listing Creator\n", VERSION);
|
printf("\nMBALL: MBSE BBS %s Allfiles Listing Creator\n", VERSION);
|
||||||
colour(14, 0);
|
colour(14, 0);
|
||||||
printf(" %s\n", Copyright);
|
printf(" %s\n", COPYRIGHT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbsebbs/mbchat.c
|
* $Id$
|
||||||
* Purpose ...............: Sysop chat utility.
|
* Purpose ...............: Sysop chat utility.
|
||||||
* Last modification date : 27-Nov-2000
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2000
|
* Copyright (C) 1997-2000
|
||||||
@ -95,7 +94,7 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
if(argc != 2) {
|
if(argc != 2) {
|
||||||
printf("\nSCHAT: MBSE BBS %s Sysop chat facilty\n", VERSION);
|
printf("\nSCHAT: MBSE BBS %s Sysop chat facilty\n", VERSION);
|
||||||
printf(" %s\n", Copyright);
|
printf(" %s\n", COPYRIGHT);
|
||||||
|
|
||||||
printf("\nCommand-line parameters:\n\n");
|
printf("\nCommand-line parameters:\n\n");
|
||||||
|
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbfbgen.c
|
* $Id$
|
||||||
* Purpose ...............: mbfbgen generates file databases from the old
|
* Purpose ...............: mbfbgen generates file databases from the old
|
||||||
* style files.bbs.
|
* style files.bbs.
|
||||||
* Last modification date : 28-Jun-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -68,7 +67,7 @@ int main(void)
|
|||||||
colour(15, 0);
|
colour(15, 0);
|
||||||
printf("\nMBFBGEN: MBSE BBS %s FileBase Generator Utility\n", VERSION);
|
printf("\nMBFBGEN: MBSE BBS %s FileBase Generator Utility\n", VERSION);
|
||||||
colour(14, 0);
|
colour(14, 0);
|
||||||
printf(" %s\n\n", Copyright);
|
printf(" %s\n\n", COPYRIGHT);
|
||||||
colour(7, 0);
|
colour(7, 0);
|
||||||
|
|
||||||
pw = getpwuid(getuid());
|
pw = getpwuid(getuid());
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbsebbs/mblang.c
|
* $Id$
|
||||||
* Purpose ...............: Language Compiler
|
* Purpose ...............: Language Compiler
|
||||||
* Last modification date : 28-Jun-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -47,7 +46,7 @@ int main(int argc, char **argv)
|
|||||||
temp1 = calloc(PATH_MAX, sizeof(char));
|
temp1 = calloc(PATH_MAX, sizeof(char));
|
||||||
|
|
||||||
printf("\nMBLANG: MBSE BBS %s Quick Language Data File Creator\n", VERSION);
|
printf("\nMBLANG: MBSE BBS %s Quick Language Data File Creator\n", VERSION);
|
||||||
printf(" %s\n", Copyright);
|
printf(" %s\n", COPYRIGHT);
|
||||||
|
|
||||||
if (argc < 3) {
|
if (argc < 3) {
|
||||||
printf("\nUsage: %s [language data file] [language text file]\n\n", *(argv));
|
printf("\nUsage: %s [language data file] [language text file]\n\n", *(argv));
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbsebbs/mbsebbs.c
|
* $Id$
|
||||||
* Purpose ...............: Main startup
|
* Purpose ...............: Main startup
|
||||||
* Last modification date : 27-Oct-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -200,7 +199,7 @@ int main(int argc, char **argv)
|
|||||||
colour(YELLOW, BLACK);
|
colour(YELLOW, BLACK);
|
||||||
printf("MBSE BBS v%s (Release: %s)\n", VERSION, ReleaseDate);
|
printf("MBSE BBS v%s (Release: %s)\n", VERSION, ReleaseDate);
|
||||||
colour(WHITE, BLACK);
|
colour(WHITE, BLACK);
|
||||||
printf("%s\n\n", Copyright);
|
printf("%s\n\n", COPYRIGHT);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check if this port is available.
|
* Check if this port is available.
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbstat/mbstat.c
|
* $id$
|
||||||
* Purpose ...............: Change BBS status
|
* Purpose ...............: Change BBS status
|
||||||
* Last modification date : 10-Jul-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -74,7 +73,7 @@ void ProgName(void)
|
|||||||
colour(15, 0);
|
colour(15, 0);
|
||||||
printf("\nMBSTAT: MBSE BBS %s Status Changer\n", VERSION);
|
printf("\nMBSTAT: MBSE BBS %s Status Changer\n", VERSION);
|
||||||
colour(14, 0);
|
colour(14, 0);
|
||||||
printf(" %s\n", Copyright);
|
printf(" %s\n", COPYRIGHT);
|
||||||
colour(3, 0);
|
colour(3, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbuser/mbuser.c
|
* $Id$
|
||||||
* Purpose ...............: User Pack Util
|
* Purpose ...............: User Pack Util
|
||||||
* Last modification date : 12-Aug-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -136,7 +135,7 @@ void ProgName(void)
|
|||||||
colour(15, 0);
|
colour(15, 0);
|
||||||
printf("\nMBUSER: MBSE BBS %s - User maintenance utility\n", VERSION);
|
printf("\nMBUSER: MBSE BBS %s - User maintenance utility\n", VERSION);
|
||||||
colour(14, 0);
|
colour(14, 0);
|
||||||
printf(" %s\n\n", Copyright);
|
printf(" %s\n\n", COPYRIGHT);
|
||||||
colour(7, 0);
|
colour(7, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: bbs/pinfo.c
|
* $Id$
|
||||||
* Purpose ...............: Product information
|
* Purpose ...............: Product information
|
||||||
* Last modification date : 08-Oct-2000
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2000
|
* Copyright (C) 1997-2000
|
||||||
@ -101,7 +100,7 @@ void cr(void)
|
|||||||
rs(a);
|
rs(a);
|
||||||
wl(a);
|
wl(a);
|
||||||
ls(a);
|
ls(a);
|
||||||
sprintf(temp, "%s", Copyright);
|
sprintf(temp, "%s", COPYRIGHT);
|
||||||
pout(11, 0, padleft(temp, 76, ' '));
|
pout(11, 0, padleft(temp, 76, ' '));
|
||||||
rs(a);
|
rs(a);
|
||||||
wl(a);
|
wl(a);
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: mbsetup.c
|
* $Id$
|
||||||
* Purpose ...............: Setup Program
|
* Purpose ...............: Setup Program
|
||||||
* Last modification date : 25-Oct-2001
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2001
|
* Copyright (C) 1997-2001
|
||||||
@ -144,7 +143,7 @@ void soft_info(void)
|
|||||||
center_addstr( 6, (char *)"MBSE BBS (Unknown)");
|
center_addstr( 6, (char *)"MBSE BBS (Unknown)");
|
||||||
#endif
|
#endif
|
||||||
set_color(WHITE, BLACK);
|
set_color(WHITE, BLACK);
|
||||||
center_addstr( 8, (char *)Copyright);
|
center_addstr( 8, (char *)COPYRIGHT);
|
||||||
set_color(YELLOW, BLACK);
|
set_color(YELLOW, BLACK);
|
||||||
center_addstr(10, (char *)"Made in the Netherlands");
|
center_addstr(10, (char *)"Made in the Netherlands");
|
||||||
set_color(WHITE, BLACK);
|
set_color(WHITE, BLACK);
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* File ..................: screen.c
|
* $Id$
|
||||||
* Purpose ...............: Screen functions for setup.
|
* Purpose ...............: Screen functions for setup.
|
||||||
* Last modification date : 25-Oct-2000
|
|
||||||
*
|
*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 1997-2000
|
* Copyright (C) 1997-2000
|
||||||
@ -148,7 +147,7 @@ void screen_start(char *name)
|
|||||||
printf((char *)"%s for MBSE BBS version %s", name, VERSION);
|
printf((char *)"%s for MBSE BBS version %s", name, VERSION);
|
||||||
set_color(YELLOW, BLUE);
|
set_color(YELLOW, BLUE);
|
||||||
locate(2, 1);
|
locate(2, 1);
|
||||||
printf((char *)ShortRight);
|
printf((char *)SHORTRIGHT);
|
||||||
set_color(LIGHTGRAY, BLACK);
|
set_color(LIGHTGRAY, BLACK);
|
||||||
show_date(LIGHTGRAY, BLACK, 0, 0);
|
show_date(LIGHTGRAY, BLACK, 0, 0);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
@ -53,7 +53,6 @@
|
|||||||
#define ICMP_BASEHDR_LEN 8
|
#define ICMP_BASEHDR_LEN 8
|
||||||
#define ICMP_MAX_ERRS 5
|
#define ICMP_MAX_ERRS 5
|
||||||
#define SET_SOCKA_LEN4(socka)
|
#define SET_SOCKA_LEN4(socka)
|
||||||
#define Copyright "Copyright (C) 1997-2001 Michiel Broek, All Rights Reserved"
|
|
||||||
|
|
||||||
|
|
||||||
typedef enum {P_INIT, P_SENT, P_FAIL, P_OK, P_ERROR, P_NONE} PINGSTATE;
|
typedef enum {P_INIT, P_SENT, P_FAIL, P_OK, P_ERROR, P_NONE} PINGSTATE;
|
||||||
@ -1377,7 +1376,7 @@ int main(int argc, char **argv)
|
|||||||
* Print copyright notices and setup logging.
|
* Print copyright notices and setup logging.
|
||||||
*/
|
*/
|
||||||
printf("MBTASK: MBSE BBS v%s Task Manager Daemon\n", VERSION);
|
printf("MBTASK: MBSE BBS v%s Task Manager Daemon\n", VERSION);
|
||||||
printf(" %s\n\n", Copyright);
|
printf(" %s\n\n", COPYRIGHT);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Catch all the signals we can, and ignore the rest. Note that SIGKILL can't be ignored
|
* Catch all the signals we can, and ignore the rest. Note that SIGKILL can't be ignored
|
||||||
|
Reference in New Issue
Block a user