B_BANNER.C

4.8 KB 2b3eecf1374d4396…
/*--------------------------------------------------------------------------*/
/*                                                                          */
/*                                                                          */
/*      ------------         Bit-Bucket Software, Co.                       */
/*      \ 10001101 /         Writers and Distributors of                    */
/*       \ 011110 /          Freely Available<tm> Software.                 */
/*        \ 1011 /                                                          */
/*         ------                                                           */
/*                                                                          */
/*  (C) Copyright 1987-91, Bit Bucket Software Co., a Delaware Corporation. */
/*                                                                          */
/*                                                                          */
/*          This module was originally written by Vince Perriello           */
/*                                                                          */
/*                                                                          */
/*                       BinkleyTerm Opening Banner                         */
/*                                                                          */
/*                                                                          */
/*    For complete  details  of the licensing restrictions, please refer    */
/*    to the License  agreement,  which  is published in its entirety in    */
/*    the MAKEFILE and BT.C, and also contained in the file LICENSE.250.    */
/*                                                                          */
/*    USE  OF THIS FILE IS SUBJECT TO THE  RESTRICTIONS CONTAINED IN THE    */
/*    BINKLEYTERM  LICENSING  AGREEMENT.  IF YOU DO NOT FIND THE TEXT OF    */
/*    THIS  AGREEMENT IN ANY OF THE  AFOREMENTIONED FILES,  OR IF YOU DO    */
/*    NOT HAVE THESE FILES,  YOU  SHOULD  IMMEDIATELY CONTACT BIT BUCKET    */
/*    SOFTWARE CO.  AT ONE OF THE  ADDRESSES  LISTED BELOW.  IN NO EVENT    */
/*    SHOULD YOU  PROCEED TO USE THIS FILE  WITHOUT HAVING  ACCEPTED THE    */
/*    TERMS  OF  THE  BINKLEYTERM  LICENSING  AGREEMENT,  OR  SUCH OTHER    */
/*    AGREEMENT AS YOU ARE ABLE TO REACH WITH BIT BUCKET SOFTWARE, CO.      */
/*                                                                          */
/*                                                                          */
/* You can contact Bit Bucket Software Co. at any one of the following      */
/* addresses:                                                               */
/*                                                                          */
/* Bit Bucket Software Co.        FidoNet  1:104/501, 1:343/491             */
/* P.O. Box 460398                AlterNet 7:491/0                          */
/* Aurora, CO 80046               BBS-Net  86:2030/1                        */
/*                                Internet f491.n343.z1.fidonet.org         */
/*                                                                          */
/* Please feel free to contact us at any time to share your comments about  */
/* our software and/or licensing policies.                                  */
/*                                                                          */
/*--------------------------------------------------------------------------*/

/* Include this file before any other includes or defines! */

#include "includes.h"

void opening_banner ()
{
   char bd[10];

#ifndef OS_2
   char *p;
   char far *q;
   int i;
#endif

   if (!fullscreen || !un_attended)
      {
      screen_clear ();
      scr_printf (ANNOUNCE);
      scr_printf ("\r\nA Freely Available<tm> Dumb Terminal and FidoNet Mail Package\r\n");
      scr_printf (MSG_TXT(M_SETTING));
      scr_printf (" COM");
      (void) sprintf (junk, "%c:", ((char)(port_ptr + '1')));
      scr_printf (junk);
      scr_printf (MSG_TXT(M_INITIAL_SPEED));
      (void) sprintf (bd, "%u", max_baud.rate_value);
      scr_printf (bd);
      scr_printf (MSG_TXT(M_INTRO_END));

#ifndef OS_2
      if ((fossil_info.curr_fossil > 0) && !rev3)
         {
         (void) strcpy (junk, MSG_TXT(M_FOSSIL_TYPE));
         p = &junk [strlen (junk)];
         q = (char far *) (fossil_info.id_string);
         for (i = 0; (i < 64) && (*q != '\0'); i++)
            *p++ = *q++;
         (void) strcpy (p, "\r\n");
         scr_printf (junk);
         }
      else
         {
         scr_printf (MSG_TXT(M_FOSSIL_REV3));
         scr_printf ("\r\n");
         }
#endif
      scr_printf (MSG_TXT(M_MULTI_TASKER));
      scr_printf (mtask_name);
      scr_printf ("\r\n");
      }
}