Re: Serial programming patch

2001-05-23 Thread Christopher Faylor
On Wed, May 23, 2001 at 04:29:29PM +0200, Corinna Vinschen wrote: >On Wed, May 23, 2001 at 02:15:26PM +0200, Jacek Trzcinski wrote: >> Hi Corrina, >> I would not like bother You too much so I hope it is my last e-mail >> today. >> I created sources (with Your little help - thanks, I utilized >> os

Re: Serial programming patch

2001-05-23 Thread Corinna Vinschen
On Wed, May 23, 2001 at 02:15:26PM +0200, Jacek Trzcinski wrote: > Hi Corrina, > I would not like bother You too much so I hope it is my last e-mail > today. > I created sources (with Your little help - thanks, I utilized > os_being_run) at last > are conforming to GNU coding. I also created my Ch

Re: Serial programming patch

2001-05-23 Thread Jacek Trzcinski
Hi Corrina, I would not like bother You too much so I hope it is my last e-mail today. I created sources (with Your little help - thanks, I utilized os_being_run) at last are conforming to GNU coding. I also created my ChangeLog file. What concerns signing a copyright assignment form - is it reall

Re: Serial programming patch

2001-05-23 Thread Corinna Vinschen
On Wed, May 23, 2001 at 09:46:59AM +0200, Jacek Trzcinski wrote: > Hi Corinna, > I see it will be cost a little pain. > What concerns Your 3-rd remark (code not conforming GNU standard) is it > enough to > transform my sources utilizing indent.exe ?. If so, what switches should > I use ? GNU inde

Re: Serial programming patch

2001-05-23 Thread Jacek Trzcinski
Hi Corinna, I see it will be cost a little pain. What concerns Your 3-rd remark (code not conforming GNU standard) is it enough to transform my sources utilizing indent.exe ?. If so, what switches should I use ? I have two remarks I forgot mention about in my previous e-mail. To read input queue

Re: Serial programming patch

2001-05-22 Thread J. J. Farrell
From: Jacek Trzcinski <[EMAIL PROTECTED]> > > Here is my patch to serial device. I implemented ioctl function which > makes possible > to get modem lines state (CTS,DSR,RI,CD) and set(get) modem control > lines (RTS and DTR) > > ... > > + > +/* ioctl: POSIX */ > +int > +fhandler_serial::ioctl (un

Re: Serial programming patch

2001-05-22 Thread Corinna Vinschen
Thanks for your work. Unfortunately, we can't use it for three reasons: - The patch is too long to use it without you signing a copyright assignment form. Look on http://cygwin.com/contrib.html for details. - A ChangeLog entry is missing. Please add a plain ChangeLog entry to your posting li

Serial programming patch

2001-05-22 Thread Jacek Trzcinski
metimes when CLRDTR is set, setting @@ -610,7 +707,11 @@ fhandler_serial::tcsetattr (int action, parameters while DTR is still down. */ EscapeCommFunction (get_handle (), SETDTR); + tmpDtr=TIOCM_DTR; } + + rts=tmpRts; + dtr=tmpDtr; /* The following documentation on was taken from &quo

Re: Serial Programming

2001-05-14 Thread Corinna Vinschen
On Mon, May 14, 2001 at 04:00:17PM +0200, Jacek Trzcinski wrote: > Hi Corinna, > Of course I can send what I have done (I have just tested seting RTS and > DTR lines and reading > modem lines , all by ioctl()- seems to work OK) on cygwin list but I > have never being > doing such a work so tell m

Re: Serial Programming

2001-05-14 Thread Jacek Trzcinski
Corinna Vinschen wrote: > > On Mon, May 14, 2001 at 07:33:25AM +0200, Jacek Trzcinski wrote: > > > > Hi Dario, > > Even in latest cygwin there is no ioctl method support in object > > fhandler_serial responsible > > for serial operations. I patched it myself so it works as it should. > > And

Re: Serial Programming

2001-05-14 Thread Corinna Vinschen
On Mon, May 14, 2001 at 07:33:25AM +0200, Jacek Trzcinski wrote: > > Hi Dario, > Even in latest cygwin there is no ioctl method support in object > fhandler_serial responsible > for serial operations. I patched it myself so it works as it should. And you don't have an interest to share your cod

Re: Serial Programming

2001-05-13 Thread Jacek Trzcinski
Hi Dario, Even in latest cygwin there is no ioctl method support in object fhandler_serial responsible for serial operations. I patched it myself so it works as it should. Jacek Dario Alcocer wrote: > > > "Jacek" == Jacek Trzcinski <[EMAIL PROTECTED]> writes: > > Jacek> Hi Cygwiners !,

Re: Serial Programming

2001-05-10 Thread Dario Alcocer
> "Jacek" == Jacek Trzcinski <[EMAIL PROTECTED]> writes: Jacek> Hi Cygwiners !, I need a way to set(get) modem lines on Jacek> serial interfaces (/dev/ttys0 and other)... Jacek> Typical Posix solution for example ioctl(fd,TCGETS,...) or Jacek> ioctl(fd,TCSETS,..) does not work

Serial Programming

2001-05-10 Thread Jacek Trzcinski
Hi Cygwiners !, I need a way to set(get) modem lines on serial interfaces (/dev/ttys0 and other). In description posted to the list in april by [EMAIL PROTECTED] concerning serial programming, there is no any solution. Typical Posix solution for example ioctl(fd,TCGETS,...) or ioctl(fd,TCSETS

serial programming

2001-02-02 Thread Mohammed Afzal
Hi, I saw the c serial program. Is possilble to send me the hedder files so I can use the program. Also please send me examples of transmitting and receiving in c. Thanks. afzal === This e-mail is intended for the person it is a

Re: serial programming HOWTO

2000-11-12 Thread Christopher Faylor
gram.c: 39 incompatible types in assignment --dir=. >>> >>>that refers to the folloing line of the source: >>> >>>saio.sa_mask = 0; >>> >>>Why do I get a error message form an example that is written for linux? >> >>Because cygwin is not

Re: serial programming HOWTO

2000-11-12 Thread Frank Wagner
aio.sa_mask = 0; > > > >Why do I get a error message form an example that is written for linux? > > Because cygwin is not linux? The above use of saio.sa_mask is > incorrect. You should be using sigemptyset() to clear the mask. This > will also work on linux. But the

Re: serial programming HOWTO

2000-11-12 Thread Christopher Faylor
On Sun, Nov 12, 2000 at 09:24:12PM +0100, Frank Wagner wrote: >I encountered something confusing. >This part of c-sourccode is from the asynchronous input example included >in the serial programming HOWTO document: > > /* install the signal handler before making the devi

serial programming HOWTO

2000-11-12 Thread Frank Wagner
Hello, I encountered something confusing. This part of c-sourccode is from the asynchronous input example included in the serial programming HOWTO document: /* install the signal handler before making the device asynchronous */ saio.sa_handler = signal_handler_IO; saio.sa_mask = 0