From: Luc Langehegermann (qget@relay.tunkki.fi)
Date: Thu Apr 19 2001 - 03:40:41 EEST
Hello Hal,
Hansis package twpsk contains both - twpsk and his 'old' console Terminal!
73, Luc
On Wed 18 Apr 2001 22:51, Hal MacArgle wrote:
> Sorry to bother the list but I've been trying to send the following
> to: terhi.victor@logonet.com for several days - balking at the first routing
> site.. I heard he monitors this list so will try this way:
> ---------------------------------------------------------------------------
>---
>
> Greetings OM: Years ago you sent me a routine to implement PTT on
> version 0.5 of Hansi's psk31lx program.. This worked fine so I wanted
> to do the same for version 0.61.. (I lost the original directions to
> implement doPTT.c that you sent and that I've attached to this msg
> FYI.)
>
> I tried using gcc -c to create doPTT.o and then added that to the
> OBJS line in the Makefile - but I don't know what I'm doing. HI.
>
> I've tried twpsk-1.1 but I don't want the GUI version on an old 486
> with amber monitor that I'll be using for PSK31.
>
> I note that version 7.X has PTT support, according to the Changes
> file, but I can't seem to find any version later than 0.61 on the Web
> or anywhere else. Hansi's site has the twpsk version of course..
>
> Sorry to bother you. Can you advise a solution so I can get back PTT
> via a serial port? Vy 73 de W8MCH,
>
> Hal - in Terra Alta, WV A M$ Free Environment
> email: bvnhkf@polartel.com
>
>
> Content-Disposition: attachment; filename="doPTT.c"
> /*
> * doPTT.c - a quick routine to add push to talk to DL9RDZ's psk31
> * Ted Williams - WA0EIR
> */
> #include <stdio.h>
> #include <fcntl.h>
> #include <sys/ioctl.h>
>
> void doPTT (int state)
> {
> static int serfd;
> int arg = TIOCM_RTS;
>
> /* Open the serial port not already open */
> if (serfd == 0)
> {
> /* NOTE!!! If needed, change "/dev/ttyS1" on the */
> /* next line to the serial port device you will be using. */
> if ((serfd = open ("/dev/ttyS1", O_RDWR)) == -1)
> {
> perror ("Can't open serial port");
> exit (1);
> }
> }
>
> if (ioctl (serfd, state, &arg) == -1)
> {
> perror("RTS failed");
> exit (1);
> }
> }
> ..
> -
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to bqwx@proxy.wvnet.at
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to qekwpkiv.rfnxfjcv@ktibv.nl
This archive was generated by hypermail 2b30 : Thu Apr 19 2001 - 01:37:38 EEST