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