Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!psuvax1!psuvm.bitnet!bsd From: BSD@PSUVM.BITNET (Scott Dickson) Newsgroups: comp.sys.next Subject: Re: Has 0.9 shipped? Message-ID: <89118.215524BSD@PSUVM> Date: 29 Apr 89 01:55:24 GMT References: <278@nueces.UUCP> <647@accuvax.nwu.edu.NWU.EDU> Organization: Penn State University - Center for Academic Computing Lines: 59 In article <647@accuvax.nwu.edu.NWU.EDU>, mccoy@accuvax.nwu.edu (Jim McCoy ) says: > >In article <278@nueces.UUCP> becca@nueces.UUCP (Becca Robertson) writes: > > -I took a look at digital librarian for a few seconds, and > noticed that a few of the uppermost icons (i.e. NeXT Ref > Manuals, Websters, etc.) were empty--does this mean we will > be able to create documents for teh librarian (somehow i > doubt it) > You can already create documents for the librarian. It isn't documented anywhere I could find, but it is possible. There is a directory under .NeXT in each home called targets. This directory contains all of the icons for the librarian, as well as a file called #Targets. The #Targets file contains commands to tell it what goes in each well. For each well, there are several fields. It seems like the ones title icon position are all required. These specify the title of the document, the icon to use, and the well number for that doc. The icons are all .ps files in the targets directory. In addition, there can be either a field directory that tells what directory contains the document, or a field message that tells what other app to launch from here. Examples will clear this up. For the NeXT documentation, the entry looks like: title NeXT Documentation icon binder.ps position 1 directory /MyDisk/Library/Documentation/NeXT For the Oxford Dictionary of Quotations, it looks like title Oxford Quotations icon oxford.ps position 5 message Quotation [quote] For directories, the directory must contain an index created by the index program. This one is also not well documented and is somewhat buggy. If you follow its leads and read the shell scripts that it runs, you can pretty much figure it out as well. So, the upshot is you can add your own documents. I have already added Dr. Martin Luther King, Jr.'s I Have a Dream speech, all of the US Presidential Inaugural addresses through Nixon, John Milton's Paradise Lost, and a couple of Dr. Seuss books. I hope this doesn't change too much in 0.9, but I hear that index is supposed to get better. ------- --Scott Dickson Graphics Research Programmer Penn State Univ. Computation Center Bitnet: BSD@PSUVM.BITNET "And, we'll keep the light on for ya."