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

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

Update sizes dialog (ticket 44); Make max command line length user settable (ticket 199); use xfree for free in most cases (ticket 212); initial code to check for valid ini file (ticket 102); Some additional refactoring and structure rework; Some documentation updates;

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 38.9 KB
Line 
1.***********************************************************************
2.*
3.* $Id: context.ipf 985 2008-03-01 01:37:14Z gyoung $
4.*
5.* Context Menu Usage
6.*
7.* Copyright (c) 1993-98 M. Kimes
8.* Copyright (c) 2006-07 Steven H.Levine
9.*
10.* 01 Sep 06 GKY ADD new partition disks information
11.* 03 Mar 07 GKY Update that file systems other than HPFS support long names
12.* 29 Feb 08 GKY Document unhide menu item
13.*
14.***********************************************************************
15.*
16:h1 res=93700 name=PANEL_CONTEXT.Context Menus
17:i1 id=aboutContext.Context Menus
18:link reftype=hd res=97800.Context menus:elink. (also called popup
19menus) are used extensively in FM/2, just as they are in the WPS.
20:p.
21Context menus are requested by placing the mouse pointer over a desired
22object in a container (or over container whitespace) and clicking mouse
23button two (:color fc=default bc=cyan.B2:color fc=default bc=default., usually the right button).
24:p.
25Commands that affect the container as a whole are found in context menus
26requested over whitespace (any empty area of the container). Commands
27that affect the objects within the container are requested over the
28object of interest. If an object is :link reftype=hd
29res=98000.highlighted:elink. when a context menu is requested, the
30commands will usually affect all highlighted objects; otherwise, any
31commands will affect only the object over which the menu was requested
32(you'll see visual feedback to this effect).
33:p.
34FM/2's :link reftype=hd res=93300.Files menu:elink. shows the same menu
35that would be obtained if you requested a context menu over the current
36object. FM/2's :link reftype=hd res=93800.Views menu:elink. shows the
37same menu that would be obtained if you requested a context menu over
38the current window's whitespace. :hp9.Note&colon.:ehp9. FM/2 Lite's
39pulldown menus are simplified, but the context menus have all the
40commands available, so the Files and Views menus aren't exact matches
41as in FM/2.
42:p.
43When a menu command leads to a dialog, the command name is followed by
44dots (i.e. "Attributes..."). In cases where commands have :link
45reftype=hd res=100005.accelerator key equivalents:elink., the :link
46reftype=hd res=97700.accelerator key:elink. is listed after the command
47(i.e. "Info... :color fc=default bc=palegray.Ctrl:color fc=default bc=default. + :color fc=default bc=palegray.i:color fc=default bc=default.").
48:p.
49:hp2.See also&colon.:ehp2.
50.br
51:link reftype=hd res=93705.Context menus affecting objects:elink.
52.br
53:link reftype=hd res=93710.Context menus affecting containers:elink.
54.br
55:link reftype=hd res=93715.Context menus affecting Drive Tree container:elink.
56
57:h2 res=93705 name=PANEL_CONTEXTOBJECT.Context menus affecting objects
58:i1 id=aboutContextObject.Context menus affecting objects
59
60Commands are listed in the order they appear on the file object context
61menu. Some commands apply to file, directory and drive objects. Others apply to
62only one or two types of objects. Items not appearing on the file object menus
63are inserted at the relative point they appear in the directory and/or drive menu.
64Small icons appear with each entry to indicate which types of objects file :artwork runin name='\bitmaps\file.bmp'.
65directory :artwork runin name='\bitmaps\fldr.bmp'. and/or drive :artwork runin name='\bitmaps\drive.bmp'. they are associated with.
66(Note that not all commands are available for all objects on all drives;
67CD-ROM drives obviously wouldn't allow Delete and Move commands, for
68instance, since they're read-only drives. In this case the command(s) are grayed out)
69:p.
70These context menus are shadows of the :link reftype=hd
71res=93300.Files:elink. pulldown menu.
72:p.
73:artwork name='..\..\bitmaps\rename.bmp' align=center.
74:p.
75:hp6.:link reftype=hd res=91400.Rename:elink.:ehp6. allows you to rename
76objects. You are notified of conflicts as they occur. An easier method
77for renaming one object is to point at its text, hold down the :color fc=default bc=palegray.Alt:color fc=default bc=default. key,
78and click mouse button one; however, this command allows you to use
79wildcards when renaming if you desire.
80:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'.
81:p.
82:artwork name='..\..\bitmaps\copier.bmp' align=center. :artwork name='..\..\bitmaps\mover.bmp' align=center.
83:p.
84:hp6.Copy and Move:ehp6. copy or move objects. :hp2.:link reftype=hd
85res=90000.Drag and drop:elink. is recommended over using the menu
86commands for moving and copying.:ehp2. When using the menu commands, the
87:link reftype=hd res=91500.Walk Directories:elink. dialog appears to allow
88you to select a target directory.
89:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'.
90:p.
91:hp6.Copy and rename:ehp6. and :hp6.Move and rename:ehp6. allow you to
92change the names of the destination files as you copy and move using
93the standard rename dialog. You can also copy or move with wildcarding,
94like you can from the command line (COPY thisfile.txt *.bak) by using
95wildcards in the filename portion of the destination.
96:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'.
97:p.
98:hp6.Copy and preserve:ehp6. and :hp6.Move and preserve:ehp6. are only
99available in the Collector and See all files windows. These commands
100copy or move the selected files but preserve the directory relationship
101of the files. The effect of this can be non-obvious, so use with care.
102:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'.
103:p.
104Let's say you select three files&colon. G&colon.\FOO\BAR\DUDE,
105G&colon.\FOO\BAR\WOW\DUDE and G&colon.\FOO\BAR\RUFF\DUDE. If you select
106:hp1.Copy and preserve:ehp1. and pick a destination directory of
107H&colon.\HERE, the resultant files will be H&colon.\HERE\DUDE,
108H&colon.\HERE\WOW\DUDE and H&colon.\HERE\RUFF\DUDE.
109:p.
110Note that drives are not considered when preserving directory
111relationships, so if one of our three files above resided on drive
112F&colon., the results would be the same.
113:p.
114:hp6.:link reftype=hd res=99995.Merge:elink.:ehp6. lets you merge
115several files together into a single file (you get to set the order of
116the files to be merged and the name of the file to which they're
117merged). :artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'.
118:p.
119:hp6.WPS Copy:ehp6. and :hp6.WPS Move:ehp6. work like their standard
120counterparts, except that WPS techniques are used. There is more
121overhead using this method, so only use it when you need it -- for
122example, when moving a directory containing a program suite to
123maintain the link between program objects and the program executables
124in the directory. :artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'.
125:p.
126:artwork name='..\..\bitmaps\view.bmp' align=center.
127:p.
128The :hp6.View:ehp6. conditional cascade submenu allows you to view the
129current object. Since this is a conditional cascade submenu, you can
130click on the button to get a list of choices or click elsewhere to get
131a default viewing action (noted below).
132:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
133:p.
134:hp6.Autoview:ehp6. views objects through the :link reftype=hd
135res=92200.configured viewer:elink.. This is the default for the
136Files->View conditional cascade submenu when a file is the current
137object. When you select Autoview, FM/2 guesses whether the file is text
138or binary data and views it accordingly.
139:artwork runin name='\bitmaps\file.bmp'.
140:p.
141:hp6.as text:ehp6. causes FM/2 to view the current file object as text,
142using the :link reftype=hd res=97000.configured text viewer:elink. or
143the internal if none is configured.
144:artwork runin name='\bitmaps\file.bmp'.
145:p.
146:hp6.as binary:ehp6. causes FM/2 to view the current file object as
147binary data, using the :link reftype=hd res=97000.configured binary
148viewer:elink. or the internal if none is configured. Binary data is
149usually viewed as a :link reftype=hd res=98800.hex dump:elink..
150:artwork runin name='\bitmaps\file.bmp'.
151:hp6.as archive:ehp6. causes FM/2 to open the file in the :link reftype=hd
152res=90200.Archive Container:elink. :artwork runin name='\bitmaps\file.bmp'.
153(only works for archive file types where the underlying program (i.e. Infozip for .zip files)
154is defined in archiver.bb2 and the program is in the system path.)
155:artwork runin name='\bitmaps\file.bmp'.
156:p.
157:artwork name='..\..\bitmaps\info.bmp' align=center.
158:p.
159:hp6.Information:ehp6. brings up a dialog telling you everything you
160ever wanted to know about file system objects but were afraid to ask.
161If you select this from a drive object (root directory) in the Drive
162Tree container, you get a ":link reftype=hd res=90900.drive
163information:elink." dialog that lets you change the drive's label.
164Otherwise, you get a :link reftype=hd res=95700.comprehensive
165dialog:elink. that, besides showing you all the pertinent information
166about the object, shows the object's icon. That icon is important. You
167can get a context menu on it, and you can drag other objects onto it to
168change the object's icon. If the object is an icon or pointer file
169(*.ICO or *.PTR) you can use it to :link reftype=hd res=95500.change a
170system pointer:elink. (for instance, you could change OS/2's usual arrow
171pointer to a finger). You can draw pointers yourself using OS/2's
172ICONEDIT program, or find them pre-drawn in several collections of icons
173and pointers freely available on the internet. This is the default command for
174the Files->View conditional cascade submenu when the current object is a
175directory. (Note: Info is the first item on the drives menu)
176:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
177:p.
178:hp6.Quick Tree:ehp6. appears in Directory Containers. You can use this
179to quickly select a subdirectory into which to switch the Directory
180Container. Obviously, if there are no subdirectories to select from,
181FM/2 will ignore this command except to tell you.
182:artwork runin name='\bitmaps\fldr.bmp'.
183:p.
184:hp6.Update objects:ehp6. updates objects by refreshing the information
185FM/2 has on them from disk to make sure it's current (an alternative to
186rescan for special situations).
187:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
188:p.
189:hp6.Hide objects:ehp6. hides objects (removes them from view in the
190container) until you rescan, use the :link reftype=hd res=93400.Filter
191dialog:elink. or switch directories or use Unhide (see below).
192:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'.
193:p.
194:hp6.Unhide objects:ehp6. unhides objects (restores them from view in the container)
195Unhide doesn't unhide items that are filtered by the current mask or attribute filters
196:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'.
197:p.
198:artwork name='..\..\bitmaps\playmm.bmp' align=center.
199:p.
200:hp6.Multimedia:ehp6. attempts to play the objects via MMPM/2 using
201FM2PLAY.EXE (from the :link reftype=hd res=100090.FM/2 Utilities collection:elink., distributed separately
202in FM2UTILS.ZIP). Obviously, the objects must be multimedia objects
203(sound files, movies, midi files, etc.) for this to have the desired
204effect, and MMPM/2 must be installed in your system. Note: for this
205command to work properly with large numbers of files (where the length
206of the resultant command line would exceed the OS/2 command line length
207limit of 1000 characters), you must have a version of FM2PLAY.EXE that
208supports the /# command line switch. To test your version of
209FM2PLAY.EXE, run FM2PLAY /? and see if /# is listed as a supported
210switch. If not, upgrade to a new version of the FM/2 Utilities.
211
212:artwork runin name='\bitmaps\file.bmp'.
213:p.
214:artwork name='..\..\bitmaps\edit.bmp' align=center.
215:p.
216The :hp6.Edit:ehp6. conditional cascade submenu allows you to edit the
217current object. Since this is a conditional cascade submenu, you can
218click on the button to get a list of choices or click elsewhere to get a
219default editing action (noted below).
220:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
221:p.
222:hp6.Autoedit:ehp6. edits objects through the :link reftype=hd
223res=92200.configured editor:elink.. This is the default for the
224Files->Edit conditional cascade submenu when a file is the current
225object. When you select Autoedit, FM/2 guesses whether the file is text
226or binary data and edits it accordingly.
227:artwork runin name='\bitmaps\file.bmp'.
228:p.
229:hp6.as text:ehp6. causes FM/2 to edit the current file object as text,
230using the :link reftype=hd res=97000.configured text editor:elink. or
231the internal if none is configured.
232:artwork runin name='\bitmaps\file.bmp'.
233:p.
234:hp6.as binary:ehp6. causes FM/2 to edit the current file object as
235binary data, using the :link reftype=hd res=97000.configured binary
236editor:elink.. Binary data is usually edited as a :link reftype=hd
237res=98800.hex dump:elink.. No default binary editor is provided at
238this time, but that may change.
239:artwork runin name='\bitmaps\file.bmp'.
240:p.
241Edit :link reftype=hd res=99980.Drive flags:elink. is found on the drives context
242menu. :artwork runin name='\bitmaps\drive.bmp'.
243:p.
244:artwork name='..\..\bitmaps\attrlist.bmp' align=center.
245:p.
246:hp6.:link reftype=hd res=95900.Attributes:elink.:ehp6. leads to a
247dialog that sets objects' attributes and (optionally) date/time. This is
248the default for the Files->Edit conditional cascade submenu when a
249directory is the current object.
250:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
251:p.
252:artwork name='..\..\bitmaps\ea.bmp' align=center.
253:p.
254:hp6.:link reftype=hd res=95000.Extended Attributes:elink.:ehp6. allows
255you to view an object's extended attributes (EAs) and to edit and add
256text attributes.
257:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
258:p.
259:hp6.Subject:ehp6. allows you to give an object a description. This
260makes use of the same EA (.SUBJECT) that the WPS uses for object
261descriptions -- you can see and edit it on the File page of an object's
262Settings notebook.
263:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
264:p.
265:artwork name='..\..\bitmaps\print.bmp' align=center.
266:p.
267:link reftype=hd res=99985.:hp6.Print:ehp6.:elink. prints text files.
268It'd be a good idea to have a printer to which to print, and have
269configured it first, before trying to use this. If using the standard
270WPS, be sure you have a printer object configured for the device you've
271told FM/2 to use, or you may wind up with FM/2's printing thread blocked
272for eternity awaiting access to a nonexistent or inaccessible device.
273Actually, if using the standard WPS, it's recommended that you simply
274drag files to the printer object and drop them instead of using this
275command. :artwork runin name='\bitmaps\file.bmp'.
276:p.
277:artwork name='..\..\bitmaps\opend.bmp' align=center.
278:p.
279The :hp6.Open:ehp6. conditional cascade submenu allows you to open the
280current object. Since this is a conditional cascade submenu, you can
281click on the button to get a list of choices or click elsewhere to get a
282default open action for files is to either run them (executable files) or open them
283based on their file association. :artwork runin name='\bitmaps\file.bmp'.
284:artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
285:p.
286The :hp6.Settings notebook:ehp6. option opens the object's WPS properties notebooks.
287:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
288:p.
289Open a directory or drive as a WPS Folder in either :hp6.icon, details or tree:ehp6. view
290:artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
291:p.
292Open a new FM/2 window (container; the default for directories and drives).
293:artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
294:p.
295Opening a file's Default view will honor any OS/2 associations that you have
296setup. Remember that :color fc=default bc=palegray.F6:color fc=default bc=default. or :color fc=default bc=palegray.Ctrl:color fc=default bc=default. + double-click opens an object's
297default WPS view, and :color fc=default bc=palegray.Ctrl:color fc=default bc=default. + :color fc=default bc=palegray.Shift:color fc=default bc=default. + double-click opens an object's
298WPS Settings notebook.
299:p.
300:artwork name='..\..\bitmaps\object.bmp' align=center.
301:artwork name='..\..\bitmaps\shadow.bmp' align=center.
302:p.
303Next is a conditional cascade submenu called :hp6.Create Objects:ehp6.,
304with Shadows as the default command. Create shadows appears as a
305a top level menu item on the drives object menu.
306:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
307:p.
308:hp6.:link reftype=hd res=93600.Shadow:elink.:ehp6. builds WPS shadow
309objects on your desktop or :hp6.Shadows in folders:ehp6. for selected
310object(s). :artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
311:p.
312You can also create :hp6.Real Objects:ehp6. for files
313:artwork runin name='\bitmaps\file.bmp'.
314:p.
315The save lists submenu allows you to save lists to the clipboard or a file
316:p.
317:artwork name='..\..\bitmaps\saveclip.bmp' align=center.
318:p.
319:hp6.Save/Append to clipboard:ehp6. allows you to save selected objects to the
320clipboard as a text list, one per line. This is a good way to transfer
321selections of files to other programs; for instance, you might copy a
322list of files to the clipboard and feed it to a terminal program to send
323the files over a modem or network.
324:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
325:p.
326:artwork name='..\..\bitmaps\savelist.bmp' align=center.
327:p.
328:hp6.:link reftype=hd res=96000.Save to list file:elink.:ehp6. lets you
329save selected objects as a list to a text file. Lists can include file
330sizes, subjects, etc.
331:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
332:p.
333:artwork name='..\..\bitmaps\collect.bmp' align=center.
334:p.
335:hp6.Collect File(s):ehp6. calls up the :link reftype=hd
336res=90100.Collector:elink. and places the selected files and directories
337into it. You can also open the Collector and drag things into it.
338:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
339:p.
340:hp6.Collect List in file(s):ehp6. collects the files listed inside the
341selected files (see :hp6.Save to list file:ehp6. above). The filename
342should be the first item on each line of the list. If spaces are
343contained in the filenames, enclose the filenames in "quote marks."
344Filenames must be full pathnames (d&colon.\path\filename). Directories as
345well as files can be Collected. :artwork runin name='\bitmaps\file.bmp'.
346:p.
347:artwork name='..\..\bitmaps\archive.bmp' align=center.
348:p.
349:hp6.:link reftype=hd res=90300.Archive:elink.:ehp6. allows you to build
350an archive containing the selected object(s).
351:artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
352:p.
353:artwork name='..\..\bitmaps\extract.bmp' align=center.
354:p.
355:hp6.:link reftype=hd res=91000.Extract:elink.:ehp6. allows you to
356extract files from selected archives. :artwork runin name='\bitmaps\file.bmp'.
357:p.
358:hp6.UUDecode:ehp6. decodes files that were encoded with UUEncode, a
359common protocol on the Internet. Files created by UUDecoding are
360appended if they already exist. :artwork runin name='\bitmaps\file.bmp'.
361:p.
362:artwork name='..\..\bitmaps\delete.bmp' align=center.
363:p.
364:hp6.Delete:ehp6. deletes objects. If the :link reftype=hd
365res=92400.Confirm Delete:elink. toggle is on or one or more directories
366are among the selected objects, you get a dialog showing the selected
367objects and asking you to confirm that you really meant what you said.
368In that dialog you have a chance to remove some of the objects. If you
369have OS/2's Undelete enabled for the drive on which the objects reside, they
370may be recoverable. :artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'.
371:p.
372:artwork name='..\..\bitmaps\permdel.bmp' align=center.
373:p.
374:hp6.Permanent Delete:ehp6. deletes objects as above, but they will not
375be recoverable (which may make the deletion faster). It should be noted
376that when deleting directory objects, the file objects within the
377directory can never be recovered, but deleting all the file objects
378inside a directory (rather than the directory itself) allows things to
379be recovered :hp1.if:ehp1. you use the Delete command above rather than
380this Permanent Delete command :hp1.and:ehp1. have Undelete enabled (type
381:link reftype=launch object='CMD.EXE' data='/C HELP UNDELETE'.HELP
382UNDELETE:elink. at a command line for more information on enabling
383Undelete). :artwork runin name='\bitmaps\file.bmp'. :artwork runin name='\bitmaps\fldr.bmp'.
384:p.
385:artwork name='..\..\bitmaps\rescan.bmp' align=center.
386:p.
387:hp6.Rescan:ehp6. rescans the selected drive. FM/2 tries
388very hard to keep all its windows up to date, but things outside FM/2
389can cause changes that FM/2 cannot know about automatically. This
390command will ensure that your display is current.
391:artwork runin name='\bitmaps\drive.bmp'.
392:p.
393:hp6.Expand:ehp6. expands the tree from the point where the context menu
394was requested to the bottom of the branch. This isn't the same as clicking
395the [+] symbol as it expands :hp1.all:ehp1. branches.
396:artwork runin name='\bitmaps\drive.bmp'.
397:p.
398:hp6.Collapse:ehp6. collapses the tree from the point where the context
399menu was requested to the bottom of the branch. This isn't the same as
400clicking the [-] symbol as it collapses :hp1.all:ehp1. branches.
401:artwork runin name='\bitmaps\drive.bmp'.
402:p.
403The Miscellaneous cascade menu appears on directory and drive context menus
404The following appear on this cascade.
405:p.
406:hp6.:link reftype=hd res=95200.Sizes:elink.:ehp6. brings up a dialog
407showing how many bytes are in the selected directory and its
408subdirectories. :artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
409:p.
410:artwork name='..\..\bitmaps\mkdir.bmp' align=center.
411:p.
412:hp6.Make Directory:ehp6. allows you to create new directories. The
413name of the directory where you requested the context menu is filled in
414as a starting point for convenience. Directories may be created many
415levels deep in one pass.
416:artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
417:p.
418:hp6.Show all files:ehp6. is a command available on drive and directory objects
419and in the container menu of Directory Containers. It invokes the
420:link reftype=hd res=98500.See all files:elink. window and shows all
421the files in the directory and all its subdirectories.
422:artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
423:p.
424:hp6.:link reftype=hd res=92500.Undelete Files:elink.:ehp6.
425:artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
426:p.
427:hp6.Check Disk:ehp6. runs PMCHKDSK.EXE on the selected drive. This
428tests the drive and can correct some deficiencies. This is available
429only in context menus requested on drives (root directories). Note
430that OS/2 cannot correct defects on disks that are in use by the
431system or programs (including FM/2). :artwork runin name='\bitmaps\drive.bmp'.
432:p.
433:hp6.Format Disk:ehp6. runs PMFORMAT.EXE on the selected drive.
434:hp8.Formatting a disk will destroy any information already on the
435disk.:ehp8. This is available only in context menus requested on drives
436(root directories). :artwork runin name='\bitmaps\drive.bmp'.
437:p.
438:hp6.Partition Disks:ehp6. has four choices for partitioning tools.
439They are minilvm, DFSee, LVMGUI and FDISKPM. Any of these
440will allow you to modify the partitions on your hard drives.
441:hp8.Extreme caution should be exercised; read the help!:ehp8.
442:p.
443Minilvm is a partitioning tool which is avalable with eCS and is probably
444the easiest to use for LVM type system. If you choose partition Disks it is the default.
445DFSee is a share ware tool with a much wider range of features but must be obtained
446from Hobbes and installed in the system path to work. LVMGUI is the IBM provided GUI tool for
447Disk management. It is a JAVA based program and earily versions only work with JAVA 1.1.8.
448FDISKPM is the partition management tool for preLVM systems and should not be used
449on LVM based sytems. :artwork runin name='\bitmaps\drive.bmp'.
450:p.
451:hp6.Optimize:ehp6. runs a .CMD file with the name <Filesystem>OPT.CMD,
452giving the drive to optimize as a command line argument. Therefore, for
453a FAT drive C&colon. "FATOPT.CMD C&colon." would be run (through the
454command interpreter defined in %COMSPEC% or CMD.EXE if none is defined)
455for an HPFS drive D&colon. "HPFSOPT.CMD D&colon." and for an JFS drive E&colon. "JFSOPT.CMD
456E&colon.". CMD files are supplied with FM/2 that call utility programs from
457the :link reftype=hd res=100090.FM/2 Utilities collection:elink. (a
458separate collection of free-for-the-using utilities, sometimes named
459FM2UTILS.ZIP) or for JFS defragfs.exe supplied with OS2. You may modify these command files as required for your
460system, even to call other programs than those supplied. Always be sure
461to check the disk before trying to optimize it, and (in the case of the
462FAT optimizer) it's a good idea to back up first. You shouldn't run the
463FAT optimizer on compressed drives -- use the utilities that came with
464your compression program instead. :artwork runin name='\bitmaps\drive.bmp'.
465:p.
466:hp6.Detach:ehp6. detaches a network drive.
467:artwork runin name='\bitmaps\drive.bmp'.
468:p.
469:hp6.Eject:ehp6. ejects removable media from drives (for instance,
470opens the door of a CD ROM drive).
471:artwork runin name='\bitmaps\drive.bmp'.
472:p.
473:hp6.Lock:ehp6. locks a removable drive.
474:artwork runin name='\bitmaps\drive.bmp'.
475:p.
476:hp6.Unlock:ehp6. unlocks a removable drive.
477:artwork runin name='\bitmaps\drive.bmp'.
478:p.
479:hp6.:link reftype=hd res=90900.Drive Info:elink.:ehp6. is the first menu item on the drives
480context menu. :artwork runin name='\bitmaps\drive.bmp'.
481
482:h2 res=93710 name=PANEL_CONTEXTCNR.Context menus affecting containers
483:i1 id=aboutContextCnr.Context menus affecting containers
484
485These context menus are shadows of the :link reftype=hd
486res=93800.Views:elink. pulldown menu.
487:p.
488:hp6.Icon:ehp6. switches the container to Icon view; the object's name
489appears below its icon.
490:p.
491:hp6.Name:ehp6. switches the container to Name view; the object's name
492appears beside its icon.
493:p.
494:hp6.Text:ehp6. switches the container to Text view. Text view is the
495fastest view for a container to maintain, but provides the least
496information on the objects it contains.
497:p.
498:hp6.Details:ehp6. switches the container to Details view. Details view
499shows a great deal of information on the objects it contains, including
500file sizes, dates, and times, but it is the slowest view for a container
501to maintain.
502:p.
503The :hp6.Details Setup:ehp6. submenu allows you to control what is shown
504in a Details view. Each possible field in the details view for the drive
505type is shown. If the field is checked, FM/2 will show it. If not, it
506won't. Set the current view to Details view and you can see the changes
507as they occur. Note that for Directory Containers, the context menu
508items change the current container only. Use the internal :link
509reftype=hd res=94600.Settings notebook:elink. to change the default for
510subsequently created containers.
511:p.
512:hp6.Mini Icons:ehp6. is a toggle controlling whether icons are shown
513full size or in miniature in views that show icons.
514:p.
515:artwork name='..\..\bitmaps\filter.bmp' align=center.
516:p.
517:hp6.:link reftype=hd res=93400.Filter:elink.:ehp6. leads to a dialog
518that lets you set filemasks and attributes for objects to include in the
519container's display. Note: For Directory Containers, this sets the
520default for _this_ container. Use the internal :link reftype=hd
521res=94600.Settings notebook:elink. to change the defaults for
522subsequently created containers.
523:p.
524:hp6.Resort:ehp6. resorts items in a container. If you have more than
525one Directory or Archive Container window open, selecting a new sort
526type only causes the container in which you requested the context menu
527to resort itself (although the change will affect all future rescans,
528resorts and insertions in that type of container). This command lets
529you resort a container so that the new sort type is reflected in the
530display.
531:p.
532:artwork name='..\..\bitmaps\rescan.bmp' align=center.
533:p.
534:hp6.Rescan:ehp6. rescans the directory associated with a container, or
535the drive from the current object down in a tree container. FM/2 tries
536very hard to keep all its windows up to date, but things outside FM/2
537can cause changes that FM/2 cannot know about automatically. This
538command will ensure that your display is current.
539:p.
540:hp6.Parent:ehp6. moves directory containers to the previous (parent)
541directory.
542:p.
543:hp6.Previous Directory:ehp6. returns the container to the last
544directory. This is sort of like a one-step "undo" when you switch
545a container to look at a different directory.
546:p.
547:artwork name='..\..\bitmaps\walk.bmp' align=center.
548:p.
549:hp6.:link reftype=hd res=91500.Walk Directories:elink.:ehp6. leads to a
550dialog that lets you walk through your directory structures, or recall
551user-defined directories.
552:p.
553:hp6.Show all files:ehp6. is a command available on directory objects
554and in the container menu of Directory Containers. It invokes the
555:link reftype=hd res=98500.See all files:elink. window and shows all
556the files in the directory and all its subdirectories. (on submenu of miscellaneous)
557:p.
558:hp6.Find in drive tree:ehp6. hilites the directory the directory container is
559looking into on the drive tree. (on submenu of miscellaneous)
560:p.
561:artwork name='..\..\bitmaps\select.bmp' align=center.
562:p.
563:artwork name='..\..\bitmaps\deselect.bmp' align=center.
564:p.
565The :hp6.:link reftype=hd res=99100.Select:elink.:ehp6. submenu gives
566you many ways to highlight and unhighlight objects in a container. This
567lets you quickly build sophisticated selection sets of objects upon
568which you can perform tasks.
569:p.
570You can select (or deselect) all files, all directories or all objects.
571You can also select (or deselect) everything matching a mask string
572which can contain wildcards, select (or deselect) filenames stored in
573the clipboard or a list file and invert the current selections
574(highlight what isn't, unhighlight what is).
575:p.
576The :hp6.Sort submenu:ehp6. allows you to control how objects are sorted
577based on several criteria. You can also tell FM/2 to always display
578directories ahead of or behind files. Note that :hp1.Last access
579date:ehp1. and :hp1.Creation date:ehp1. are not tracked by the FAT file system
580The difference between :hp1.Pathname:ehp1. and :hp1.Filename:ehp1. is only
581apparent in the Collector. With the former, the entire pathname of the
582object is used to sort. With the latter, only the filename portion is
583used to sort. FM/2 maintains separate sort criteria for Drive Tree,
584Collector, Directory Container and Archive Container windows. See
585:link reftype=hd res=97200.Directory Container sort page:elink. and
586:link reftype=hd res=97400.Collector Container sort page:elink.. Note
587that Ctrl + F7 will call up the Sort menu for a given container. The
588internal :link reftype=hd res=94600.Settings notebook:elink. can be
589used to set the default for subsequently opened Directory Containers --
590the context menu item sets the sort for _this_ container only.
591:p.
592Finally, FM/2 offers a full set of :hp6.Compare Selection:ehp6. tools
593that let you select and deselect files based on how they compare to
594unfiltered files in all other open Directory Containers (available only
595in Directory Containers). To give you an idea how this might be
596helpful, imagine that you just hit the :color fc=default bc=palegray.Enter:color fc=default bc=default. key in the middle of
597typing a copy command, when you were reaching for the backslash key to
598complete a path. Before you realize what's happening and can hit :color fc=default bc=palegray.Ctrl:color fc=default bc=default.+:color fc=default bc=palegray.C:color fc=default bc=default.,
599you copied fifty files from a data directory to the root directory of
600your boot drive (you shoulda used FM/2! &colon.-). Now you want to get rid of
601them, but you don't want to pick each one. Open the data directory and
602the root, choose "Select if in all," then delete the selected files in
603the root directory. You're done.
604:p.
605These powerful selection tools are where a file manager really outshines
606command line file management, so be sure to take a look at them. Note
607that :color fc=default bc=palegray.Ctrl:color fc=default bc=default. + :color fc=default bc=palegray.F8:color fc=default bc=default. will call up the Select menu for a given container.
608:p.
609:hp6.:link reftype=hd res=100065.Set Target directory:elink.:ehp6. and
610:hp6.:link reftype=hd res=94600.Settings notebook:elink.:ehp6. are also on this menu.
611:p.
612:h2 res=93715 name=PANEL_CONTEXTTREE.Context menus affecting Drive Tree container
613:i1 id=aboutContextTree.Context menus affecting Drive Tree container
614
615This menu includes many of the choices found on the
616:link reftype=hd res=93710.Context menus affecting containers:elink.
617This menu lacks the :hp6.view:ehp6. options except for :hp6.mini icons:ehp6. and doesn't include
618:hp6.select:ehp6., :hp6.filter:ehp6. or the :hp6.miscellaneous submenu:ehp6. items.
619The additional items it contains are described below&colon.
620:p.
621:hp6.Toggle icons:ehp6. turns the icons on and off in the Drive Tree container.
622:p.
623:hp6.Open Directory Container:ehp6. is used for:link reftype=hd res=98900.Opening a Directory Container:elink.
624:p.
625To remap (attach) a remote server to a local drive letter, enter the
626UNC server name in the entry field at the top center of this dialog,
627then select the drive letter from the left (attach) listbox to which to
628attach the server. Finally, click the :hp1.Attach:ehp1. button.
629:p.
630To detach a local drive letter from a remote server, select the
631drive letter from the right (detach) listbox, then click the
632:hp1.Detach:ehp1. button.
633:p.
634When you're through remapping drives, click :hp1.Done:ehp1..
635:p.
636According to IBM LAN Server documentation, a UNC name consists of a
637double backslash, the name of the server, another backslash, and the
638name of the resource&colon. \\servername\netname
639:p.
640Note that FM/2 saves the UNC names you enter in the listbox below the
641entry field. You can recall these names later by clicking on them.
642The :hp1.Delete:ehp1. button deletes the currently selected name from
643the listbox, and the :hp1.Clear:ehp1. button removes all names from
644the listbox. Names are added automatically. Up to 200 names can be
645stored in this manner (kept on disk between sessions in a file named
646RESOURCE.DAT).
647:p.
648:hp6.Partition Disks:ehp6. has four choices for partitioning tools.
649They are minilvm, DFSee, LVMGUI and FDISKPM. Any of these
650will allow you to modify the partitions on your hard drives.
651:hp8.Extreme caution should be exercised; read the help!:ehp8.
652:p.
653Minilvm is a partitioning tool which is avalable with eCS and is probably
654the easiest to use for LVM type system. If you choose partition Disks it is the default.
655DFSee is a share ware tool with a much wider range of features but must be obtained
656from Hobbes and installed in the system path to work. LVMGUI is the IBM provided GUI tool for
657Disk management. It is a JAVA based program and earily versions only work with JAVA 1.1.8.
658FDISKPM is the partition management tool for preLVM systems and should not be used
659on LVM based sytems.
660:p.
661The :hp6.Drives:ehp6. submenu lets you select a root directory and the
662Drive Tree will scroll to show that directory, and make it the current
663object.
664
665.im merge.ipf
666
667:h2 res=96000 name=PANEL_SAVETOLIST.Save list to file
668:i1 id=aboutSaveToList.Save list to file
669:artwork name='..\..\bitmaps\savelist.bmp' align=center.
670
671This command allows you to save the list of selected files to a disk file
672(or to a printer; enter PRN for the file name to which to save the list).
673:p.
674The :hp1.Save as:ehp1. entry field contains the name of the file to
675which the list will be saved. The :hp1.Find:ehp1. button calls up a
676standard OS/2 open dialog to let you point and click at a file. If the
677file exists, it will be appended. :hp6.Hint&colon.:ehp6. You can enter
678:hp1.PRN:ehp1. as the filename to print the list.
679:p.
680The listbox below this contains patterns you've saved in the past (use
681the :hp1.Add:ehp1. button to add the current pattern (the one in the
682entry field), and the :hp1.Del:ehp1. button to remove the currently
683highlighted pattern from the listbox). You can select one of the
684patterns in the listbox to avoid retyping it (as you highlight a pattern
685in the listbox it'll appear in the entry field). The patterns are saved
686in a file named PATTERNS.DAT, one per line.
687:p.
688The :hp1.Pattern:ehp1. entry field contains a pattern that will be used
689to format the list. Metastrings may be used to cause parts of a file
690description to be written where desired (see below). Also note that the
691pattern is run through a :link reftype=hd res=99500.C-style escape
692encoder:elink., so that \x1b would be interpreted as an ESCAPE
693character, \r\n as a carriage return and linefeed "newline," and \\ is
694required to get a single '\' character.
695:p.
696When everything's set as you want it, click :hp1.Okay:ehp1. to save the
697list. Click :hp1.Cancel:ehp1. if you change your mind.
698:p.
699Metastrings and their meanings (note&colon. these are different from those
700used in command lines)&colon.
701:parml compact tsize=6 break=none.
702:pt.%s
703:pd.subject (description)
704:pt.%S
705:pd.subject padded to 40 chars
706:pt.%z
707:pd.file size
708:pt.%Z
709:pd.file size padded to 13 chars
710:pt.%e
711:pd.EA size
712:pt.%E
713:pd.EA size padded to 5 chars
714:pt.%d
715:pd.last write date
716:pt.%t
717:pd.last write time
718:pt.%l
719:pd.longname
720:pt.%L
721:pd.longname padded to 40 chars
722:pt.%f
723:pd.filename (no path)
724:pt.%F
725:pd.filename (no path) padded to 13 chars
726:pt.%p
727:pd.full pathname
728:pt.%P
729:pd.directory only (no file)
730:pt.%$
731:pd.drive letter
732:pt.%%
733:pd.percent sign
734:eparml.
735:p.
736Note that you can manipulate list files from REXX. An :link reftype=hd res=100080.
737EXAMPLE.CMD:elink. is included in the FM/2 archive to show you how it's done. REXX scripts
738written in this manner can be effectively used as Commands.
739:p.
740
741.im example.ipf
742
743:h2 res=92500 name=PANEL_UNDELETE.Undelete Files
744:i1 id=aboutUndelete.Undelete Files
745
746:artwork name='..\..\bitmaps\undelete.bmp' align=center.
747:p.
748This leads to a dialog that interfaces with UNDELETE.COM to allow you to
749undelete files. The drive that will be operated on is determined by the
750highlighted object in the directory tree. This dialog filters out files
751that already exist on the disk. This only works if OS/2's del directories
752have been designated in config.sys. It doesn't interact with "Trashcans"
753:p.
754The :hp1.Mask:ehp1. entry field lets you set a mask (which can include
755a directory path). You can switch drives using the dropdown listbox.
756A :hp1.Subdirs:ehp1. button lets you choose whether to show files that
757can be undeleted in subdirectories as well.
758:p.
759You can always go directly to UNDELETE.COM if you have the need for more
760control. This is provided only for convenience.
761:artwork runin name='\bitmaps\fldr.bmp'. :artwork runin name='\bitmaps\drive.bmp'.
762.br
763
764.im rename.ipf
765
766.im filter.ipf
767
768.im drvinfo.ipf
769
770.im attribs.ipf
771
772.im printer.ipf
773
774.im shadow.ipf
775
776.im archive.ipf
777
778.im eas.ipf
779
780.im dirsize.ipf
781
782.im seticon.ipf
783
784.im objcnr.ipf
785
786.im select.ipf
Note: See TracBrowser for help on using the repository browser.