home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / TEDdesk / reloc.8 / $TED_DIR / config / C / dtfile.config next >
Encoding:
Text File  |  1998-08-19  |  3.2 KB  |  75 lines

  1. ############################################################################
  2. #  -----------------------------------------------------------------------
  3. #  dtfile.config
  4. #  -------------
  5. #
  6. #  (c) Copyright 1993, 1994 Hewlett-Packard Company
  7. #  (c) Copyright 1993, 1994 International Business Machines Corp.
  8. #  (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  9. #  (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of
  10. #      Novell, Inc.
  11. #
  12. #  Configuration file for the dt File Manager.
  13. #
  14. #  This file enables dialogs which can be used to edit
  15. #  file-system specific parameters, for example Access
  16. #  Control Lists for Andrew File System directories.
  17. #  Additional information is in the man page dtfile_config.
  18. #
  19. #  The file consists of two sections.  The first section
  20. #  maps platform-specific information to a platform-independent
  21. #  identifier. There are two fields in the platform-specific
  22. #  portion separated by a colon.  The first field identifies
  23. #  the platform: aix, hpux, sunos.  The second field depends
  24. #  on platform; for aix it is an integer corresponding to the
  25. #  st_vfstype field returned by stat, for hpux it is an integer
  26. #  corresponding to the f_fsid[1] field returned by statfs, for
  27. #  sunos it is a string corresponding to the f_basetype field
  28. #  returned by statvfs.  The platform-independent identifier
  29. #  is given following an equals sign.  The keyword "end" delimits
  30. #  the list of mappings.  For example, to define the "native"
  31. #  file systems on several platforms:
  32. #
  33. #  aix:3     = native
  34. #  hpux:0    = native
  35. #  sunos:ufs = native
  36. #  end
  37. #
  38. #  The second section of the configuration file provides
  39. #  information needed by File Manager to execute the
  40. #  filesystem-specific dialog. It consists of a list of
  41. #  platform-independent identifiers followed by a colon and
  42. #  two or three fields. Each field consists of a name followed
  43. #  by an equals sign and a string. The three field names are:
  44. #  buttonLabel, which defines a label for a button in the permissions
  45. #  dialog; fsDialog, which defines the path to the program
  46. #  which displays the dialog for editing file-specific properties;
  47. #  and warning, which is optional and defines a warning message to
  48. #  be displayed in permissions dialog. "\n" can be included in the
  49. #  warning text to generate a new line. Continuing the native file
  50. #  system example used above, the following would enable a file-system
  51. #  specific dialog generated by the program /local/bin/modExtAttr:
  52. #
  53. #  native:     buttonLabel  =  Modify extended attributes ...
  54. #              warning      =  Warning:\nExtended attributes may limit your access
  55. #              fsDialog     =  /local/bin/modExtAttr
  56. #
  57. #   Since the button label and warning are visible to users, they must be
  58. #   localized. This is done using the tagged message file
  59. #   format.
  60. #
  61. #  -----------------------------------------------------------------------
  62. #
  63.  
  64. #aix:3     = test
  65. #hpux:0    = test
  66. #sunos:ufs = test
  67. end
  68.  
  69. afs:    buttonLabel = Change AFS ACL ...
  70.         warning     = Warning: This is an Andrew File System (AFS) object.\nAccess permissions may be further restricted by the AFS Access Control List (ACL).
  71.         fsDialog    = /usr/dt/bin/dtaclafs
  72.  
  73. test:   buttonLabel = Display test dialog ...
  74.         fsDialog    = /usr/dt/bin/dtfile_error
  75.