[GreenKeys] ITTY to real Teletype

Rob Jarratt robert.jarratt at ntlworld.com
Sat Nov 16 13:12:30 EST 2024


I have determined that the problem is not curl, but either lame or minimodem is crashing in the following command:

 

curl -N -s http://internet-tty.net:8000/ITTY | lame --decode --quiet --mp3input - - | minimodem rtty -i -a -q --rx-one -R 11025 -f

 

I am trying to work out which one is crashing.

 

From: greenkeys-bounces at mailman.qth.net <greenkeys-bounces at mailman.qth.net> On Behalf Of Paul Heller via GreenKeys
Sent: 16 November 2024 09:34
To: rob at jarratt.me.uk
Cc: Mailing List Green Keys <GreenKeys at mailman.qth.net>
Subject: Re: [GreenKeys] ITTY to real Teletype

 

OK, I changed the footer. It should now print “mesage complete”

 

Paul



 





On Nov 16, 2024, at 10:29 AM, Paul Heller <paul0926 at comcast.net <mailto:paul0926 at comcast.net> > wrote:

Yes the footer is encoded to the audio. 

 

I’m puzzled but will keep investigating. Later today I’ll put in a footer in that has some text. Let’s see if curl dies before or after the footer is sent. I’ll let you know when it is ready. 

 

Paul

 





On Nov 16, 2024, at 9:57 AM, Rob Jarratt <robert.jarratt at ntlworld.com <mailto:robert.jarratt at ntlworld.com> > wrote:



I tried just now with ITTY and curl still dies. I may have a bit of time today and will try to look at it a bit more closely. In the meantime I think you can put the footer back.

 

If the footer is a text file though, are you encoding that into audio? If that is the case then Curl isn’t going to “see” the CRLFs anyway. I am not quite sure how it works on the sending side.

 

Regards

 

Rob

 

From: Paul Heller <paul0926 at comcast.net <mailto:paul0926 at comcast.net> > 
Sent: 16 November 2024 06:46
To: Rob Jarratt <robert.jarratt at ntlworld.com <mailto:robert.jarratt at ntlworld.com> >
Cc: steve bennett <raleigh_ranger at yahoo.com <mailto:raleigh_ranger at yahoo.com> >; rob at jarratt.me.uk <mailto:rob at jarratt.me.uk> ; Mailing List Green Keys <GreenKeys at mailman.qth.net <mailto:GreenKeys at mailman.qth.net> >
Subject: Re: [GreenKeys] ITTY to real Teletype

 

The ITTY feeds all work the same way: send a header, send the article, and send a footer. The footer is a text file on the server.  The EUROPE server is missing the footer file, so nothing is sent. The main ITTY server has a footer with five or six CR and LF characters and that is all. The intent was to put some space between the articles. 

 

Could it be that curl shuts off if it sees a stream of multiple CRLFs?

 

For now, to help us test, I have deleted the footer.txt file on the main ITTY server. Let me know if curl now works. 

 

We can also experiment by sending an article with only CRLFs through to AUTOSTART to see if curl dies. 

 

Paul




 






On Nov 15, 2024, at 7:39 PM, Rob Jarratt <robert.jarratt at ntlworld.com <mailto:robert.jarratt at ntlworld.com> > wrote:



Yes I tried that but all I could see was data arriving and then curl dying. There didn’t seem anything odd about the data, but it was all binary. I could try to delve deeper but I thought the best starting point was to ask if there is any known difference between ITTY and the other feeds. Paul seemed to think that possibly some headers might be different.

 

From: steve bennett <raleigh_ranger at yahoo.com <mailto:raleigh_ranger at yahoo.com> > 
Sent: 15 November 2024 12:58
To: 'Paul Heller' <paul0926 at comcast.net <mailto:paul0926 at comcast.net> >; rob at jarratt.me.uk <mailto:rob at jarratt.me.uk> ; Rob Jarratt <robert.jarratt at ntlworld.com <mailto:robert.jarratt at ntlworld.com> >
Cc: 'Mailing List Green Keys' <greenkeys at mailman.qth.net <mailto:greenkeys at mailman.qth.net> >
Subject: Re: [GreenKeys] ITTY to real Teletype

 

