home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
listpm7.zip
/
readme
< prev
next >
Wrap
Text File
|
1999-07-17
|
3KB
|
83 lines
(C) Paul Elliott 1996,1999
Is covered by the GNU public licence. See Copying for details.
Is a simple test file lister. Can change fonts, copy selected text
change the colors used, to clipboard, display more than one
file at a time.
Someone with access to a NT system and IBMCPP 40
please port to NT/95/98. It should be easy.
Email me how it comes out pelliott@io.com
ListPM is a presentation manager file list program. It is written
using IBM's Open class library.
It can search for text strings within files and display more than
one file at a time.
Installation:
copy run\listpm.exe to some directory in your PATH.
copy listpm.inf to some directory in your BOOKSHELF variable.
copy listpm.hlp to some directory in your HELP variable.
Run with the listpm command, or invoke from the workplace shell.
Fixed from listpm2.zip:
Fixed search routines so that search for text runs on other
thread. Should end Hour-glass, freezes when searching long file
for text.
Fixed import to determine OS/2 or UNIX format by the way first
line ends, and import accordingly.
Modified for listpm4.zip 4-22-98
Read from standard input if called with 0 parameters.
Put name of displayed file on tasklist entry.
Reduce priority of search thread.
Updated to listpm7.zip to use IBMCPP 40.
Fixed non C++ standard code.
Used IOC IFilesystemEntity to determine if filename string coresponds
to a directory.
changeSwitch noop'ed in case not OS/2.
On inport instead of determining OS/2 or UNIX format by the way first
line ends, and import accordingly, use MLEFormat.
Use IMultiLineEdit.copy rather than IClipborad.copy for elegance
and to avoid bugs in IClipboard.
When search window gets focus post GOTFOCUS command, when
get the GOTFOCUS command set focus to the text entry field.
Added support for colors. Color menu is under the Options
menu item on the title bar.
Design overview.
List text files using User Interface Class library.
Can list multiple files, each in its own window, with
its own thread.
All IOC code is written by hand, no visual parts.
The resource were created with Universal Resource
Editor then converted to Intergrated Resource Editor.
In listpm.h the IDs IDM_COLOR_START thru IDM_COLOR_LAST
must be kept in order and in sync with the entries of
the tables list_set_colors and list_reset_colors in list.cpp.
Similarly, the string IDs COLOR_STR_START to STR_TSHADOWC.
Someone with access to a NT system and IBMCPP 40
please port to NT/95/98. It should be easy.
Email me how it comes out pelliott@io.com