|
.PHome in the user root-directory. PION performs all its operations
in .PHome and /tmp directories. For each index PION
makes the subdirectory Index_i in .PHome, where
i is an integer. If there are already n-1 indices in
.PHome, then the next index will be placed in Index_n.
The directory tree created by PION is depicted in Fig.2.
.PHome created by PION. .PHome contains the following two files
Pion.cfgword.trm word.trm consists of the words which are supposed to be eliminated
from an index, if you decide to trim this index. Information about
trimming indices is presented in the section about editing indices.
Pion.cfg is a configuration file for PION. In order to clarify
what one can do with it let us consider an example of Pion.cfg.
#NUMBER_OF_INDICES is updated
#Tue Aug 28 21:15:21 MST 2001
WsearchURL_7=http\://www.ask.com/main/askjeeves.asp?ask\=$*&x\=19&y\=14
WsearchURL_6=http\://www.goto.com/d/search/p/go/?Keywords\=$*
WIDTH=400
WsearchURL_5=http\://www.webcrawler.com/cgi-bin/WebQuery?searchText\=$*
WsearchURL_4=http\://search.excite.com/search.gw?search\=$*
PION_BIN=/home/sergey/new_devel/Pion/build/bin
WsearchURL_3=http\://www.lycos.com/srch/?query\=$*
WsearchURL_2=http\://www.google.com/search?q\=$*
HIGHT=300
WsearchURL_1=http\://www.altavista.com/cgi-bin/query?q\=$*
WsearchURL_0=http\://ink.yahoo.com/bin/query?p\=$*
NUMBER_OF_INDICES=6
BROWSER=cmd /c start iexplore
WsearchWIDTH=400
WsearchHIGHT=300
WsearchSearchEngine_7=AskJeeves
PION_AUTHORIZATION_KEY=free
WsearchSearchEngine_6=GOTO
WsearchSearchEngine_5=WebCrawler
WsearchSearchEngine_4=Excite
WsearchBROWSER=cmd /c start iexplore
WsearchSearchEngine_3=Lycos
WsearchSearchEngine_2=Google
WsearchSearchEngine_1=Alta Vista
WsearchSearchEngine_0=Yahoo
In this example of Pion.cfg one can specify hight and width of
PION with HIGHT and WIDTH. The fields
NUMBER_OF_INDICES and PION_AUTHORIZATION_KEY are
updated by PION automatically. The fields that starts with Wsearch
are for configuring Wsearch utility that will be addressed later in this manual.The field BROWSER defines a default Internet browser to be used by Index Office.
Each directory Index_i (i=1,2,...) has its own configuration
file - Index.conf. An example of Index.conf.
#ICON is updated
#Thu Aug 23 17:33:28 MST 2001
START_ANNOTATE_AT_LINE=15
TRIMMED=No
NUMBER_OF_CHARACTERS_IN_ANNOTATION=330
TITLE=Java Tutorial
OPTIMAL=Yes
COMPRESS=Yes
BROWSER=/usr/bin/netscape
ICON=D\:/IO\\.PHome\\images\\javalogo40x40.gif
Index.conf is created by PION together with the corresponding
Index_i (i=1,2,...). The meaning of the variables listed in
Index.conf will be addressed in the section Creating an index.