XEROX ADDRESSBOOK 2 4 1 ADDRESSBOOK 1 4 By: dgb (Bobrow.pa@Xerox.com) 2W8p`0x`p8 INTRODUCTION The ADDRESSBOOK package provides quick and easy access to on$line address books or phone directories. It allows you to copy (shift select) from entries found in the book, for example, for use as a letter or electronic mail address. When you load the ADDRESSBOOK package, the icon shown above will appear on your screen. Opening this icon will provide a window interface to a simple search process. To find an entry containing any string in one of your *AddressBookFiles*, type the string followed by a return. The ADDRESSBOOK program will quickly search through the files and show you an occurrence of the string typed. The located string is shown in inverse video. The title of the window will contain the name of the file in which the entry was found. You can use a name, part of the address or any keywords to locate the appropriate part of the text. The search ignores case; e.g. "bobrow" matches "Bobrow". The text of the document is scrollable, and any portion can be shift selected into another document. Type carriage return, ^X, or click on Next Occurrence to search further in the files for the same string. If no (further) occurrences are found, the text window will display a message indicating the failure. Searching again after failure will start the search from the beginning of all the files, using the same lookup string. Typing a new string can be repeated as many times as you like. When you are done, just SHRINK the window back to its icon by using the Shrink selection in the title bar . 2 UUUUYUUUUUVUUUUUUUUUUUeUUUUUYUUUUUVUUUUUUUUUUUeUP_hXphY`p3`6hY3p3o϶`hYcllff6pll`yf7hY3ll`7pc3ll`6hY33llff6`plg60hX`p `hXphY`p3`hY3p3ohYcllfpll`hY3ll`pc3ll`hY33llfplghX`p `hXphXp_8` 8`   0` Po70go|||0lm30lllm(Plo0l l00lo0l l0(Plm{0llll00ll{3lll0(Pll`910|||0(P0(_Uh_xx݃8p0a_ݻݿvݷvݻ]۷oݻ~Up;xݻ{vݷv^ݻ]۷oݻ~Uh_~ow~݇_w]۰?~^7ݻ^_w۵_~ݻwnݻnݿ ۶ݻ~Up~~ݻ۷{ݿvݻvݿ۷oݻ~~Uh_;۸݃wwq~8w`~a_UpUh_hXphXp<hX!_<p )`{hX y@3p !{hX !@{p!! H{hX9sq1phXphXphXphX"  @0pSp q0h"ID HQI<x>DFĈH8x DFDHH`""DIDHQH`X㙃pygs}3phXphXphXp hX"`!p$ #p fw88 8hX8"J$S$$EH E p( "Z'$$|`|hX$ "$$!2@A p" "$$S!DHE hX$sp>9py9p"PhX`phXphXppÀ><"hX$@B@fp @9pB" hX0`D$"p @D$B"hX @Db$B"!p$@BDb$B"hXpÀ<8App "! D @hX{xphXphxx``X" p"r4qc hX""LQ p<>D$hX$ 2D$p""N$QhX4s3 p hXphXph2 Example ADDRESSBOOK window 2 Required Files This package automatically loads LOOKUPINFILES. Variables *AddressBookFiles* [Variable] *AddressBookFiles* is a list of files that contain entries to be searched. This is usually set in the INIT.LISP file. In the ADDRESSBOOK package it is initially set to PHONELISTFILES, to make it backwards compatible with PHONE-DIRECTORY. The *AddressBookFiles* can be any unformatted or TEDIT formatted files, with any number of lines per entry. A typical value for PARC users (as defined for PHONELISTFILES in PARC-INIT) is ({PHYLUM}PARCPHONELIST.TXT {INDIGO}ISDPHONELIST.TXT). *Address-Book-Pos* [Variable] *Address-Book-Pos* is the initial POSITION for the ADDRESSBOOK icon. This is defined as an INITVAR in the file, so you can set it before loading the file. The default value is (create POSITION XCOORD 970 YCOORD (DIFFERENCE SCREENHEIGHT 90)). This places the icon in the upper right corner of the screen. *Address-Book-Region* [Variable] *Address-Book-Region* is the initial REGION for the ADDRESSBOOK window. This is defined as an INITVAR in the file, so you can set it before loading the file. The default value is (CREATEREGION 300 (DIFFERENCE SCREENHEIGHT 500) 400 200). This places the window in the middle of the screen. Notes Starting or Restarting Address Book Evaluating (MakeAddressBook) will create an address book window and process. This may be useful if you accidentally close the window. Caching Files When you first open the ADDRESSBOOK window, the program will copy the *AddressBookFiles* to {CORE}, significantly speeding up queries. Bugging in the title of the ADDRESSBOOK window with the left or middle mouse button will produce a menu with an option to recache the files on *AddressBookFiles*. Editing Your Files To edit the file in which an entry is found, click middle button in the title of the ADDRESSBOOK window, and select the option "Edit file named in window title". A TEDIT process editing the file will be set up. This process is independent of the lookup process. To select the file to be edited, rolloff the above item, and select "Select file to edit". A menu of files used by the Lookup process will be presented to you. Selecting one will cause that file to be edited. To make editing changes visible to the lookup process, PUT the file in TEDIT; when it is done, recache the the file in core. To recache just the file edited, (the one specified in the title bar of the window), select the option "Recache file named in window title" in the middle button title bar menu. You can recache all files by selecting the option "Recache all files" in the title menu (a subselection of the item "Recache file named in window title". Adding to the List of Files To add to the list of files being used for lookup, select the option "Add new file" in the title bar menu. This file will be added, and cached in core. Deleting a file from the List of Files To delete from the list of files being used for lookup, select the option "Delete file from list" in the title bar menu. This file will be deleted from the list of files to be searched. (LIST ((PAGE NIL (FOLIOINFO (ARABIC) STARTINGPAGE# 1) (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM) FORMATINFO (ARABIC)) (174 36 288 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))) (PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (282 42 72 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))) (PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (282 42 72 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))))) ,$$ , ,5 5 ,8, ,8H PAGEHEADING RUNNINGHEAD HELVETICA TERMINAL  HELVETICA MODERN MODERN MODERN MODERNLOGO    HRULE.GETFNMODERN  HRULE.GETFNMODERN  HRULE.GETFNMODERN   HRULE.GETFNMODERN  HRULE.GETFNMODERN  BMOBJ.GETFN3MODERN  <& HRULE.GETFNMODERN T BMOBJ.GETFN3MODERN  HRULE.GETFN HRULE.GETFNMODERN 0  K V@ F6# +'4tz