From: friedman@cis.ohio-state.edu (Mark "Crimson" Friedman)
Subject: BIGGIE! Make big text...the *easy* way!
Followup-To: alt.fan.warlord
Summary: It's nutty, but will it catch on?
Originator: friedman@adena.cis.ohio-state.edu
Keywords: splunge!
Organization: NAIVE - New And Improved Virtual Environment
Date: Thu, 30 Jul 1992 01:28:51 GMT

__  __        __ __  ____ 
||\/||   /\   || // ||    
||\/||  //\\  ||<<  ||==  
||  || //--\\ || \\ ||___ 
_____  ______   ____  
||  \\ | || |  //  \\ 
||==<<   ||   ((  ___ 
||__// |_||_|  \\__|| 
______  ____ __  __ ______ 
| || | ||    \\  // | || | 
  ||   ||==   >><<    ||   
  ||   ||___ //  \\   ||   
__    ______ __ __  ____ 
||    | || | || // ||    
||      ||   ||<<  ||==  
||__| |_||_| || \\ ||___ 
______ __  __ ______  __           
| || | ||  || | || | (( \          
  ||   ||==||   ||    \\           
  ||   ||  || |_||_| \_)) [] [] [] 
______ __  __  ____ 
| || | ||  || ||    
  ||   ||==|| ||==  
  ||   ||  || ||___ 
       ____         __  __  __       
      ||      /\   (( \ \\  //       
[===] ||==   //\\   \\   \\//  [===] 
      ||___ //--\\ \_))   ||         
__    __        __  __ || 
||    ||   /\   \\  // || 
\\ /\ //  //\\   \\//     
 \\/\//  //--\\   ||   [] 

#! /bin/sh
# This is a shell archive, meaning:
# 1. Remove everything above the #! /bin/sh line.
# 2. Save the resulting text in a file.
# 3. Execute the file with /bin/sh (not csh) to create:
#	biggie.c
#	bigletter
# This archive created: Wed Jul 29 21:14:33 1992
# By:	Mark "Crimson" Friedman (NAIVE - New And Improved Virtual Environment)
export PATH; PATH=/bin:/usr/bin:$PATH
if test -f 'biggie.c'
then
	echo shar: "will not over-write existing file 'biggie.c'"
else
cat << \SHAR_EOF > 'biggie.c'
/*
 * _____  ______   ____    ____  ______  ____ || 
 * ||  \\ | || |  //  \\  //  \\ | || | ||    || 
 * ||==<<   ||   ((  ___ ((  ___   ||   ||==     
 * ||__// |_||_|  \\__||  \\__|| |_||_| ||___ [] 
 *
 * BIGGIE! - Print out big-letter messages, suitable for speading
 *           over Usenet like so many annoying signature viruses...
 *           Heck, the letters are 4 lines high, so you can even
 *           legally put this stuff in your .signature file!
 *           Remember, the poster to use the biggest font ALWAYS
 *           wins the flamewar, right kids?  And forget 'banner',
 *           it's for wussies!  You always gotta turn a 132 column
 *           monitor on its side to read it right away!  ;-)
 *
 * Version 1.0 written by:
 *   Mark "Crimson" Friedman  (friedman@cis.ohio-state.edu)
 *
 * Biggie was thrown together at a moment's notice to get a few laughs.
 * What else can a programmer hope for?  Anyway, hopefully this will
 * catch on and become a general Usenet nuisance.  Consider it an
 * experiment in PAIN!  Taste my steel, pasty-boy!
 *
 * Biggie is dedicated to the folks over at alt.fan.warlord, who
 * continue to make the Net safe from ASCII graphics abuse.  Also,
 * the font used within shall hereon be called 'Gaston' in honor of
 * my longtime compatriot Rob Gaston for whom I originally made a
 * signature file sporting this big letter style.
 *
 *                                               Enjoy!
 *                                               - Mark Friedman
 *
 * COMPILING:
 *
 * To compile, type (or cut-n-paste) the following line:
 *
       cc biggie.c -o biggie
 *
 * And make sure that LETTER_FILE corresponds to your copy of the
 * letter data file.  Since the file is external, you don't need
 * to recompile every time you edit your alphabet.  Neat, huh?
 *
 * USAGE:
 *
 *     biggie <text>
 *
 * That's it, eh?  !Muy facil!
 *
 */

#include <stdio.h>

/* this is the name of your letter file: could be fullpath, if ya want */
#define LETTER_FILE "bigletter"

main(erp, krod)
     int erp;
     char *krod[];
{
  FILE *oobie;
  char zim[34][4][20];
  int snerb, glebe, joik;

  if(erp < 2) {
    fprintf(stderr, "Usage: %s <text>\n", krod[0]);
    exit(666);
  }

  if((oobie = fopen(LETTER_FILE, "r")) == NULL) {
    fprintf(stderr, "Couldn't open %s\n", LETTER_FILE);
    exit(69);
  }

  for(snerb = 0; snerb < 34; snerb++) {
    for(glebe = 0; glebe < 4; glebe++) {
      fgets(zim[snerb][glebe], 20, oobie);
      zim[snerb][glebe][strlen(zim[snerb][glebe])-1] = '\0';
    }
  }

  for(joik = 1; joik < erp; joik++) {
    for(glebe = 0; glebe < 4; glebe++) {
      for(snerb = 0; snerb < strlen(krod[joik]); snerb++) {
	krod[joik][snerb] = toupper(krod[joik][snerb]);
	if(krod[joik][snerb] == ' ') {
	  printf("   ");
	} else if(krod[joik][snerb] >= 'A' && krod[joik][snerb] <= 'Z') {
	  printf("%s", zim[krod[joik][snerb] - 'A' ][glebe]);
	} else if(krod[joik][snerb] == '!') {
	  printf("%s", zim[26][glebe]);
	} else if(krod[joik][snerb] == '\'' || krod[joik][snerb] == '`' ||
		  krod[joik][snerb] == '\"') {
	  printf("%s", zim[27][glebe]);
	} else if(krod[joik][snerb] == ',') {
	  printf("%s", zim[28][glebe]);
	} else if(krod[joik][snerb] == '-' || krod[joik][snerb] == '=') {
	  printf("%s", zim[29][glebe]);
	} else if(krod[joik][snerb] == '.') {
	  printf("%s", zim[30][glebe]);
	} else if(krod[joik][snerb] == '?') {
	  printf("%s", zim[31][glebe]);
	} else if(krod[joik][snerb] == ':') {
	  printf("%s", zim[32][glebe]);
	} else if(krod[joik][snerb] == ';') {
	  printf("%s", zim[33][glebe]);
	} else {
	  /* nothing */
	}
      }
      printf("\n");
    }
  }
}
SHAR_EOF
fi
if test -f 'bigletter'
then
	echo shar: "will not over-write existing file 'bigletter'"
else
cat << \SHAR_EOF > 'bigletter'
       
  /\   
 //\\  
//--\\ 
_____  
||  \\ 
||==<< 
||__// 
  ____  
 //  \\ 
((      
 \\__// 
____   
|| \\  
||  )) 
||_//  
 ____ 
||    
||==  
||___ 
 ____ 
||    
||==  
||    
  ____  
 //  \\ 
((  ___ 
 \\__|| 
__  __ 
||  || 
||==|| 
||  || 
______ 
| || | 
  ||   
|_||_| 
______ 
| || | 
  ||   
\\//   
__ __ 
|| // 
||<<  
|| \\ 
__    
||    
||    
||__| 
__  __ 
||\/|| 
||\/|| 
||  || 
__  __ 
||\ || 
||\\|| 
|| \|| 
  ___   
 // \\  
((   )) 
 \\_//  
____  
|| \\ 
||_// 
||    
  ___   
 // \\  
((   )) 
 \\_\\_ 
____  
|| \\ 
||_// 
|| \\ 
 __  
(( \ 
 \\  
\_)) 
______ 
| || | 
  ||   
  ||   
__  __ 
||  || 
||  || 
\\__// 
__  __ 
||  || 
\\  // 
 \\//  
__    __ 
||    || 
\\ /\ // 
 \\/\//  
__  __ 
\\  // 
 >><<  
//  \\ 
__  __ 
\\  // 
 \\//  
  ||   
______  
|| //   
  //    
 //__|| 
|| 
|| 
   
[] 
   
// 
   
   
   
   
   
// 
      
      
[===] 
      
   
   
   
[] 
//\\ 
  // 
     
 []  
   
[] 
   
[] 
   
[] 
   
// 
SHAR_EOF
fi
exit 0
#	End of shell archive

-- 
Mark "Klone Crimson" Friedman is friedman@cis.ohio-state.edu .................
"There is nothing former   "Beat poets,    "If you put a hungry ferret in your
 about King Crimson."       not children."  trousers, he'll run around..."
 - Robert Fripp, 5/11/90    - anonymous     - Nigel Tufnel (Spinal Tap)
Newsgroups: alt.fan.warlord