This folder contains a daemon for German medical cards according to
requests from Karsten Hilbert (Gnumed).

For each German medical card that is inserted into any reader a file
is created in the directory DESTDIR. Each file has a unique name and contains
data read from the card.

Please note that at kvkd's starttime the chipcard daemon (chipcardd) must
already be running.



Usage
=====

kvkd [-f] [-C CONFIGFILE] [-d DESTDIR]

Options:
-f            - for systems which have the "fork" system call (all unices have
                it, while Windoze doesn't) kvkd normally goes into background.
                With this option you can force it to stay in foreground
-d DESTDIR    - destination directory for the data files created upon 
                insertion of a German medical card. The file names will look
                like this:
                "KVK-XXXXX.dat"
                where "XXXX" is a random number which makes the file name
                unique
-C CONFIGFILE - LibChipCard configuration file to use (defaults to
                "/etc/chipcardc.conf")

--nobeep      - disable beeping upon completion of reading a card
--beeps X     - give number of beeps to make when there is an error that might
                require the attention of the administrator



Noises
======
If not disabled by the option "--nobeep" the KVKd makes some beeps after a
card is inserted:
 1x: Ok
 2x: Could not read card
 3x: Could not write data to directory



Signals
=======
On systems which support "signals" (all unices do, and again: Windoze does 
not) the KVK daemon responds to some signals:

SIGTERM
-------
This is normally send to kill a process, and so in response the kvkd
gracefully goes down.

SIGINT
------
same as SIGTERM, but this signal is mostly created when pressing CTRL-C.

SIGINFO
-------
No action implemented for now.

SIGHUP
------
No action implemented for now.



Special Device Settings
=======================

Orga HML5021
------------
"Ausgabemedium": PC(ASN-1)
"Betriebsart"  : MKT