source: trunk/dll/ipf/eas.ipf@ 1036

Last change on this file since 1036 was 555, checked in by Gregg Young, 19 years ago

Added NTFS support (read only); minor dive icon code cleanup; update help files

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.2 KB
Line 
1.***********************************************************************
2.*
3.* $Id: eas.ipf 555 2007-03-04 05:01:14Z gyoung $
4.*
5.* Extended Atribute Usage
6.*
7.* Copyright (c) 1993-98 M. Kimes
8.* Copyright (c) 2006-07 Steven H.Levine
9.*
10.* 03 Mar 07 GKY Update that file systems other than HPFS support long names
11.*
12.***********************************************************************
13.*
14:h2 res=95000 name=PANEL_EAS.Extended Attributes
15:i1 id=aboutEAs.Extended Attributes
16:artwork name='..\..\bitmaps\ea.bmp' align=center.
17:p.
18This dialog allows you to view and edit text Extended Attributes (EAs)
19for an object. Binary EAs may be viewed but not edited. You'd have to
20be the sort who enjoys programming on a hex keypad to :hp2.want:ehp2. to
21edit a binary EA...
22:p.
23There are three types of EAs that FM/2 can view and edit (the only three
24types that have meaning to humans):
25:p.
26:hp1.ASCII EAs:ehp1. are shown in an entry field.
27:p.
28:hp1.Multi-value single-type EAs:ehp1. are shown in an MLE control if
29the type is text. Each line represents one 'record' of the EA.
30:p.
31:hp1.Multi-value multi-type EAs:ehp1. are also shown in an MLE control
32if all types are text. Each line represents one 'record' of the EA.
33:p.
34In general, if you don't know the purpose of an EA you shouldn't change
35it. In particular, EA names beginning with a period (i.e. .TYPE), since
36these EAs are used by the WPS. An exception is the .SUBJECT EA, for
37which FM/2 provides a special context menu item. This EA is used to
38store a simple text description of an object. FM/2's details views can
39show this description and allow you to direct-edit it.
40:p.
41To view a particular EA, select its name in the listbox in the middle of
42the dialog. The EA type will be shown on a text field toward the bottom
43of the dialog, and if it's a human-editable type the appropriate control
44will appear to display it; otherwise, a :link reftype=hd res=98800.hex
45dump:elink. is shown in a listbox. If you edit the EA, a Change button
46can be clicked to save your changes. You can delete EAs, but do so with
47extreme caution and at your own risk. Otherwise, click Okay when done.
48:p.
49If you're viewing EAs for more than one object, you can change the
50current object by scrolling the listbox containing the names of the
51objects at the top of the dialog. If you want to see inside a file,
52double-click it in the listbox.
53:p.
54See :link reftype=launch object='CMD.EXE' data='/C HELP
55EAUTIL'.EAUTIL:elink. in OS/2's Command Reference for more information
56on EAs and how to manipulate them. Note that this dialog is not meant
57to be a full-featured super-powerful EA editor (though it does a decent
58job with text EAs and beats the pants off what comes with other file
59managers -- if anything at all comes with them, that is). You can use
60:hp1.Config->Edit Commands:ehp1. to add such an external EA editor to a
61list of commands that you can run on selected files, if desired.
62
63:h3 res=95100 name=PANEL_ADDEA.Adding an Extended Attribute
64:i1 id=aboutADDEA.Adding an Extended Attribute
65To add an extended attribute (EA), enter its name in the top entry
66field, then select a type for it from the radio buttons. Click Okay to
67create it, Cancel to abort.
68:p.
69OS/2 defines several Standard Extended Attributes (EAs):
70:p.
71:hp1..ASSOCTABLE:ehp1. is a multi-value multi-type (MVMT) EA. FM/2 will
72not create one of these, but you can with the Association page of a
73program object in the WPS.
74:p.
75:hp1..CLASSINFO:ehp1. is a binary attribute. FM/2 will not create one
76of these, but the WPS does automatically as required.
77:p.
78:hp1..ICON:ehp1. is an icon attribute. FM/2 will not create one of these
79via the EA dialog, but you can change the icon of a file system object in
80other, more direct, ways with FM/2.
81:p.
82:hp1..CODEPAGE:ehp1. is an attribute (don't know the type). FM/2 won't
83make one.
84:p.
85:hp1..TYPE:ehp1. is an MVMT attribute (see a file object's Type Settings
86page).
87:p.
88:hp1..SUBJECT:ehp1. is an ASCII attribute (see a file object's File page).
89This describes the object. FM/2 makes use of these for you.
90:p.
91:hp1..COMMENTS:ehp1. is an MVMT attribute (see a file object's third
92File page).
93:p.
94:hp1..KEYPHRASES:ehp1. is an MVMT attribute (see a file object's third
95File page). OS/2 documentation describes this as an MVST, but the WPS
96objects create MVMTs.
97:p.
98:hp1..HISTORY:ehp1. is an MVMT attribute (see a file object's third File
99page).
100:p.
101:hp1..LONGNAME:ehp1. is an ASCII attribute that gives the full name of a
102file when stored on a file system that doesn't support long filenames
103(like FAT). Sometimes you'll see them even on files stored on drives that
104support long names, when invalid characters (invalid for the file system, like
105a colon not used for a path separator, for example) are used.
106:p.
107:hp1..VERSION:ehp1. is an ASCII attribute that gives some sort of version
108information.
109:p.
110When creating attributes of your own, you should :hp2.not:ehp2. begin
111them with a period. Try using a convention like "JOES.ATTRIBUTE"
112(yourname.attribtag) to make sure it doesn't conflict with the WPS or
113any applcations you run.
114:p.
115&period.SUBJECT, .COMMENTS and .KEYPHRASES can be modified, deleted and
116added by the user without problem. The other standard EAs are the
117domain of apps and the WPS and should be left alone. You can, of
118course, create your own EAs and manipulate them with REXX or other types
119of programs.
120
Note: See TracBrowser for help on using the repository browser.