| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | RXASYNC - Serial I/O |
On the 02-08-95, Jerry Mcbride did converse with Ian Timms:
JM>Hi Ian!
JM>
JM>You still plugged into fidonet? :') I haven't seen any
JM>posts from you in quite a while...
I'm still here.
(As you can see by the date, the delay is somewhat lengthy.
I tried netmailing you but don't know if you got it or not so
am posting this again. Cheers, Ian.)
JM>I am getting along with rxasync, beautifully!
Groovy.
JM>But, I have a question for you.
JM>
JM>How do I pass a "hot" os2 comhandle to rxasync? As it is
JM>appears, I can only pass the "old fashion" comport numbers
JM>(ie., COM1, COM2, etc.)
Yep, all it means is you won't need to do the RxAsyncOpen call
as this will already have been done by Maximus, just plop the
handle into a variable and pass to the other calls as per normal.
One point to note however is that the process that you are running
the RxAsync based script in should be a child of the process which
opened the com port so that it can inherit access to it. This is an
OS/2 restriction (I think this still holds in 2.x). Also the open
needs to be of an appropriate type, ie. OPEN_SHARE_DENYNONE so
that you are permitted to read and write to it. Unfortunately,
some things (nameley IBM's SLIP) open in OPEN_SHARE_DENYREADWRITE
which is down right ornery! If opened via RxAsyncOpen you'll get
OPEN_SHARE_DENYNONE, I don't however know what Maximus uses but I
think it's the same as RxAsync.
If the process running RxAsync is not a child then I believe you
need to execute the RxAsyncOpen as the file handles are not sharable
accross OS/2 sessions (only unique and inheritable within the session,
the session may of course contain multiple related processes).
JM>The reason I wish to pass comhandles is it would simplify the writing of
JM>door programs for Maximus/2 2.02 as this bbs only passes
JM>handles.
The BBS I connect to uses Bink and RxAsync in just this way but to
control BGFAX, if Max gets the handle from Bink then I can't see
any problem in doing what you want.
JM>Thanks,
No worries.
Cheers, Ian Timms. [Team OS/2]
Internet:itimms{at}ariel.ucs.unimelb.edu.au CIS:100236,1404
___
* MR/2 2.1 #141 *
--- Maximus/2 2.02
* Origin: Bunyip's Cave BBS - +61-3-859-8194 (3:633/379)SEEN-BY: 620/243 624/50 632/103 301 341 348 633/379 635/503 640/820 690/660 SEEN-BY: 711/409 410 413 430 807 808 809 934 949 955 712/515 713/888 800/1 SEEN-BY: 7877/2809 @PATH: 633/379 632/348 711/409 808 809 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™.