[comp.lang.pascal] How do you connect a terminal to a PC via serial port?

murphy@pur-phy (William J. Murphy) (02/07/90)

[ Oh where oh where has my line eater gone...]

I have just finished working up a digital I/O interface to some equipment
in my psychoacoustics lab and have decided that the next project is to
connect the ADM3a terminal in the testing booth to the serial port on the
Zenith PC 386/16.  I am looking for code written in either Turbo Pascal
or C (MSC or Turbo) that will allow me to write characters out the serial
port and onto the terminal screen, and that will allow me to capture
interrupts generated by key presses on the terminal.

If you have any such code in a skeletal form, I would appreciate a chance
to play with it.  Also, if you can point to some packages that already do
this type of communications, I would welcome your suggestions.  Please
do not point to a canned package such as kermit or something that cannot
be included within a programming environment.

Please e-mail your responses. Thanks,

 Bill Murphy                          murphy@newton.physics.purdue.edu
Enjoying my Amiga 2000, but holding out for a real computer: The Amiga 3000!!
-- 
 Bill Murphy                          murphy@newton.physics.purdue.edu
Enjoying my Amiga 2000, but holding out for a real computer: The Amiga 3000!!