Messages in this thread |  | | Date | Thu, 17 May 2001 10:42:26 +0000 | From | Pavel Machek <> | Subject | Re: LANANA: To Pending Device Number Registrants |
| |
Hi! Hi!
> They might also be exactly the same channel, except with certain magic > bits set. The example peter gave was fine: tty devices could very usefully > be opened with something like > > fd = open("/dev/tty00/nonblock,9600,n8", O_RDWR); > > where we actually open up exactly the same channel as if we opened up > /dev/cua00, we just set the speed etc at the same time. Which makes things
Hmm, there might be problem with this. How do you change speed without reopening device? [Remember: your mice knows when you close device] Pavel -- Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt, details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |