[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lynx-dev] Streaming (was: Windows Lynx style sheet ...)
From: |
gilmap |
Subject: |
[Lynx-dev] Streaming (was: Windows Lynx style sheet ...) |
Date: |
Sun, 30 Jul 2006 10:30:36 -0600 (MDT) |
In a recent note, Thomas Dickey said:
> Date: Sun, 30 Jul 2006 11:59:39 -0400 (EDT)
>
> On Sun, 30 Jul 2006, Lawrence Armstrong wrote:
>
> > I'm not downloading anything. I'm following the link with the right arrow
> > key. I'm listening to an internet radio station.
>
> What's the URL you give lynx?
>
I understand what Tom said. I often see pages on which the "Play"
button anchors a cover page containing the URL of the stream. In
that case, Lynx will download that page to TMPDIR, in less than a
second, imperceptibly, pass it to the VIEWER, and delete it.
Too often the "Play" button is a Javascript (unnecessarily). This
is a case where Javascripting would be useful to Lynx.
What happens if you D(ownload) such a link? Do you get an endlessly
updated status line, or a short document containing the (very likely
encrypted) URL of the stream?
Here's my idea of how true streaming from a browser might work:
if ( pid = fork() ) {
close( SOCKET );
} else {
if ( SOCKET != 0 ) {
close( 0 );
dup( SOCKET );
close( SOCKET ); }
exec( VIEWER ); }
The tricky part is being sure the socket-stream is positioned
precisely at the start of the streamed document at the point of
the exec().
-- gil
--
StorageTek
INFORMATION made POWERFUL
- [Lynx-dev] Windows Lynx style sheet destroyed after using external, Lawrence Armstrong, 2006/07/26
- Re: [Lynx-dev] Windows Lynx style sheet destroyed after using external, Lawrence Armstrong, 2006/07/26
- Re: [Lynx-dev] Windows Lynx style sheet destroyed after using external, gilmap, 2006/07/29
- Re: [Lynx-dev] Windows Lynx style sheet destroyed after using external, Thomas Dickey, 2006/07/29
- Re: [Lynx-dev] Windows Lynx style sheet destroyed after using external, gilmap, 2006/07/29
- Re: [Lynx-dev] Windows Lynx style sheet destroyed after using external, Thomas Dickey, 2006/07/29
- [Lynx-dev] Detecting write errors [PATCH], gilmap, 2006/07/30
- Re: [Lynx-dev] Windows Lynx style sheet destroyed after using external, Lawrence Armstrong, 2006/07/30
- Re: [Lynx-dev] Windows Lynx style sheet destroyed after using external, Thomas Dickey, 2006/07/30
- [Lynx-dev] Streaming (was: Windows Lynx style sheet ...),
gilmap <=
- Re: [Lynx-dev] Streaming (was: Windows Lynx style sheet ...), David Woolley, 2006/07/30
- Re: [Lynx-dev] Windows Lynx style sheet destroyed after using external, Lawrence Armstrong, 2006/07/30
- Re: [Lynx-dev] Windows Lynx style sheet destroyed after using external, gilmap, 2006/07/31
- Re: [Lynx-dev] Windows Lynx style sheet destroyed after using external, Stef Caunter, 2006/07/29
- Re: [Lynx-dev] Windows Lynx style sheet destroyed after using external, gilmap, 2006/07/29
- Re: [Lynx-dev] Windows Lynx style sheet destroyed after using external, Stef Caunter, 2006/07/29