home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / mag&info / hytel63.zip / OTH038 < prev    next >
Text File  |  1992-08-03  |  4KB  |  125 lines

  1.           Libsearch: automatic connection to library databases
  2.  
  3. TELNET PL122A.EECS.LEHIGH.EDU or 128.180.5.52
  4. login: tb06
  5. Password:jia.fu
  6. PL122a% cd /scratch/china.primitive/expect/test/thesis
  7.  
  8. # --- Creators
  9.  
  10. Terrence Brannon        (brannon@jove.cs.caltech.edu)
  11. Janne Himanka           (shem@phoenix.oulu.fi)
  12.  
  13. # --- Description
  14.  
  15. Libsearch does all of the following
  16.  
  17.         o Automatic connection to library databases
  18.         o Automatic translation from Libsearch's generic query language to 
  19.           the syntax of the particular library database
  20.         o Automatic Logout
  21.  
  22. It beautifies and exploits the fact that everything in Tcl is a string.
  23.  
  24. # --- To Try it Out
  25.  
  26. -*-     1
  27. telnet to pl122a.eecs.lehigh.edu
  28. login as tb06 with password jia.fu
  29. cd to /scratch/china.primitive/expect/test/thesis
  30.  
  31. -*-     2
  32. from the shell type 
  33.  
  34. libsearch NAME KEY SPECIFIC
  35.  
  36. where NAME is (quotes required):
  37.         "Aberdeen University"
  38.         "Aberystwth University"
  39.         "Bar-Ilan University"
  40.         "Ben-Gurion University"
  41.         "Haifa University"
  42.         "Hebrew University"
  43.         "Lehigh University"
  44.         "Technion"
  45.         "Tel Aviv University"
  46.         "Weizmann Institute of Science"
  47.         "Arizona State University"
  48.         "Aston University"
  49.         "Athabasca University"
  50.         "Helsinki University Libraries"
  51.         "Finnish National Bibliography"
  52.         "Karolinska Institutet"
  53.         
  54. Instead of entering the entire name, you can enter a regular expression, BUT
  55. DO NOT FORGET THE DOT. Ie, if you want to enter "Aberdeen University" you can
  56. enter "Aberdeen.*" but NOT "Aber*"
  57.  
  58. where KEY is (no quotes required)
  59.         author
  60.         title
  61.         subject
  62.  
  63. In some cases you may be able to enter other keys such as issn, isbn but for
  64. this demo, all extras like that are ignored.
  65.  
  66. where SPECIFIC is (play it safe and use quotes)
  67.         whatever you are looking for
  68.  
  69. Example: Search Athabasca University for books by the author John Steinbeck
  70.  
  71. libsearch "Athabasca University " author "Steinbeck, John"
  72. or
  73. libsearch "Athaba.*" author "Steinbeck, John"
  74.  
  75. Example: Search Aberdeen Univerisity for the subject peace
  76.  
  77. libsearch "Aberdeen University" subject peace
  78. libsearch "Aberdeen.*" subject peace
  79.  
  80. -*-     3
  81. After connection and the initial automatic query of the database from your
  82. commandline specification, you are left in an interactive mode where you may
  83. type commands in by hand if you wish. There are a number of predefined
  84. commands that you can access by doing the following:
  85.  
  86. Type +
  87.  
  88. you will receive a prompt like this:
  89.  
  90. expect0.1>
  91.  
  92. at this prompt you can type any of these commands:
  93.  
  94. 1) author XXX ; return
  95. 2) title YYY ; return
  96. 3) subject ZZZ ; return
  97. 4) eval $logout ; return
  98.  
  99. The first three issue another search command to the library database.
  100. The last one logs you out.
  101.  
  102. # --- How to Obtain
  103.  
  104. Currently not available on any ftp sites. 
  105. Email brannon@jove.cs.caltech.edu
  106.  
  107. # --- Requirements
  108.  
  109.         Local installation will require the latest versions of:
  110.  
  111.         o Tcl           "/anonymous@ftp.uu.net:/pub/languages/tcl"
  112.         o Extended Tcl  "/anonymous@ftp.uu.net:/pub/languages/tcl"
  113.         o Expect        "/anonymous@durer.cme.nist.gov:/pub/expect"
  114.  
  115. # --- To be added
  116.  
  117. Whatever is suggested
  118.  
  119. o When logging out, tell what site you have just left
  120. o AutoScrolling should be part of the syntax file
  121. --
  122.  
  123. Terrence Brannon (brannon@jove.cs.caltech.edu)
  124. medical biology by way of atomic physics and esoteric religion
  125.