TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Matt Schellhaas
from: Peter Fitzsimmons
date: 1996-04-06 03:50:08
subject: Os/2 Comm Programing

PC>pmtermsr.lzh, by Peter Fitzsimmons.  Its a good 
PC>example of accessing the
  >com port.

 MS> Know of any FTP sites that have this file?  I have seen reference to it
 MS> many times, but have never found it on a BBS or any FTP sites.

It's here.

Each time I see someone reference it,  an alarm goes off in my head:
"I've _really_ got to go and fix up that code before it spreads any
farther" -- but I'm always too busy it seems.

The main purpose of pmtermsr.lzh was to:

        - Compliment my ColoradOS/2 presentation (ie: there are no docs
          and few comments with the code)
        - Show how to set the baud rate,  etc,  using ioctls.
        - Show that a real PM program can be fast at scrolling (this, in
          fact,  has the most lines of code -- and it has nothing directly
          to do with the serial port).

What the sample does not do;
        - Demonstrate multithreaded serial i/o very well.  It will receive
          bytes well,  but it doesn't transmit them well (The program only
          sends characters from one source: the keyboard -- so I didn't
          bother writing fast output code).
        - provide a generic serial i/o level suitable for file transfers
          (the sample,  after all,  is just a dumb/glass TTY eumulator).



--- Maximus/2 3.00
* Origin: Sol 3 * Toronto * V.32 * (905)858-8488 (1:259/414)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 259/414 400 99 250/99 3615/50 396/1 270/101 712/515 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™.