A question about programming RS-232

2006-09-16 Thread Сергей Собко
Andrew Falanga wrote: I am by no means the worlds best serial programmer, but recently I have done some work on this subject and I noticed one thing in the code sample above that should be avoided. However, I'll give you what I saw in-line: #include stdio.h #include termios.h #include

Re: A question about programming RS-232

2006-09-06 Thread Andrew Falanga
I am by no means the worlds best serial programmer, but recently I have done some work on this subject and I noticed one thing in the code sample above that should be avoided. However, I'll give you what I saw in-line: #include stdio.h #include termios.h #include unistd.h #include fcntl.h

Re: A question about programming RS-232

2006-09-04 Thread Сергей Собко
On Monday 04 September 2006 02:39, you wrote: --- stan [EMAIL PROTECTED] wrote: On Sun, Sep 03, 2006 at 11:26:04PM +0600, ?? ? wrote: Hello. I have a question I can't deal myself. And nobody can help me in resolving my problem. Problem: I have a hand-made device, I

A question about programming RS-232

2006-09-03 Thread Сергей Собко
Hello. I have a question I can't deal myself. And nobody can help me in resolving my problem. Problem: I have a hand-made device, I want to control from FreeBSD 6.1 (I am porting this application from Windows equivalent). But I don't know, in what device /dev/ I should write to get reults. I

Re: A question about programming RS-232

2006-09-03 Thread stan
On Sun, Sep 03, 2006 at 11:26:04PM +0600, ?? ? wrote: Hello. I have a question I can't deal myself. And nobody can help me in resolving my problem. Problem: I have a hand-made device, I want to control from FreeBSD 6.1 (I am porting this application from Windows equivalent). But I

Re: A question about programming RS-232

2006-09-03 Thread backyard
--- stan [EMAIL PROTECTED] wrote: On Sun, Sep 03, 2006 at 11:26:04PM +0600, ?? ? wrote: Hello. I have a question I can't deal myself. And nobody can help me in resolving my problem. Problem: I have a hand-made device, I want to control from FreeBSD 6.1 (I am porting

Fwd: Re: A question about programming RS-232

2006-09-03 Thread backyard
--- stan [EMAIL PROTECTED] wrote: Date: Sun, 3 Sep 2006 16:49:51 -0400 From: stan [EMAIL PROTECTED] To: backyard [EMAIL PROTECTED] Subject: Re: A question about programming RS-232 On Sun, Sep 03, 2006 at 01:39:00PM -0700, backyard wrote: --- stan [EMAIL PROTECTED] wrote