home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpminfo / userarea.txt < prev    next >
Text File  |  1994-07-13  |  3KB  |  59 lines

  1. USER AREA
  2. by Barry Cole, WLA KUG, May 1987
  3.  
  4. (Tips on using user areas)
  5.  
  6. All Kaypro owners have access to 16 user areas, but many only
  7. know of one!  Support for this partitioning of disk directories
  8. is weak in standard CP/M but good in any of the extensions, such
  9. as the public domain ZCPR.  Programs such as D and NS also help.
  10.  
  11. The purpose of user areas is to limit the number of files that
  12. show up in the directory.  User areas also allow multiple copies
  13. of the same filename such as archival versions of a document. 
  14. The user number ranges from zero to fifteen and is stored as part
  15. of the filename in the directory.  Therefore, the choice of user
  16. number neither hurts nor improves the space or directory entries
  17. consumed by a file.
  18.  
  19. Standard CP/M displays a prompt that looks like A> or B> when a
  20. user command is requested.  Enhanced versions show AO>.  The zero
  21. represents the current user area.  DIR will show only files in
  22. the current user number.  USER 12 will shift the user into user
  23. number 12.  Now a DIR or D will show only files in this area. 
  24. This reduces the clutter of files to look through.  This is
  25. essential on a machine with a hard disk; it can take a long time
  26. to locate a file in a list of 1,000 names!  The extended system
  27. will show A12 which helps in the navigation.
  28.  
  29. If you are running standard CP/M, you have used all the useful
  30. capabilities, since you can only run programs in the current user
  31. area!  Extended systems will automatically check user zero (the
  32. default upon reset) if the .COM file is not located in the
  33. current user area.  This works just fine until you try to run a
  34. program in more than 1 piece (overlay) such as WordStar or dBase. 
  35. These programs will look for their overlays in the wrong user
  36. area.  Use the public domain SETDRU to install these programs and
  37. then set them in user 0.  This allows access from all user areas
  38. with a single copy on disk.
  39.  
  40. If you should receive a diskette that shows less programs than
  41. you expect, they may be in other user areas.  This is often true
  42. of distribution disks for the Kaypro 10.  Running D.COM will show
  43. a smaller total of used and unused space than the total space! 
  44. You can use STAT USR:  to list which areas are used.
  45. Alternatively, use the suboptions of D.COM to show all files in
  46. all user areas by D B: $UVS.  A convenient way to deal with these
  47. files is by using newsweep (NS>COM).  Invoke it by NS A*: to show
  48. files in all user areas.  Files can be Renamed to the same name
  49. in a different user area.  They can also be tagged and mass
  50. copied to another disk and/or user area.
  51.  
  52. Finally, let me suggest that a good usage of user areas is to
  53. distribute several sets of related files in separate areas.  I
  54. recently sent a disk with games in user 0, a Backgrounder demo in
  55. user 1, utilities in user 2, and a simulation game in user 3. 
  56. This allows the receiver to know which files correspond to which
  57. application without the bother of un-librarying files or the
  58. expense of creating four disks.
  59.