TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: James R. Cook
from: Phil Crown
date: 1997-01-06 04:30:40
subject: DosRead blocking

-=> Quoting James R. Cook to Phil Crown <=-

 

 PC> I know P.EXE (the freeware Zmodem package) makes changes (to the

 PC> read/write timeout, at least) when it is passed a com port handle.

 JRC> 

 JRC> If it's done in a door or whatever, does the calling proggie need to

 JRC> reset the port when the called program is finished?  Say I write a

 JRC> little shim that sits between my BBS and my Mailer.  It prompts the

 JRC> user to download a textfile or something.  I shell out to P.EXE and it

 JRC> fiddles with the comm port handle.  When it's done, do I need to reset

 JRC> the port again, or does it automagically reset itself to the way it

 JRC> was? 



I think you need to reset it, p.exe does not seem to reset the com port

to its previous state.



This is how I found what I believe is a bug in SIO's SU.EXE program.

Running "su  mode" will not report values higher than
255 for the

usWrite/usReadTimeout values, though they are defined as USHORT in the

DCBINFO structure, and I can set/query them as values higher than 255 in

my own app.



Phil Crown

pcrown{at}airmail.net

http://web2.airmail.net/pcrown/



--- Blue Wave/OS2 v2.30

* Origin: * MacSavvy OS/2 BBS * Dallas, Texas * 972-250-4479 * (1:124/1208)
SEEN-BY: 50/99 54/99 270/101 620/243 625/0 160 711/409 410 413 430 808 809
SEEN-BY: 711/934 955 712/311 407 505 506 517 623 624 704 841 713/317 800/1
@PATH: 124/1208 1 396/1 270/101 712/624 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.