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 / workspace.309 < prev    next >
Text File  |  1991-05-21  |  2KB  |  45 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Courier;\f1\fswiss Helvetica;}
  2. \paperw10500
  3. \paperh6860
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs24 Workspace ApplicationPaths Path APPPATH\
  7. \
  8. Q: What is APPPATH, referenced in the System Reference Manual?\
  9. How do I modify the path used by the Workspace Manager?\
  10. \
  11. A: The documentation seems to imply that APPPATH is an environment\
  12. variable which is used if ApplicationPaths is not set in the defaults\
  13. database.  Actually, APPPATH is a #define in the Workspace Manager's\
  14. source code; it defines the default ApplicationPaths value.  There\
  15. is no way for a user to change APPPATH; the online 1.0 documentation\
  16. is wrong.\
  17. \
  18. In order to modify the path that the Workspace Manager uses, 
  19. \f2 dwrite
  20. \f0 (1)\
  21. a new value for the Workspace's default named ApplicationPaths.\
  22. For example, to add a departmental Apps directory to its search path, use\
  23. \
  24.  
  25. \f2 dwrite Workspace ApplicationPaths \\\
  26.  
  27. \pard\tx620\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600     ~/Apps:/
  28. \i department
  29. \i0 /Apps:/LocalApps:/NextApps:/NextDeveloper/Demos\
  30.  
  31. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0 \
  32. Replace 
  33. \f2\i /department
  34. \f0\i0  with the appropriate path to the departmental\
  35. Apps directory.  (In this case, we're assuming that the user in\
  36. question is not a developer, but that the demos stuff is still fun\
  37. to have.)\
  38. \
  39. QA309\
  40. \
  41. Valid for 1.0\
  42. Not valid for 2.0\
  43. \
  44.  
  45.