TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Chris Mcbrien
from: Russell Coker
date: 1994-06-29 23:24:00
subject: Console Output

CM>I am writing a BBS door for Maximus, and have the COM port 
CM>I/O routines working quite well.

CM>What I need to do now is allow my program to send its 
CM>output to the Sysop's locale console simultaneously.

CM>Any ideas?

CM>I have tried opening a file handle to "con", and DosWriting 
CM>to it.  That doesn't work.

CM>I have tried DosWriting to file handle 1, which I am told 
CM>is supposed to be the local output console.  That doesn't 
CM>work.

  Well DosWrite()ing to file handle 1 worked perfectly for me when writing
my OS/2 door....  File handles 0 and 2 also appear on the screen (although
you're not supposed to write to file handle 0).


   cya
___
 X MR/2 2.0 NR X Windows: We'll get it right (N)ext (T)ime! Promise!!!

--- Maximus/2 2.01wb

* Origin: Multi - 61-3-739-7145 (3:633/363)
SEEN-BY: 54/54 620/243 624/102 632/301 348 365 386 998 633/104 252 260 357
SEEN-BY: 633/363 371 373 379 634/384 635/210 502 503 636/100 638/100 640/820
SEEN-BY: 690/660 711/409 413 430 807 808 809 934 712/353 623 713/888 800/1
SEEN-BY: 2442/0
@PATH: 633/363 260 371 635/503 632/348 711/409 54/54 711/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™.