Copy Link
Add to Bookmark
Report
OS2 Discussion Forum Volume 9212 Issue 01 - Part II
OS/2 Discussion Forum 921201 - Part II
**************************************
------------------------------------------------------------------------
Date: Tue, 1 Dec 92 11:36:53 AST
From: Peter E Jacobs <jacobs@PEJOS2.CSD.UNB.CA>
Subject: Starting DOS Full Sceen from command prompt
Is it possible to start up a DOS full screen from an OS/2 command prompt?
If so, what is the procedure? A user on campus has built a special boot
image using VMDISK, but can only manage to start it by double clicking on
an icon.
+Peter E. Jacobs, Systems Engineer, Computing Services +
+University of New Brunswick, Fredericton, NB, Canada +
+Postal Address: P.O. Box 4400,Fredericton NB E3B 5A3 +
+Bitnet/Netnorth: JACOBS@UNB +
+CA*net/Internet: JACOBS@UNB.CA +
+Phone: (506) 453-4573 FAX: (506) 453-3590 +
------------------------------------------------------------------------
Date: Tue, 01 Dec 92 08:15:43 CST
From: Fred Olive <SLB2006@UABDPO>
Subject: Back of OS2?
We have OS2 preloaded on our new machines. We would like to make a backup copy
before placing these in use. We have tried and have been unsuccessful. Any
suggestions? Thanks.
------------------------------------------------------------------------
Organization: Knowledge Exchange, GA, US of A
Date: Mon, 30 Nov 1992 13:12:43 CST
From: Gess Shankar <gess@knex.gwinnett.COM>
Subject: NEW LIST: Mmos2-L - OS/2 Multimedia Discussion List
Mmos2-L is a discussion group dealing with multimedia aspects of
IBM OS/2 Ver 2.x
The list's primary goal is discuss programming of multimedia
elements under IBM's OS/2, authoring tools and multimedia peripherals
such as audio boards, motion video subsystems and devices such
as CD-Rom, VideoDiscs etc. The list welcomes the participation of
and contribution from programmers, multimedia designers and
presentation experts & novices as well as content creators such
as CBT authors, computer musicians, animators etc. Users of
multimedia programs/publications are also welcome.
Mmost2-L is owned and coordinated by a computing and CD-Rom
publishing professional (Gess Shankar). [not affiliated with
IBM or any other commercial vendors].
To subscribe to the Mmos2-L e-mail list, send mail to
Mail-Server@knex.Gwinnett.COM with the following command in the
BODY of the mail:
SUBSCRIBE Mmos2-L
List owner/coordinator: Gess Shankar
gess@knex.Gwinnett.COM
------------------------------------------------------------------------
Date: Mon, 30 Nov 1992 10:21 EDT
From: <SHORTK@UNION>
Subject: reading .BOO files
Does anyone know how to read .BOO files on the latest beta Developers
toolkit on CD. I have seen the library reader mentioned, but can't
find anything on the CD. I don't have direct access to a CD. I am
transfering the stuff across a network and making the disks.
thanx,
Tom Short
bitnet: SHORTK@UNION
internet: shortk@gar.union.edu
------------------------------------------------------------------------
Date: Sun, 06 Dec 92 12:02:36 EST
From: Scott Glynn <UCA122@URIACC.URI.EDU>
Subject: OS/2 and High Speed Modems
Hello All. I have recently bought a 14.4K baud modem with full data
compression and error correction. I am also running a BBS with this modem
using Telegard 2.7. Anyway, my problem is the following. When users call
my bbs with their 9600+ modems, the screen displays are still transmitted
at about 2400bd. File transfers are faster than what they would be under
2400bd, but they are not as fast as they should be (about have of what they
should be). Now, if I drop to dos (from within my bbs program) or if I
close the bbs dos box and open a new dos box and call out to other bbs'
that are using 9600+ modems, I get the bbs screens sent to me at about
9600+. Also, when I do a download or an upload of a file, I am receiving or
transmitting at the speed I'm should be.
That is the part I'm having a problem with: When people call my board,
the speed isn't there, but when I call other bbs' the speed is there.
Does anyone know what could be wrong? Or have suggestions. I remember seeing
something somewhere about OS/2 not being able to use a high speed modem to
its fullest potential, but yet I'm getting almost full potential out of mine
atleast when I call out.
The following is a list of software and modem that I'm using.
Modem: Practical Peripherals PM14400FXSA (14.4K fax/modem) external
Front Door (front end mailer)
Telegard 2.7 (BBS program)
X00v149a (fossil driver)
Premier Innovations 1500 (computer)
386sx 16MHz with 5MB of memory and 387 FPU.
the com ports 1 & 2 (built in) use a 16450 UART.
Front Door, Telegard and X00 are currently have the com port locked
at 19200, but I have tried 38400 with no improvements.
//======= //===== // //===== SCOTT C. GLYNN
|| || || // // -=-=-=-=-=-=-=-
|| || || // || SYSOP OF OMEGA CONCERN
|| || ====== // // [401]-295-2725 300-14.4K BAUD
|| || || // /========// RUNNING TELEGARD 2.7
|| || || // // // UNDER OS/2 2.0
=======// =====//// ===========/
------------------------------------------------------------------------
Date: 06 Dec 1992 18:14:19 -0400 (EDT)
From: "JEFF T. DONVILLE" <9005025@SSCvax.CIS.McMaster.CA>
Subject: Borland Pascal 7.0
Well I talked to Borland recently and they said that Borland Pascal 7.0 will
make DOS and Windows apps - but NOT OS/2 apps. It will however create DPMI-
compliant apps to take advantage of the memory resources of OS/2. F
If Borland would create a Pascal compiler for OS/2 with the libraries of objects
included, I would marry it.
Regards (and Happy Holidays (if this gets out in time) to all)
JTD
PS Any news on Service Pak betas and how they are working out?
------------------------------------------------------------------------
Date: Wed, 21 Oct 92 13:16:49 EDT
From: "Dennis W. Creagh" <URDC@MARIST>
Organization: Marist College
Subject: IBM Model 57 SLCs and comm mgr or elite
Here at Marist we have a problem with OS/2 running on an IBM model
57 SLC and trying to run NSAs Elite Terminal emulation program
and Communications Manager.
Has anybody experienced the same problem?
HELP?
Dennis W. Creagh
------------------------------------------------------------------------
Date: Wed Oct 28 10:38:11 GMT 1992
From: Mike O'Carroll <mike@elec-eng.leeds.ac.uk>
Subject: winos2
This may be sacriledge, but has anyone done a file manager for winos2? :-)
--
Mike O'Carroll, Department of Electronic & Electrical Engineering,
The University, Leeds, LS2 9JT, UK
E-mail: mike@ee.leeds[.ac.uk]
UUCP: ...uunet!mcsun!uknet!lena!mike
------------------------------------------------------------------------
Date: Mon, 26 Oct 92 08:39:04 MEZ
From: Helmut Meyhoefer <RZHM@DOSUNI1>
Subject: CM and Novell Requester
> The subject says it all. Has anyone been able to get the aforementioned
> components to work together? If so please send me the steps that were taken
> accomplish this astounding feat. Thanks in advance
> * ROB L. HUDSON ___ ___ SSROB@ECUVM1.BITNET *
> * SYSTEMS PROGRAMMER |__ | | | SSROB@ECUVM.CIS.ECU.EDU *
> * EAST CAROLINA UNIVERSITY |___ |___ |__| ( 919 ) 757 - 6401 *
> * GREENVILLE, NC 27858 *
I am very interested too.
Helmut
------------------------------------------------------------------------
Date: Mon Oct 26 12:33:15 GMT 1992
From: Mike O'Carroll <mike@elec-eng.leeds.ac.uk>
Subject: logon/off
Somehow, I touched the settings on my logon & logoff progs so that they
now open as windows rather than PM apps. I've tried starting with a new
template, but as soon as I enter the pathname, on pops the os/2 window
radio button (there seems to be no way to turn all buttons off!).
The only answer seems to be a complete requester re-install - or is it?
--
Mike O'Carroll, Department of Electronic & Electrical Engineering,
The University, Leeds, LS2 9JT, UK
E-mail: mike@ee.leeds[.ac.uk]
UUCP: ...uunet!mcsun!uknet!lena!mike
------------------------------------------------------------------------
Date: Mon, 2 Nov 1992 18:26 EST
From: Skip <SINCLAIR@ITHACA.BITNET>
Subject: Problems with BITFTP & SP
Okay, here's my sob story....
I only have a lowly BITNET connection through my school's Mainframe. I
*really* wanted the new OS/2 Service pack, so I sent to software.watson.ibm.com
to get all the disk image files. I had to go through BITFTP@PUCC in Princeton
to get the files from the ftp. I had them sent to me in binary mode. Now
here's my problem... the files were so large, they were/are split into three
distinct files. For example, for the first disk image, I have these files:
SPG301.BITCTRL
SPG301.30474382
SPG301.30474383
The first one is text, and contains this:
Control file for use with BITRCV.
Release:PU Pipes Version 1.0 SENDER:BITFTP1@PUCC Protocol:B
SPG301 DSK D1 V 8192 151 299 10/30/92 20:39:39
SPG301 30474382 D1 V 8192 75 151 10/30/92 20:39:41
SPG301 30474383 D1 V 8192 76 153 10/30/92 20:39:45
Does anyone know what this means? Does anyone have a recent copy of this
BITRCV thing? If so, PLEASE SEND IT TO ME!!!! My Sysop has given me a stern
deadline of *soon* and many dirty looks for hogging up almost 20MB of the
receive bin!
Also, I can't seem to be able to grab anything off the FTP's decently. Even
self-extracting archivers don't self extract. I don't have a copy of UUDECODE,
so I can't even use that option. *Any* help would be *greatly* appreciated!
| Skip Sinclair | We, The Unknowing, have done the |
| | Impossible for the Ungrateful. We |
| Terrace 12B, Room 311 | have done so much with so little for |
| Ithaca College | so long, We are now qualified to do |
| SINCLAIR@ITHACA | Anything with Nothing...
------------------------------------------------------------------------
Date: Mon, 2 Nov 1992 18:27 EST
From: Skip <SINCLAIR@ITHACA.BITNET>
Subject: Service Pack?
When will the Service pack be available on the listserv? Any plans soon?
-Skip
------------------------------------------------------------------------
Date: Mon Oct 26 12:34:00 GMT 1992
From: Mike O'Carroll <mike@elec-eng.leeds.ac.uk>
Subject: network objects
Can you change settings on these - e.g. an app that appears in the
Public Applications folder?
--
Mike O'Carroll, Department of Electronic & Electrical Engineering,
The University, Leeds, LS2 9JT, UK
E-mail: mike@ee.leeds[.ac.uk]
UUCP: ...uunet!mcsun!uknet!lena!mike
------------------------------------------------------------------------
Date: Mon Oct 26 12:36:33 GMT 1992
From: Mike O'Carroll <mike@elec-eng.leeds.ac.uk>
Subject: Slow floppy copy
(Sorry for so many Q's!).
A drop and drag of a bunch of files to the A: drive icon takes an
inordinate amount of time (it feels like 20-30 secs per file, but that's
probably an exaggeration). What is it doing? Can I speed it up? (Apart
from doing a command line copy, that is).
--
Mike O'Carroll, Department of Electronic & Electrical Engineering,
The University, Leeds, LS2 9JT, UK
E-mail: mike@ee.leeds[.ac.uk]
UUCP: ...uunet!mcsun!uknet!lena!mike
------------------------------------------------------------------------
Date: Mon Oct 26 12:40:00 GMT 1992
From: Mike O'Carroll <mike@elec-eng.leeds.ac.uk>
Subject: Lan Server
Last one today - honest! If we start a large no. of requesters at
more or less the same time, the server crashes totally (0160:ff6452b).
It *runs* quite happily with 40+, as long as you don't try to start
more than about 10 at the same time. I've hacked protocol.ini and
ibmlan.ini on the server, but I would expect shortfalls here to cause
errors rather than suicide.
Anyone else running a similar sized network?
--
Mike O'Carroll, Department of Electronic & Electrical Engineering,
The University, Leeds, LS2 9JT, UK
E-mail: mike@ee.leeds[.ac.uk]
UUCP: ...uunet!mcsun!uknet!lena!mike
------------------------------------------------------------------------
Date: 27 Oct 92 10:26:49 EST
From: David John Marotta <djm5g%Virginia.EDU@dmt03.mcc.Virginia.EDU>
Subject: Calling 16bit api from within thread of a 32bit app (DosMon)
I'm writing a printer monitor exactly as described in
OS/2 2.0 Technical Library -- Physical Device Driver
Reference pp 6-20 - 6-21. ( I did this successfully
in a 1.3 app, and this was suppossed to be a 'simple
port' !@#$). My first problem was accessing the 16
bit dll MONCALLS.DLL. I approached this with
DosLoadModule and DosQueryProcAddr, and this worked
well. The general program outline (6-21) is
main()
{
DosMonOpen
DosSetPrty
DosMonReg
DosSemSet
DosCreateThread(PrinterMonitorThead)
DosSemWait
DosMonClose
DosExit
}
PrinterMonitorThread
{
while noerror
{
DosMonRead
DosMonWrite
}
DosSemClear
DosExit
}
the def file has
NAME
PROTMODE
HEAPSIZE 32768
STACKSIZE 65536
and the makefile options are
cflags= /C /Ti+ /Gt+ /Gd+ /Ge /Gm+ /Re /Se
lflags= /CO/NOLOGO/NOI/LI/MAP:FULL/PM:VIO
exe_libs=DDE4MBSI+OS2386
and the prototypes read
APIRET16 (* APIENTRY16 DosMonOpen)(BYTE*, PUSHORT);
APIRET16 (* APIENTRY16 DosMonClose)(USHORT);
APIRET16 (* APIENTRY16 DosMonRead)(PBYTE, UCHAR, PBYTE, PUSHORT);
APIRET16 (* APIENTRY16 DosMonWrite)(PBYTE, PBYTE, USHORT);
APIRET16 (* APIENTRY16 DosMonReg)(USHORT, PBYTE, PBYTE, USHORT, USHORT);
Here's the kicker
Any of the DosMonxxxxx functions work like a charm in main,
but fail in the PrinterMonitorThread with a General Protectin
Fault exception. I've gone as far to duplicate all of main's
code in the thread (no luck) and kept increasing stack size
in the .def (no luck) and switched to _beginthread
(vs DosCreateThread) with ever increasing stack_size
( 64K no luck). What is it about the thread that
keeps the code from working? Any help is appreciated.
David John Marotta, Medical Center Computing, Stacey Hall
Univ of Virginia (804) 982-3718 wrk INTERNET: djm5g@virginia.edu
Box 512 Med Cntr (804) 924-5261 msg BITNET: djm5g@virginia
C'ville VA 22908 (804) 296-7209 fax IBM US: usuvarg8
------------------------------------------------------------------------
From: raymond@porthos.cs.ua.edu (Raymond Erdey)
Subject: Need help with Netware Requestor.
Date: Thu, 5 Nov 92 11:51:03 CST
Hi,
I am having trouble with OS/2 and Netware Requestor. I can log onto my novell
server, I can map drives, I can run programs, But I can not run Telnet or
Charon.
I have an IBM Model 80 with an SMC EitherCard Plus Elite/A card configured
as:
Adapter I/O Space (I/O Base): 800h
Shared RAM Base Address: c8000h, 16k
BIOS ROM Base Address: Disabled
ROM Address: c0000
Interrup Level: 3
Media Slect: BNC
Below is part of my Config.SYS, file the NET.CFG file and the error messages
that telnet gives me:
CONFIG.SYS
REM ************************************************
REM * --- NetWare Requester statements BEGIN --- *
REM ************************************************
DEVICE=C:\OS2-APPS\NETWARE\LSL.SYS
RUN=C:\OS2-APPS\NETWARE\DDAEMON.EXE
DEVICE=C:\OS2-APPS\NETWARE\SMCplus.SYS
rem DEVICE=C:\OS2-APPS\NETWARE\SMC8000.SYS
DEVICE=C:\OS2-APPS\NETWARE\IPX.SYS
DEVICE=C:\OS2-APPS\NETWARE\SPX.SYS
RUN=C:\OS2-APPS\NETWARE\SPDAEMON.EXE
rem DEVICE=C:\OS2-APPS\NETWARE\NMPIPE.SYS
rem DEVICE=C:\OS2-APPS\NETWARE\NPSERVER.SYS
rem RUN=C:\OS2-APPS\NETWARE\NPDAEMON.EXE NP_COMPUTERNAME
DEVICE=C:\OS2-APPS\NETWARE\NWREQ.SYS
IFS=C:\OS2-APPS\NETWARE\NWIFS.IFS
RUN=C:\OS2-APPS\NETWARE\NWDAEMON.EXE
rem DEVICE=C:\OS2-APPS\NETWARE\NETBIOS.SYS
rem RUN=C:\OS2-APPS\NETWARE\NBDAEMON.EXE
DEVICE=C:\OS2-APPS\NETWARE\VIPX.SYS
DEVICE=C:\OS2-APPS\NETWARE\VSHELL.SYS
REM **********************************************
REM * --- NetWare Requester statements END --- *
REM **********************************************
NET.CFG
#
# NET.CFG File for SMC8000
#
Link Support
Buffers 20 1514
Mempool 4096
# Link Driver SMC8000
# # Port #1 280 20
# # Mem #1 000D0000 2000/10
# # Int #1 3
# PS/2 Slot 5
# Frame ETHERNET_802.3
# # Frame ETHERNET_802.2
# Frame ETHERNET_II
# # Frame ETHERNET_SNAP
Link Driver SMCPLUS
PS/2 Slot 5
Frame ETHERNET_802.3
Frame ETHERNET_II
Protocol Stack IPX
# Bind SMC8000
Bind SMCplus
Protocol ODINSUP
# Bind SMC8000
Bind SMCplus
Netware Requester
preferred houser108
#
#
# NET.CFG end
#
TELBIN Error Message
Console Messages: CUTCP/CUTE
Clarkson University Tcp Communication Package
Clarkson University Terminal Emulator [CUTE:2.2D/TC-D]
ALT-H presents a summary of special keys
Warning, packet driver vector invalid, using default search
No Packet Driver found at specified location. Change ioaddr in config.tel
Warning, packet driver vector invalid, using default search
No Packet Driver found at specified location. Change ioaddr in config.tel
Configfile: Warning, this version not compiled with Splay Compression Support
Configfile: Warning, this version does not support TN3270. MAP3270 ignored
Configfile: Warning, this version does not support TN3270. MAP3270 ignored
Cound not initialize hardware level network driver
Error initializing network or getting configuration file
(end of error message)
I have IOADDR=0 in my config.tel file.
Sincerely
Raymond
--
------------------------------
Raymond M. A. Erdey
Department of Computer Science
Box 870290
University of Alabama
Tuscaloosa, AL 35487-0290
(205) 348-7373
raymond@porthos.cs.ua.edu (Internet)
------------------------------------------------------------------------
Date: 07 Nov 1992 19:20:57 -0400 (EDT)
From: "JEFF T. DONVILLE" <9005025@SSCvax.CIS.McMaster.CA>
Subject: printer objects
Well folks, I was using the Enhanced editor (with none of the add-ons) and I
wanted to print my document. On my Desktop I have two printers: An HP Desk
Jet running under Epson 6000 emulation and a Star NX-1000 dot matrix running
under IBM Proprinter II emulation. Both printers are set to LPT1. Before
I went into the editor, the default printer was the HP. When I went to print,
the HP was the ONLY printer it would let me choose from. So I played with the
settings and then it let me choose from two printers: both were the HP (I change
ed the name of my HP printer in the General part of the settings notebook-hen
ce
an actual name and an object name) I set the Star to the default printer
without exiting from the editor ( I didn't try exiting from the editor and
changing the defaults and then restarting the editor) and still no go.
I installed the Star printer by first opening up the HP's settings notebook to
load the Proprinter driver from the printer diskettes using the install option
in the pop-up menu of the HP driver. I then dragged a printer out of the templa
tes folder and selected the appropriate driver, renamed the object both in th
e
General and View pages of the settings notebook.
My system is an IBM PS/1 386SX-16 w6 MB RAM and I've only added the os2krn fix
from the blekul11 server - everything else is out of the shrink-wrapped box.
If someone can tell me if this is a bug with the Enhanced editor or if you need
other information, write to me at
9005025@mcmaster.ca thru BITNET
Why am I running os/2 on such a whimpy system? I couldn't afford a better one
on my (student) budget and besides, its working isn't it?
Thanx in advance
Jeff Donville
Civil Engineering and Computer Systems III
Hamilton, Ontario
Canada
------------------------------------------------------------------------
Date: 7 November 92, 22:48:30 LCL
From: Bill Hodges <PC36868@UTKVM1.BITNET>
Subject : TRAP D problems
We have been seeing intermittent TRAP-D abends as we convert our DOS-based
PCs to OS/2. The environment consists of IBM PS/2 Model 70s with 6 Mb
of memory, OS/2 Version 2.0, Kingston memory boards with 4 Mb of memory,
Western Digital network adapters, Ethernet network, Novell 3.11 LAN,
Novell Netware Requester for OS/2.
The TRAP-Ds seem to happen when there is a long period of inactivity
e.g., during lunch or while attending a meeting. Those
reporting the problem usually have only a few active OS/2 sessions.
Generally these would be a mail session (using the DOS version of
WordPerfect Office from the Novell server), other WordPerfect Office
sessions (calendar, etc.), and an MVS host session via McGill
University's NET3270 product (DOS version).
The TRAP-Ds do not include a session title like other OS/2 TRAPs. The
other parameters appear as follows (this is a composite list of a
dozen or so occurrences):
TRAP 000d ERRCD=0000 ERACC=**** ERLIM=********
EAX=ffffffff EBX=00000002 ECX=00002cc0 EDX=00002cc8
or or
00002cd0 00002cd8
00002cb8 00002cc0
00002c28 00002c30
ESI=7d33549f EDI=000054ef EBP=00005436 FLG=00013286
or or or
7d3352e7 00005337 0000527e
7d335bc3 00005c13 00005b5a
CS:EIP=11d0:00005d65 CSACC=00096 CSLIM=00007a4f
SS:ESP=0030:00005436 SSACC=1097 SSLIM=00004877
or or
0030:0000527e 000046bf
0030:0000565a 00004f9b
DS=0030 DSACC=1097 DSLIM=00004877 CR0=fffffff5
or
000046bf
00004f9b
ES=2cb0 ESACC=0093 ESLIM=00001fff CR2=fe969000
or or
2cc8 ff8eebc
2c20 fe968000
2cb8 fe967000
Someone mentioned that this may be a memory problem. Someone also mentioned
that there is a known problem with Kingston memory boards in certain
configurations.
Can someone help me? Also, how do I find out how to interpret the
TRAP-D report?
Any assistance will be very much appreciated.
Bill Hodges PC36868@UTKVM1 615/974-4055
Database Administration and Technical Support
The University of Tennessee
Knoxville, Tennessee
------------------------------------------------------------------------
Date: Sun, 15 Nov 92 15:58:43 EST
From: Scott Glynn <UCA122@URIACC.URI.EDU>
Subject: Service Pack
Hello All,
I was just looking thru the files at Watson and cam across the Service
Pack that came out for OS/2 v 2.0. I was going to FTP them to my account
and then I realized that a number of the Service Pack (Disk images) were
larger than what a 3.5 HD floppy could hold. Does anyone know where I can
ftp them from and have them fit correctly onto a 3.5 HD floppy, or will I
have to order them from my IBM rep? I'd prefer to get them off of a FTP..
save me money.
Scott Glynn
------------------------------------------------------------------------
Date: Fri Nov 6 16:57:12 GMT 1992
From: Mike O'Carroll <mike@elec-eng.leeds.ac.uk>
Subject: Lan Server 2.0
We have a TR lan with a server running os/2 2.0 and lan server 2.0.
There are up to 40 requesters running similar.
Many (most) of our apps are Dos based, and are started by first logging
in, then executing the appropriate .exe on the server.
The problem is this: some of the apps require a data file or overlay
file, which they may or may not keep open throughout their lifetime.
We typically get about 8-10 requesters going, then start getting
access denied errors. There are 2 peculiarities:
i) It is not always the first n that succeed. Sometimes you can get a failure,
then the next machine gets on OK. Once an open has failed, that machine
never gets going, even if rebooted.
ii) Closing down a successful machine does not then allow a failing machine to
open the file. Usually, a requester reboot is needed to fix the problem.
I've tried winding up all sorts of parameters in the protocol.ini and
ibmlan.ini files - there are thousands of simultaneous opens allowed.
So ... is this a server bug? Or could badly behaved Dos apps cause
this behaviour anyway? All suggestions (except download the app and
boot Dos, which is what we used to do :-) welcome.
--
Mike O'Carroll, Department of Electronic & Electrical Engineering,
The University, Leeds, LS2 9JT, UK
E-mail: mike@ee.leeds[.ac.uk]
UUCP: ...uunet!mcsun!uknet!lena!mike
------------------------------------------------------------------------
Date: Tue, 10 Nov 92 12:16 MET
From: "Hans Schoone, Consul Risk Mgmt" <CRMASCH@HDETUD2.TUDELFT.NL>
Subject: ALT-HOME timing
I notice some (old) DOS applications with the following behavior:
1. They start in character mode.
I want to have them in a window, so that's what the settings say.
2. At some point, they invoke a graphics previewer.
A popup message appears to tell me that the session cannot
continue in a window. Incidentally, there is no message
identifier, and the HELP button tells only how to use HELP.
3. After clicking OK, the session shows 'Suspended: ' in the
title. I now press ALT-HOME to switch to full screen.
4. The application continues in full screen mode. However,
when it requests keyboard input it does not understand which
key is being pressed (but depending on the exact input screen,
it sometimes re-issues the prompt while sounding the alarm.
Seemingly, it does receive a character, but the wrong one).
5. By pressing ALT-HOME again to go to windowed session, hitting
the key requested, and hitting ALT-home to go to Full Screen
again, the application processes the input and runs until the
next keyboard prompt.
I have tried a large number of DOS settings, but they do not seem
to matter.
Only: while VIDEO_SWITCH_NOTIFICATION OFF and VIDEO_8514A_XGA_TRAP was
OFF, we were able to hang the complete system (Ctrl/Alt/Del required)
by hitting ALT-HOME just before the popup message (2) occurs.
With both these settings ON, we were not able to hang the system,
but have the indicated behavior.
When we press ALT-HOME before invoking the graphics preview command,
everything works OK and we are able to enter the keyboard responses
in full-screen mode.
Anybody any idea how to make it work after the popup message has been
displayed?
------------------------------------------------------------------------
Date: 10 Nov 92 16:18:49 EST
From: David John Marotta <djm5g%Virginia.EDU@dmt03.mcc.Virginia.EDU>
Subject: Need help with exception handling
/* I am trying to figure out how to use execption handlers and have
*/
/* written the following code to test it. It recognizes the error *
/
/* but I don't know how to return from BadRoutine with a non-zero */
/* return code when it has an access violation */
/* Please send help to djm5g@virginia.edu */
/* Thanks, David JOhn Marotta */
#define INCL_DOSEXCEPTIONS /* Exception values */
#include "stdio.h"
#include "string.h"
#include "os2.h"
//ULONG _cdecl ExceptRoutine(PEXCEPTIONREPORTRECORD,
ULONG ExceptRoutine(PEXCEPTIONREPORTRECORD,
PEXCEPTIONREGISTRATIONRECORD,
PCONTEXTRECORD,
PVOID);
typedef struct SysERegRec {
PEXCEPTIONREGISTRATIONRECORD pLink;
// ULONG (_cdecl *pSysEH)(PEXCEPTIONREPORTRECORD,
// ULONG *pSysEH (PEXCEPTIONREPORTRECORD pExceptionReportR
ecord,
// ULONG (_cdecl *pSysEH) (PEXCEPTIONREPORTRECORD pExceptionRe
portRecord,
// ULONG (VOID *pSysEH) (PEXCEPTIONREPORTRECORD pExceptionRepo
rtRecord,
// ULONG (* APIENTRY pSysEH) (PEXCEPTIONREPORTRECORD pException
ReportRecord,
ULONG (* pSysEH) (PEXCEPTIONREPORTRECORD pExceptionReportRecor
d,
PEXCEPTIONREGISTRATIONRECORD pExceptionReg
istrationRecord,
PCONTEXTRECORD pContextRecord,
PVOID p);
} SYSEREGREC;
//ULONG _cdecl ExceptRoutine(PEXCEPTIONREPORTRECORD,
//ULONG ExceptRoutine(PEXCEPTIONREPORTRECORD,
ULONG ExceptRoutine(PEXCEPTIONREPORTRECORD pExceptionReportRe
cord,
PEXCEPTIONREGISTRATIONRECORD pExceptionReg
istrationRecord,
PCONTEXTRECORD pContextRecord,
PVOID p)
{
printf("Now we are in the ExceptRoutine!\n");
if (pExceptionReportRecord->ExceptionNum == XCPT_ACCESS_VIOLATION
) {
printf("Access Violation occured!\n");
} else {
} /* endif */
/* At this point I want to return from BadRoutine with a non-zero
return code */
/* But HOW DO I CODE IT??? The following line will simply try to
re-execute */
/* the offending line (p = *p;) die again and call my ExceptionRo
utine again */
/* ad infinitum */
return(XCPT_CONTINUE_EXECUTION);
} /* ExceptRoutine */
LONG BadRoutine(VOID);
LONG BadRoutine(VOID) {
PVOID *p;
LONG ErrCount;
SYSEREGREC RegRec; /* Structure to pass to exception
handler */
APIRET rc; /* Return code */
RegRec.pLink = 0; /* The DosSetExceptionHandler call */
/* will link the exception */
/* registration record into the */
/* chain for the thread */
RegRec.pSysEH = ExceptRoutine;
/* Pointer to the exception handler */
rc = DosSetExceptionHandler( (PEXCEPTIONREGISTRATIONRECORD)
&RegRec);
if (rc != 0)
{
printf("DosSetExceptionHandler error: return code = %ld",
rc);
return(1);
}
ErrCount = 0;
while (ErrCount < 5) {
printf("Stepping into the void...%d\n", ErrCount);
p = *p;
printf("...Back from the void!\n");
ErrCount = ErrCount + 1;
} /* endwhile */
rc = DosUnsetExceptionHandler( (PEXCEPTIONREGISTRATIONRECORD)
&RegRec);
return(0);
} /* BadRoutine */
int main(VOID) {
LONG lRC;
printf("Calling the BadRoutine\n");
lRC = BadRoutine();
printf("Back from the BadRoutine, rc = %d\n", lRC);
return (0L);
}
David John Marotta, Medical Center Computing, Stacey Hall
Univ of Virginia (804) 982-3718 wrk INTERNET: djm5g@virginia.edu
Box 512 Med Cntr (804) 924-5261 msg BITNET: djm5g@virginia
C'ville VA 22908 (804) 296-7209 fax IBM US: usuvarg8
------------------------------------------------------------------------
Date: Mon, 16 Nov 92 07:37:14 EST
From: Scott Glynn <UCA122@URIACC.URI.EDU>
Subject: Making Icons and other problems
Hello All, once again....
I was fooling around with the ICON editor was trying to cut and
paste from some DOS applications. Basically this is what I wanted to do.
When I view a GIF in Full Screen mode (dos) it comes out the way its
supposed to, but when I switch to a windowed session, the colors go away
and I'm basically left with a very hard to recognize greyscale type
gif. I'm trying to make some DnD type Icons for some of the games I have
and would like to use some of the DnD GIFs that I have...
My system consists of 5MB Ram, 80386sx 16MHz, SVGA card using Tseng
ET4000 chipset...
The graphics haven't been a problem for me with any other programs, just
GIFs when I am in a Window......anyone have any ideas?
I also started having another problem just a few days ago....
When ever (lately) I add a program to a folder or to the desk top it will
remain for a little while, but if I shut down the system and restart it,
the things that I have added will have disappeared and I will have to
redo everything and have it all happen again. I also have noticed that
some of the programs that were initially setup (the different prompts)
have been disappearing....I haven't deleted them, but they disappeared.
As it looks right now, I will delete OS/2 from my hard drive and then
re-install it....maybe I had messed up something somewhere and it is
just affecting things now.....Any suggestions however will be appreciated
------------------------------------------------------------------------
Date: Fri, 13 Nov 92 13:17:49 MEZ
From: Klaus Hahn <I3160901@DBSTU1.RZ.TU-BS.DE>
Organization: University of Braunschweig, Germany
Subject: COMs and LPT-files
Yes, this IS a wierd subject ... I'd like to add some more COM-ports
to my system and wonder whether there is someone out there who could
tell me which I/O-addresses and IRQs are available in an OS/2 machine?
I bought a 16bit-card that has 4 installable COMs on-board, so I can
jumper around a bit ...
The next one is for insiders only, I suppose. One of our guys created
a file named LPT3 on one of our OS/2 LAN-Manager servers and I didn't
succeed in deleting it. The system refuses to find the name. Renaming
etc. is also impossible. Any hints ???
Thanks,
Klaus.
Klaus Hahn
Dept. of Psychology
Spielmannstr. 19
D-33oo Braunschweig, Germany
bitnet : i3160901 at dbstu1
internet: i3160901 at dbstu1.rz.tu-bs.de
------------------------------------------------------------------------
Feed from the Listearn OS2-L OS/2 Non-Editored Discussion List :
------------------------------------------------------------------------
Date: Fri, 23 Oct 92 10:05:59 EDT
Reply-To: "IBM OS/2 Unedited Discussion List" <OS2-L@FRORS12.BITNET>
From: Dale Houston <dhouston@BIO.RI.CCF.ORG>
Subject: Re: IBM's TCP/IP - TELNET stealing resources ?
I've heard that 'telnet' is a real hog, but using 'ansiterm' is less of
one. I think the next CSD is supposed to fix this. I'm running X, so I
generally use Sun's 'cmdtool' (which has a scrollbar!) instead of
'telnet'.
On another note, is there Soundblaster support in OS/2, or can you run
Soundblaster programs in a VDM?
dale
------------------------------------------------------------------------
End of OS/2 Discussion Forum 921201 - Part II
*********************************************