TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Charles Gaefke
from: Vitus Jensen
date: 1996-10-29 23:17:54
subject: Re: DosDevIOCtl for COM ports

Moin Charles,

26.10.96 00:00, you wrote a message to Phil Crown:

...
PC>> Best advice I can give is to get a copy of pmtermsr.lzh from Peter
PC>> Fitzsimmons.  Its an excellent multi-threaded comm port example.

 CG>     And where can I obtain that?

On my Fido BBSs (repacked as ZIP).

...
 CG>     So do I.  My question was from a programs standpoint.  SIO
 CG> locks the port, yes.  When you tell it to change the port rate,
 CG> and it's already locked, does SIO unlock, then change it, then
 CG> lock it, or does it just change it, and it stays locked?  So if
 CG> it was locked, by SIO, and I changed it to a new value, would it
 CG> still be locked?

SIO 1.45 says:

-----------------------------------------------
     Locked Baud Rate

     Placing a colon and a baud rate following the communications port, eg
     (COM1:38400,3F8,IRQ4), causes the port to be locked at that baud rate. 
     No program, OS2 or DOS, is allowed to change the baud rate.
-------------------------------------------------

It can be done, as su.exe locks/unlocks the baud rate.  But that's
undocumented and you have to ask Raymond or debug su.exe.


PC>> Get pmtermsr.lzh from Peter F.  I need a copy too, maybe he'll
PC>> upload it to an ftp site?

 CG>     Who is he? :)

Shame on you!
(He's the moderator of this echo)

C-x C-s
    Vitus

---
* Origin: Vad skulle jag skriva haer? (2:2474/400.8)
SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1
@PATH: 2474/400 0 24/999 888 396/1 270/101 712/515 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™.