From: Ralf A. <ra...@sh...> - 2001-06-27 17:08:25
|
I did something similar at http://www.iptel-now.de/HOWTO/INPUT_DECOMPOSED/input_decomposed.html It's using a new device though (the same way Alessandro Rubini did in his example and the other email this week did. BTW - i was unsure whether this approach can handle bytes arriving "byte by byte" and not "on block", so i used another "re-assembling" algorithm, the (hardware) devices that i use to inject the events do send interleaved anyway). I like the idea of just "inputattaching" to a pty much more too though ! So looking forward to having a look at your code. regards ralf On Wed, 27 Jun 2001, James Simmons wrote: > > > On Tue, Jun 26, 2001 at 01:33:05PM +0100, Justin Cormack wrote: > > > I seem to have lost my version, though I may be able to reconstruct > > > it quite quickly. I think it was somewhat simpler: essentially it > > > used inputattach like the serial drivers but just attached to a pty > > > rather than a serial port. Because of this it appeared just like any > > > other event driver. The only question was what event masks to set > > > and so on. You could happily open multiple devices etc. > > > > Nifty. > > > > Please do send me a copy should you get it together, and preferably > > the list as well -- it sounds like the modifications needed to use it > > over my existing version should be slight, and the benefits > > significant; I'd be happy to see it (or any such solution) included in > > the tree. > > Please do. I like to see this as well. Sounds pretty cool. > > > _______________________________________________ > Linuxconsole-dev mailing list > Lin...@li... > http://lists.sourceforge.net/lists/listinfo/linuxconsole-dev > -- -- Best regards, Ralf Ackermann |