home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
editor
/
pmview
/
pmview.doc
< prev
next >
Wrap
Text File
|
1994-01-31
|
5KB
|
93 lines
UTILITIES
DOUGLAS BOLING
Vol. 9, No. 13
PMVIEW
Purpose: A file browsing utility for the OS/2 Presentation Manager. PMVIEW
displays files either in ASCII or in hex, and additionally permits
searching by phrase or jumping directly to a specified point in a
file.
Format: PMVIEW [filename] [/i]
Remarks: PMVIEW can be invoked either from an OS/2 window or from the
full-screen command line. If no filename is entered initially,
a dialog box is opened listing the available drives and files from
which a file may be selected. PMVIEW can also be made a part of
the Program Manager group, in which case it can be selected from a
menu at startup. Adding the optional /i switch, either at the
command line or as a parameter of the Start Programs menu, will
load PMVIEW with a specified filename and immediately shrink it
to an icon, making it instantly available. The selected filename
is shown in the title bar of the display window and as the title
of an icon when the window is minimized.
Search menu options for PMVIEW permit entering either a phrase or an
offset to which the utility will jump. Configuration options permit
customizing the screen color, display font size, display format,
tab stop setting, and whether or not the scroll bars should be shown.
These settings become program defaults, but may be changed at any time.
===============================================================================
04/13/92
Modifications by Ken Singer
PMVIEW Enhancements/Fixes to original PC Magazine version:
1. Fixed bug when displaying ASCII bytes > 7F in Hex display.
2. Corrected Hex display to display found search string as top line.
3. Added Hex string search option.
4. Corrected inability to scroll past 64K using vertical scroll slider.
5. Corrected random posiitioning in top line when using vert. scroll slider.
6. Added Hex offset and Line No. options in Search Goto command.
7. Corrected expanding of Tabs.
8. Corrected Hex display when jumping to/near end of file.
9. Modified End key to go to start of last line (ASCII) / 16-byte para (Hex).
10. Corrected repeating lines of text between last CR and last byte of file.
11. Corrected to prevent scrolling of Hex display beyond end of file.
12. Added Hex-EBCDIC display option.
13. Corrected to ensure vertical scroll slider visibility in Hex display.
14. Corrected problem introduced by item 5.
15. Modified Open File Dialog to put name of viewed file at top of list box.
16. Corrected incorrect file name displayed in "Unable to open the file" msg.
17. Added file name filter retention between Open File dialogs.
18. Added "New" item on File sub-menu to close file and leave PMVIEW active.
19. Changed shortcut key for Exit to Alt-X (from Alt-E) to conform to CUA.
20. Corrected handling of command line option for slash and upper case.
21. Added command line parameter /M to exclude Minimize button from frame wndw.
22. Added mnemonic keys for all dialog box items.
23. Modified Open File dialog box to place file entry field at top of box.
24. Modified all dialog boxes to be centered, when possible, in client window.
25. Added capability to include wild cards in command line file name as filter.
26. Modified title bar and moved Searching... msg to box to conform to CUA.
27. Added on-line help facility.
28. Corrected window status to be active/focus when executed from CMD.
29. Added option to display file position at the bottom of the display.
30. Added hourglass pointer during waiting periods.
31. Added XGA support and selections for all OS/2 1.3 VIO font sizes.
32. Added ability to accept dragged and dropped file from OS/2 1.3 appl.
33. Added ability to accept dragged and dropped file from File Manager.
34. Fixed file position line scrolling into text area on non-VGA display.
35. Circumvented OS/2 1.3 XGA Driver bug and improved font list generation.
36. Corrected error recovery when Open File Name entered is zero length.
37. Added test for valid dragged object file name (from OS/2 2.0 WP/appl.).
38. Increased stack size for OS/2 2.0.
===============================================================================
Note: The PMVIEW.HLP file must reside in one of the following directories:
(1) A directory specified in the HELP environment variable;
(2) The working directory specified in the Program Properties of
the PMVIEW menu entry when it is invoked from a PM program group; or
(3) The current directory when PMVIEW is invoked from a command line.
Note: This version of PMVIEW requires OS/2 1.3 or later. SYSOPS should retain
PMVIEW4A on BBSs for those people running OS/2 1.2.
I am grateful to Tony Nadalin, author of TRASHCAN and SYSOP of the BlueEdge
BBS (301)526-7243, who for good reason would not tell me specifically the File
Manager drag and drop protocol, but who did give me some priceless hints.
If you have comments, questions, problems, etc., I can be reached on
Prodigy at SBTX21A or the HAL-PC Telecom I in Houston at (713) 498-3200.
--Ken Singer