delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/16/22:30:32

From: mike AT mbsun DOT mlb DOT org (Mike Bernson)
Subject: Using tty code for serial Ports
16 Jul 1997 22:30:32 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33CDA61C.41C67EA6.cygnus.gnu-win32@mbsun.mlb.org>
Mime-Version: 1.0
X-Mailer: Mozilla 3.01 (X11; I; BSD/OS 3.0 i386)
Original-To: sos AT prospect DOT com DOT ru
Original-CC: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I would like to use the tty code for serial ports.

What I was hoping for a way the serial port could attach
to a tty code allowing callbacks for reading, write, ioctl.

This would allow a single interface for code wanting a tty driver
style interface. I did not see any way for this to happen. Did I
overlook something.

I was hoping that the code was broken into 2 logical parts tty
driver code and raw character device code. With this split I could
add the serial port code to tty code.

The pty code then be just anyother device with input/output
half connected.

Is this the direction that thing are moving but I do not see it or
are them moveing in a different path.

I would think that console, serial ports, Print Port, and pty would
be sharing upper level of code.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019