Re: [fpc-pascal] Lazarus + Qt4 in FreeBSD

2008-01-02 Thread [EMAIL PROTECTED]
Forwarding... de [EMAIL PROTECTED] <[EMAIL PROTECTED]> para [EMAIL PROTECTED] data 29/12/2007 20:30 assunto Lazarus + Qt4 in FreeBSD Hi, I've just readed thread on fpc-pascal list, and seen your sse2 problem with qt4. I had same thing on linux (Fedora Core 3) and qt4. Just recompile your qt4 li

[fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Graeme Geldenhuys
Hi, I've created a simple console application for Linux and Windows. It's a port of older Win32 API code I wrote years ago. All I'm trying to do is dial a phone number and then later hang-up the phone. I've got a external USRobotics Courier V.Everything V.90 X2 connected to COM1 (/dev/ttyS0). T

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Michael Van Canneyt
On Wed, 2 Jan 2008, Graeme Geldenhuys wrote: > Hi, > > I've created a simple console application for Linux and Windows. It's > a port of older Win32 API code I wrote years ago. All I'm trying to > do is dial a phone number and then later hang-up the phone. > > I've got a external USRobotics C

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Graeme Geldenhuys
On 02/01/2008, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > begin > > serialhandle := SerOpen('/dev/ttyS0'); // COM1 under Linux > > // SerSetParams(serialhandle, 2400, 8, NoneParity, 1, []); > > Shouldn't you set at least RtsCtsFlowControl ? > As far as I know, you must at least set some

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Michael Van Canneyt
On Wed, 2 Jan 2008, Graeme Geldenhuys wrote: > On 02/01/2008, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > begin > > > serialhandle := SerOpen('/dev/ttyS0'); // COM1 under Linux > > > // SerSetParams(serialhandle, 2400, 8, NoneParity, 1, []); > > > > Shouldn't you set at least RtsCts

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Frank McCormick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 02 Jan 2008 15:49:47 +0200 Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > On 02/01/2008, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > begin > > > serialhandle := SerOpen('/dev/ttyS0'); // COM1 under Linux > > > // SerSetParams(seri

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Graeme Geldenhuys
On 02/01/2008, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > Yes, but it should be > > SerSetParams(serialhandle, 2400, 8, NoneParity, 1, [RtsCtsFlowControl]); > > No ? I have no idea! :-) OK, I changed the code to the following... I it should do, is take the modem off the hook... nothing

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Graeme Geldenhuys
On 02/01/2008, Frank McCormick <[EMAIL PROTECTED]> wrote: > >What are the permissions on /dev/ttyS0 ? Have you tried running it > as root ? The first thing I checked! The user is part of the 'dialout' group which has access to the modem. 'minicom' was a test of this and works. I also ran my

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread John Coppens
On Wed, 2 Jan 2008 16:15:33 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > > SerSetParams(serialhandle, 2400, 8, NoneParity, 1, > > [RtsCtsFlowControl]); Hi... I seem to recall (vaguely) that modem comms were (by default) Even parity, and 7 bits. Can't recall default speed though. Could

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Marco van de Voort
> On 02/01/2008, Frank McCormick <[EMAIL PROTECTED]> wrote: > > > >What are the permissions on /dev/ttyS0 ? Have you tried running it > > as root ? > > The first thing I checked! The user is part of the 'dialout' group > which has access to the modem. 'minicom' was a test of this and works. >

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Bernd Mueller
Graeme Geldenhuys wrote: SerWrite(serialhandle, s, Length(s)); SerWrite(serialhandle, s[1], Length(s)); Regards, Bernd. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Graeme Geldenhuys
On 02/01/2008, John Coppens <[EMAIL PROTECTED]> wrote: > > I seem to recall (vaguely) that modem comms were (by default) Even > parity, and 7 bits. Can't recall default speed though. Could that be the > reason? >From my days of running a BBS, before the Internet, it was 99% of the time 8N1. When

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Michael Van Canneyt
On Wed, 2 Jan 2008, Bernd Mueller wrote: > Graeme Geldenhuys wrote: > > > SerWrite(serialhandle, s, Length(s)); > > SerWrite(serialhandle, s[1], Length(s)); Duh ! We all should have spotted that one !! :( Michael. ___ fpc-pascal maillist - fpc-

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Graeme Geldenhuys
On 02/01/2008, Bernd Mueller <[EMAIL PROTECTED]> wrote: > Graeme Geldenhuys wrote: > > > SerWrite(serialhandle, s, Length(s)); > > SerWrite(serialhandle, s[1], Length(s)); Uh, it works!!! Thanks a million Bernd. If you ever come to South Africa, look me up, I owe you a beer. :) Regards,

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Graeme Geldenhuys
On 02/01/2008, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > SerWrite(serialhandle, s[1], Length(s)); > > Duh ! We all should have spotted that one !! :( Tell me about it!! Thanks again to everybody that tried to help. I have a few extra grey hairs, but I'll live. ;-) Regards, - Gr

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Graeme Geldenhuys
On 02/01/2008, Marco van de Voort <[EMAIL PROTECTED]> wrote: > > I'm waiting till I have a serial device to test. (must have a cable soldered > at work first) I had to search for my cable and Courier modem in the attic! :) [I still remember paying a small fortune for the damn modem - years ago]

Re: [fpc-pascal] serial.pp - I can't talk to modem

2008-01-02 Thread Bernd Mueller
Graeme Geldenhuys wrote: Uh, it works!!! Thanks a million Bernd. If you ever come to South Africa, look me up, I owe you a beer. :) thanks four your invitation, unfortunately I am not living around the corner (Germany). So don't expect me in the next couple of days ;-)) Regards, Bernd.

[fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread Anthony W. Henry
I recently responded to a question on the community board asking about an fpc book by recommending a Turbo Pascal book by Jeff Duntemann. His book started me out as a Pascal programmer in 1989 and I still find these old books useful from time to time. I have two by him: Turbo Pascal

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread Anthony W. Henry
I missed one. Mr. Duntemann closed with this question: What forum would be best for me to join to discuss how to rewrite the book for FP? Anthony On Wed, 2008-01-02 at 12:35 -0500, Anthony W. Henry wrote: > I recently responded to a question on the community board > asking about an fpc book by

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread Bee
He has the following questions for the community. Since I feel as being part of the community, I'd like to answer. :) 1. What OS is most-used for Free Pascal? Windows? Linux? For me... 80% Linux, 20% Windows, 0% MacOS. But this will change if I got a MacBook, perhaps I'll have 20% usage on

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread Bee
What forum would be best for me to join to discuss how to rewrite the book for FP? This list, no? :-D -Bee- has Bee.ography at: http://beeography.wordpress.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/m

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread Anthony W. Henry
On Thu, 2008-01-03 at 01:17 +0700, Bee wrote: > > What forum would be best for me to join to discuss how to rewrite the > > book for FP? > > This list, no? :-D > > -Bee- I suggested this too. This is all really fast (just a couple of days) and he is not making a commitment yet. I don't wan

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread Michael Van Canneyt
On Wed, 2 Jan 2008, Anthony W. Henry wrote: > I recently responded to a question on the community board > asking about an fpc book by recommending a Turbo Pascal > book by Jeff Duntemann. His book started me out as a Pascal > programmer in 1989 and I still find these old books useful from > tim

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread Johann Glaser
Hi! > > 1. What OS is most-used for Free Pascal? Windows? Linux? > > If I remember the download statistics correctly: > Windows comes first and then Linux. I want to note that mostly all Windows users download FreePascal and Lazarus by their own from the original download servers

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread Graeme Geldenhuys
> > 1. What OS is most-used for Free Pascal? Windows? Linux? We (our company) mainly develop under Linux, but all products are for both Linux and Windows platforms. > 2. What libraries do most people use for console (i.e., > "terminal" or text-mode)

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread Graeme Geldenhuys
On 02/01/2008, Johann Glaser <[EMAIL PROTECTED]> wrote: > > So it all is about the "invisible" Linux downloaders. I agree...plus the Linux downloads are split into lots of small packages, were the Windows download is one file. This is also what drives me mad about companies publishing the populat

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread DONALD PEDDER
Coming out of lurk mode... 1. What OS is most-used for Free Pascal? Windows? Linux? Well, speaking just for myself, :-) I'm still using DR-DOS (I have Windows as well, but not by choice. Grrr - the punitive measures in the anti-trust case didn't go far enough! I don't buy software unle

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread Daniël Mantione
Op Wed, 2 Jan 2008, schreef Graeme Geldenhuys: On 02/01/2008, Johann Glaser <[EMAIL PROTECTED]> wrote: So it all is about the "invisible" Linux downloaders. I agree...plus the Linux downloads are split into lots of small packages, were the Windows download is one file. I have the impress

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread Daniël Mantione
Op Wed, 2 Jan 2008, schreef Michael Van Canneyt: 2. What libraries do most people use for console (i.e., "terminal" or text-mode) apps? I dislike ncurses; is there a better way? You can use crt or the video unit provided by FPC. You have Free V

[fpc-pascal] Re: Maybe a new fpc book :)

2008-01-02 Thread Milan Marusinec
Hello, 4. Do people make heavy use of Free Pascal objects? I will answer this question in the sence of meaning the object as a type for OOP. Recently in my two pascal projects, which by the way are relatively very current, I used only "objects" and not "

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-02 Thread tazio mirandola
i'm a delphi programmer and a FP beginner, it completly lacks good books focusing on FP and LCL, the book i'm looking for: > 1. What OS is most-used for Free Pascal? Windows? Linux? mostly windows, but linux and osx are important too, crossplatform tricks are welcome. consider FP