Graffiti - A Cookie/Sigmonster Server

"Graffiti is one of my favorite programs. I'd even pay a modest amount for it. If you knew how cheap I was you'd consider that a compliment <g>." - AH, Montana.

"WTF! How in Hell did that get there?" - Hospital Administrator, Texas.

"Thanks for the Graffiti app but I'll be flying under the radar for a while" - BLG, Texas.

Dude - that's awesome! I love it! - RD, Oregon.

Graffiti is a free program, supplied with source code and written for our own amusement. It is supplied without warranty and/or guarantees of suitability and/or functionality. You can download the installation program , source code, or the original DECUS cookies.

This is a "fortune cookie" application (aka sigmonster or quotefile program) that can be loaded onto the toolbar on any modern Windows based computer. At intervals it will read a "fortune cookie" from one of a number of files supplied and display the "cookie" on the screen for a short period of time. The "cookie" may be anything from the sublime to the obscure and the user has the ability (if they so wish) to add additional cookies, edit, or remove cookies as all the data is stored in simple ASCII text files. The "cookies" can also be automatically written to signature files to produce random signatures with most common e-mail applications.

Graffiti displays a randon selection of fortune cookies.We wrote Graffiti for our amusement because we had enjoyed a similar program on RSX-11M, VMS and UNIX systems. Graffiti is a well behaved Windows application, it runs in the background and displays its fortune cookies on the screen using the Windows "tool-tips" interface and/or writes them to an output file.

Most of the fortune cookies here can be found on the original DECUS release of COOKIE - others have been collected from various USENET groups etc. The only commercial involvement that we have in the Graffiti application is the right-click menu which contains a some links to our web site if you care to use them. Graffiti is not spy-ware and does not "phone home" or contact us in any way other than a link that can (if you chose) check for updates to the program.

When installed in the Windows GUI toolbar the Graffiti application displays a small "bubble" icon that responds to mouse clicks. A right-click on the toolbar icon displays a menu that allows Graffiti to be customized while a left double click toggles the "active" status of the application - a small red "x" is displayed on the icon when Graffiti is paused and not serving any cookies. Two left double clicks will always generate a cookie on demand.

The Graffiti program is controlled by the right mouse button on the toolbar icon (or from the Program menu if the icon has been hidden). The following control options are supported:

How to customize Graffiti

click to see the option menu.

The Graffiti application has a large number of customization options allowing it to function in a number of different situations. The frequency of cookie display, duration and appearance are completely adjustable. Additional options can play sounds when the cookies are displayed or even suppress the screen display and simply update a .sig file to produce rotating email signatures.

Graffiti is normally controlled via the right click menu from the Windows toolbar but even this option can be hidden from the user, allowing the program to run in the background without any user interaction.

There are four "time" options

There are four screen options

There are two signature options

All signature files must be plain ASCII text - unicode, rich text, and HTML signature files are not currently supported.

Source Code and Cookie Collections

Graffiti uses a simple ASCII file format to store the cookies so it's very easy to create your own cookie files or edit any of the many cookie files supplied. All cookie files use the .SRC file type but the files can be edited by any ASCII editor program such as Notepad, EMACS, VI, ED etc. Don't use Word or other "word processor" programs to edit the cookie files unless you know how to use the program to edit ASCII text files. The cookie file format is simple - start and end each "cookie" with a double percent character "%%" on a single line - this is identical to the original VAX format used by the "Fortune Cookie" system.

Graffiti can select cookies for one or more files specified in the "Files being used" list shown in the customize dialog box. Use the "Add" and "Remove" buttons to select the cookie source files from the list shown. Note that cookie files that might offend some people are only installed when you select the "custom" option during installation and check the (in)appropriate files. Don't install these if there is a chance that you might be offended by scatological or political humor - if you don't know what scatological means, or don't find politicians of all parties funny, then you should not select these files.

The source code for the Graffiti application is available for download - this compiles in a MS C++ environment. Please let us know if you improve the program.

Cookie file format

All cookie files are ASCII text files that have a .SRC file type. Cookies may be any length and should wrap at appropriate breaks with a CR/LF. Each cookie is delimited by a single line containing %% which signals the end of one cookie and the start of the next cookie. As a result, it's very easy to create completely new cookie files with your own favorite quotes or even make a flash card display to help memorize information as cookies.

An additional "quotefile" format is supported where each cookie is stored on a single line, delimited with a CR/LF. This format is suitable for single line cookies or quotes and is included for compatibility with older source files only - it's not recommended for new cookie files. An example of this is included in the installation as "quotefile.src" when "additional cookies" is selected in the custom installation.

Installation Notes - updated September 20th, 2006.