home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-04-10 | 89.0 KB | 3,885 lines |
- Newsgroups: comp.sources.unix
- From: fkk@stasys.sta.sub.org (Frank Kaefer)
- Subject: v26i144: banners - a collection of banner programs, V1.1, Part04/07
- Sender: unix-sources-moderator@vix.com
- Approved: paul@vix.com
-
- Submitted-By: fkk@stasys.sta.sub.org (Frank Kaefer)
- Posting-Number: Volume 26, Issue 144
- Archive-Name: banners-1.1/part04
-
- #! /bin/sh
- # This is a shell archive. Remove anything before this line, then unpack
- # it by saving it into a file and typing "sh file". To overwrite existing
- # files, type "sh file -c". You can also feed this as standard input via
- # unshar, or by typing "sh <file", e.g.. If this archive is complete, you
- # will see the following message at the end:
- # "End of archive 4 (of 7)."
- # Contents: banner-02/banner.c banner-05/kbandat.c banner-09/data.c
- # banner-12/COPYING gothic/gothic.c
- # Wrapped by vixie@gw.home.vix.com on Sun Apr 11 23:19:21 1993
- PATH=/bin:/usr/bin:/usr/ucb ; export PATH
- if test -f 'banner-02/banner.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'banner-02/banner.c'\"
- else
- echo shar: Extracting \"'banner-02/banner.c'\" \(14988 characters\)
- sed "s/^X//" >'banner-02/banner.c' <<'END_OF_FILE'
- X/******************************
- X * Banner.C, (c)1990 by *
- X * Michael Baudisch *
- X * lizard@cubenet.sub.org *
- X ******************************/
- X
- X/*************************************************************************/
- X/* Achtung!! Hier bitte fuer den jeweiligen Computer-typ einstellen!! */
- X/*************************************************************************/
- X/* #define MS_DOS /* Nur fuer MS-DOS-computer + kompatible */
- X/* #define AMIGA /* Fuer die Amiganer */
- X#define UNIX /* Fuer Unix-ler */
- X#define INTERN_DATA /* Nur das eingebaute Data-file zaehlt */
- X/* #define STD_DATA_FILE "" /* tja, standard-daten-file halt */
- X /* bequemer ist INTERN_DATA zu definieren :) */
- X
- X#ifndef MS_DOS
- X# ifndef INTERN_DATA
- X# ifndef STD_DATA_FILE
- X /* Fuer Nicht-MsDos'ler: Path+name vom StdData */
- X# define STD_DATA_FILE "./banner.dat"
- X# endif
- X# endif
- X#endif
- X/*************************************************************************/
- X
- X#ifdef MS_DOS
- X# include <process.h>
- X#endif
- X
- X#ifndef AMIGA
- X# include <malloc.h>
- X# include <string.h>
- X#endif
- X
- X#include <stdio.h>
- X#include <ctype.h>
- X
- X#ifdef INTERN_DATA
- unsigned char intern_data[] = {
- X0x012,0x055,0x020,0x000,0x0ff,0x041,0x001,0x007,0x042,0x001,0x00f,0x043,0x001,0x017,0x044,0x001,
- X0x01f,0x045,0x001,0x027,0x046,0x001,0x02f,0x047,0x001,0x037,0x048,0x001,0x03f,0x049,0x001,0x047,
- X0x04a,0x001,0x04f,0x04b,0x001,0x057,0x04c,0x001,0x05f,0x04d,0x001,0x067,0x04e,0x001,0x06f,0x04f,
- X0x001,0x077,0x050,0x001,0x07f,0x051,0x001,0x087,0x052,0x001,0x08f,0x053,0x001,0x097,0x054,0x001,
- X0x09f,0x055,0x001,0x0a7,0x056,0x001,0x0af,0x057,0x001,0x0b7,0x058,0x001,0x0bf,0x059,0x001,0x0c7,
- X0x05a,0x001,0x0cf,0x03a,0x001,0x0d7,0x03b,0x001,0x0df,0x03d,0x001,0x0e7,0x03f,0x001,0x0ef,0x028,
- X0x001,0x0f7,0x029,0x001,0x0ff,0x02d,0x002,0x007,0x02f,0x002,0x00f,0x021,0x002,0x017,0x02e,0x002,
- X0x01f,0x02c,0x002,0x027,0x02b,0x002,0x02f,0x02a,0x002,0x037,0x022,0x002,0x03f,0x023,0x002,0x047,
- X0x030,0x002,0x04f,0x031,0x002,0x057,0x032,0x002,0x05f,0x033,0x002,0x067,0x034,0x002,0x06f,0x035,
- X0x002,0x077,0x036,0x002,0x07f,0x037,0x002,0x087,0x038,0x002,0x08f,0x039,0x002,0x097,0x027,0x002,
- X0x09f,0x05c,0x002,0x0a7,0x061,0x002,0x0af,0x062,0x002,0x0b7,0x063,0x002,0x0bf,0x064,0x002,0x0c7,
- X0x065,0x002,0x0cf,0x066,0x002,0x0d7,0x067,0x002,0x0df,0x068,0x002,0x0e7,0x069,0x002,0x0ef,0x06a,
- X0x002,0x0f7,0x06b,0x002,0x0ff,0x06c,0x003,0x007,0x06d,0x003,0x00f,0x06e,0x003,0x017,0x06f,0x003,
- X0x01f,0x070,0x003,0x027,0x071,0x003,0x02f,0x072,0x003,0x037,0x073,0x003,0x03f,0x074,0x003,0x047,
- X0x075,0x003,0x04f,0x076,0x003,0x057,0x077,0x003,0x05f,0x078,0x003,0x067,0x079,0x003,0x06f,0x07a,
- X0x003,0x077,0x03c,0x003,0x07f,0x03e,0x003,0x087,0x07c,0x003,0x08f,0x05f,0x003,0x097,0x020,0x003,
- X0x09f,0x000,0x000,0x000,0x000,0x000,0x000,0x000,0x000,0x018,0x03c,0x066,0x066,0x07e,0x066,0x066,
- X0x000,0x0fc,0x066,0x066,0x07c,0x066,0x066,0x0fc,0x000,0x03c,0x066,0x0c0,0x0c0,0x0c0,0x066,0x03c,
- X0x000,0x0f8,0x06c,0x066,0x066,0x066,0x06c,0x0f8,0x000,0x0fe,0x062,0x068,0x078,0x068,0x062,0x0fe,
- X0x000,0x0fe,0x062,0x068,0x078,0x068,0x060,0x0f0,0x000,0x03c,0x066,0x0c0,0x0c0,0x0ce,0x066,0x03e,
- X0x000,0x066,0x066,0x066,0x07e,0x066,0x066,0x066,0x000,0x07e,0x018,0x018,0x018,0x018,0x018,0x07e,
- X0x000,0x01e,0x00c,0x00c,0x00c,0x0cc,0x0cc,0x078,0x000,0x0e6,0x066,0x06c,0x078,0x06c,0x066,0x0e6,
- X0x000,0x0f0,0x060,0x060,0x060,0x062,0x066,0x0fe,0x000,0x0c6,0x0ee,0x0fe,0x0fe,0x0d6,0x0c6,0x0c6,
- X0x000,0x0c6,0x0e6,0x0f6,0x0de,0x0ce,0x0c6,0x0c6,0x000,0x038,0x06c,0x0c6,0x0c6,0x0c6,0x06c,0x038,
- X0x000,0x0fc,0x066,0x066,0x07c,0x060,0x060,0x0f0,0x000,0x038,0x06c,0x0c6,0x0c6,0x0da,0x0cc,0x076,
- X0x000,0x0fc,0x066,0x066,0x07c,0x06c,0x066,0x0e6,0x000,0x03c,0x066,0x060,0x03c,0x006,0x066,0x03c,
- X0x000,0x07e,0x05a,0x018,0x018,0x018,0x018,0x03c,0x000,0x066,0x066,0x066,0x066,0x066,0x066,0x03c,
- X0x000,0x066,0x066,0x066,0x066,0x066,0x03c,0x018,0x000,0x0c6,0x0c6,0x0c6,0x0d6,0x0fe,0x0ee,0x0c6,
- X0x000,0x0c6,0x06c,0x038,0x038,0x06c,0x0c6,0x0c6,0x000,0x066,0x066,0x066,0x03c,0x018,0x018,0x03c,
- X0x000,0x0fe,0x0c6,0x08c,0x018,0x032,0x066,0x0fe,0x000,0x000,0x000,0x018,0x018,0x000,0x018,0x018,
- X0x000,0x000,0x000,0x018,0x018,0x000,0x018,0x018,0x030,0x000,0x000,0x07e,0x000,0x000,0x07e,0x000,
- X0x000,0x03c,0x066,0x066,0x00c,0x018,0x000,0x018,0x000,0x00c,0x018,0x030,0x030,0x030,0x018,0x00c,
- X0x000,0x030,0x018,0x00c,0x00c,0x00c,0x018,0x030,0x000,0x000,0x000,0x000,0x07e,0x000,0x000,0x000,
- X0x000,0x006,0x00c,0x018,0x030,0x060,0x0c0,0x080,0x000,0x018,0x018,0x018,0x018,0x018,0x000,0x018,
- X0x000,0x000,0x000,0x000,0x000,0x000,0x018,0x018,0x000,0x000,0x000,0x000,0x000,0x000,0x018,0x018,
- X0x030,0x000,0x018,0x018,0x07e,0x018,0x018,0x000,0x000,0x000,0x066,0x03c,0x0ff,0x03c,0x066,0x000,
- X0x000,0x066,0x066,0x066,0x000,0x000,0x000,0x000,0x000,0x06c,0x06c,0x0fe,0x06c,0x0fe,0x06c,0x06c,
- X0x000,0x07c,0x0c6,0x0ce,0x0d6,0x0e6,0x0c6,0x07c,0x000,0x018,0x038,0x018,0x018,0x018,0x018,0x07e,
- X0x000,0x03c,0x066,0x006,0x03c,0x060,0x066,0x07e,0x000,0x03c,0x066,0x006,0x01c,0x006,0x066,0x03c,
- X0x000,0x01c,0x03c,0x06c,0x0cc,0x0fe,0x00c,0x01e,0x000,0x07e,0x062,0x060,0x07c,0x006,0x066,0x03c,
- X0x000,0x03c,0x066,0x060,0x07c,0x066,0x066,0x03c,0x000,0x07e,0x046,0x006,0x00c,0x018,0x018,0x018,
- X0x000,0x03c,0x066,0x066,0x03c,0x066,0x066,0x03c,0x000,0x03c,0x066,0x066,0x03e,0x006,0x066,0x03c,
- X0x000,0x00c,0x018,0x030,0x000,0x000,0x000,0x000,0x000,0x0c0,0x060,0x030,0x018,0x00c,0x006,0x002,
- X0x000,0x000,0x000,0x078,0x00c,0x07c,0x0cc,0x076,0x000,0x0e0,0x060,0x07c,0x066,0x066,0x066,0x0dc,
- X0x000,0x000,0x000,0x03c,0x066,0x060,0x066,0x03c,0x000,0x01c,0x00c,0x07c,0x0cc,0x0cc,0x0cc,0x076,
- X0x000,0x000,0x000,0x03c,0x066,0x07e,0x060,0x03c,0x000,0x01c,0x036,0x030,0x078,0x030,0x030,0x078,
- X0x000,0x000,0x000,0x03e,0x066,0x066,0x03e,0x006,0x07c,0x0e0,0x060,0x06c,0x076,0x066,0x066,0x0e6,
- X0x000,0x018,0x000,0x038,0x018,0x018,0x018,0x03c,0x000,0x006,0x000,0x00e,0x006,0x006,0x066,0x066,
- X0x03c,0x0e0,0x060,0x066,0x06c,0x078,0x06c,0x0e6,0x000,0x038,0x018,0x018,0x018,0x018,0x018,0x03c,
- X0x000,0x000,0x000,0x06c,0x0fe,0x0d6,0x0d6,0x0c6,0x000,0x000,0x000,0x0dc,0x066,0x066,0x066,0x066,
- X0x000,0x000,0x000,0x03c,0x066,0x066,0x066,0x03c,0x000,0x000,0x000,0x0dc,0x066,0x066,0x07c,0x060,
- X0x0f0,0x000,0x000,0x076,0x0cc,0x0cc,0x07c,0x00c,0x01e,0x000,0x000,0x0dc,0x076,0x060,0x060,0x0f0,
- X0x000,0x000,0x000,0x03c,0x060,0x03c,0x006,0x07c,0x000,0x030,0x030,0x07c,0x030,0x030,0x036,0x01c,
- X0x000,0x000,0x000,0x066,0x066,0x066,0x066,0x03e,0x000,0x000,0x000,0x066,0x066,0x066,0x03c,0x018,
- X0x000,0x000,0x000,0x0c6,0x0d6,0x0d6,0x0fe,0x06c,0x000,0x000,0x000,0x0c6,0x06c,0x038,0x06c,0x0c6,
- X0x000,0x000,0x000,0x066,0x066,0x066,0x03e,0x006,0x07c,0x000,0x000,0x07e,0x04c,0x018,0x032,0x07e,
- X0x000,0x00c,0x018,0x030,0x060,0x030,0x018,0x00c,0x000,0x060,0x030,0x018,0x00c,0x018,0x030,0x060,
- X0x000,0x018,0x018,0x018,0x018,0x018,0x018,0x018,0x000,0x000,0x000,0x000,0x000,0x000,0x000,0x000,
- X0x0ff,0x000,0x000,0x000,0x000,0x000,0x000,0x000,0x000 };
- X#endif
- X
- typedef unsigned int UINT;
- typedef unsigned char UCHAR;
- typedef UCHAR * DATA;
- X
- X/*******************/
- X#define VERSION 1.3
- X#define PATCHLEVEL 2
- X/*******************/
- X
- X#ifndef SEEK_END
- X#define SEEK_END 2
- X#endif
- X
- X#define TRUE 1
- X#define FALSE 0
- X#define SIZE_LINE ((size_h+1)*size_y)
- X#define SIZE_LINE_Y (size_y)
- X#define SIZE_CHAR (size_x*size_y)
- X#define CLEAR_LINE 1
- X#define CLEAR_CHAR 2
- X#define CLEAR_ALL (CLEAR_LINE|CLEAR_CHAR)
- X#define XMAX (size_h)
- X
- void main (/*int argc, char *argv[]*/);
- void help (/*void*/);
- void shutdown (/*char *txt*/);
- void clearmem (/*int was*/);
- void newline (/*void*/);
- void writeword (/*char *txt*/);
- void putword (/*char *txt*/);
- void calc_char (/*char x*/);
- void insert_char (/*char chrx*/);
- void writechar (/*char x*/);
- int read_word (/*FILE *fh*/);
- void banner_file (/*FILE *fh*/);
- X
- DATA zs = 0, chr = 0, line = 0;
- XFILE *fh = 0;
- char str[256], b_file[80], fchar = ' ', fchar2 = ' ';
- char shadow_char = ' '; /* default: space */
- int size_h = 80, size_x = 8, size_y = 8;
- int xpos, empty = TRUE, chars=FALSE, pipe=FALSE, upper=FALSE;
- int italics = FALSE, inverse = FALSE, fcharf = FALSE, ultraflag = FALSE;
- X
- void main(argc,argv)
- int argc;
- char *argv[];
- X{
- long n;
- void *puffer;
- X *str=*b_file='\0';
- X if(argc==1||(argc==2&&!(strcmp(argv[1],"?")*strcmp(argv[1],"/?")*strcmp
- X (argv[1],"/h"))))
- X {
- X help();
- X shutdown("");
- X }
- X for(n=1;n<argc;n++)
- X {
- X if(*argv[n]=='/')
- X {
- X switch(tolower(argv[n][1]))
- X {
- X case 's':
- X sscanf(&argv[n][3],"%4u",&size_h);
- X break;
- X case 'd':
- X strcpy(str,&argv[n][3]);
- X break;
- X# ifndef AMIGA
- X case 'f':
- X strcpy(b_file,&argv[n][3]);
- X break;
- X# endif /* AMIGA */
- X case '?':
- X case 'h':
- X help();
- X break;
- X case '#':
- X chars=TRUE;
- X break;
- X case 'p':
- X pipe=TRUE;
- X break;
- X case 'u':
- X upper=TRUE;
- X break;
- X case 'r':
- X inverse=TRUE;
- X break;
- X case 'i':
- X italics=TRUE;
- X size_h-=size_y;
- X break;
- X case 'c':
- X fcharf=TRUE;
- X fchar=argv[n][2];
- X if(strlen(argv[n])>3)
- X fchar2=argv[n][3];
- X if(strlen(argv[n])>=5)
- X if(argv[n][4]=='!')
- X ultraflag=TRUE;
- X if(strlen(argv[n])>=6 && ultraflag)
- X shadow_char = argv[n][5];
- X break;
- X default:
- X shutdown("Falsche Option! Aufruf mit /h oder /? listet alle Optionen.");
- X break;
- X }
- X }
- X }
- X if(!*str)
- X {
- X#ifdef MS_DOS
- X strcpy(str,argv[0]);
- X strcpy(str+strlen(str)-3,"DAT");
- X#else
- X# ifndef INTERN_DATA
- X# ifndef STD_DATA_FILE
- X# define STD_DATA_FILE "./banner.dat"
- X# endif
- X strcpy(str,STD_DATA_FILE);
- X# endif
- X#endif
- X }
- X#ifdef INTERN_DATA
- X zs=(DATA)intern_data;
- X#else
- X if(!(fh=fopen(str,"rb")))
- X shutdown("Datenfile nicht gefunden!!");
- X if(fseek(fh,0L,SEEK_END))
- X shutdown("Interner Fehler.");
- X if((n=ftell(fh))==-1)
- X shutdown("Interner Fehler.");
- X rewind(fh);
- X# ifdef MS_DOS
- X if(!(zs=(DATA)malloc((size_t)n)))
- X shutdown("Zu wenig Speicher!!");
- X fread((void *)zs, (size_t)1, (size_t)n, (FILE *)fh);
- X# else
- X if(!(zs=(DATA)malloc((int)n)))
- X shutdown("Zu wenig Speicher!!");
- X fread((void *)zs, (int)1, (int)n, (FILE *)fh);
- X# endif
- X fclose(fh);
- X#endif
- X if(!(chr=(DATA)malloc(size_x*size_y)))
- X shutdown("Zu wenig Speicher!!");
- X if(!(line=(DATA)malloc(SIZE_LINE)))
- X shutdown("Zu wenig Speicher!!");
- X if( (float)( (int)VERSION*16)+(VERSION-1.0)*10.0<(float)zs[0])
- X shutdown("Datenfile nicht fuer diese Version von Banner.C geeignet.");
- X if(zs[0]<(UCHAR)0x12)
- X upper=TRUE; /* 1.0 und 1.1 unterstuetzen NUR Grossbuchstaben! */
- X clearmem(CLEAR_ALL);
- X xpos=0;
- X for(n=1;n<argc;n++)
- X {
- X if(argv[n][0]!='/')
- X {
- X writeword(argv[n]);
- X if((xpos+=size_x)>XMAX-1)
- X newline();
- X }
- X }
- X if(xpos) newline();
- X#ifndef AMIGA
- X if(*b_file)
- X {
- X if(!(fh=fopen(b_file,"rb")))
- X shutdown("Kann zu bannerndes Datenfile nicht finden.");
- X banner_file(fh);
- X fclose(fh);
- X newline();
- X }
- X#endif
- X if(pipe)
- X banner_file(stdin);
- X shutdown("");
- X}
- X
- void banner_file(fh)
- XFILE *fh;
- X{
- long m;
- X while(!feof(fh))
- X {
- X m=(long)read_word(fh);
- X if(strlen(str))
- X {
- X writeword(str);
- X if((xpos+=size_x)>XMAX-1 || m)
- X {
- X newline();
- X m=0L;
- X }
- X }
- X if(m) newline();
- X }
- X}
- X
- int read_word(fh)
- XFILE *fh;
- X{
- int flag = TRUE, n = 0, ret=0;
- char x;
- X while(flag && n<250)
- X {
- X x=(char)fgetc(fh);
- X if(x==' ' || !isprint(x))
- X flag=FALSE;
- X else
- X str[n++]=x;
- X ret=(x=='\n'||x=='\r'||x==(char)0x0a||x==(char)0x0d)?1:0;
- X }
- X str[n]='\0';
- X return(ret);
- X}
- X
- void writeword(txt)
- char *txt;
- X{
- X if(xpos+size_x*strlen(txt)>XMAX)
- X {
- X if(!xpos)
- X putword(txt);
- X else
- X {
- X newline();
- X writeword(txt);
- X return;
- X }
- X }
- X else
- X putword(txt);
- X}
- X
- void putword(txt)
- char *txt;
- X{
- int n;
- X for(n=0;n<strlen(txt);n++)
- X writechar(txt[n]);
- X}
- X
- void writechar(x)
- char x;
- X{
- char chr = upper?toupper(x):x;
- X calc_char(chr);
- X insert_char(chr);
- X if((xpos+=size_x)>XMAX-1) newline();
- X}
- X
- void calc_char(x)
- char x;
- X{
- int n,m,a,b;
- X fchar2|=(UCHAR)0x80;
- X clearmem(CLEAR_CHAR);
- X for(n=0,m=-1;n<zs[1] && m<0;n++)
- X {
- X if(zs[2+n*3]==x)
- X m=n;
- X }
- X if(m<0) return;
- X for(n=0;n<8;n++)
- X {
- X b=(int)zs[2+256*zs[m*3+3]+zs[m*3+4]+n];
- X for(a=0;a<8;a++)
- X {
- X if(b&1)
- X chr[n*8+7-a]=inverse?(UCHAR)fchar2:(chars?x:(fcharf?fchar:'#'));
- X else
- X chr[n*8+7-a]=inverse?(chars?x:(fcharf?fchar:'#')):(UCHAR)fchar2;
- X b>>=1;
- X }
- X }
- X}
- X
- void insert_char(chrx)
- char chrx;
- X{
- int n,m;
- UCHAR x = fchar2, xold;
- X empty=FALSE;
- X for(n=0;n<8;n++)
- X {
- X for(m=0;m<8;m++)
- X {
- X xold=x;
- X x=chr[8*n+m];
- X if(!ultraflag)
- X line[size_h*n+xpos+m]=(UCHAR)x&0x7f;
- X else
- X {
- X if(x==(UCHAR)fchar2 && xold==(UCHAR)(chars?chrx:fchar))
- X x=(UCHAR)shadow_char;
- X line[size_h*n+xpos+m]=(UCHAR)x&0x7f;
- X }
- X }
- X }
- X}
- X
- void newline(/*void*/)
- X{
- int a,b,c,x, wrote;
- X if(empty)
- X {
- X xpos=0;
- X return;
- X }
- X empty=TRUE;
- X xpos=0;
- X for(a=0;a<SIZE_LINE_Y;a++)
- X {
- X wrote=0;
- X if(italics)
- X {
- X for(b=0;b<(SIZE_LINE_Y-a);b++, wrote++)
- X putchar(' ');
- X }
- X for(b=size_h-1,c=0;b>1 && !c;b--)
- X {
- X if(line[size_h*a+b]!=' ' && line[size_h*a+b]!='\0')
- X c=(++b);
- X }
- X for(b=0;b<c && b<size_h;b++)
- X {
- X x=(int)line[size_h*a+b];
- X if(!x) x=32;
- X putchar(x);
- X wrote++;
- X }
- X if(wrote<(size_h+(italics?SIZE_LINE_Y:0)))
- X putchar('\n');
- X }
- X clearmem(CLEAR_LINE);
- X}
- X
- void clearmem(was)
- int was;
- X{
- register UINT n;
- X if(was&CLEAR_CHAR)
- X {
- X for(n=0;n<SIZE_CHAR;n++)
- X chr[n]=(char)32;
- X }
- X if(was&CLEAR_LINE)
- X {
- X for(n=0;n<SIZE_LINE;n++)
- X line[n]=(char)0;
- X }
- X}
- X
- void help(/*void*/)
- X{
- X printf("\nBanner.c, V%1.1f (PL%d), (c)1990 by Lizard\n=======================================\n",
- X VERSION, PATCHLEVEL);
- X#ifdef AMIGA
- X puts("( Geschrieben urspruenglich fuer FALCON :-)");
- X#endif /* ;-) */
- X puts("Aufruf: Banner /<option1> /<opt2> /<opt3> [etc... :-)] <text>\n");
- X puts("Moegliche Optionen:\n");
- X puts(" /? : Dieser Text hier. Auch: /h oder kein Parameter.");
- X puts(" /S:<breite> : Breite des geBANNERten Textes (Horizontal/Gesamt), Default: 80");
- X puts(" /D:<path> : Anderes Zeichensatz-Datenfile hernehmen.");
- X#ifndef AMIGA
- X puts(" /F:<path> : File <path> bannern.");
- X#endif /* Tja, amiga hat nicht fopen("..","rb") !! */
- X puts(" /# : Die Buchstaben werden anstatt mit #'s mit den jeweiligen Chars");
- X puts(" gebildet.");
- X puts(" /P : Pipe-option: Von stdin wird der zu bannernde Text gelesen.");
- X puts(" /U : Alles in Grossbuchstaben umwandeln.");
- X puts(" /R : Invertierte Darstellung.");
- X puts(" /I : Italics (schraege Buchstaben)");
- X puts(" /Cxy!x : 'Vordergrundfarbe'=x, 'Hintergrundfarbe'=y. y ist optional.");
- X puts(" : Bei angegebenem '!' wird die Shadow-funktion aktiviert.");
- X puts(" : x ist falls angegeben das 'Shadow-zeichen' (default:Space)");
- X puts("-------------------------------------------------------------------");
- X}
- X
- void shutdown(txt)
- char *txt;
- X{
- X#ifdef MS_DOS
- X fcloseall();
- X#endif
- X#ifndef INTERN_DATA
- X if(zs) free((void *)zs);
- X#endif
- X if(chr) free((char *)chr);
- X if(line) free((char *)line);
- X if(*txt) printf("\n%s\n",txt);
- X exit(0);
- X}
- X
- X
- END_OF_FILE
- if test 14988 -ne `wc -c <'banner-02/banner.c'`; then
- echo shar: \"'banner-02/banner.c'\" unpacked with wrong size!
- fi
- # end of 'banner-02/banner.c'
- fi
- if test -f 'banner-05/kbandat.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'banner-05/kbandat.c'\"
- else
- echo shar: Extracting \"'banner-05/kbandat.c'\" \(15981 characters\)
- sed "s/^X//" >'banner-05/kbandat.c' <<'END_OF_FILE'
- X/********************************************************/
- X/* */
- X/* SEMI's BANNER ( DATA FILE for Ver 1.21- ) */
- X/* */
- X/********************************************************/
- X
- X#define MAX_LEN 256 /* maximum length of inputed string */
- X#define WIDTH 13 /* vertical width of characters */
- X#define _WIDTH 14 /* -- in even number */
- X#define KOR_LEN 1024 /* 2^( the length of Korean ) */
- X
- X#define CMD_CHR '/' /* character for mode change, toggle of Korean mode */
- X
- X#define Eng_Ptn 1 /* the number of pattern-series of English */
- X#define Eng_Num 95 /* the number of English Alphabets */
- X
- char eng_chr[] = " ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!?@#$%^&*=+-_~`'\"()[]{}<>:;.,/\\|";
- X
- short stepspace = 1; /* set space steps between characters */
- X
- X#define N_MODE 1 /* the number of modes, cmodes */
- X#define N_CMODE 6
- X#define MODE 0 /* the initial value for mode, cmode */
- X#define CMODE 0
- X
- char mod_chr[] = ".+"; /* character determining mode(English pattern) */
- short mode = MODE;
- char font_choice[][ 5 ] = /* fonts for 0, 1, 2, 3 value each */
- X { " .'|", " .\"!", " _\"O", "#\". ", "O\"_ ", "|'_ " };
- short cmode = CMODE;
- X
- X#define Fir_Ptn 6 /* - Korean consonants in the 1st location */
- X#define Fir_Num 19
- X#define Sec_Ptn 2 /* - vouelles */
- X#define Sec_Num 21
- X#define Thi_Ptn 1 /* - consonants in the last location */
- X#define Thi_Num 27
- X
- char *kor_key[] = /* FIRST, SECOND, THIRD in keyboard */
- X { "rsefaqtdwczxvgREQTW", "koiOjpuPlhhhhynnnnbmm", "rrRssseffffffffaqqtTdwczxvg" };
- X
- short eng_fnt[ Eng_Ptn ][ Eng_Num ][ WIDTH+1 ] = /* English fonts */
- X{{{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2 }, /* SPACE */
- X { 16, 16, 56, 56, 76, 76, 124, 134, 134, 463, 0, 0, 511, 512 }, /* A */
- X { 504, 204, 198, 198, 252, 198, 195, 195, 198, 508, 0, 0, 511, 512 },
- X { 122, 454, 386, 768, 768, 768, 768, 385, 450, 124, 0, 0, 1023, 1024 },
- X { 504, 204, 198, 198, 195, 195, 195, 195, 198, 508, 0, 0, 511, 512 },
- X { 510, 194, 192, 200, 248, 200, 192, 192, 193, 511, 0, 0, 511, 512 },
- X { 255, 97, 96, 100, 124, 100, 96, 96, 96, 240, 0, 0, 255, 256 },
- X { 122, 454, 386, 768, 768, 783, 774, 390, 454, 122, 0, 0, 1023, 1024 },
- X { 975, 390, 390, 390, 510, 390, 390, 390, 390, 975, 0, 0, 1023, 1024 },
- X { 15, 6, 6, 6, 6, 6, 6, 6, 6, 15, 0, 0, 15, 16 },
- X { 15, 6, 6, 6, 6, 6, 6, 6, 102, 108, 56, 0, 127, 128 },
- X { 486, 196, 200, 208, 240, 216, 204, 204, 198, 487, 0, 0, 511, 512 },
- X { 480, 192, 192, 192, 192, 192, 192, 192, 193, 511, 0, 0, 511, 512 },
- X { 903, 390, 462, 462, 462, 374, 374, 294, 294, 943, 0, 0, 1023, 1024 },
- X { 391, 194, 226, 162, 178, 154, 142, 142, 134, 450, 0, 0, 511, 512 },
- X { 124, 460, 390, 774, 771, 771, 771, 387, 454, 124, 0, 0, 1023, 1024 },
- X { 252, 102, 99, 99, 99, 126, 96, 96, 96, 240, 0, 0, 255, 256 },
- X { 124, 460, 390, 774, 771, 771, 787, 393, 198, 123, 0, 0, 1023, 1024 },
- X { 504, 204, 198, 198, 252, 200, 196, 198, 199, 482, 0, 0, 511, 512 },
- X { 122, 198, 194, 240, 124, 30, 7, 259, 390, 380, 0, 0, 511, 512 },
- X { 255, 153, 24, 24, 24, 24, 24, 24, 24, 60, 0, 0, 255, 256 },
- X { 487, 194, 194, 194, 194, 194, 194, 194, 100, 56, 0, 0, 511, 512 },
- X { 487, 194, 194, 100, 100, 100, 56, 56, 16, 16, 0, 0, 511, 512 },
- X { 7655, 3266, 3266, 1636, 1636, 1636, 952, 952, 272, 272, 0, 0, 8191, 8192 },
- X { 247, 98, 52, 52, 24, 24, 44, 44, 70, 199, 0, 0, 255, 256 },
- X { 247, 98, 52, 52, 24, 24, 24, 24, 24, 60, 0, 0, 255, 256 },
- X { 510, 262, 12, 24, 48, 48, 96, 192, 385, 511, 0, 0, 511, 512 },
- X
- X { 0, 0, 0, 60, 102, 14, 54, 102, 103, 58, 0, 0, 127, 128 }, /* a */
- X { 224, 96, 96, 110, 115, 99, 97, 97, 98, 60, 0, 0, 255, 256 },
- X { 0, 0, 0, 30, 35, 96, 96, 96, 49, 30, 0, 0, 127, 128 },
- X { 14, 6, 6, 54, 78, 134, 134, 198, 206, 119, 0, 0, 255, 256 },
- X { 0, 0, 0, 30, 35, 127, 96, 96, 49, 30, 0, 0, 127, 128 },
- X { 6, 11, 24, 60, 24, 24, 24, 24, 24, 60, 0, 0, 63, 64 },
- X { 0, 0, 0, 29, 54, 54, 28, 16, 62, 31, 33, 126, 60, 128 },
- X { 224, 96, 96, 108, 118, 102, 102, 102, 102, 247, 0, 0, 255, 256 },
- X { 6, 6, 0, 14, 6, 6, 6, 6, 6, 15, 0, 0, 15, 16 },
- X { 3, 3, 0, 7, 3, 3, 3, 3, 3, 3, 3, 26, 12, 32 },
- X { 224, 96, 96, 102, 100, 104, 120, 108, 102, 247, 0, 0, 255, 256 },
- X { 14, 6, 6, 6, 6, 6, 6, 6, 6, 15, 0, 0, 15, 16 },
- X { 0, 0, 0, 876, 438, 438, 438, 438, 438, 951, 0, 0, 1023, 1024 },
- X { 0, 0, 0, 220, 102, 102, 102, 102, 102, 247, 0, 0, 255, 256 },
- X { 0, 0, 0, 28, 38, 99, 99, 99, 51, 30, 0, 0, 127, 128 },
- X { 0, 0, 0, 238, 115, 99, 97, 97, 98, 124, 96, 96, 240, 256 },
- X { 0, 0, 0, 58, 70, 134, 134, 198, 206, 118, 6, 6, 15, 256 },
- X { 0, 0, 0, 118, 59, 48, 48, 48, 48, 120, 0, 0, 127, 128 },
- X { 0, 0, 0, 30, 50, 56, 12, 39, 51, 46, 0, 0, 63, 64 },
- X { 0, 4, 12, 30, 12, 12, 12, 12, 13, 6, 0, 0, 31, 32 },
- X { 0, 0, 0, 238, 102, 102, 102, 102, 102, 59, 0, 0, 255, 256 },
- X { 0, 0, 0, 247, 98, 50, 52, 28, 24, 8, 0, 0, 255, 256 },
- X { 0, 0, 0, 1911, 818, 818, 476, 476, 136, 136, 0, 0, 2047, 2048 },
- X { 0, 0, 0, 119, 50, 28, 8, 28, 38, 103, 0, 0, 127, 128 },
- X { 0, 0, 0, 247, 98, 50, 52, 28, 24, 8, 16, 208, 96, 256 },
- X { 0, 0, 0, 126, 70, 12, 24, 48, 97, 127, 0, 0, 127, 128 },
- X { 0, }, /* 0 */
- X { 0, },
- X { 0, },
- X { 0, },
- X { 0, },
- X { 0, },
- X { 0, },
- X { 0, },
- X { 0, },
- X { 0, },
- X { 0, },
- X { 2, 7, 7, 7, 7, 2, 2, 2, 0, 2, 7, 2, 0, 8 },
- X},}
- X;
- X
- short fir_fnt[ Fir_Ptn ][ Fir_Num ][ WIDTH ] = /* first ( Korean ) */
- X
- X{{{ 992, 32, 32, 32, 32, 32, 64, 64, 64, 128, 128, 256, 512 }, /* Ab */
- X { 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 992 },
- X { 992, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 992 },
- X { 992, 32, 32, 32, 32, 32, 992, 512, 512, 512, 512, 512, 992 },
- X { 992, 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, 544, 992 },
- X { 544, 544, 544, 544, 544, 544, 992, 544, 544, 544, 544, 544, 992 },
- X { 128, 128, 128, 128, 128, 320, 320, 320, 320, 544, 544, 544, 544 },
- X { 128, 320, 320, 544, 544, 544, 544, 544, 544, 544, 320, 320, 128 },
- X { 992, 128, 128, 128, 128, 320, 320, 320, 320, 544, 544, 544, 544 },
- X { 128, 128, 992, 128, 128, 128, 128, 320, 320, 320, 544, 544, 544 },
- X { 992, 32, 32, 32, 992, 32, 64, 64, 64, 128, 128, 256, 512 },
- X { 992, 512, 512, 512, 512, 512, 992, 512, 512, 512, 512, 512, 992 },
- X { 992, 320, 320, 320, 320, 320, 320, 320, 320, 320, 320, 320, 992 },
- X { 128, 128, 992, 0, 0, 128, 320, 544, 544, 544, 544, 320, 128 },
- X { 864, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 576 },
- X { 864, 576, 576, 576, 576, 576, 576, 576, 576, 576, 576, 576, 864 },
- X { 672, 672, 672, 672, 672, 672, 992, 672, 672, 672, 672, 672, 992 },
- X { 320, 320, 320, 320, 320, 320, 320, 672, 672, 672, 672, 672, 672 },
- X { 992, 320, 320, 320, 320, 320, 320, 672, 672, 672, 672, 672, 672 } },
- X
- X {{ 1022, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0 }, /* Al */
- X { 512, 512, 512, 512, 512, 1022, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 512, 512, 512, 512, 1022, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 2, 1022, 512, 512, 1022, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 514, 514, 514, 514, 1022, 0, 0, 0, 0, 0, 0, 0 },
- X { 514, 514, 1022, 514, 514, 1022, 0, 0, 0, 0, 0, 0, 0 },
- X { 32, 32, 80, 136, 260, 514, 0, 0, 0, 0, 0, 0, 0 },
- X { 248, 260, 514, 514, 260, 248, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 32, 80, 136, 260, 514, 0, 0, 0, 0, 0, 0, 0 },
- X { 32, 1022, 32, 80, 136, 774, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 2, 2, 1022, 2, 2, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 512, 1022, 512, 512, 1022, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 136, 136, 136, 136, 1022, 0, 0, 0, 0, 0, 0, 0 },
- X { 32, 1022, 0, 508, 514, 508, 0, 0, 0, 0, 0, 0, 0 },
- X { 990, 66, 66, 66, 66, 66, 0, 0, 0, 0, 0, 0, 0 },
- X { 990, 528, 528, 528, 528, 990, 0, 0, 0, 0, 0, 0, 0 },
- X { 594, 594, 990, 594, 594, 990, 0, 0, 0, 0, 0, 0, 0 },
- X { 136, 136, 136, 340, 340, 546, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 136, 136, 340, 340, 546, 0, 0, 0, 0, 0, 0, 0 } },
- X
- X {{ 992, 32, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 0 }, /* Alb */
- X { 512, 512, 512, 512, 512, 992, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 512, 512, 512, 512, 992, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 32, 992, 512, 512, 992, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 544, 544, 544, 544, 992, 0, 0, 0, 0, 0, 0, 0 },
- X { 544, 544, 992, 544, 544, 992, 0, 0, 0, 0, 0, 0, 0 },
- X { 128, 128, 320, 320, 544, 544, 0, 0, 0, 0, 0, 0, 0 },
- X { 128, 320, 544, 544, 320, 128, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 128, 128, 320, 320, 544, 0, 0, 0, 0, 0, 0, 0 },
- X { 128, 992, 128, 128, 320, 544, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 32, 32, 992, 32, 32, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 512, 992, 512, 512, 992, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 320, 320, 320, 320, 992, 0, 0, 0, 0, 0, 0, 0 },
- X { 128, 992, 0, 448, 544, 448, 0, 0, 0, 0, 0, 0, 0 },
- X { 864, 288, 288, 288, 288, 288, 0, 0, 0, 0, 0, 0, 0 },
- X { 864, 576, 576, 576, 576, 864, 0, 0, 0, 0, 0, 0, 0 },
- X { 672, 672, 992, 672, 672, 992, 0, 0, 0, 0, 0, 0, 0 },
- X { 320, 320, 320, 672, 672, 672, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 320, 320, 320, 672, 672, 0, 0, 0, 0, 0, 0, 0 } },
- X
- X {{ 992, 32, 32, 64, 64, 128, 768, 0, 0, 0, 0, 0, 0 }, /* AbA */
- X { 512, 512, 512, 512, 512, 512, 992, 0, 0, 0, 0, 0, 0 },
- X { 992, 512, 512, 512, 512, 512, 992, 0, 0, 0, 0, 0, 0 },
- X { 992, 32, 32, 992, 512, 512, 992, 0, 0, 0, 0, 0, 0 },
- X { 992, 544, 544, 544, 544, 544, 992, 0, 0, 0, 0, 0, 0 },
- X { 544, 544, 544, 992, 544, 544, 992, 0, 0, 0, 0, 0, 0 },
- X { 128, 128, 128, 320, 320, 544, 544, 0, 0, 0, 0, 0, 0 },
- X { 128, 320, 544, 544, 544, 320, 128, 0, 0, 0, 0, 0, 0 },
- X { 992, 128, 128, 320, 320, 544, 544, 0, 0, 0, 0, 0, 0 },
- X { 128, 992, 128, 128, 320, 320, 544, 0, 0, 0, 0, 0, 0 },
- X { 992, 32, 992, 32, 64, 128, 768, 0, 0, 0, 0, 0, 0 },
- X { 992, 512, 512, 992, 512, 512, 992, 0, 0, 0, 0, 0, 0 },
- X { 992, 320, 320, 320, 320, 320, 992, 0, 0, 0, 0, 0, 0 },
- X { 128, 992, 0, 448, 544, 544, 448, 0, 0, 0, 0, 0, 0 },
- X { 864, 288, 288, 288, 288, 288, 576, 0, 0, 0, 0, 0, 0 },
- X { 864, 576, 576, 576, 576, 576, 864, 0, 0, 0, 0, 0, 0 },
- X { 672, 672, 672, 992, 672, 672, 992, 0, 0, 0, 0, 0, 0 },
- X { 320, 320, 320, 672, 672, 672, 672, 0, 0, 0, 0, 0, 0 },
- X { 992, 320, 320, 320, 672, 672, 672, 0, 0, 0, 0, 0, 0 } },
- X
- X {{ 1022, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0 }, /* AlA */
- X { 512, 512, 512, 512, 1022, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 512, 512, 512, 1022, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 2, 1022, 512, 1022, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 514, 514, 514, 1022, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 514, 514, 1022, 514, 1022, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 32, 80, 136, 260, 514, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 112, 396, 514, 396, 112, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 32, 80, 136, 774, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 32, 1022, 32, 216, 774, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 2, 1022, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 512, 1022, 512, 1022, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 136, 136, 136, 1022, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 32, 1022, 508, 514, 508, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 990, 66, 66, 66, 66, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 990, 528, 528, 528, 990, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 594, 594, 990, 594, 990, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 136, 136, 340, 340, 546, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 1022, 136, 136, 340, 546, 0, 0, 0, 0, 0, 0, 0, 0 } },
- X
- X {{ 992, 32, 32, 32, 32, 0, 0, 0, 0, 0, 0, 0, 0 }, /* AlbA */
- X { 512, 512, 512, 512, 992, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 512, 512, 512, 992, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 32, 992, 512, 992, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 544, 544, 544, 992, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 544, 544, 992, 544, 992, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 128, 128, 320, 320, 544, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 448, 544, 544, 544, 448, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 128, 128, 320, 544, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 128, 992, 128, 320, 544, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 32, 992, 32, 32, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 512, 992, 512, 992, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 320, 320, 320, 992, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 128, 992, 448, 544, 448, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 864, 288, 288, 288, 288, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 864, 576, 576, 576, 864, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 672, 672, 992, 672, 992, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 320, 320, 320, 672, 672, 0, 0, 0, 0, 0, 0, 0, 0 },
- X { 992, 320, 320, 672, 672, 0, 0, 0, 0, 0, 0, 0, 0 } } }
- X ;
- X
- short sec_fnt[ Sec_Ptn ][ Sec_Num ][ WIDTH ] = /* second ( Korean ) */
- X
- X{{{ 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2 }, /* Wb, Wl, Wlb */
- X { 10, 10, 10, 10, 10, 10, 14, 10, 10, 10, 10, 10, 10 },
- X { 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2 },
- X { 10, 10, 10, 10, 14, 10, 10, 10, 14, 10, 10, 10, 10 },
- X { 2, 2, 2, 2, 2, 2, 14, 2, 2, 2, 2, 2, 2 },
- X { 10, 10, 10, 10, 10, 10, 58, 10, 10, 10, 10, 10, 10 },
- X { 2, 2, 2, 2, 14, 2, 2, 2, 14, 2, 2, 2, 2 },
- X { 10, 10, 10, 10, 58, 10, 10, 10, 58, 10, 10, 10, 10 },
- X { 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 },
- X { 0, 0, 0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 1022 },
- X { 2, 2, 2, 2, 2, 2, 3, 130, 130, 130, 130, 130, 994 },
- X { 10, 10, 10, 10, 10, 10, 14, 138, 138, 138, 138, 138, 1002 },
- X { 2, 2, 2, 2, 2, 2, 2, 130, 130, 130, 130, 130, 994 },
- X { 0, 0, 0, 0, 0, 0, 0, 136, 136, 136, 136, 136, 1022 },
- X { 0, 0, 0, 0, 0, 0, 0, 1022, 32, 32, 32, 32, 32 },
- X { 2, 2, 2, 2, 2, 2, 2, 994, 130, 130, 142, 130, 130 },
- X { 10, 10, 10, 10, 10, 10, 10, 1002, 138, 138, 186, 138, 138 },
- X { 2, 2, 2, 2, 2, 2, 2, 994, 130, 130, 130, 130, 130 },
- X { 0, 0, 0, 0, 0, 0, 0, 1022, 136, 136, 136, 136, 136 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1022 },
- X { 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 994 } },
- X
- X {{ 2, 2, 2, 3, 2, 2, 2, 0, 0, 0, 0, 0, 0 }, /* WbW, WlW, WlbW */
- X { 10, 10, 10, 14, 10, 10, 10, 0, 0, 0, 0, 0, 0 },
- X { 2, 2, 3, 2, 3, 2, 2, 0, 0, 0, 0, 0, 0 },
- X { 10, 10, 14, 10, 14, 10, 10, 0, 0, 0, 0, 0, 0 },
- X { 2, 2, 2, 14, 2, 2, 2, 0, 0, 0, 0, 0, 0 },
- X { 10, 10, 10, 58, 10, 10, 10, 0, 0, 0, 0, 0, 0 },
- X { 2, 2, 14, 2, 14, 2, 2, 0, 0, 0, 0, 0, 0 },
- X { 10, 10, 58, 10, 58, 10, 10, 0, 0, 0, 0, 0, 0 },
- X { 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0 },
- X { 0, 0, 0, 0, 32, 32, 1022, 0, 0, 0, 0, 0, 0 },
- X { 2, 2, 2, 3, 130, 130, 994, 0, 0, 0, 0, 0, 0 },
- X { 10, 10, 10, 14, 138, 138, 1002, 0, 0, 0, 0, 0, 0 },
- X { 2, 2, 2, 2, 130, 130, 994, 0, 0, 0, 0, 0, 0 },
- X { 0, 0, 0, 0, 136, 136, 1022, 0, 0, 0, 0, 0, 0 },
- X { 0, 0, 0, 0, 0, 0, 1022, 32, 32, 0, 0, 0, 0 },
- X { 2, 2, 2, 14, 2, 2, 994, 130, 130, 0, 0, 0, 0 },
- X { 10, 10, 10, 58, 10, 10, 1002, 138, 138, 0, 0, 0, 0 },
- X { 2, 2, 2, 2, 2, 2, 994, 130, 130, 0, 0, 0, 0 },
- X { 0, 0, 0, 0, 0, 0, 1022, 136, 136, 0, 0, 0, 0 },
- X { 0, 0, 0, 0, 0, 0, 1022, 0, 0, 0, 0, 0, 0 },
- X { 2, 2, 2, 2, 2, 2, 994, 0, 0, 0, 0, 0, 0 } } }
- X ;
- X
- short thi_fnt[ Thi_Ptn ][ Thi_Num ][ WIDTH ] = /* third ( Korean ) */
- X
- X{{{ 0, 0, 0, 0, 0, 0, 0, 0, 1022, 2, 2, 2, 2 }, /* WbA, WlA, WlbA */
- X { 0, 0, 0, 0, 0, 0, 0, 0, 968, 72, 84, 84, 98 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 990, 66, 66, 66, 66 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 512, 512, 512, 512, 1022 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 574, 520, 520, 532, 994 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 520, 574, 540, 546, 988 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 1022, 512, 512, 512, 1022 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 1022, 2, 1022, 512, 1022 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 990, 66, 962, 514, 962 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 990, 82, 978, 530, 990 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 978, 82, 990, 530, 990 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 968, 72, 980, 532, 994 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 990, 80, 990, 528, 990 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 1022, 84, 980, 532, 1022 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 968, 126, 988, 546, 988 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 1022, 514, 514, 514, 1022 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 514, 514, 1022, 514, 1022 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 584, 584, 980, 596, 994 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 32, 80, 136, 260, 514 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 136, 136, 340, 340, 546 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 248, 260, 514, 260, 248 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 1022, 32, 80, 136, 774 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 32, 1022, 80, 136, 774 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 1022, 2, 1022, 2, 2 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 1022, 512, 1022, 512, 1022 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 1022, 136, 136, 136, 1022 },
- X { 0, 0, 0, 0, 0, 0, 0, 0, 32, 1022, 508, 514, 508 } } }
- X ;
- X
- END_OF_FILE
- echo shar: 30 control characters may be missing from \"'banner-05/kbandat.c'\"
- if test 15981 -ne `wc -c <'banner-05/kbandat.c'`; then
- echo shar: \"'banner-05/kbandat.c'\" unpacked with wrong size!
- fi
- # end of 'banner-05/kbandat.c'
- fi
- if test -f 'banner-09/data.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'banner-09/data.c'\"
- else
- echo shar: Extracting \"'banner-09/data.c'\" \(19204 characters\)
- sed "s/^X//" >'banner-09/data.c' <<'END_OF_FILE'
- char *data[][10] = {
- X { /* ^@ */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^A */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^B */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^C */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^D */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^E */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^F */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^G */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^H */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^I */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^J */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^K */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^L */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^M */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^N */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^O */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^P */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^Q */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^R */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^S */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^T */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^U */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^V */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^W */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^X */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^Y */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^Z */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^[ */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^\ */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^] */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^^ */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* ^_ */
- X "", "", "", "", "", "", "", "", "", "",
- X },
- X { /* *SPC* */
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X { /* ! */
- X "@@@",
- X "@@@",
- X "@@@",
- X " @ ",
- X " ",
- X "@@@",
- X "@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* " */
- X "@@@ @@@",
- X "@@@ @@@",
- X " @ @ ",
- X "@ @ ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X { /* # */
- X " ",
- X " @ @ ",
- X "@@@@@@@@@",
- X " @ @ ",
- X "@@@@@@@@@",
- X " @ @ ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X { /* $ */
- X " @ ",
- X " @@@@@@@ ",
- X "@ @ ",
- X " @@@@@@@ ",
- X " @ @",
- X " @@@@@@@ ",
- X " @ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* % */
- X "@@ @",
- X "@@ @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ @@",
- X "@ @@",
- X " ",
- X " ",
- X " "
- X },
- X { /* & */
- X " @@@ ",
- X "@ @ ",
- X " @ @ ",
- X " @@ ",
- X " @ @ @",
- X "@ @ ",
- X " @@@@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* ' */
- X "@@@",
- X "@@@",
- X " @ ",
- X "@ ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X { /* ( */
- X " @",
- X " @ ",
- X "@ ",
- X "@ ",
- X "@ ",
- X " @ ",
- X " @",
- X " ",
- X " ",
- X " "
- X },
- X { /* ) */
- X "@ ",
- X " @ ",
- X " @",
- X " @",
- X " @",
- X " @ ",
- X "@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* * */
- X " @ ",
- X "@ @ @",
- X " @ @ @ ",
- X " @@@ ",
- X " @ @ @ ",
- X "@ @ @",
- X " @ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* + */
- X " ",
- X " @ ",
- X " @ ",
- X "@@@@@@@@@",
- X " @ ",
- X " @ ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X { /* , */
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X "@@@",
- X "@@@",
- X " @ ",
- X "@ ",
- X " "
- X },
- X { /* - */
- X " ",
- X " ",
- X " ",
- X "@@@@@@@@@",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X { /* . */
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X "@@@",
- X "@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* / */
- X " @",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X "@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* 0 */
- X " @@@@@ ",
- X " @ @@ ",
- X "@ @ @",
- X "@ @ @",
- X "@ @ @",
- X " @@ @ ",
- X " @@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* 1 */
- X " @ ",
- X "@@ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X "@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* 2 */
- X " @@@@@@@ ",
- X "@ @",
- X " @",
- X " @@@@@@ ",
- X " @ ",
- X "@ ",
- X "@@@@@@@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* 3 */
- X " @@@@@@@ ",
- X "@ @",
- X " @",
- X " @@@@@@ ",
- X " @",
- X "@ @",
- X " @@@@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* 4 */
- X " @@@@ ",
- X " @ @ ",
- X " @ @ ",
- X "@ @ ",
- X "@@@@@@@@@",
- X " @ ",
- X " @ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* 5 */
- X "@@@@@@@@@",
- X "@ ",
- X "@@@@@@@@ ",
- X " @",
- X " @",
- X "@ @",
- X " @@@@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* 6 */
- X " @@@@@@@ ",
- X "@ @",
- X "@ ",
- X "@@@@@@@@ ",
- X "@ @",
- X "@ @",
- X " @@@@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* 7 */
- X "@@@@@@@@@",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* 8 */
- X " @@@@@@@ ",
- X "@ @",
- X "@ @",
- X " @@@@@@@ ",
- X "@ @",
- X "@ @",
- X " @@@@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* 9 */
- X " @@@@@@@ ",
- X "@ @",
- X "@ @",
- X " @@@@@@@@",
- X " @",
- X "@ @",
- X " @@@@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* : */
- X " ",
- X " ",
- X "@@@",
- X "@@@",
- X " ",
- X "@@@",
- X "@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* ; */
- X " ",
- X " ",
- X "@@@",
- X "@@@",
- X " ",
- X "@@@",
- X "@@@",
- X " @ ",
- X "@ ",
- X " "
- X },
- X { /* < */
- X " @@",
- X " @@ ",
- X " @@ ",
- X "@@ ",
- X " @@ ",
- X " @@ ",
- X " @@",
- X " ",
- X " ",
- X " "
- X },
- X { /* = */
- X " ",
- X " ",
- X " ",
- X "@@@@@@@@@",
- X " ",
- X "@@@@@@@@@",
- X " ",
- X " ",
- X " ",
- X " ",
- X },
- X { /* > */
- X "@@ ",
- X " @@ ",
- X " @@ ",
- X " @@",
- X " @@ ",
- X " @@ ",
- X "@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* ? */
- X " @@@@@@@ ",
- X "@ @",
- X " @",
- X " @@@@ ",
- X " @ ",
- X " ",
- X " @ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* @ */
- X " @@@@@@@ ",
- X "@ @",
- X "@ @@@ @",
- X "@ @ @ @",
- X "@ @@@@@ ",
- X "@ ",
- X " @@@@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* A */
- X " @@@ ",
- X " @ @ ",
- X " @ @ ",
- X "@ @",
- X "@@@@@@@@@",
- X "@ @",
- X "@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* B */
- X "@@@@@@@@ ",
- X "@ @",
- X "@ @",
- X "@@@@@@@@ ",
- X "@ @",
- X "@ @",
- X "@@@@@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* C */
- X " @@@@@ ",
- X " @ @ ",
- X "@ @",
- X "@ ",
- X "@ @",
- X " @ @ ",
- X " @@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* D */
- X "@@@@@@@ ",
- X "@ @ ",
- X "@ @",
- X "@ @",
- X "@ @",
- X "@ @ ",
- X "@@@@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* E */
- X "@@@@@@@@@",
- X "@ ",
- X "@ ",
- X "@@@@@@@ ",
- X "@ ",
- X "@ ",
- X "@@@@@@@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* F */
- X "@@@@@@@@@",
- X "@ ",
- X "@ ",
- X "@@@@@@@ ",
- X "@ ",
- X "@ ",
- X "@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* G */
- X " @@@@@@ ",
- X " @ @",
- X "@ ",
- X "@ @@@@",
- X "@ @",
- X " @ @@",
- X " @@@@@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* H */
- X "@ @",
- X "@ @",
- X "@ @",
- X "@@@@@@@@@",
- X "@ @",
- X "@ @",
- X "@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* I */
- X "@@@@@",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X "@@@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* J */
- X " @@@",
- X " @ ",
- X " @ ",
- X " @ ",
- X "@ @ ",
- X " @ @ ",
- X " @@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* K */
- X "@ @",
- X "@ @ ",
- X "@ @ ",
- X "@@@@@@ ",
- X "@ @ ",
- X "@ @ ",
- X "@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* L */
- X "@ ",
- X "@ ",
- X "@ ",
- X "@ ",
- X "@ ",
- X "@ ",
- X "@@@@@@@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* M */
- X "@ @",
- X "@@ @@",
- X "@ @ @ @",
- X "@ @ @ @",
- X "@ @ @",
- X "@ @",
- X "@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* N */
- X "@ @",
- X "@@ @",
- X "@ @ @",
- X "@ @ @",
- X "@ @ @",
- X "@ @ @",
- X "@ @@",
- X " ",
- X " ",
- X " "
- X },
- X { /* O */
- X " @@@@@ ",
- X " @ @ ",
- X "@ @",
- X "@ @",
- X "@ @",
- X " @ @ ",
- X " @@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* P */
- X "@@@@@@@@ ",
- X "@ @",
- X "@ @",
- X "@@@@@@@@ ",
- X "@ ",
- X "@ ",
- X "@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* Q */
- X " @@@@@ ",
- X " @ @ ",
- X "@ @",
- X "@ @",
- X "@ @ @",
- X " @ @ ",
- X " @@@@@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* R */
- X "@@@@@@@@ ",
- X "@ @",
- X "@ @",
- X "@@@@@@@@ ",
- X "@ @ ",
- X "@ @ ",
- X "@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* S */
- X " @@@@@@@ ",
- X "@ @",
- X "@ ",
- X " @@@@@@@ ",
- X " @",
- X "@ @",
- X " @@@@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* T */
- X "@@@@@@@@@",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* U */
- X "@ @",
- X "@ @",
- X "@ @",
- X "@ @",
- X "@ @",
- X " @ @ ",
- X " @@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* V */
- X "@ @",
- X "@ @",
- X "@ @",
- X "@ @",
- X " @ @ ",
- X " @ @ ",
- X " @@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* W */
- X "@ @",
- X "@ @",
- X "@ @ @",
- X "@ @ @ @",
- X "@ @ @ @",
- X "@@ @@",
- X "@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* X */
- X "@ @",
- X " @ @ ",
- X " @ @ ",
- X " @@@ ",
- X " @ @ ",
- X " @ @ ",
- X "@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* Y */
- X "@ @",
- X " @ @ ",
- X " @ @ ",
- X " @ @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* Z */
- X "@@@@@@@@@",
- X " @ ",
- X " @@ ",
- X " @ ",
- X " @@ ",
- X " @ ",
- X "@@@@@@@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* [ */
- X "@@@@@",
- X "@ ",
- X "@ ",
- X "@ ",
- X "@ ",
- X "@ ",
- X "@@@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* \ */
- X "@ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @",
- X " ",
- X " ",
- X " "
- X },
- X { /* ] */
- X "@@@@@",
- X " @",
- X " @",
- X " @",
- X " @",
- X " @",
- X "@@@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* ^ */
- X " @ ",
- X " @ @ ",
- X " @ @ ",
- X "@ @",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X { /* _ */
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X "@@@@@@@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* ` */
- X "@@@",
- X "@@@",
- X " @ ",
- X " @",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X
- X { /* a */
- X " ",
- X " ",
- X " @@@@@@ ",
- X " @ ",
- X " @@@@@@@ ",
- X "@ @@ ",
- X " @@@@@ @@",
- X " ",
- X " ",
- X " "
- X },
- X { /* b */
- X "@ ",
- X "@ ",
- X "@ @@@@@ ",
- X "@@ @ ",
- X "@ @",
- X "@@ @ ",
- X "@ @@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* c */
- X " ",
- X " ",
- X " @@@@@ ",
- X "@ @",
- X "@ ",
- X "@ @",
- X " @@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* d */
- X " @",
- X " @",
- X " @@@@@ @",
- X " @ @@",
- X "@ @",
- X " @ @@",
- X " @@@@@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* e */
- X " ",
- X " ",
- X " @@@@@@@ ",
- X "@ @",
- X "@@@@@@@@@",
- X "@ ",
- X " @@@@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* f */
- X " @@ ",
- X " @ @",
- X " @ ",
- X "@@@@@",
- X " @ ",
- X " @ ",
- X " @ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* g */
- X " ",
- X " ",
- X " @@@@ @",
- X "@ @@",
- X "@ @",
- X "@ @@",
- X " @@@@ @",
- X " @",
- X " @",
- X " @@@@@ "
- X },
- X { /* h */
- X "@ ",
- X "@ ",
- X "@ @@@@@ ",
- X "@@ @",
- X "@ @",
- X "@ @",
- X "@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* i */
- X " ",
- X "@ ",
- X " ",
- X "@ ",
- X "@ ",
- X "@ @",
- X " @@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* j */
- X " ",
- X " @",
- X " ",
- X " @",
- X " @",
- X " @",
- X " @",
- X "@ @",
- X " @ @ ",
- X " @@@@ "
- X },
- X { /* k */
- X "@ ",
- X "@ ",
- X "@ @",
- X "@ @ ",
- X "@@@@ ",
- X "@ @ ",
- X "@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* l */
- X "@@ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X " @ ",
- X "@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* m */
- X " ",
- X " ",
- X "@ @@ @@@ ",
- X "@@ @ @",
- X "@ @ @",
- X "@ @ @",
- X "@ @ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* n */
- X " ",
- X " ",
- X "@ @@@@@ ",
- X "@@ @ ",
- X "@ @",
- X "@ @",
- X "@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* o */
- X " ",
- X " ",
- X " @@@@@ ",
- X " @ @ ",
- X "@ @",
- X " @ @ ",
- X " @@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* p */
- X " ",
- X " ",
- X "@ @@@@@ ",
- X "@@ @ ",
- X "@ @",
- X "@@ @ ",
- X "@ @@@@@ ",
- X "@ ",
- X "@ ",
- X "@ "
- X },
- X { /* q */
- X " ",
- X " ",
- X " @@@@@ @",
- X " @ @@",
- X "@ @",
- X " @ @@",
- X " @@@@@ @",
- X " @",
- X " @",
- X " @"
- X },
- X { /* r */
- X " ",
- X " ",
- X "@ @@ ",
- X "@@ @",
- X "@ ",
- X "@ ",
- X "@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* s */
- X " ",
- X " ",
- X " @@@@@@@ ",
- X "@ ",
- X " @@@@@@@ ",
- X " @",
- X " @@@@@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* t */
- X " ",
- X " @ ",
- X "@@@@@@@",
- X " @ ",
- X " @ ",
- X " @ @",
- X " @@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* u */
- X " ",
- X " ",
- X "@ @",
- X "@ @",
- X "@ @",
- X " @ @@",
- X " @@@@@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* v */
- X " ",
- X " ",
- X "@ @",
- X "@ @",
- X " @ @ ",
- X " @ @ ",
- X " @@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* w */
- X " ",
- X " ",
- X "@ @",
- X "@ @ @",
- X "@ @ @",
- X "@ @ @",
- X " @@@ @@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* x */
- X " ",
- X " ",
- X "@ @",
- X " @ @ ",
- X " @@@ ",
- X " @ @ ",
- X "@ @",
- X " ",
- X " ",
- X " "
- X },
- X { /* y */
- X " ",
- X " ",
- X "@ @",
- X "@ @",
- X "@ @",
- X "@ @",
- X " @@@@@@",
- X " @",
- X " @",
- X " @@@@@ "
- X },
- X { /* z */
- X " ",
- X " ",
- X "@@@@@@@",
- X " @@ ",
- X " @ ",
- X " @@ ",
- X "@@@@@@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* { */
- X " @@@",
- X " @ ",
- X " @ ",
- X "@ ",
- X " @ ",
- X " @ ",
- X " @@@",
- X " ",
- X " ",
- X " "
- X },
- X { /* | */
- X "@",
- X "@",
- X "@",
- X " ",
- X "@",
- X "@",
- X "@",
- X " ",
- X " ",
- X " "
- X },
- X { /* } */
- X "@@@ ",
- X " @ ",
- X " @ ",
- X " @",
- X " @ ",
- X " @ ",
- X "@@@ ",
- X " ",
- X " ",
- X " "
- X },
- X { /* ~ */
- X " ",
- X " @@ @",
- X " @ @ @ ",
- X "@ @@ ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X { /* *DEL* */
- X "@@@@@@@@@",
- X "@@@@@@@@@",
- X "@@@@@@@@@",
- X "@@@@@@@@@",
- X "@@@@@@@@@",
- X "@@@@@@@@@",
- X "@@@@@@@@@",
- X " ",
- X " ",
- X " "
- X }
- X };
- END_OF_FILE
- if test 19204 -ne `wc -c <'banner-09/data.c'`; then
- echo shar: \"'banner-09/data.c'\" unpacked with wrong size!
- fi
- # end of 'banner-09/data.c'
- fi
- if test -f 'banner-12/COPYING' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'banner-12/COPYING'\"
- else
- echo shar: Extracting \"'banner-12/COPYING'\" \(17982 characters\)
- sed "s/^X//" >'banner-12/COPYING' <<'END_OF_FILE'
- X GNU GENERAL PUBLIC LICENSE
- X Version 2, June 1991
- X
- X Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- X 675 Mass Ave, Cambridge, MA 02139, USA
- X Everyone is permitted to copy and distribute verbatim copies
- X of this license document, but changing it is not allowed.
- X
- X Preamble
- X
- X The licenses for most software are designed to take away your
- freedom to share and change it. By contrast, the GNU General Public
- License is intended to guarantee your freedom to share and change free
- software--to make sure the software is free for all its users. This
- General Public License applies to most of the Free Software
- XFoundation's software and to any other program whose authors commit to
- using it. (Some other Free Software Foundation software is covered by
- the GNU Library General Public License instead.) You can apply it to
- your programs, too.
- X
- X When we speak of free software, we are referring to freedom, not
- price. Our General Public Licenses are designed to make sure that you
- have the freedom to distribute copies of free software (and charge for
- this service if you wish), that you receive source code or can get it
- if you want it, that you can change the software or use pieces of it
- in new free programs; and that you know you can do these things.
- X
- X To protect your rights, we need to make restrictions that forbid
- anyone to deny you these rights or to ask you to surrender the rights.
- These restrictions translate to certain responsibilities for you if you
- distribute copies of the software, or if you modify it.
- X
- X For example, if you distribute copies of such a program, whether
- gratis or for a fee, you must give the recipients all the rights that
- you have. You must make sure that they, too, receive or can get the
- source code. And you must show them these terms so they know their
- rights.
- X
- X We protect your rights with two steps: (1) copyright the software, and
- X(2) offer you this license which gives you legal permission to copy,
- distribute and/or modify the software.
- X
- X Also, for each author's protection and ours, we want to make certain
- that everyone understands that there is no warranty for this free
- software. If the software is modified by someone else and passed on, we
- want its recipients to know that what they have is not the original, so
- that any problems introduced by others will not reflect on the original
- authors' reputations.
- X
- X Finally, any free program is threatened constantly by software
- patents. We wish to avoid the danger that redistributors of a free
- program will individually obtain patent licenses, in effect making the
- program proprietary. To prevent this, we have made it clear that any
- patent must be licensed for everyone's free use or not licensed at all.
- X
- X The precise terms and conditions for copying, distribution and
- modification follow.
- X
- X GNU GENERAL PUBLIC LICENSE
- X TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
- X
- X 0. This License applies to any program or other work which contains
- a notice placed by the copyright holder saying it may be distributed
- under the terms of this General Public License. The "Program", below,
- refers to any such program or work, and a "work based on the Program"
- means either the Program or any derivative work under copyright law:
- that is to say, a work containing the Program or a portion of it,
- either verbatim or with modifications and/or translated into another
- language. (Hereinafter, translation is included without limitation in
- the term "modification".) Each licensee is addressed as "you".
- X
- Activities other than copying, distribution and modification are not
- covered by this License; they are outside its scope. The act of
- running the Program is not restricted, and the output from the Program
- is covered only if its contents constitute a work based on the
- Program (independent of having been made by running the Program).
- Whether that is true depends on what the Program does.
- X
- X 1. You may copy and distribute verbatim copies of the Program's
- source code as you receive it, in any medium, provided that you
- conspicuously and appropriately publish on each copy an appropriate
- copyright notice and disclaimer of warranty; keep intact all the
- notices that refer to this License and to the absence of any warranty;
- and give any other recipients of the Program a copy of this License
- along with the Program.
- X
- You may charge a fee for the physical act of transferring a copy, and
- you may at your option offer warranty protection in exchange for a fee.
- X
- X 2. You may modify your copy or copies of the Program or any portion
- of it, thus forming a work based on the Program, and copy and
- distribute such modifications or work under the terms of Section 1
- above, provided that you also meet all of these conditions:
- X
- X a) You must cause the modified files to carry prominent notices
- X stating that you changed the files and the date of any change.
- X
- X b) You must cause any work that you distribute or publish, that in
- X whole or in part contains or is derived from the Program or any
- X part thereof, to be licensed as a whole at no charge to all third
- X parties under the terms of this License.
- X
- X c) If the modified program normally reads commands interactively
- X when run, you must cause it, when started running for such
- X interactive use in the most ordinary way, to print or display an
- X announcement including an appropriate copyright notice and a
- X notice that there is no warranty (or else, saying that you provide
- X a warranty) and that users may redistribute the program under
- X these conditions, and telling the user how to view a copy of this
- X License. (Exception: if the Program itself is interactive but
- X does not normally print such an announcement, your work based on
- X the Program is not required to print an announcement.)
- X
- These requirements apply to the modified work as a whole. If
- identifiable sections of that work are not derived from the Program,
- and can be reasonably considered independent and separate works in
- themselves, then this License, and its terms, do not apply to those
- sections when you distribute them as separate works. But when you
- distribute the same sections as part of a whole which is a work based
- on the Program, the distribution of the whole must be on the terms of
- this License, whose permissions for other licensees extend to the
- entire whole, and thus to each and every part regardless of who wrote it.
- X
- Thus, it is not the intent of this section to claim rights or contest
- your rights to work written entirely by you; rather, the intent is to
- exercise the right to control the distribution of derivative or
- collective works based on the Program.
- X
- In addition, mere aggregation of another work not based on the Program
- with the Program (or with a work based on the Program) on a volume of
- a storage or distribution medium does not bring the other work under
- the scope of this License.
- X
- X 3. You may copy and distribute the Program (or a work based on it,
- under Section 2) in object code or executable form under the terms of
- Sections 1 and 2 above provided that you also do one of the following:
- X
- X a) Accompany it with the complete corresponding machine-readable
- X source code, which must be distributed under the terms of Sections
- X 1 and 2 above on a medium customarily used for software interchange; or,
- X
- X b) Accompany it with a written offer, valid for at least three
- X years, to give any third party, for a charge no more than your
- X cost of physically performing source distribution, a complete
- X machine-readable copy of the corresponding source code, to be
- X distributed under the terms of Sections 1 and 2 above on a medium
- X customarily used for software interchange; or,
- X
- X c) Accompany it with the information you received as to the offer
- X to distribute corresponding source code. (This alternative is
- X allowed only for noncommercial distribution and only if you
- X received the program in object code or executable form with such
- X an offer, in accord with Subsection b above.)
- X
- The source code for a work means the preferred form of the work for
- making modifications to it. For an executable work, complete source
- code means all the source code for all modules it contains, plus any
- associated interface definition files, plus the scripts used to
- control compilation and installation of the executable. However, as a
- special exception, the source code distributed need not include
- anything that is normally distributed (in either source or binary
- form) with the major components (compiler, kernel, and so on) of the
- operating system on which the executable runs, unless that component
- itself accompanies the executable.
- X
- If distribution of executable or object code is made by offering
- access to copy from a designated place, then offering equivalent
- access to copy the source code from the same place counts as
- distribution of the source code, even though third parties are not
- compelled to copy the source along with the object code.
- X
- X 4. You may not copy, modify, sublicense, or distribute the Program
- except as expressly provided under this License. Any attempt
- otherwise to copy, modify, sublicense or distribute the Program is
- void, and will automatically terminate your rights under this License.
- However, parties who have received copies, or rights, from you under
- this License will not have their licenses terminated so long as such
- parties remain in full compliance.
- X
- X 5. You are not required to accept this License, since you have not
- signed it. However, nothing else grants you permission to modify or
- distribute the Program or its derivative works. These actions are
- prohibited by law if you do not accept this License. Therefore, by
- modifying or distributing the Program (or any work based on the
- Program), you indicate your acceptance of this License to do so, and
- all its terms and conditions for copying, distributing or modifying
- the Program or works based on it.
- X
- X 6. Each time you redistribute the Program (or any work based on the
- Program), the recipient automatically receives a license from the
- original licensor to copy, distribute or modify the Program subject to
- these terms and conditions. You may not impose any further
- restrictions on the recipients' exercise of the rights granted herein.
- You are not responsible for enforcing compliance by third parties to
- this License.
- X
- X 7. If, as a consequence of a court judgment or allegation of patent
- infringement or for any other reason (not limited to patent issues),
- conditions are imposed on you (whether by court order, agreement or
- otherwise) that contradict the conditions of this License, they do not
- excuse you from the conditions of this License. If you cannot
- distribute so as to satisfy simultaneously your obligations under this
- License and any other pertinent obligations, then as a consequence you
- may not distribute the Program at all. For example, if a patent
- license would not permit royalty-free redistribution of the Program by
- all those who receive copies directly or indirectly through you, then
- the only way you could satisfy both it and this License would be to
- refrain entirely from distribution of the Program.
- X
- If any portion of this section is held invalid or unenforceable under
- any particular circumstance, the balance of the section is intended to
- apply and the section as a whole is intended to apply in other
- circumstances.
- X
- It is not the purpose of this section to induce you to infringe any
- patents or other property right claims or to contest validity of any
- such claims; this section has the sole purpose of protecting the
- integrity of the free software distribution system, which is
- implemented by public license practices. Many people have made
- generous contributions to the wide range of software distributed
- through that system in reliance on consistent application of that
- system; it is up to the author/donor to decide if he or she is willing
- to distribute software through any other system and a licensee cannot
- impose that choice.
- X
- This section is intended to make thoroughly clear what is believed to
- be a consequence of the rest of this License.
- X
- X 8. If the distribution and/or use of the Program is restricted in
- certain countries either by patents or by copyrighted interfaces, the
- original copyright holder who places the Program under this License
- may add an explicit geographical distribution limitation excluding
- those countries, so that distribution is permitted only in or among
- countries not thus excluded. In such case, this License incorporates
- the limitation as if written in the body of this License.
- X
- X 9. The Free Software Foundation may publish revised and/or new versions
- of the General Public License from time to time. Such new versions will
- be similar in spirit to the present version, but may differ in detail to
- address new problems or concerns.
- X
- XEach version is given a distinguishing version number. If the Program
- specifies a version number of this License which applies to it and "any
- later version", you have the option of following the terms and conditions
- either of that version or of any later version published by the Free
- Software Foundation. If the Program does not specify a version number of
- this License, you may choose any version ever published by the Free Software
- XFoundation.
- X
- X 10. If you wish to incorporate parts of the Program into other free
- programs whose distribution conditions are different, write to the author
- to ask for permission. For software which is copyrighted by the Free
- Software Foundation, write to the Free Software Foundation; we sometimes
- make exceptions for this. Our decision will be guided by the two goals
- of preserving the free status of all derivatives of our free software and
- of promoting the sharing and reuse of software generally.
- X
- X NO WARRANTY
- X
- X 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
- XFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
- OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
- PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
- OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
- TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
- PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
- REPAIR OR CORRECTION.
- X
- X 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
- REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
- INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
- OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
- TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
- YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
- PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGES.
- X
- X END OF TERMS AND CONDITIONS
- X
- X Appendix: How to Apply These Terms to Your New Programs
- X
- X If you develop a new program, and you want it to be of the greatest
- possible use to the public, the best way to achieve this is to make it
- free software which everyone can redistribute and change under these terms.
- X
- X To do so, attach the following notices to the program. It is safest
- to attach them to the start of each source file to most effectively
- convey the exclusion of warranty; and each file should have at least
- the "copyright" line and a pointer to where the full notice is found.
- X
- X <one line to give the program's name and a brief idea of what it does.>
- X Copyright (C) 19yy <name of author>
- X
- X This program is free software; you can redistribute it and/or modify
- X it under the terms of the GNU General Public License as published by
- X the Free Software Foundation; either version 2 of the License, or
- X (at your option) any later version.
- X
- X This program is distributed in the hope that it will be useful,
- X but WITHOUT ANY WARRANTY; without even the implied warranty of
- X MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- X GNU General Public License for more details.
- X
- X You should have received a copy of the GNU General Public License
- X along with this program; if not, write to the Free Software
- X Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- X
- Also add information on how to contact you by electronic and paper mail.
- X
- If the program is interactive, make it output a short notice like this
- when it starts in an interactive mode:
- X
- X Gnomovision version 69, Copyright (C) 19yy name of author
- X Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- X This is free software, and you are welcome to redistribute it
- X under certain conditions; type `show c' for details.
- X
- The hypothetical commands `show w' and `show c' should show the appropriate
- parts of the General Public License. Of course, the commands you use may
- be called something other than `show w' and `show c'; they could even be
- mouse-clicks or menu items--whatever suits your program.
- X
- You should also get your employer (if you work as a programmer) or your
- school, if any, to sign a "copyright disclaimer" for the program, if
- necessary. Here is a sample; alter the names:
- X
- X Yoyodyne, Inc., hereby disclaims all copyright interest in the program
- X `Gnomovision' (which makes passes at compilers) written by James Hacker.
- X
- X <signature of Ty Coon>, 1 April 1989
- X Ty Coon, President of Vice
- X
- This General Public License does not permit incorporating your program into
- proprietary programs. If your program is a subroutine library, you may
- consider it more useful to permit linking proprietary applications with the
- library. If this is what you want to do, use the GNU Library General
- Public License instead of this License.
- END_OF_FILE
- if test 17982 -ne `wc -c <'banner-12/COPYING'`; then
- echo shar: \"'banner-12/COPYING'\" unpacked with wrong size!
- fi
- # end of 'banner-12/COPYING'
- fi
- if test -f 'gothic/gothic.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'gothic/gothic.c'\"
- else
- echo shar: Extracting \"'gothic/gothic.c'\" \(15980 characters\)
- sed "s/^X//" >'gothic/gothic.c' <<'END_OF_FILE'
- X/*
- X * Print a line of text in Gothic (Black) Script. Very simple routine,
- X * just a lot of data to worry about...
- X *
- X * Remember to escape all backslashes when editing characters...
- X * -- hyc, 12-29-91
- X *
- X * $Log: gothic.c,v $
- X * Revision 1.6 1992/08/14 07:11:20 hyc
- X * Fix typos in back-slash and right bracket.
- X *
- X * Revision 1.5 1992/08/14 05:06:45 hyc
- X * Streamlined MTS support.
- X *
- X * Revision 1.4 1992/08/14 04:26:49 hyc
- X * Implement word-wrap in addition to previous character/line wrap.
- X * Full 96 character printable ASCII set implemented.
- X *
- X */
- X
- X#ifdef _MTS
- X#define _ADD 1
- X#include <stdlib.h>
- X#include <ctype.h>
- X#else
- X#include <stdio.h>
- X#include <ctype.h>
- X#undef toascii
- X#define toascii(x) x
- X#endif
- X
- X#ifndef __STDC__
- X#define const
- X#endif
- X
- X#ifndef DEFWIDTH
- X#define DEFWIDTH 79
- X#endif
- X
- const struct letter {
- X const char *lines[9];
- X} glyphs[96] = {
- X {
- X " ", /* space */
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* ! bang */
- X "/\\ ",
- X "\\/ ",
- X "}{ ",
- X "\\/ ",
- X " ",
- X "<> ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* " double-quote */
- X "<> <> ",
- X " ) ) ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* # sharp */
- X " <> <> ",
- X " }{ }{ ",
- X "<>++=++<> ",
- X " }{ }{ ",
- X "<>++=++<> ",
- X " }{ }{ ",
- X " <> <> ",
- X " "
- X },
- X
- X {
- X " ", /* $ dollar */
- X " _++_, ",
- X "|||| ",
- X "||--. ",
- X " ~|||| ",
- X " |||| ",
- X ",-__- ",
- X " || ",
- X " "
- X },
- X
- X {
- X " ", /* % per-cent */
- X " , ",
- X "<> / ",
- X " / ",
- X " / ",
- X " / ",
- X "/ <> ",
- X "` ",
- X " "
- X },
- X
- X {
- X " ", /* & ampersand */
- X " /\\ ",
- X " \\/ ",
- X " /\\ , ",
- X "/'\\\\, ",
- X "| \\\\ ",
- X "\\\\-/\\ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* ' single quote */
- X "<> ",
- X " ) ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* ( left paren */
- X " / ",
- X "// ",
- X "|| ",
- X "|| ",
- X "|| ",
- X "\\\\ ",
- X " \\ ",
- X " "
- X },
- X
- X {
- X " ", /* ) right paren */
- X "\\ ",
- X "\\\\ ",
- X "|| ",
- X "|| ",
- X "|| ",
- X "// ",
- X "/ ",
- X " "
- X },
- X
- X {
- X " ", /* * asterisk */
- X " ",
- X " <> <> ",
- X " \\ / ",
- X "<>-*-<> ",
- X " / \\ ",
- X " <> <> ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* + plus */
- X " ",
- X " <> ",
- X " }{ ",
- X "<>--<> ",
- X " }{ ",
- X " <> ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* , comma */
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X "<> ",
- X " ) ",
- X " "
- X },
- X
- X {
- X " ", /* - hyphen */
- X " ",
- X " ",
- X " ",
- X "<>-<> ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* . period */
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X "<> ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* / slash */
- X " / ",
- X " / ",
- X " // ",
- X " / ",
- X " // ",
- X " / ",
- X "/ ",
- X " "
- X },
- X
- X {
- X " ", /* 0 */
- X " /\\\\ ",
- X "|| || ",
- X "|| || ",
- X "|| || ",
- X "|| || ",
- X " \\\\/ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* 1 */
- X " /| ",
- X "/|| ",
- X " || ",
- X " || ",
- X " || ",
- X ",/-' ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* 2 */
- X " /\\ ",
- X "( ) ",
- X " // ",
- X " // ",
- X "/( ",
- X "{___ ",
- X " ",
- X " "
- X },
- X
- X {
- X "____ ", /* 3 */
- X "` // ",
- X " // ",
- X " \\\\ ",
- X " )) ",
- X " // ",
- X "/' ",
- X " ",
- X " "
- X },
- X
- X {
- X " , ", /* 4 */
- X " /| ",
- X "/ | ",
- X "__|_ ",
- X "---- ",
- X " | ",
- X " ,_, ",
- X " ",
- X " "
- X },
- X
- X {
- X "____ ", /* 5 */
- X "|| ` ",
- X "||_ ",
- X "|/ \\ ",
- X " )) ",
- X " // ",
- X " /' ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* 6 */
- X " ,/ ",
- X " // ",
- X "((_- ",
- X "|| )) ",
- X "(( || ",
- X " \\// ",
- X " ",
- X " "
- X },
- X
- X {
- X "____ ", /* 7 */
- X "` || ",
- X " /, ",
- X " // ",
- X " (( ",
- X " || ",
- X " |' ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* 8 */
- X " /\\\\ ",
- X "|| || ",
- X " \\ / ",
- X " /\\\\ ",
- X "// \\\\ ",
- X "|| || ",
- X " \\\\/ ",
- X " "
- X },
- X
- X {
- X " ", /* 9 */
- X " /\\\\ ",
- X "|| || ",
- X "|| || ",
- X " \\/|| ",
- X " || ",
- X " \\_/ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* : */
- X " ",
- X " ",
- X "<> ",
- X " ",
- X " ",
- X "<> ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* ; */
- X " ",
- X " ",
- X "<> ",
- X " ",
- X " ",
- X "<> ",
- X " ) ",
- X " "
- X },
- X
- X {
- X " ", /* < */
- X " / ",
- X " / ",
- X " // ",
- X "<< ",
- X " \\\\ ",
- X " \\ ",
- X " \\ ",
- X " "
- X },
- X
- X {
- X " ", /* = */
- X " ",
- X " ",
- X "<>-<> ",
- X " ",
- X "<>-<> ",
- X " ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* > */
- X "\\ ",
- X " \\ ",
- X " \\\\ ",
- X " >> ",
- X " // ",
- X " / ",
- X "/ ",
- X " "
- X },
- X
- X {
- X " -_ ", /* ? */
- X "/ \\\\ ",
- X "` || ",
- X " |, ",
- X " (( ",
- X " ",
- X " <> ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* @ */
- X " /\\\\ ",
- X "|| || ",
- X "||/|| ",
- X "||\\| ",
- X "|| ",
- X " \\\\_, ",
- X " ",
- X " "
- X },
- X
- X
- X#ifdef ITALIC
- X {
- X " ",
- X " _--_, ",
- X " ,\\\\ ",
- X " ~' \\\\ ",
- X " |==\\\\ ",
- X " | \\\\. ",
- X " _---_ \\/ ",
- X "( ",
- X " "
- X },
- X#else
- X {
- X " ___ ",
- X " - -_, ",
- X "( ~/|| ",
- X "( / || ",
- X " \\/==|| ",
- X " /_ _|| ",
- X "( - \\\\, ",
- X " ",
- X " "
- X },
- X#endif
- X
- X {
- X " ",
- X "_-_ _,, ",
- X " -/ ) ",
- X " ~||_< ",
- X " || \\\\ ",
- X " ,/--|| ",
- X " _--_-' ",
- X " ( ",
- X " "
- X },
- X
- X {
- X " ",
- X " ,- _~. ",
- X " (' /| ",
- X "(( || ",
- X "(( || ",
- X " ( / | ",
- X " -____- ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X "-_____ ",
- X " ' | -, ",
- X " /| | |` ",
- X " || |==|| ",
- X "~|| | |, ",
- X " ~-____, ",
- X "( ",
- X " "
- X },
- X
- X {
- X " ",
- X " ,- _~, ",
- X " (' /| / ",
- X "(( ||/= ",
- X "(( || ",
- X " ( / | ",
- X " -____- ",
- X " ",
- X " "
- X },
- X
- X#ifdef ITALIC
- X {
- X " __ ",
- X "_// --_/",
- X " || ",
- X " ~+|-/ ",
- X " || ",
- X " || ",
- X " ,/ ",
- X " ",
- X " "
- X },
- X#else
- X {
- X " _ ,",
- X " ,- - ",
- X " _||_ ",
- X "' || ",
- X " || ",
- X " |, ",
- X "_-/ ",
- X " ",
- X " "
- X },
- X#endif
- X
- X {
- X " __ , ",
- X " ,-| ~ ",
- X " ('||/__, ",
- X "(( ||| | ",
- X "(( |||==| ",
- X " ( / | , ",
- X " -____/ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X "_-_- ",
- X " /, ",
- X " || __ ",
- X " ~||- - ",
- X " ||===|| ",
- X " ( \\_, | ",
- X " ` ",
- X " "
- X },
- X
- X {
- X " ",
- X "_-_, ",
- X " // ",
- X " || ",
- X " ~|| ",
- X " || ",
- X "_-_, ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " _-_,,",
- X "( // ",
- X " _|| ",
- X " _|| ",
- X " || ",
- X "-__-, ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X "_-_-, ",
- X " // , ",
- X " ||/\\\\ ",
- X " ~|| < ",
- X " ||/\\\\ ",
- X " _-__,\\\\,",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X "_-_- ",
- X " /, ",
- X " || ",
- X "~|| ",
- X " || ",
- X "( -__, ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " /\\\\,/\\\\,",
- X " /| || || ",
- X " || || || ",
- X " ||=|= || ",
- X "~|| || || ",
- X " |, \\\\,\\\\,",
- X "_- ",
- X " "
- X },
- X
- X {
- X " __ ",
- X " / -, ",
- X " || ) ",
- X " ~||---) ",
- X " ~||---, ",
- X " ~|| / ",
- X " |, / ",
- X "-_- --~ ",
- X " "
- X },
- X
- X {
- X " __ ",
- X " ,-||-, ",
- X " ('||| ) ",
- X "(( |||--)) ",
- X "(( |||--)) ",
- X " ( / | ) ",
- X " -____- ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X "-__ /\\\\ ",
- X " || \\\\ ",
- X " /||__|| ",
- X " \\||__|| ",
- X " || |, ",
- X "_-||-_/ ",
- X " || ",
- X " "
- X },
- X
- X {
- X " __ ",
- X " ,-||-, ",
- X " ('||| ) ",
- X "(( |||--)) ",
- X "(( |||--)) ",
- X " ( / | ) ",
- X " -____-\\\\ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X "-__ /\\ ",
- X " || \\, ",
- X " /|| / ",
- X " \\||/- ",
- X " || \\ ",
- X "_---_-|,",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " -_-/ ",
- X " (_ / ",
- X "(_ --_ ",
- X " --_ ) ",
- X " _/ )) ",
- X "(_-_- ",
- X " ",
- X " "
- X },
- X
- X {
- X " ___ ",
- X "- ---___- ",
- X " (' || ",
- X " (( || ",
- X " (( || ",
- X " (( // ",
- X " -____- ",
- X " ",
- X " "
- X },
- X
- X {
- X " _ _ _ ,",
- X "- - / - - ",
- X " ('|| || ",
- X " (( ||--|| ",
- X " (( ||--|| ",
- X " (( / || ",
- X " -___-\\\\,",
- X " ",
- X " "
- X },
- X
- X {
- X " _ ",
- X "- - _- ",
- X " )- ) ",
- X " )___) ",
- X " ~)___) ",
- X " ) ) ",
- X " /-_/ ",
- X " ",
- X " "
- X },
- X
- X {
- X " _ ",
- X "- - /, /, ",
- X " )/ )/ ) ",
- X " )__)__) ",
- X " ~)__)__) ",
- X " ) ) ) ",
- X " /-_/-_/ ",
- X " ",
- X " "
- X },
- X
- X {
- X " _ ",
- X "- - /`",
- X " \\\\ / ",
- X " \\\\/ ",
- X " ==/\\== ",
- X " / \\\\ ",
- X "\\\\/ \\\\,",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X "-_ _ ",
- X " |,- ` ",
- X " ~||__)) ",
- X " ~||__)) ",
- X " |_ _, ",
- X " -' - ",
- X "( _-_ ",
- X " - ' "
- X },
- X
- X {
- X " ",
- X "_-___ ",
- X " / ",
- X " / ",
- X " =/= ",
- X " / ",
- X "/-__- ",
- X " ",
- X " "
- X },
- X
- X {
- X " __ ", /* [ left bracket */
- X "|| ",
- X "|| ",
- X "|| ",
- X "|| ",
- X "|| ",
- X "|| ",
- X "||__ ",
- X " "
- X },
- X
- X {
- X " ", /* \ back-slash */
- X "\\ ",
- X " \\ ",
- X " \\\\ ",
- X " \\ ",
- X " \\\\ ",
- X " \\ ",
- X " \\ ",
- X " "
- X },
- X
- X {
- X "__ ", /* ] right bracket */
- X " || ",
- X " || ",
- X " || ",
- X " || ",
- X " || ",
- X " || ",
- X "__|| ",
- X " "
- X },
- X
- X {
- X " x ", /* ^ caret */
- X " / \\ ",
- X "/ \\ ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X
- X {
- X " ", /* _ underscore */
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X "_____ ",
- X " "
- X },
- X
- X {
- X " ", /* ` back-quote */
- X "<> ",
- X "( ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " "
- X },
- X#ifdef ITALIC
- X {
- X " ",
- X " ",
- X " ",
- X " _-_ ",
- X "|| \\\\, ",
- X "|| || ",
- X "\\\\/\\\\, ",
- X " ",
- X " "
- X },
- X#else
- X {
- X " ",
- X " ",
- X " _ ",
- X " < \\, ",
- X " /-|| ",
- X "(( || ",
- X " \\/\\\\ ",
- X " ",
- X " "
- X },
- X#endif
- X
- X {
- X " ",
- X ",, ",
- X "|| ",
- X "||/|, ",
- X "|| || ",
- X "|| |' ",
- X "\\\\/ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " ",
- X " ",
- X " _-_ ",
- X "|| ",
- X "|| ",
- X "\\\\,/ ",
- X " ",
- X " "
- X },
- X#ifdef ITALIC
- X {
- X " ",
- X " , ",
- X " || ",
- X " _-_|| ",
- X "|| \\\\| ",
- X "|| || ",
- X " \\\\/\\\\, ",
- X " ",
- X " "
- X },
- X#else
- X {
- X " ",
- X " |\\ ",
- X " \\\\ ",
- X " / \\\\ ",
- X "|| || ",
- X "|| || ",
- X " \\\\/ ",
- X " ",
- X " "
- X },
- X#endif
- X {
- X " ",
- X " ",
- X " ",
- X " _-_ ",
- X "|| \\\\ ",
- X "||/ ",
- X "\\\\,/ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " /\\ ",
- X " || ",
- X "=||= ",
- X " || ",
- X " || ",
- X " \\\\, ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " ",
- X " _ ",
- X " / \\\\ ",
- X "|| || ",
- X "|| || ",
- X "\\\\_-| ",
- X " / \\ ",
- X "'----`"
- X },
- X#ifdef ITALIC
- X {
- X " ",
- X " , ",
- X "|| ",
- X "||,<> ",
- X "|| || ",
- X "|| || ",
- X "<>,|| ",
- X " |/ ",
- X " ./ "
- X },
- X
- X {
- X " ",
- X " ",
- X "<> ",
- X "-_ ",
- X "|| ",
- X "|| ",
- X "\\\\,",
- X " ",
- X " "
- X },
- X#else
- X {
- X " ",
- X ",, ",
- X "|| ",
- X "||/\\\\ ",
- X "|| || ",
- X "|| || ",
- X "\\\\ |/ ",
- X " _/ ",
- X " "
- X },
- X
- X {
- X " ",
- X " ",
- X " ' ",
- X "\\\\ ",
- X "|| ",
- X "|| ",
- X "\\\\ ",
- X " ",
- X " "
- X },
- X#endif
- X {
- X " ",
- X " ",
- X " ' ",
- X "\\\\ ",
- X "|| ",
- X "|| ",
- X "|| ",
- X "|; ",
- X "/ "
- X },
- X
- X {
- X " ",
- X ",, ",
- X "|| ",
- X "||/\\ ",
- X "||_< ",
- X "|| | ",
- X "\\\\,\\ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X ",, ",
- X "|| ",
- X "|| ",
- X "|| ",
- X "|| ",
- X "\\\\ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " ",
- X " ",
- X "\\\\/\\\\/\\\\ ",
- X "|| || || ",
- X "|| || || ",
- X "\\\\ \\\\ \\\\ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " ",
- X " ",
- X "\\\\/\\\\ ",
- X "|| || ",
- X "|| || ",
- X "\\\\ \\\\ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " ",
- X " ",
- X " /'\\\\ ",
- X "|| || ",
- X "|| || ",
- X "\\\\,/ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " ",
- X " ",
- X "-_-_ ",
- X "|| \\\\ ",
- X "|| || ",
- X "||-' ",
- X "|/ ",
- X "' "
- X },
- X
- X {
- X " ",
- X " ",
- X " ",
- X " /'\\\\ ",
- X "|| || ",
- X "|| || ",
- X "\\\\,|| ",
- X " || ",
- X " '` "
- X },
- X
- X {
- X " ",
- X " ",
- X " ",
- X ",._-_ ",
- X " || ",
- X " || ",
- X " \\\\, ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " ",
- X " ",
- X " _-_, ",
- X "||_. ",
- X " ~ || ",
- X ",-_- ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " , ",
- X " || ",
- X "=||= ",
- X " || ",
- X " || ",
- X " \\\\, ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " ",
- X " ",
- X "\\\\ \\\\ ",
- X "|| || ",
- X "|| || ",
- X "\\\\/\\\\ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " ",
- X "; ",
- X "\\\\/\\ ",
- X "|| | ",
- X "|| | ",
- X "\\\\/ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " ",
- X "; ",
- X "\\\\/\\/\\ ",
- X "|| | | ",
- X "|| | | ",
- X "\\\\/\\\\/ ",
- X " ",
- X " "
- X },
- X
- X {
- X " ",
- X " ",
- X ", ",
- X "\\\\ /` ",
- X " \\\\ ",
- X " /\\\\ ",
- X "/ \\; ",
- X " ",
- X " "
- X },
- X#ifdef ITALIC
- X {
- X " ",
- X " ",
- X " ",
- X "-_ -_ ",
- X "|| || ",
- X "|| || ",
- X "\\\\,|| ",
- X " |/ ",
- X " ./ "
- X },
- X#else
- X {
- X " ",
- X " ",
- X " ",
- X "'\\\\/\\\\ ",
- X " || ;' ",
- X " ||/ ",
- X " |/ ",
- X "( ",
- X " -_- "
- X },
- X
- X#endif
- X {
- X " ",
- X " ",
- X " ",
- X "/\\\\ ",
- X " / ",
- X "/\\\\ ",
- X " || ",
- X " / ",
- X "(, "
- X },
- X
- X {
- X " _ ", /* { left curly bracket */
- X " ( ",
- X " ) ",
- X " ) ",
- X "-{ ",
- X " ) ",
- X " ) ",
- X " (_ ",
- X " "
- X },
- X
- X {
- X " ", /* | vertical bar */
- X "|| ",
- X "|| ",
- X "|| ",
- X "|| ",
- X "|| ",
- X "|| ",
- X "|| ",
- X " "
- X },
- X
- X {
- X "_ ", /* } right curly bracket */
- X " ) ",
- X " ( ",
- X " ( ",
- X " }- ",
- X " ( ",
- X " ( ",
- X "_) ",
- X " "
- X },
- X
- X {
- X " _ ", /* ~ tilde */
- X "/ \\_/ ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " ",
- X " "
- X }
- X};
- X
- char *outbuf;
- void print();
- int width = DEFWIDTH;
- X#ifdef _MTS
- X__fortran void scards(), sprint();
- short len;
- int lnum, mods = 0, _noopen, rc;
- X#define gets(buffer) \
- X scards(buffer,&len,&mods,&lnum, __retcode rc), \
- X buffer[len]='\0', \
- X rc == 0 ? 1 : 0
- X#define puts(outbuf) \
- X len = outptr - outbuf; \
- X sprint(outbuf,&len,&mods,&lnum)
- X#define NewLine \
- X len=1; \
- X sprint(outbuf,&len,&mods,&lnum)
- X#define BufAdj 1
- X#define GE >
- X#else
- X#define NewLine putchar('\n')
- X#define BufAdj 0
- X#define GE >=
- X#endif
- X
- X
- main(argc, argv)
- X int argc;
- X char **argv;
- X{
- X char buffer[256], *malloc();
- X
- X if (argc > 1) {
- X if (argv[1][0] == '-') {
- X width = atoi(&argv[1][1]);
- X argc--;
- X argv++;
- X }
- X }
- X outbuf = malloc(width + 20);
- X#ifdef _MTS
- X *outbuf = ' ';
- X#endif
- X
- X if (argc < 2) { /* read message from stdin */
- X while (gets(buffer) != NULL)
- X print(buffer);
- X } else {
- X for (--argc; argc != 1; argc--) {
- X argv[argc]--;
- X *argv[argc] = ' ';
- X }
- X print(argv[1]);
- X }
- X}
- X
- void
- print(buf)
- X char *buf;
- X{
- X register int i;
- X register char *inptr, *outptr, *prevptr, *spinptr, *spptr;
- X register char const *dataptr;
- X int wrapped;
- X char oldc;
- X
- X do {
- X wrapped = 0;
- X spinptr = buf;
- X for (i = 0; i < 9; i++) {
- X outptr = outbuf + BufAdj;
- X *outptr = '\0';
- X for (inptr = buf; *inptr; inptr++) {
- X prevptr = outptr;
- X if (isprint(*inptr))
- X dataptr = glyphs[toascii(*inptr) - toascii(' ')].lines[i];
- X else
- X dataptr = glyphs[0].lines[i];
- X if (dataptr == glyphs[0].lines[i]) {
- X spinptr = inptr+1;
- X spptr = outptr;
- X }
- X for (; *dataptr;)
- X *outptr++ = *dataptr++;
- X if (outptr - outbuf > width) {
- X wrapped = 1;
- X if (spinptr == buf) {
- X outptr = prevptr;
- X } else {
- X outptr = spptr;
- X inptr = spinptr;
- X if (spptr == prevptr)
- X inptr--;
- X }
- X oldc = *inptr;
- X *inptr = '\0';
- X break;
- X }
- X }
- X for (outptr--; outptr GE outbuf; outptr--)
- X if (*outptr != ' ')
- X break;
- X *++outptr = '\0';
- X puts(outbuf);
- X }
- X NewLine;
- X if (wrapped) {
- X buf = inptr;
- X *inptr = oldc;
- X if (oldc == ' ')
- X buf++;
- X }
- X } while (wrapped);
- X}
- END_OF_FILE
- if test 15980 -ne `wc -c <'gothic/gothic.c'`; then
- echo shar: \"'gothic/gothic.c'\" unpacked with wrong size!
- fi
- # end of 'gothic/gothic.c'
- fi
- echo shar: End of archive 4 \(of 7\).
- cp /dev/null ark4isdone
- MISSING=""
- for I in 1 2 3 4 5 6 7 ; do
- if test ! -f ark${I}isdone ; then
- MISSING="${MISSING} ${I}"
- fi
- done
- if test "${MISSING}" = "" ; then
- echo You have unpacked all 7 archives.
- rm -f ark[1-9]isdone
- else
- echo You still need to unpack the following archives:
- echo " " ${MISSING}
- fi
- ## End of shell archive.
- exit 0
-