record and examine the stream at the point where it dies?

 

On Friday, November 15, 2024 at 07:55:38 AM EST, Rob Jarratt via GreenKeys <greenkeys at mailman.qth.net <mailto:greenkeys at mailman.qth.net> > wrote: 

 

 

Hello Paul,

 

It is fair to say that I will end up using the autostart feed rather than ITTY, but my sense of tidiness tells me that I would like to understand why ITTY kills curl stone dead, and I may want to use ITTY from time to time.

 

I think it would be good to fix this if the solution is easy to find and fix because others might have similar issues in future and not understand what is going on.

 

Thanks

 

Rob

 

From: greenkeys-bounces at mailman.qth.net <mailto:greenkeys-bounces at mailman.qth.net>  <greenkeys-bounces at mailman.qth.net <mailto:greenkeys-bounces at mailman.qth.net> > On Behalf Of Paul Heller via GreenKeys
Sent: 15 November 2024 11:26
To: rob at jarratt.me.uk <mailto:rob at jarratt.me.uk> 
Cc: Mailing List Green Keys <GreenKeys at mailman.qth.net <mailto:GreenKeys at mailman.qth.net> >
Subject: Re: [GreenKeys] ITTY to real Teletype

 

Hi Rob. I stopped looking because I thought you went another direction. I guess I was wrong about that?  

 

I’ll start looking into it. 

Paul





 

On Nov 14, 2024, at 9:06 PM, Rob Jarratt <robert.jarratt at ntlworld.com <mailto:robert.jarratt at ntlworld.com> > wrote:



Hello Paul,

 

I was just wondering if you ever got to look at this issue with ITTY killing curl while the Europe channel doesn’t?

 

Thanks

 

Rob

 

From: Paul Heller <paul0926 at comcast.net <mailto:paul0926 at comcast.net> > 
Sent: 10 November 2024 14:40
To: rob at jarratt.me.uk <mailto:rob at jarratt.me.uk> ; Rob Jarratt <robert.jarratt at ntlworld.com <mailto:robert.jarratt at ntlworld.com> >
Cc: Hugh Pyle <hughpyle at gmail.com <mailto:hughpyle at gmail.com> >; Jeffrey Golas <jeffg at junknet.net <mailto:jeffg at junknet.net> >; Mailing List Green Keys <GreenKeys at mailman.qth.net <mailto:GreenKeys at mailman.qth.net> >
Subject: Re: [GreenKeys] ITTY to real Teletype

 

That is strange that the Europe channel is ok and the ITTY channel is not. I’d like to resolve this. 

 

The ITTY channels each have a footer transmission after the main transmission. Maybe the footers are different. I will look into this later today. 

 

Paul
W2TTY






On Nov 10, 2024, at 1:52 PM, Rob Jarratt via GreenKeys <greenkeys at mailman.qth.net <mailto:greenkeys at mailman.qth.net> > wrote:



I have been trying these suggestions using curl to receive ITTY and pipe it through lame and minimodem. It works well.

 

However, I didn’t like that curl exits after every message. So, I thought I would try to write my own code that keeps going, using libcurl, which is what curl is built from.

 

I discovered though that the ITTY feed does something strange and it causes curl (and libcurl) to just silently exit at the end of a message. It never reaches my cleanup code, it just dies. I thought it was a problem with my code, but I don’t think it is, there is something specifically wrong with http://internet-tty.net:8000/ITTY that cause curl to die. I have been trying to work it out but have not found the issue yet. Is anyone aware of anything peculiar about the ITTY feed? It doesn’t seem to happen for the EUROPE feed, I am not sure yet about AUTOSTART and it is able to repeatedly download other URLs (www.example.com <http://www.example.com>  for example).

 

Thanks

 

Rob

 

From: greenkeys-bounces at mailman.qth.net <mailto:greenkeys-bounces at mailman.qth.net>  <greenkeys-bounces at mailman.qth.net <mailto:greenkeys-bounces at mailman.qth.net> > On Behalf Of Hugh Pyle
Sent: 07 October 2024 20:06
To: Jeffrey Golas <jeffg at junknet.net <mailto:jeffg at junknet.net> >
Cc: Mailing List Green Keys <GreenKeys at mailman.qth.net <mailto:GreenKeys at mailman.qth.net> >; rob at jarratt.me.uk <mailto:rob at jarratt.me.uk> 
Subject: Re: [GreenKeys] ITTY to real Teletype

 

