home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume14 / pcomm / part03 / info.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-05-17  |  1.2 KB  |  40 lines

  1. /*
  2.  * Display the initial welcome screen (to include all of the proper
  3.  * acknowledgements).  Press any key to continue.
  4.  */
  5.  
  6. #include <stdio.h>
  7. #include <curses.h>
  8.  
  9. info(fd)
  10. int fd;
  11. {
  12.     WINDOW *w_win, *newwin();
  13.                     /* display the welcome screen */
  14.     w_win = newwin(23, 80, 0, 0);
  15.  
  16.     mvwaddstr(w_win, 2, 18, "PPPPPP    CCCC    OOOO    MM   MM   MM   MM");
  17.     mvwaddstr(w_win, 3, 18, "P    P   C       O    O   M M M M   M M M M");
  18.     mvwaddstr(w_win, 4, 18, "PPPPPP   C       O    O   M  M  M   M  M  M");
  19.     mvwaddstr(w_win, 5, 18, "P        C       O    O   M     M   M     M");
  20.     mvwaddstr(w_win, 6, 18, "P         CCCC    OOOO    M     M   M     M");
  21.  
  22.     mvwaddstr(w_win, 10, 5, "Pcomm is a public domain telecommunication program for Unix designed");
  23.     mvwaddstr(w_win, 11, 5, "to operate similar to the popular MSDOS program, ProComm.  ProComm (TM)");
  24.     mvwaddstr(w_win, 12, 5, "is copyrighted by Datastorm Technologies, Inc.  This is a completely");
  25.     mvwaddstr(w_win, 13, 5, "new program and contains no ProComm source code.");
  26.     mvwaddstr(w_win, 19, 45, "Emmet P Gray");
  27.     mvwaddstr(w_win, 20, 45, "...ihnp4!uiucuxc!fthood!egray");
  28.  
  29.     wmove(w_win, 22, 79);
  30.     wrefresh(w_win);
  31.     
  32.     wgetch(w_win);
  33.     if (fd == -1) {
  34.         werase(w_win);
  35.         wrefresh(w_win);
  36.     }
  37.     delwin(w_win);
  38.     return;
  39. }
  40.