tlf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tlf-devel] FW: Re: tlf RTTY buffer


From: Rein Couperus
Subject: [Tlf-devel] FW: Re: tlf RTTY buffer
Date: Fri, 10 Oct 2008 21:06:12 +0200

Ed, your ISP refuses mail from my account, 
so I have to resend via the list...

Rein

-----Urspr√ľngliche Nachricht-----
Von: "Rein Couperus" <address@hidden>
Gesendet: 07.10.08 18:01:57
An: "Ed" <address@hidden>
Betreff: Re: tlf RTTY buffer
Ed, the message is written to the output file in write_keyer.c:

        }else if (keyerport == GMFSK){
                        sprintf (outstring, "echo 
%c%c%s%c%c",'"','\n',wkeyerbuffer,'\n','"'); 
                        strcat (outstring, " >> ");
                        if (strlen(rttyoutput) < 2) {
                                mvprintw (24, 0, "No modem file specified!");
                        }
                        strcat (outstring, rttyoutput);
                        system (outstring);
                
                        wkeyerbuffer[0] = '\0';
                        data_ready = 0;                 
        }
changing into the following will kill at least 2 cr/lf's:
        }else if (keyerport == GMFSK){
                        sprintf (outstring, "echo 
%c%s%c",'"',wkeyerbuffer,'"'); 
                        strcat (outstring, " >> ");
                        if (strlen(rttyoutput) < 2) {
                                mvprintw (24, 0, "No modem file specified!");
                        }
                        strcat (outstring, rttyoutput);
                        system (outstring);
                
                        wkeyerbuffer[0] = '\0';
                        data_ready = 0;                 
        }

it uses an echo command to write the wkeyerbuffer to the file. The echo command 
automatically adds a newline.

73,

Rein


> -----Urspr√ľngliche Nachricht-----
> Von: "Ed" <address@hidden>
> Gesendet: 07.10.08 17:29:33
> An: Rein Couperus <address@hidden>
> Betreff: tlf RTTY buffer


> Where in the code is the end of the tx buffer where the cr/lf are 
> defined. If I can get the 6 cr/lf's down to 1 or 2 or even none, then 
> tlf will be fine on my end to use with fldigi for rtty contesting.
> 
> Thanks
> 
> Ed W3NR
> 
> 

-- 
http://pa0r.blogspirit.com

-- 
http://pa0r.blogspirit.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]