Here are some aliases, which combine 'curl', 'lame' and 'minimodem'.   I haven't run these unattended for a while, and I seem to remember there are dropout situations that will break them easily - so you could then wrap everything in a loop if necessary.  But they might make a good starting point for you.

 


alias autostart='curl -N -s http://internet-tty.net:8030/AUTOSTART | lame --decode --quiet --mp3input - - | minimodem rtty -i -a -q -R 11025 -f -'
alias europe='curl -N -s internet-tty.net:8040/EUROPE <http://internet-tty.net:8040/EUROPE>  | lame --decode --quiet --mp3input - - | minimodem 50 -M 1275 -S 1445 -5 -i -a -q -R 11025 -f -'
alias itty='curl -N -s http://internet-tty.net:8000/ITTY | lame --decode --quiet --mp3input - - | minimodem rtty -i -a -q --rx-one -R 11025 -f -'

 

 

Hugh

 

On Sun, Oct 6, 2024 at 10:15 AM Jeffrey Golas <jeffg at junknet.net <mailto:jeffg at junknet.net> > wrote:

Vlc to get the stream, minimodem to decode.

Jeff

> On Oct 6, 2024, at 3:18 AM, Rob Jarratt <robert.jarratt at ntlworld.com <mailto:robert.jarratt at ntlworld.com> > wrote:
> 
> Hello,
> 
> Dave was asking this on my behalf, probably unaware that I am on this list too.
> 
> I have seen mention of ITTY Autostart etc and wondered about receiving all this on my ASR 33.
> 
> My thought was to see if I could set up a Raspberry Pi to receive the audio signal over the internet, translate that to ASCII and then send it to my ASR33. I already have the means to connect my ASR33 from software running on a Raspberry PI or a PC via reverse Telnet. The bit I am missing is what software (if any) there might be that I could run on a Raspberry Pi, or Windows that runs in the background (no GUI) to decode the ITTY audio signal. I am a software developer though, so I guess if such a thing doesn't exist then perhaps I can modify the MMTTY code that is published on GitHub.
> 
> Any pointers would be welcome.
> 
> Thanks
> 
> Rob
> 
>> -----Original Message-----
>> From: greenkeys-bounces at mailman.qth.net <mailto:greenkeys-bounces at mailman.qth.net>  <greenkeys-
>> bounces at mailman.qth.net <mailto:bounces at mailman.qth.net> > On Behalf Of Jeffrey Golas
>> Sent: 06 October 2024 05:30
>> To: David Wade <dave.g4ugm at gmail.com <mailto:dave.g4ugm at gmail.com> >
>> Cc: Mailing List Green Keys <GreenKeys at mailman.qth.net <mailto:GreenKeys at mailman.qth.net> >
>> Subject: Re: [GreenKeys] ITTY to real Teletype
>> 
>> Normally the ITTY service is fed to a piece of hardware called a terminal unit
>> (think modem). The service is streaming as RTTY which is normally sent over
>> amateur radio.
>> 
>> 
>> Jeff
>> 
>>>> On Oct 5, 2024, at 5:34 PM, David Wade <dave.g4ugm at gmail.com <mailto:dave.g4ugm at gmail.com> > wrote:
>>> 
>>> I know there have been several USB to TTY boards produced, but what
>> software would you use to drive one of these from itty?
>>> 
>>> Dave
>>> 
>>> G4UGM
>>> 
>>> ______________________________________________________________
>>> GreenKeys mailing list
>>> Home: http://mailman.qth.net/mailman/listinfo/greenkeys
>>> Help: http://mailman.qth.net/mmfaq.htm
>>> Post: mailto:GreenKeys at mailman.qth.net <mailto:GreenKeys at mailman.qth.net> 
>>> 
>>>>>> Jordan Spencer Cunningham's GreenKeys Search Tool:
>>>>>> https://teletype.net/gksearch 2002-to-present greenkeys archive:
>>>>>> http://mailman.qth.net/pipermail/greenkeys/
>>>>>> 1998-to-2001 greenkeys archive:
>>>>>> http://mailman.qth.net/archive/greenkeys/greenkeys.html
>>>>>> Randy Guttery's 2001-to-2009 GreenKeys Search Tool:
>>>>>> http://comcents.com/tty/greenkeyssearch.html
>>> 
>>> This list hosted by: http://www.qsl.net Please help support this email
>>> list: http://www.qsl.net/donate.html Message delivered to
>>> jeffg at junknet.net <mailto:jeffg at junknet.net> 
>> ______________________________________________________________
>> GreenKeys mailing list
>> Home: http://mailman.qth.net/mailman/listinfo/greenkeys
>> Help: http://mailman.qth.net/mmfaq.htm
>> Post: mailto:GreenKeys at mailman.qth.net <mailto:GreenKeys at mailman.qth.net> 
>> 
>>>>> Jordan Spencer Cunningham's GreenKeys Search Tool:
>>>>> https://teletype.net/gksearch 2002-to-present greenkeys archive:
>>>>> http://mailman.qth.net/pipermail/greenkeys/
>>>>> 1998-to-2001 greenkeys archive:
>>>>> http://mailman.qth.net/archive/greenkeys/greenkeys.html
>>>>> Randy Guttery's 2001-to-2009 GreenKeys Search Tool:
>>>>> http://comcents.com/tty/greenkeyssearch.html
>> 
>> This list hosted by: http://www.qsl.net
>> Please help support this email list: http://www.qsl.net/donate.html Message
>> delivered to robert.jarratt at ntlworld.com <mailto:robert.jarratt at ntlworld.com> 
> 
______________________________________________________________
GreenKeys mailing list
Home: http://mailman.qth.net/mailman/listinfo/greenkeys
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:GreenKeys at mailman.qth.net <mailto:GreenKeys at mailman.qth.net> 

