home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
pmkey5.zip
/
pmkey.doc
< prev
next >
Wrap
Text File
|
1995-08-15
|
7KB
|
140 lines
PMKey v0.04 Copyright (C) 1995 Henry Palmroos.
!!! WARNING !!!
PMKey is FREEWARE program, only thing i'm asking from you, is if
you like it please send me a POSTCARD. And because PMKey is FREEWARE
program there is NO WARRANTY OF ANY KIND. If this program blows your
house, destroys your machine, or cause WW III don't blame me! Use this
program at your own risk! If you don't agree with these terms you are
not allowed to use this program, please remove it from your hard disk!
Also you can't include PMKey in any commercial product (or sold
it) without my permission! THERE IS ONE EXCEPTION: YOU CAN INCLUDE
PMKEY IN SHAREWARE/PD CD-ROM COLLECTIONS FREELY, WITHOUT MY
PERMISSION.
With PMKEY04.ZIP you received EMX.DLL, it's not part of PMKey
and is distributed under GNU General Public License, see COPYING
file.
-------------------------------------------------------------------------------
Installation
UNZIP PMKEYxx.ZIP, copy PMKEYDLL.DLL & EMX.DLL to OS2\DLL or in
any directory that is in LIBPATH and start PMKEY. PMKEY will create
PMKEY.DAT file in PMKEY startup directory, for example: if PMKEY is in
directory D:\PMKEY, PMKEY will create PMKEY.DAT file in directory
D:\PMKEY. PMKEY will also load PMKEY.DAT from directory where PMKEY is
in.
After unzipping packet (remember if you are using PKWARE PKUNZIP
use option -D to create directorys!!! Info-Zip UNZIP creates
directorys automatically) you have Warp directory where is executables
for OS/2 Warp (see end of this document) and in the "root" directory
there is executables for all OS/2 2.X versions. PMKEY.EXE is PMKEY
version that has OS/2 FULLSCREEN detection capability, and PMKEYWF is
version that uses only 32-bit functions, so it can't detect keys from
OS/2 FULLSCREEN sessions.
-------------------------------------------------------------------------------
First i must apologize my very bad english. (I'm from Finland).
But hopefully you can understand something :). This is my first "real"
OS/2 PM program, so don't expect much from it. And also, there is
probably lots of bugs. My biggest problem is in the 16-BIT API calls,
because PMKey can detect keys from fullscreen os/2 sessions it means
i have to use DosMonReg / DosMonRead etc. 16-BIT function calls. So i
have included also version of PMKey which doesn't have fullscreen
detection capability. It should work in any OS/2 2.X version without
problems.
PMKey is very easy to use. Just select key from the Keys listbox
and double click (or press enter). PMKey will bring dialog box asking
you to type the name of the Window/Task. There is also tasklist
listbox in the same dialog. Just double click from the tasklist and PM
Key will copy the task name in to your entry field, and then press OK
if you are happy with your selection. If your program doesn't show up
in the tasklist try pressing RESCAN, PMKey will now rescan whole
tasklist and add any new tasks into the list. You can save your hotkey
list by pressing "Save List" button. (PMKey will automatically save
your list when you exit the program, you can prevent saving in OPTIONS
dialog).
In options dialog you can select two options. Start minimized means
that next time when you start PMKey it starts minimized. Second
option is "Save list at exit", it means what i says :). For Example:
if you have been testing PMKey, and added / removed Window Names and
don't want to save list. PMKey will warn you at exit if "Save list at
exit" is not selected.
If you have program that uses ALT+0 -> ALT+9, or CTRL-0 -> CTRL+9
keys you can press left shift while pressing hotkey to ignore it. This
way PMKey will not interfere with your favorite program.
PMKey is only tested with OS/2 Warp. But i can't see any reason
why it wouldn't work with any OS/2 2.x version (?). In the ZIP packet
there is also Warp executable which uses OS/2 Warp new packing system.
If i have understand right, OS/2 2.x version can pack only resources
in executables, but Warp can pack code also. Size difference isn't
much between PMKEY.EXE's, but in big application the difference is of
course bigger.
Version History:
- 0.01 First version, i did have some problems with 16-BIT keyboard
routines, don't know why but i tried also [QUICKSWITCH 1.2 (C)
CLAUDE BIRON] (PMKey like program) and it did exactly same as
PMKey. First internal speaker of my computer beeped (?!?),
then the keyboard slowed down and started to lose characters,
huh, odd ???. And even when i removed my program (or
QuickSwitch) from memory, the keyboard still was slow and did
lose characters. OS/2 was also much slower, seems like OS/2
keyboard handler was in some kind busy loop??
- 0.02 I did make some small changes in PMKey, and also increased
keyboard buffers, and started to use two threads instead one
in keyboard routine. Now PMKey seems to be working right, at
least i haven't been able to crash keyboard with HYPERVIEW, or
without it.
- 0.03 Major changes.
- 0.04 Small changes, first public release.
You can test if PMKey fullscreen keyboard handler crashes by
downloading [HYPERVIEW V1.04 (C) MICHAEL H. SHACTER] program. I was
able to crash version 0.01 in HyperView by simply pressing many times
arrow up and arrow down keys at the same time, sounds weird ?. And i
was able to crash my keyboard also with QuickSwitch program. So it
seems that this isn't PMKey's problem. If somebody could explain this
to me... eh? Well, of course HYPERVIEW isn't only program that could
cause problems with PMKey, in fact HYPERVIEW is very good and FAST
text viewer. I'm referring to HYPERVIEW just because i noticed PMKey
problems while using it. There isn't nothing wrong in the HYPERVIEW.
It's probably my crappy program causing problems :).
If you notice that PMKey will crash your keyboard very often, try
using PMKey version that doesn't have FullScreen detection capability.
It should work without any problems because it uses only 32-bit 2.X
function calls.
PMKey is coded using GNU GCC compiler.
-------------------------------------------------------------------------------
So, if you like PMKey please send postcard to address:
Henry Palmroos
Puosunrinne 6b 34
Espoo 02320
Finland
You can reach me from e-mail address:
asundber@vipunen.hut.fi
-------------------------------------------------------------------------------