Newsgroups: comp.editors
Path: utzoo!utgpu!watserv1!watmath!mks.com!ant
From: ant@mks.com (Anthony Howe)
Subject: Re: Simple Editor (IOCCC '91 Entry)
Date: Fri, 31 May 91 14:26:58 GMT
Message-ID: <1991May31.142658.8227@mks.com>
Organization: Mortice Kern Systems, Waterloo, Ontario, CANADA
References: <1991May30.130945.4341@mks.com> <1991May30.153824.20151@scrumpy@.bnr.ca>

> |> What you'll find below is my simple VI-like full screen editor.
> 
> Incredible, I would not have thought it possible (a usable editor in 1.5
> Kbytes! probably close to 3 orders of magnitude less than emacs).  So now
> we all have the simple Unix editor people keep wanting.  It compiles on my
> Sparc and what I tried worked, but I'll probably stick to my current
> editor.  Still, I'm keeping the source...

Thank you, and others for the praise.  I'm glad the editor was well
received by most.  I'm even happier that it work (first go?) on your
machine.  

If not, drop me a note as to why and what you did to make it work.

Again thanks to every who sent me a note and especially to Joseph H. Allen
for writing the Editor 101 and Gap Buffer articles, and to Stephen Trier for
writing the Editor 102 article. 

> By the way, what is IOCCC?

The I.nternational O.fuscated C C.ode C.ontest is an informal contest
now in it's eight year.  There are no prizes other than fame or flames :)
for writing the smallest, dirtiest, and down right sneakiest pieces of code.

All the entries must do something interesting and they have different
catagories for judging.  Some past greats have been Tetris with built-in
mini-CURSES, uncompress, and a BASIC interpreter.  Below is an
extract of 1991 Rules that should give a better idea.  Watch comp.lang.c 
or comp.sources.unix for posting of the results.  The contest opens some 
time around March/April each year (this is my first time entering).

----
8th International Obfuscated C Code Contest Rules

	Obfuscate:  tr.v.  -cated, -cating, -cates.  1. a.  To render obscure.
		b.  To darken.  2. To confuse:  his emotions obfuscated his
		judgment.  [LLat. obfuscare, to darken : ob(intensive) +
		Lat. fuscare, to darken < fuscus, dark.] -obfuscation n.
		obfuscatory adj.

GOALS OF THE CONTEST:

    * To write the most Obscure/Obfuscated C program under the rules below.
    * To show what should NOT be done in C programs.
    * To provide a safe forum for poor C code.  :-)

RULES:

    1) Your source MUST be 1536 bytes or less, and it must be a complete
       program, not just a subroutine.

[..entry specification deleted..]

ANNOUNCEMENT OF WINNERS:

    * First announcement will likely be at the Summer 91 Usenix conference.

    * Winning entries will be posted in mid June 1991 to 
      comp.sources.unix as well as news groups where these rules 
      were posted.  (depending on the judges work load)
    
    * Winning entries will be deposited into the uunet archives.

    * An article containing the winning entries will be published
      in a future issue of the "Micro/Systems Journal".

    * Winners receive international fame and flames!  :-)


JUDGING:

    Awards will be given to the best entry in a number of categories.
    The actual category list will vary depending on the types of entries
    we receive.  As a guide, consider using the following:

	* The best small one line program
	* The strangest source layout
	* The most useful obfuscated program
	* The most creatively obfuscated program
	* Best obfuscated entry smaller than 256 bytes
	* Best obfuscated entry smaller than 1024 bytes
	* Best abuse of ANSI
	* Worse abuse of the rules (no abuse of entry format please!)
	* <anything else so strange that it deserves an award>

	[and last few years emphasis on portability]
---
-- 
ant@mks.com                                                   Anthony C Howe 
Mortice Kern Systems Inc. 35 King St. N., Waterloo, Ontario, Canada, N2J 6W9
"Fate favors fools, small children, and ships named Enterprise" - Riker
