public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Claudia Neumann <dr.claudia.neumann@gmx.de>
To: Nicolai Kuntze <nicolai@hubrich.org>
Cc: DOSemu Mailingliste <linux-msdos@vger.kernel.org>
Subject: Re: /dev/ttyS and locks
Date: Sat, 8 May 2004 12:40:04 +0200	[thread overview]
Message-ID: <200405081240.04331.dr.claudia.neumann@gmx.de> (raw)
In-Reply-To: <4746213.1084002530837.SLOX.WebMail.wwwrun@linux.hubrich.org>

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

      reply	other threads:[~2004-05-08 10:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-08  7:48 /dev/ttyS and locks Nicolai Kuntze
2004-05-08 10:40 ` Claudia Neumann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200405081240.04331.dr.claudia.neumann@gmx.de \
    --to=dr.claudia.neumann@gmx.de \
    --cc=linux-msdos@vger.kernel.org \
    --cc=nicolai@hubrich.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox