Date: Mon, 28 Jun 2004 10:08:24 +0200 From: John Hay <jhay@icomtek.csir.co.za> To: freebsd-ports@freebsd.org Subject: tcl serial port support Message-ID: <20040628080823.GA70152@zibbi.icomtek.csir.co.za>
next in thread | raw e-mail | index | archive | help
Hi, I have been trying to get gpsman 6.1.1 (astro/gpsman) to work with the gps on my serial port, but it looks like our tcl does not support serial port access. I have used tcl-8.4.6,1 from the -current packages on a -current machine. On the gpsman web site there is a piece about some tcl ports not being configured correctly and then not being able to use serial ports. They also have a test program there and its output looks like this: ###################### angel:~ > tmp/testTclserial.tcl Error in startup script: bad option "-mode": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, or -translation while executing "fconfigure $SRLFILE -blocking 0 -mode 9600,n,8,1 -translation binary" (file "tmp/testTclserial.tcl" line 48) ###################### The gpsman known problem page is at: http://www.ncc.up.pt/gpsman/wGPSMan_6.html The serial port test program is at: http://www.ncc.up.pt/gpsman/gpsmanhtml/testTclserial.tcl In the testTclserial.tcl program I have changed the "exec wish" to wish8.4 and the "set DEVICE /dev/ttyS0" to /dev/cuaa0 which is where my gps is connected. So have anybody used tcl with serial ports or maybe have an idea how to get our tcl to work with serial ports? Thanks. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040628080823.GA70152>