source: branches/MKIMES/dll/ipf/eas.ipf@ 1036

Last change on this file since 1036 was 2, checked in by root, 23 years ago

Initial revision

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