PIKT

Samples: PIKT Dictionary File

PIKT Logo
Home FAQ News Intro Samples Tutorial Reference Software Authors Licensing SiteSearch


Here is a small portion of the PIKT Dictionary file, PIKTDictionary.obj, which is referenced by the example spell_check.pl Perl script.
a
aa
aaa
aad
[...]
zonttl
zs
zsh
zurich
PIKTDictionary.obj appears on every PIKT web server (primary, test, backup).  Because we maintain multiple instances of this dictionary file, we go to the trouble of configuring a single dictionary_objects.cfg source file on the piktmaster system:

///////////////////////////////////////////////////////////////////////////////
//
// dictionary_objects.cfg
//
///////////////////////////////////////////////////////////////////////////////

#if piktweb

PIKTDictionary

#ifdef test

        foobar

#elsedef

        a
        aa
        aaa
        aad
        [...]
        zonttl
        zs
        zsh
        zurich

#endifdef

#endif  // piktweb

///////////////////////////////////////////////////////////////////////////////
On the piktmaster system, we would install the dictionary to each client web server system with the command:
# piktc -iv +O PIKTDictionary +H piktweb

[For more examples, see Samples.]

Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software | Authors | Licensing | SiteSearch
Links | SiteIndex | Pikt-Users | Pikt-Workers | Contribute | ContactUs | Top of Page
Page best viewed at 1024x768.   Page last updated 2005-06-22.
This site is PIKT® powered.
PIKT® is a registered trademark of the University of Chicago.
Copyright © 1998-2005 Robert Osterlund.  All rights reserved.

Computer Books at Amazon.com

Programming Jabber: Extending XML Messaging
Programming Jabber: Extending XML Messaging

Firefox Hacks
Firefox Hacks

Perl in A Nutshell
Perl in A Nutshell

Learning Unix for Mac OS X Panther
Learning Unix for Mac OS X Panther

Linux Firewalls
Linux Firewalls