Hi again,
from trying and decoding error messages I know the call to tcsetattr
fails with an invalid input. The problem is caused by trying to set the
field termios.c_ospeed, if left out the call is successfull. So I went
the way trough the sources and have found something.
On FreeBSD 4.11 termio
On Fri, 10 Mar 2006, Vincent Snijders wrote:
> Hi,
>
> If I use the makeskel --update parameter, what is the best way to merge
> the resulting file to the existing file?
Copy and paste.
Michael.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal
Hi,
If I use the makeskel --update parameter, what is the best way to merge
the resulting file to the existing file?
Vincent
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Am Freitag, den 10.03.2006, 17:06 +0100 schrieb Michael Van Canneyt:
>
> On Fri, 10 Mar 2006, Sebastian Günther wrote:
>
> > Marc Santhoff schrieb:
> >>
> >> Maybe I have looked at it for too long, where is the problem?
> >
> > just by the way, there is a unit called 'serial' in Free Pascal. Per
Am Freitag, den 10.03.2006, 16:46 +0100 schrieb Sebastian Günther:
> Marc Santhoff schrieb:
> >
> > Maybe I have looked at it for too long, where is the problem?
>
> just by the way, there is a unit called 'serial' in Free Pascal. Perhaps
> you might want to use this one, or at least have a look
On Fri, 10 Mar 2006, Sebastian Günther wrote:
Marc Santhoff schrieb:
Maybe I have looked at it for too long, where is the problem?
just by the way, there is a unit called 'serial' in Free Pascal. Perhaps you
might want to use this one, or at least have a look at the source code...
Bette
Marc Santhoff schrieb:
Maybe I have looked at it for too long, where is the problem?
just by the way, there is a unit called 'serial' in Free Pascal. Perhaps
you might want to use this one, or at least have a look at the source
code...
Regards,
Sebastian
__
Hi,
I'm trying to use a serial port at 1200baud, 7N2 with this code
sequence:
fCom := fpOpen('/dev/cuaa0', O_RDWR OR O_NOCTTY );//OR O_NONBLOCK);
if (fCom < 0) then begin
writeln(stderr, 'Couldn''t open serial port.');
halt(1);
end;
r := 0;
fillchar(tios, sizeof(tios), #0);
cfs
Antal wrote:
It's not just that, but randseed is not a threadvar. This means that
all your threads use the same randseed variable, so if two threads
call "random" at the same time they will still get the same "random"
number.
Jonas
And also generating a rand * getpid you can't really get goo
L505 wrote:
[...]
In other words you can reinvent your own writeln style procedures and pass
parameters of *different types* simutaneously. I was under the impression you
could only pass parameters of the same type through this [] square bracket
trickery.
See docs: [http://www.freepascal.org/
10 matches
Mail list logo