I haven't tested Towitoko CT-API on Open BSD already. It's intended to
work on Linux and Solaris. But if you wish and you know how to do it, you
can add the modifications for Open BSD and I will pleasurly publish them
in the FTP site.

Just add a new define OS_OPENBSD to configure.in (as it's already done
for OS_LINUX and OS_SOLARIS), and put the modifications betwen #ifdef
OS_OPENBSD and #endif.

I think you can discuss this there, but for low-level, towitoko specific 
issues better contact me via private email.

Thanks,
Carlos.

On Wed, 23 Dec 1998, Jim Rees wrote:

> I'm trying to use towitoko-0.97 on OpenBSD 2.4 and running into some
> problems.  I'm starting to think linux isn't posix compliant for termios.  I
> don't have posix in front of me, but...
> 
> I don't think you can set speed by just assigning it to cflag.  There are
> macros that should be used instead.
> 
> INPCK is an iflag, not a cflag.  ISTRIP is an iflag, not an lflag.
> 
> There is a bug in OpenBSD; the cua device must be opened with O_NONBLOCK.
> And it's cua00, not cua0.  This should be configurable somehow.
> 
> With these changes it works better, but still isn't right.  Is this the
> right place to discuss this?  (I reckon it's more on-topic than test
> messages, anyway).
> ***************************************************************
> Linux Smart Card Developers - M.U.S.C.L.E.
> (Movement for the Use of Smart Cards in a Linux Environment)
> http://www.linuxnet.com/smartcard/index.html
> ***************************************************************
> 

***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************

Reply via email to