[Gambas-devel] CR LF on serial line
Benoît Minisini
gambas at ...1...
Sat Feb 26 15:30:28 CET 2011
> Montelupo Fiorentino - Italy 24 February 2011
>
> Hi to all,
>
> I have a problem with receiving CR from serial line, instead CR I receive
> LF... I think that the problem was
>
> option.c_oflag = ONLCR
>
> how can I change from Gambas that flag ?
>
> Thank's for your attention.
>
>
> Distinti saluti - Best regards
> Stefano Pria
>
AFAIK, option.c_oflag = ONLCR will map 'NL' to 'NL CR' on output. Your problem
is on input, isn't it?
--
Benoît Minisini
More information about the Devel
mailing list