Article View: comp.archives
Article #77[comp.lang.tcl] Announcing Libsearch
From: Terrence M. Brannon
Date: Mon, 03 Aug 1992 07:44
Date: Mon, 03 Aug 1992 07:44
119 lines
3806 bytes
3806 bytes
Archive-name: auto/comp.lang.tcl/Announcing-Libsearch # --- Creators Terrence Brannon (brannon@jove.cs.caltech.edu) Janne Himanka (shem@phoenix.oulu.fi) # --- Description Libsearch does all of the following o Automatic connection to library databases o Automatic translation from Libsearch's generic query language to the syntax of the particular library database o Automatic Logout It beautifies and exploits the fact that everything in Tcl is a string. # --- To Try it Out -*- 1 telnet to pl122a.eecs.lehigh.edu login as tb06 with password jia.fu cd to /scratch/china.primitive/expect/test/thesis -*- 2 from the shell type libsearch NAME KEY SPECIFIC where NAME is (quotes required): "Aberdeen University" "Aberystwth University" "Bar-Ilan University" "Ben-Gurion University" "Haifa University" "Hebrew University" "Lehigh University" "Technion" "Tel Aviv University" "Weizmann Institute of Science" "Arizona State University" "Aston University" "Athabasca University" "Helsinki University Libraries" "Finnish National Bibliography" "Karolinska Institutet" Instead of entering the entire name, you can enter a regular expression, BUT DO NOT FORGET THE DOT. Ie, if you want to enter "Aberdeen University" you can enter "Aberdeen.*" but NOT "Aber*" where KEY is (no quotes required) author title subject In some cases you may be able to enter other keys such as issn, isbn but for this demo, all extras like that are ignored. where SPECIFIC is (play it safe and use quotes) whatever you are looking for Example: Search Athabasca University for books by the author John Steinbeck libsearch "Athabasca University " author "Steinbeck, John" or libsearch "Athaba.*" author "Steinbeck, John" Example: Search Aberdeen Univerisity for the subject peace libsearch "Aberdeen University" subject peace libsearch "Aberdeen.*" subject peace -*- 3 After connection and the initial automatic query of the database from your commandline specification, you are left in an interactive mode where you may type commands in by hand if you wish. There are a number of predefined commands that you can access by doing the following: Type + you will receive a prompt like this: expect0.1> at this prompt you can type any of these commands: 1) author XXX ; return 2) title YYY ; return 3) subject ZZZ ; return 4) eval $logout ; return The first three issue another search command to the library database. The last one logs you out. # --- How to Obtain Currently not available on any ftp sites. Email brannon@jove.cs.caltech.edu # --- Requirements Local installation will require the latest versions of: o Tcl "/anonymous@ftp.uu.net:/pub/languages/tcl" o Extended Tcl "/anonymous@ftp.uu.net:/pub/languages/tcl" o Expect "/anonymous@durer.cme.nist.gov:/pub/expect" # --- To be added Whatever is suggested o When logging out, tell what site you have just left o AutoScrolling should be part of the syntax file -- Terrence Brannon (brannon@jove.cs.caltech.edu) medical biology by way of atomic physics and esoteric religion
Technical Details
Message-ID:
<15io48INN89q@agate.berkeley.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!agate!agate!usenetReferences:
<MeOgrta00h5KM=qH9W@cs.cmu.edu> <BRANNON.92Jul31193933@stun4r.cs.caltech.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!agate!agate!usenet From: brannon@stun4r.cs.caltech.edu (Terrence M. Brannon) Newsgroups: comp.archives Subject: [comp.lang.tcl] Announcing Libsearch Followup-To: comp.lang.tcl Date: 3 Aug 1992 07:44:08 GMT Organization: Caltech Yoga Qi Gong Tai Chi Lines: 122 Approved: adam@soda.berkeley.edu Distribution: world Message-ID: <15io48INN89q@agate.berkeley.edu> References: <MeOgrta00h5KM=qH9W@cs.cmu.edu> <BRANNON.92Jul31193933@stun4r.cs.caltech.edu> NNTP-Posting-Host: soda.berkeley.edu X-Original-Newsgroups: comp.lang.tcl X-Original-Date: Sat, 1 Aug 1992 03:39:33 GMT