>>> Jordan Spencer Cunningham's GreenKeys Search Tool: https://teletype.net/gksearch
>>> 2002-to-present greenkeys archive: http://mailman.qth.net/pipermail/greenkeys/
>>> 1998-to-2001 greenkeys archive: http://mailman.qth.net/archive/greenkeys/greenkeys.html
>>> Randy Guttery's 2001-to-2009 GreenKeys Search Tool: http://comcents.com/tty/greenkeyssearch.html

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to hughpyle at gmail.com <mailto:hughpyle at gmail.com> 

______________________________________________________________
GreenKeys mailing list
Home: http://mailman.qth.net/mailman/listinfo/greenkeys
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:GreenKeys at mailman.qth.net






Jordan Spencer Cunningham's GreenKeys Search Tool: https://teletype.net/gksearch

2002-to-present greenkeys archive: http://mailman.qth.net/pipermail/greenkeys/

1998-to-2001 greenkeys archive: http://mailman.qth.net/archive/greenkeys/greenkeys.html

Randy Guttery's 2001-to-2009 GreenKeys Search Tool: http://comcents.com/tty/greenkeyssearch.html


This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to paul0926 at comcast.net <mailto:paul0926 at comcast.net> 

______________________________________________________________
GreenKeys mailing list
Home: http://mailman.qth.net/mailman/listinfo/greenkeys
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:GreenKeys at mailman.qth.net

>>> Jordan Spencer Cunningham's GreenKeys Search Tool: https://teletype.net/gksearch
>>> 2002-to-present greenkeys archive: http://mailman.qth.net/pipermail/greenkeys/
>>> 1998-to-2001 greenkeys archive: http://mailman.qth.net/archive/greenkeys/greenkeys.html
>>> Randy Guttery's 2001-to-2009 GreenKeys Search Tool: http://comcents.com/tty/greenkeyssearch.html

This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Message delivered to raleigh_ranger at yahoo.com <mailto:raleigh_ranger at yahoo.com> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qth.net/pipermail/greenkeys/attachments/20241116/4f3f1a81/attachment.html>


More information about the GreenKeys mailing list