home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / Misc / HigherEducationMailbox.mbox / Archives_provide_val_.attach / May_91 / sybase.322 < prev    next >
Text File  |  1991-05-21  |  3KB  |  58 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fmodern Courier;\f2\fmodern Ohlfs;}
  2. \paperw13040
  3. \paperh10200
  4. \margl120
  5. \margr120
  6. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ul0\fs28 sybase troff\
  7. \
  8. Q: It seems that the troff macros for Sybase aren't working correctly.\
  9. \
  10. A: The correct troff macro file does ship with 1.0. There are a couple of likely possibilities for the confusion.\
  11. \
  12. Possibility #1:\
  13. --------------\
  14. Symptom: You got the message "Cannot open /usr/lib/tmac/tmac.syb"\
  15. \
  16. Problem: You either never installed or have deleted the file '/usr/lib/tmac/tmac.syb'.\
  17. \
  18. Solution: Copy it from the 1.0 release optical.\
  19. \
  20. Possibility #2:\
  21. --------------\
  22. Symptom: You get many lines of "error" messages like the following:\
  23.  
  24. \f1\fs24     .hT "DB\\(hyLibrary Reference Manual"\
  25.     .H0 "Introduction" 1 Section\
  26.     .H1 "Overview of DB\\(hyLibrary" 1-1\
  27.     .I DB\\(hyLibrary, overview of:1:1\
  28.     .I DB\\(hyLibrary, contents of:1:1\
  29.     .H2 "Transact\\(hySQL" 1-1\
  30.     .I Transact\\(hySQL:1:1\
  31.     .I SQL database language:1:1\
  32.     .I stored procedures, Transact\\(hySQL:1:1\
  33.     .I procedures, stored, Transact\\(hySQL:1:1\
  34.            ...\
  35.  
  36. \f0\fs28 \
  37. Problem: None actually.  This is a designed feature of the Sybase troff macros.  The macros are producing a stream that is intended to serve as an input file for automatically producing a table of contents.  This raw table of contents is sent to stderr.  Unfortunately the Sybase docs and NeXT's release notes don't mention this--so it's easy to see how a you would be alarmed if you follow the Sybase directions.\
  38. \
  39. Solution: Just ignore the Table of Contents gibberish--the PostScript files produced are perfectly fine for printing or viewing.  Unfortunately we do not ship the Table of Contents macros, so the raw T of C stream is completely useless.\
  40. \
  41. \
  42. Possibility #3:\
  43. ---------------\
  44. Symptom: In Digital Librarian, only part of the .nroff file is displayed, even though you can see with Edit or cat that it's much longer.   Or the file prints incompletely.\
  45. \
  46. Problem:  Some files contain ".Sc" directives.   These reference illustration files that aren't provided with the NeXT release (because they were in an incompatible format).   Nroff chokes when it reaches these directives.\
  47. \
  48. Solution:  Simply delete all the lines consisting of ".Sc".  These are found, for example, in the files sag2 and sag3.\
  49. \
  50. Many problems such as this are fixed in the 2.0 release of the Sybase Client Libraries.\
  51. \
  52. QA322\
  53. \
  54. Valid for 1.0 \
  55. Not Valid for 2.0 \
  56. \
  57.  
  58.