VOICE Home Page: http://www.os2voice.org
We scan the Web, Usenet and the OS/2 mailing lists looking for these gems. Have you run across an interesting bit of information about OS/2 or eComStation recently? Please share it with all our readers. Send your tips to email@example.com. If you are interested in joining a particular OS/2 mailing list, check out the VOICE Mailing List page for subscribing instructions for a large variety of existing lists - http://www.os2voice.org/mailinglists.html.
Editor's note: these tips are from OS/2-eComStation users and in some cases can not be verified by myself. Please heed this as a warning that if you are not sure about something, don't do it.
Unbeknownst to most people, there is an undocumented way to get a new mail indicator on the WarpCenter. At some point we are going to hook this up to Mozilla, but first we have to get people's machines configured.
It involves creating an icon on your desktop with an object ID of <CCINBOX>
Here is the rexx code:/* */You can then customize this object to open mozilla -mail If you were to reboot now, you would have an extra gray box on your WarpCenter. The reason it is gray is because for some reason, the OS/2 people chose to remove the actual icons used for the mail item. Don't reboot yet. Here is how you can get them back.
call RxFuncAdd 'SysCreateObject', 'RexxUtil', 'SysCreateObject' result = SysCreateObject('WPProgram', 'Mozilla Mail', '<WP_DESKTOP>', 'OBJECTID=<CCINBOX>');
Your Warpcenter should now have a mail icon. I have placed a mailtest application in the ZIP file so you can run it and see how the icon changes when you have new mail. It's called mailtest.exe.
- Download this tool: http://hobbes.nmsu.edu/pub/new/resmgr.zip If it is not there, it got moved to: http://hobbes.nmsu.edu/pub/os2/dev/util/resmgr.zip
- Create a temporary directory and make a copy of your OS2\DLL\SCENTER.DLL there.
- Get the newmail.zip that I have placed here: ftp://ftp.software.ibm.com/ps/products/warpzilla/newmail.zip
- Unzip newmail.zip into the temporary directory.
- Unzip the resmgr.zip tool.
- If you want to change the icons, feel free, but to just get what I have done, type:
resmgr -a scenter.dll scenter.res
- Now reboot OS/2 and use the Alt+F1 trick to go to a command line and replace your OS2\DLL\SCENTER.DLL with the one that we just created.
If you want to customize the icons, edit mail.bmp or newmail.bmp, then run the resource compiler to recreate scenter.res. Then follow the process I outlined above. Please let me know how this goes and if anyone could streamline this process, that would be great.
Type "cachejfs" on commandline to get the current state.
Type "cachejfs -?" to get the possible parameters.
<Ctrl-Alt-NumLk-NumLk>? (That is, press CTRL-ALT and hit the NUMLOCK key twice.) (Does <Ctrl-Alt-F10-F10> also work? [Editor note: Yes <Ctrl-Alt-F10-F10> is what I use on my laptop which lacks the Numlock key.) Triggers a core dump of all system RAM. Feed a floppy in, let it write the first diskette (I think I recall that you can get the trap info from the first diskette, but I can't seem to find a confirmation of that), then C-A-D to reboot. Perhaps someone else can fill in details here -- I haven't done it this way.And Steve Levine added the following:
Or, if you want to get serious about OS/2 dumps, Steven Levine has info on how to set up your system to save process and core dumps to a file: http://home.earthlink.net/~steve53/os2diags/TrapDumpRef.txt Dumps made in this way contain the trap screen information, of course :)
There's also: http://home.earthlink.net/~steve53/os2diags/DumpTrapScreen.zip which will suck the trap screens and some other info out of the 1st dump diskette.
type "bldlevel os2krnl" to get the internal revision.
Some time ago, I posted a message asking for help with eCS peer-to-peer networking. My network device drivers loaded ok, my NIC drivers loaded OK, the other computers on the network were "seeing" the eCS box, but I couldn't share files/resources between the computers.
Today, I suddenly got an idea. I checked my BIOS configuration, and noticed that I had an entry for "detect PS/2 mouse", with two options: "detect" and "on". The description for "on" said "use this if other resources need IRQ 12." Well, I'd read on this list that network cards use IRQ 12, so I switched to "on" instead of "detect." VOILà! Now, my eCS peer network is up and running just fine, with all computers able to see each other and share resources. Plus, as an additional benefit, the sound card drivers now load and I have sound (whereas I didn't before). The machine, by the way, is an HP Pavilion 7966.
The tip, then, is that if eCS users are having trouble with networking or other system devices, it pays to look carefully at the BIOS setup for possible IRQ conflicts.
Thanks to all (especially Chuck McGinnis, whose NICPAK programs now work!) for their help.
The default operation of a drag is to move. There are three major exceptions to this:
You can modify the behaviour of a drag operation with the use of two keys: shift and ctrl. When shift is pressed, it forces a move of the object. When ctrl is pressed, it forces a copy of the object. When both ctrl and shift are pressed, it forces the creation of a shadow of the object.
- The default operation when dragging an executable file is to create a program object in the target location.
- When dragging to the desktop, the default operation is to create a shadow of the original object on the desktop. This behaviour can be modified in the Desktop properties notebook on the Desktop tab (right-click on the Desktop, select Properties, and click on the Desktop tab).
- When dragging a file to a removable media drive, such as a floppy drive or a zip drive, the default operation is to copy the object.
Finally, the WPS gives a visual cue to help you know what the operation to be performed is. When moving, the mouse cursor and icon are solid; they appear as normal. When copying, the mouse cursor and icon become semi-transparent. When a shadow is to be created, a line appears from the original object to the target. To see this in action, drag a file from one folder to another (but do not drop it!), and, while holding down the left mouse button, press the three key combinations in turn (ctrl, shift, and ctrl-shift) to see the cursor change in accordance with the operation to be performed.
Once you see what the visual cues mean, the operation to be performed should be immediately apparent, so you can easily modify it to do what you want if you need to do so.
[Previous Page] [Newsletter Index] [Next Page]
VOICE Home Page: http://www.os2voice.org