On Wed, 19 May 2010, Bisz István wrote:

Hi István,

> Please find attached the hbcon.c patch allowing on some linux distroes the
> DTR/DSR hardware handshake.
> The DTR/DSR is a very often used handshake for serial printers, at least in
> the POS field. A lot of supermarket cash registers are in fact PCs  with
> special hardware, which for some historical reason typically knows only
> about DTR/DSR handshaking .
> So it’s important to support this feature in harbour’s serial communication
> for linux distroes offering an implementation like Red Hat’s EL5 and
> derivatives (CentOS 5).
> Please analyze the attachments and if it fits to our needs, apply it in an
> adequate version.

Thank you very much for patches.
This code uses Linux specific extensions which are included in
new only kernels. It allows to access some additional low level
serial port settings using IOCTLs/functions defined in
<linux/termios.h> and <linux/serial.h>. So far I haven't use it
due to rather pure portability and because I was to lazy to add
to our make system autodetection for Linux version and header
files. Anyhow I'll think yet about adding it and also requested
by Mindaugas COM status line waiting.
Again thank you very much for you help and fixing my typo in
CLOCAL flag.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to