home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / lexon1a.zip / LEXON.DOC < prev    next >
Text File  |  1995-09-13  |  19KB  |  369 lines

  1. ** LEXON 1a **
  2.  
  3. _INTRODUCTION_
  4.  
  5. LEXON.RX allows users of Lexis/Nexis to access Lexis from a native
  6. OS/2 comm app (communications application) known as "ZOC" (see
  7. ABOUT ZOC below), enter their user ID, identify a matter or client,
  8. select a library, conduct a search to any degree of complexity
  9. desired, "mark" files for printing, and then at signoff, download
  10. those files to a capture file named by the search date
  11. (yymmddxx.cas, where x=sequential numbers) or any other name the
  12. user desires.  I have found Lexon conducts searches easier and
  13. faster than Lexis' own software, and since I know most of the "dot"
  14. commands Lexis uses, it's much more user friendly.
  15.  
  16. Unfortunately, since this method uses character-mode access, you
  17. will have to know the Lexis dot commands (.np for next page, .pp
  18. for previous page, .nd for next document, .ns for new search, .so
  19. for sign off, .pr for print document, .pa for print all documents,
  20. .cf for change file, .m2 for modify level 2, etc.).  Once you
  21. master those, however, you will probably be very happy with the
  22. speed and ease of use Lexon provides.
  23.  
  24. If you call Lexis for an OS/2 version of their access software,
  25. you'll probably be told that Lexis doesn't have such a critter and
  26. that while you can access Lexis through any communications
  27. application that provides VT100 support, you won't be able to
  28. "print" documents to a file; you'll only be able to print to a
  29. printer provided the application supports VT100P.  Well, things
  30. aren't so bleak, at least when using ZOC, as LEXON.RX reflects.
  31.  
  32. Version 1a adds some minor improvements over the original version,
  33. which was uploaded to OS2USER Lib 15, OS2BVEN Lib 1, the HAL-PC
  34. BBS, and Pete Norloff's BBS.
  35.  
  36.  
  37. _ABOUT ZOC_
  38.  
  39. LEXON.RX is a REXX program or script file intended to be run under
  40. ZOC, Zap-O-Comm, an excellent shareware native OS/2 communications
  41. program by Markus Schmidt that uses the PM (Presentation Manager -
  42. GUI) interface of OS/2.  ZOC is generally available in a number of
  43. places, including OS2USER and OS2BVEN forums of Compuserve, and is
  44. usually in a file named ZOCxxx.ZIP, with the "xxx" replaced by a
  45. version number.  At this time ZOC is up to version 2.10.  Lexon was
  46. largely written under v2.05.  It may not work properly under
  47. earlier versions, so users may need to upgrade to the newest
  48. version.  If you use ZOC, please pay the shareware fee.  Markus has
  49. written an excellent comm app, and we want him to continue
  50. improving it.
  51.  
  52. This REXX program might run under other comm apps, provided they
  53. support VT100 and support (that is, supply) the same REXX functions
  54. and result codes ZOC does under the same names (e.g., ask, send,
  55. timeout, zocresult(), zoccarrier(), wait, writeln).  Otherwise the
  56. program would have to be modified to conform to the functions
  57. provided.
  58.  
  59. !_PLUS_!:  One benefit of using ZOC is that it automatically
  60. creates a file named CALLING.LOG, which appears in its primary
  61. directory.  With Lexon, that log will show each call and which
  62. client or matter the call was logged to (if you enter a client or
  63. matter at the dialog box asking for one).  Then when Lexis bills
  64. you, you can go back and confirm the charges.  And if you bill
  65. clients for computer assisted legal research services by the amount
  66. of time you spend, this will give you another way to do that
  67. billing if your Lexis statement hasn't arrived yet.
  68.  
  69.  
  70. _INSTALLATION_
  71.  
  72. 1.   [Required]  Place LEXON.CMD, LEXON.ICO, and LEXON.DOC in your
  73.      \ZOC directory.
  74.  
  75. 2.   [Required]  Place LEXON.OPT in your \ZOC\OPTIONS subdirectory.
  76.  
  77. 3.   [Required]  Place LEXON.RX into your \ZOC\SCRIPT subdirectory,
  78.      unless you have a different path for scripts.
  79.  
  80. 4.   [Required]  Place LOADREXX.CMD in the root directory of the
  81.      drive from which OS/2 boots (for me that's G:\), unless you
  82.      already have a way for REXXUTIL to be "registered"
  83.      automatically in OS/2 (which means that its functions are
  84.      loaded and available).  Then add the following line to the
  85.      STARTUP.CMD file (if you don't have one, load E.EXE and enter
  86.      this line, then save the file to the same root directory as
  87.      STARTUP.CMD):
  88.  
  89.           CALL \LOADREXX.CMD
  90.  
  91.      You can also invoke LOADREXX.CMD from any OS/2 command prompt:
  92.      just enter LOADREXX.
  93.  
  94. 5.   [Optional, recommended]  Add the phone number and name of the
  95.      network you use to access Lexis as follows:  Start ZOC, then
  96.      "load" LEXON.OPT from the menu item "Options"; then if Lexon
  97.      starts, terminate it:  First tell it not to log, then select
  98.      the first cancel button available: but don't exit ZOC [you may
  99.      have to hit ALT_- (hit ALT and "-" together); then open the
  100.      Settings notebook by hitting ALT_S.  Then select the Auto-
  101.      Reply page.  In the left column on that page, correct the
  102.      initialization command to whatever ZOC uses for your modem
  103.      (find it on the Modem page but don't include the ^M). 
  104.      Complete the right column to read:
  105.  
  106.           ^RUN=SCRIPT\LEXON.RX 1234567 NETWORK
  107.  
  108.      where 1234567 is replaced by the phone number of the network
  109.      you use to access Lexis and NETWORK is replaced by the name of
  110.      that network (e.g., MEADNET, COMPUNET, TYMNET).  Do the same
  111.      for Button 1 on the Buttons page of the settings notebook.
  112.  
  113.      Don't worry if you don't do this, though:  If you don't
  114.      include the number, you'll be prompted for it when you start
  115.      Lexon.
  116.  
  117. 6.   [Optional, recommended]  Create a program object for Lexon: 
  118.      Drag a program template from the template folder to the
  119.      desktop, and when prompted for the program, enter
  120.      [d:]\ZOC\LEXON.CMD, where d: is the drive where ZOC resides;
  121.      and correct the path as appropriate.  Enter no parameters. 
  122.      For the working directory, enter [d:]\ZOC\.  On the settings
  123.      page, place a check in the box to start minimized.  The
  124.      LEXON.ICO should automatically be selected.  If it hasn't
  125.      been, check the full screen box, then check the window box. 
  126.      If that fails, go to the General page and follow the procedure
  127.      in the "find" box to select the icon.
  128.  
  129.  
  130. _USING LEXON_
  131.  
  132. 1.   [Starting Lexon]  To start Lexon, either click on the object
  133.      you created in installation step 6 above, OR if you didn't
  134.      create a program object, simply enter LEXON from a command
  135.      prompt while in the \ZOC directory OR start ZOC, then access
  136.      the Options menu, then Load LEXON.RX.  When ZOC starts from
  137.      the program object or the LEXON.CMD file, it automatically
  138.      loads the LEXON.OPT options file, and as soon as the
  139.      initialization string is returned, it will start LEXON.RX.  If
  140.      that string is not returned (i.e., if you don't see it on
  141.      screen), Lexon won't start, but you can click on button 1 to
  142.      start it.
  143.  
  144. 2.   [Logging]  You will notice that the LEXON.OPT file creates a
  145.      new log file for each day you log onto Lexis (named
  146.      LXyymmdd.LOG).  A log file merely captures everything that you
  147.      see on screen and provides a way to go back later and review
  148.      something.  The log file is set on the Logging page of the
  149.      settings notebook.  Log file names can be set to your personal
  150.      preference.  If you want to use the same file ZOC creates by
  151.      default, change this to read Z_^2_^1.LOG.  Over time, you will
  152.      find the ZOC\LOG directory full of *.LOG files.  Unless
  153.      there's something you want to save or refer back to, you can
  154.      delete these.
  155.  
  156. 3.   [No connection]  Lexon should recognize the conditions that
  157.      indicate that a connection with the host service has not been
  158.      made, but if you do not hear the typical modem "screech"
  159.      indicating a connection within an appropriate time and you
  160.      don't want to wait for Lexon to timeout (45 seconds), you can
  161.      hit the ESC button.
  162.  
  163. 4.   [Key remapping]  If you like to use the page up and page down
  164.      keys, either remap those keys (under Options > Global > Key
  165.      Map) or remap 2 other keys (such as F11 for previous page and
  166.      F12 for next page) to provide these functions.  Enter .NP^M
  167.      for page down and .PP^M for page up, and make sure the VT102
  168.      box is checked and the ANSI is not (if you use the included
  169.      LEXON.OPT instead of creating your own).  Just remember that
  170.      you are remapping these keys for all uses, so expect them to
  171.      behave the same in all applications for which you use VT102
  172.      emulation.  This is a global remapping.  If you use a lot of
  173.      VT102 communication and little ANSI emulation, then you could
  174.      reverse those selections.
  175.  
  176. 5.   [Nothing happening]  If nothing is happening when you think it
  177.      should, you can terminate Lexon by hitting ALT_- (as described
  178.      in Installation step 5 above).  Then you can either hang up
  179.      (ALT_H) or try to proceed with Lexis as appropriate to
  180.      wherever you are.
  181.  
  182. 6.   [Changes in Lexis]  The Lexis/Nexis service periodically
  183.      changes the messages that Lexon uses to invoke certain
  184.      automatic operations.  If you note that a step that worked
  185.      previously no longer works properly, please let me know.  If
  186.      you logged that portion of your session, please email it to me
  187.      so I can see Lexis' messages and make an appropriate change.
  188.  
  189. 7.   [Confirm hangup]  ALWAYS make sure your modem line hung up
  190.      after a session on line.  If it didn't, use ALT_H while in
  191.      ZOC.  If you think the program is still waiting for something,
  192.      terminate it by hitting ALT_-.
  193.  
  194. 8.   Read the following Limitations carefully.
  195.  
  196.  
  197. _LIMITATIONS_
  198.  
  199. Lexis may be accessed through a number of networks.  I've used
  200. LEXON.RX to access Lexis through Meadnet, Compunet, Tymnet, and
  201. Mead's 800 number.  It probably will not work with Sprintnet and
  202. other networks through which Lexis can be accessed-- but only
  203. because I haven't included the logon procedures.  If you know what
  204. those procedures are (what Sprintnet, etc. send and how you're
  205. supposed to respond), please let me know, and I'll see what can be
  206. done to add them (if you're willing to be a "beta" tester).
  207.  
  208. !_VERY IMPORTANT_!:  Please note that you should not try to edit a
  209. text string you've entered (a search or dot command, for example)
  210. by using either the "Delete" or "End" keys.  Using communication
  211. software like ZOC is not quite as directly "interactive" as Lexis'
  212. Windows' software (although for me it's noticeably faster and a
  213. little use has made it much easier).
  214.  
  215. To edit text you have just entered, you can delete by backspacing,
  216. but trying to move the cursor to a particular position on the
  217. display and hitting the "delete" key will not reveal what you have
  218. done to the actual text string, and you will probably end up
  219. sending something you do not want to send.  You may then have to
  220. reenter your search or other command.  Even the backspace key
  221. doesn't work as expected when you are modifying a previously sent
  222. search string, so you will find it preferable to reenter the entire
  223. string when modifying a previous search level.
  224.  
  225. More seriously, if you use the "End" key at all (and didn't remap
  226. it as suggested in step 4 under Using Lexon above), you will clear
  227. the display of whatever entry is there and will almost certainly
  228. cause Lexis to abort when you hit "Enter".  That will put you back
  229. at the access network's prompt:  Meadnet indicates this with "CLR
  230. CONF" and an *; Compunet with "Host Name:"; and Tymnet tells you
  231. "call cleared by request" followed by "please log in:".  Although
  232. I have not tried Sprintnet or other networks, I suspect this
  233. behavior is universal, the only variation being in the network's
  234. next message.  If this happens, don't panic.  Lexon should hang up
  235. (or you can do it manually).  Then log on again.
  236.  
  237. To protect yourself against that behavior, you can remap those
  238. keys:  If you don't use VT102 emulation for anything, open the
  239. Options menu, select Global then Key Map.  Click on the "E" or
  240. "End" key and enter something, such as ^G (beep), .SO (for sign
  241. off) or ^M (enter).  Do the same for the "D" or "Delete" key.  Then
  242. hit OK and at the Options menu hit save.  Then in the Settings
  243. notebook (under Options), change the emulation to VT102 (this does
  244. not affect the program's telling Lexis it is using VT100 or VT100P
  245. emulation).  This will have some effect on the way data is
  246. received, but nothing serious that I've seen:  The only thing I've
  247. noticed is that document delivery does not show the case or statute
  248. name at the top of each page but merely "Transcript:Association".
  249.  
  250. If you encounter the network's clearing of your call and Lexon
  251. doesn't recognize what happened by hanging up, please let me know
  252. what network and what the display showed (exact words are critical:
  253. if you logged the search, look in the log file).  If I can, I'll
  254. try to fix it in a future version.
  255.  
  256.  
  257. _"TECHNICAL" STUFF_
  258.  
  259. LEXON.RX is a fairly straightforward script/program, a bit simple
  260. as access programs go, but it handles basic Lexis research under
  261. ZOC (at least for me).  I'm still not particularly familiar with
  262. REXX or the ZOC commands, so this is the best I've been able to
  263. write so far, which is a another way of saying: don't be too
  264. critical and don't complain if it doesn't do as much as you think
  265. it should.
  266.  
  267. I suggest you look at LEXON.RX in the OS/2 editor (E.EXE) and read
  268. the comments.  If you're not familiar with REXX, they're what's
  269. between /* and */; other "*"s are window-dressing).  If you see
  270. something described that appears different from how you operate in
  271. Lexis, you will want to change it.  I'll be glad to offer
  272. suggestions.  One thing you will want to change if you like the
  273. idea of having the Library entered automatically: you can have
  274. Lexon obtain that info before dialing Lexis by commenting the line
  275. that skips the step provided under GETLIBRARY, so it reads /*signal
  276. diallex*/.  Then change the prompt that references "TEX" so it
  277. names your choices.  You can use the prompt as is and make any
  278. entry you want, and your entry will be sent to Lexis, but it may
  279. confuse you to see TEX mentioned.  If I knew what folks see in
  280. other states, I might be able to do something about this via an
  281. installation program.
  282.  
  283. If you encounter some situation that you think the program ought to
  284. handle and it doesn't, let me know.  I may be able to fix it, but
  285. remember that I'm just an OS/2 user, not a real programmer.  I
  286. wrote this so I could access Lexis under OS/2, and the good folks
  287. who operate Lexis haven't seen fit to provide a native software
  288. package for OS/2, and I don't like the crashes and delays I used to
  289. suffer in the Windows version.
  290.  
  291. In addition, while I'll be happy to help as time permits, please
  292. don't expect real technical support.  This is not how I make a
  293. living (I'd starve if it were).
  294.  
  295. Keep in mind that LEXON.RX only accounts for a few of the many
  296. possible conditions that a search on Lexis can encounter.  You may
  297. need to stop the program with ALT_- (hit ALT and "-" together) or
  298. you may need to hang up (hit ALT_H).  Despite the tweaking I've
  299. done, there are still glitches.  But that was true when I used the
  300. DOS and Windows access software.  The plus here (at least for me),
  301. is that I spend less time getting on and off (saves $, you know).
  302.  
  303.  
  304. _NO WARRANTIES_
  305.  
  306. CAVEAT (legalese for "Listen up y'all"):  Lexon is freeware.  It
  307. works fine on my system, but I have no idea how it will behave on
  308. other systems or under conditions I haven't tried.  Therefore,
  309. there are NO WARRANTIES, EXPRESS OR IMPLIED, WHETHER I KNOW ABOUT
  310. YOUR USE OR SITUATION, which means you get what you pay for -- use
  311. this program at your own risk -- I have no reason to believe
  312. anything serious will happen, but I'm not responsible for anything
  313. that goes wrong, whether with your phone bill, your hard disk, your
  314. system, your relationship with Lexis, your marriage, your health,
  315. your sanity, your business or practice, or anything else.
  316.  
  317. I received REXX help from the author of ZOC, Markus Schmidt, and
  318. from Bill Schindler, Sysop in the OS2BVEN forum of Compuserve. 
  319. Bill and his wife Esther have authored a widely recommended book
  320. named "Teach Yourself REXX in 21 Days".  If you are a REXXpert
  321. studying my code, realize that some REXX commands and functions
  322. don't seem to work in ZOC (in case you wonder why I did some of the
  323. things I did when there might be better ways to do them from a
  324. command prompt).
  325.  
  326.  
  327. _FINALLY_
  328. I'm making LEXON.RX and the other files available because it's a
  329. shame to work so hard to get this far and not share it with someone
  330. else, and because I'm the beneficiary of lots of freeware that is
  331. a regular part of my system, and I feel I should repay part of the
  332. debt whenever I can.  And, who knows, maybe this will be the
  333. genesis of an OS/2 Lexis program (by a real guru, not me).
  334.  
  335. If you use this program and find it helpful, please let me know. 
  336. If I know there are folks using it, then when I make improvements,
  337. I know to upload them.  If I think I'm the only one in the world
  338. using this stuff, you may not see another version.
  339.  
  340.  
  341. David Eckman
  342. 75430,1525@compuserve.com
  343. September 13, 1995
  344.  
  345.  
  346. Files included in the zip file:
  347.  
  348. File Name      Date      Description and File Location
  349. ---------      --------  ----------------------------------------
  350. FILE_ID.DIZ    08-31-95  A description of Lexon.
  351. LEXON.DOC      09-13-95  This file.  Place this file in the ZOC
  352.                          directory (or anywhere it can be found in
  353.                          the future).
  354. LEXON.CMD      09-13-95  A short batch file to start Lexon.  Place
  355.                          this file in the ZOC directory.
  356. LEXON.RX       09-13-95  REXX program or script for use in ZOC to
  357.                          access Lexis; place it in the ZOC\SCRIPT
  358.                          directory.
  359. LOADREXX.CMD   08-31-95  REXX file to load REXXUTIL functions;
  360.                          place this in the OS/2 root directory and
  361.                          call this from STARTUP.CMD.
  362. LEXON.OPT      09-13-95  Options file for use during Lexis access;
  363.                          place it in the ZOC\OPTIONS directory.
  364. LEXON.ICO      08-31-95  An icon for use with the Lexon program
  365.                          object if one is set up as described
  366.                          above.  Put this file in the ZOC
  367.                          directory (or anywhere it can be found in
  368.                          the future).
  369.