home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / BSRC_250.LZH / B_BANNER.C < prev    next >
C/C++ Source or Header  |  1991-09-15  |  5KB  |  99 lines

  1. /*--------------------------------------------------------------------------*/
  2. /*                                                                          */
  3. /*                                                                          */
  4. /*      ------------         Bit-Bucket Software, Co.                       */
  5. /*      \ 10001101 /         Writers and Distributors of                    */
  6. /*       \ 011110 /          Freely Available<tm> Software.                 */
  7. /*        \ 1011 /                                                          */
  8. /*         ------                                                           */
  9. /*                                                                          */
  10. /*  (C) Copyright 1987-91, Bit Bucket Software Co., a Delaware Corporation. */
  11. /*                                                                          */
  12. /*                                                                          */
  13. /*          This module was originally written by Vince Perriello           */
  14. /*                                                                          */
  15. /*                                                                          */
  16. /*                       BinkleyTerm Opening Banner                         */
  17. /*                                                                          */
  18. /*                                                                          */
  19. /*    For complete  details  of the licensing restrictions, please refer    */
  20. /*    to the License  agreement,  which  is published in its entirety in    */
  21. /*    the MAKEFILE and BT.C, and also contained in the file LICENSE.250.    */
  22. /*                                                                          */
  23. /*    USE  OF THIS FILE IS SUBJECT TO THE  RESTRICTIONS CONTAINED IN THE    */
  24. /*    BINKLEYTERM  LICENSING  AGREEMENT.  IF YOU DO NOT FIND THE TEXT OF    */
  25. /*    THIS  AGREEMENT IN ANY OF THE  AFOREMENTIONED FILES,  OR IF YOU DO    */
  26. /*    NOT HAVE THESE FILES,  YOU  SHOULD  IMMEDIATELY CONTACT BIT BUCKET    */
  27. /*    SOFTWARE CO.  AT ONE OF THE  ADDRESSES  LISTED BELOW.  IN NO EVENT    */
  28. /*    SHOULD YOU  PROCEED TO USE THIS FILE  WITHOUT HAVING  ACCEPTED THE    */
  29. /*    TERMS  OF  THE  BINKLEYTERM  LICENSING  AGREEMENT,  OR  SUCH OTHER    */
  30. /*    AGREEMENT AS YOU ARE ABLE TO REACH WITH BIT BUCKET SOFTWARE, CO.      */
  31. /*                                                                          */
  32. /*                                                                          */
  33. /* You can contact Bit Bucket Software Co. at any one of the following      */
  34. /* addresses:                                                               */
  35. /*                                                                          */
  36. /* Bit Bucket Software Co.        FidoNet  1:104/501, 1:343/491             */
  37. /* P.O. Box 460398                AlterNet 7:491/0                          */
  38. /* Aurora, CO 80046               BBS-Net  86:2030/1                        */
  39. /*                                Internet f491.n343.z1.fidonet.org         */
  40. /*                                                                          */
  41. /* Please feel free to contact us at any time to share your comments about  */
  42. /* our software and/or licensing policies.                                  */
  43. /*                                                                          */
  44. /*--------------------------------------------------------------------------*/
  45.  
  46. /* Include this file before any other includes or defines! */
  47.  
  48. #include "includes.h"
  49.  
  50. void opening_banner ()
  51. {
  52.    char bd[10];
  53.  
  54. #ifndef OS_2
  55.    char *p;
  56.    char far *q;
  57.    int i;
  58. #endif
  59.  
  60.    if (!fullscreen || !un_attended)
  61.       {
  62.       screen_clear ();
  63.       scr_printf (ANNOUNCE);
  64.       scr_printf ("\r\nA Freely Available<tm> Dumb Terminal and FidoNet Mail Package\r\n");
  65.       scr_printf (MSG_TXT(M_SETTING));
  66.       scr_printf (" COM");
  67.       (void) sprintf (junk, "%c:", ((char)(port_ptr + '1')));
  68.       scr_printf (junk);
  69.       scr_printf (MSG_TXT(M_INITIAL_SPEED));
  70.       (void) sprintf (bd, "%u", max_baud.rate_value);
  71.       scr_printf (bd);
  72.       scr_printf (MSG_TXT(M_INTRO_END));
  73.  
  74. #ifndef OS_2
  75.       if ((fossil_info.curr_fossil > 0) && !rev3)
  76.          {
  77.          (void) strcpy (junk, MSG_TXT(M_FOSSIL_TYPE));
  78.          p = &junk [strlen (junk)];
  79.          q = (char far *) (fossil_info.id_string);
  80.          for (i = 0; (i < 64) && (*q != '\0'); i++)
  81.             *p++ = *q++;
  82.          (void) strcpy (p, "\r\n");
  83.          scr_printf (junk);
  84.          }
  85.       else
  86.          {
  87.          scr_printf (MSG_TXT(M_FOSSIL_REV3));
  88.          scr_printf ("\r\n");
  89.          }
  90. #endif
  91.       scr_printf (MSG_TXT(M_MULTI_TASKER));
  92.       scr_printf (mtask_name);
  93.       scr_printf ("\r\n");
  94.       }
  95. }
  96.  
  97.  
  98.  
  99.