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