Hi Nicolai! Am Samstag, 8. Mai 2004 09:48 schrieb Nicolai Kuntze: > is it possible to do some kind of dynamic locking of the serial port? I > have about 10 users and all of them need from time to time access to a > modem attached to the serial port. I am thinking of a little DOS programm > to turn the lock on and of so everyone has the abbility to use the port.
I solved a similar problem by installing a conf-File for each user. The user has to load DOSemu with "xdosemu -f $HOME/your_conf_file". In this conf-Files I redirect the lock-Files to different directories. This is possible because my DOS program reads from a card reading device at /dev/ttyS0 and uses it only for a short time. Locking for me is not really necessary. With this configuration I can read from the card reading device from several DOSemu sessions. But it can take up to 3 efforts until the program has retrieved the data. Hope that helps Claudia - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
