Re: [elinks-users] youtube.com in ELinks?

2009-01-03 Thread Dave Wood
On (17:54 03/01/09), Witold Filipczyk wite...@poczta.onet.pl put forth the 
proposition:
On Fri, Jan 02, 2009 at 08:39:19PM +0100, Lars Bjørndal wrote:
 Hello, list, and a happy new year to everyone!
 
 Thomas Adam thomas.ada...@gmail.com writes:
 
  On 19/09/2007, cga2000 cga2...@optonline.net wrote:
  I was wondering if there is any way I can cause ELinks to invoke a
  media player when the selected link is something like:
 
  http://www.youtube.com/watch?v=ZbfrL4L5GME
 
  Look in:
 
  contrib/smjs
 
  In the ELinks source tarball (or a GIT clone).  Assuming you compile
  in spidermonkey support you can use the youtube.js file contained
  therein.
 
 I've tried that, but I cannot get it working. One of the links I've
 tried, is the link: http://de.youtube.com/watch?v=GWpV7L4YHuU
 
 I've put the hook.js and youtube.js files into my .elinks directory
 and restarted Elinks (version 0.13-GIT from three days ago) Could the
 problem be that the characters .de. is preceding youtube.com in the
 link? Or maybe this is not possible at all from a poor console? I'd
 like to use mplayer, if possible. Should that be possible to do?

I added the youtube2.js to the elinks-0.13. It shows a page with a link
instead of the refresh. In the hooks.js add:
do_file(youtube2.js); Anyway the ELinks always download the whole file
before playing.

I've just caught the tail end of this thread since I haven't been on the
list very long.

I copied all the .js files in smjs to ~/.elinks/ but on youtube I get a
message saying my flash player is too old and another saying javascript is
turned off.

Is there something else I need to do to get this working?

I'm using the current-0.13 from git as of today 3rd Jan and didn't specify
any extra compile options.



Witek
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users

-- 
Winter is the season in which people try to keep the house as warm as
it was in the summer, when they complained about the heat.

___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Mouseless mode ?

2009-01-03 Thread Andre Majorel
On 2009-01-01 16:18 +0100, Andre Majorel wrote:

 Happy new year everybody. Trying to run Elinks over ssh and, for
 some reason, the new instance blocks on start-up while trying to
 connect() to /dev/gpmctl. I don't need mouse input. Is there
 something you can put in elinks.conf to prevent Elinks from
 looking for a mouse ?

The wait on /dev/gpmctl happens in Gpm_Open().

Gpm_Open() is called unconditionally by init_mouse().

init_mouse() is called uncondtionally by handle_mouse().

handle_mouse() is called unconditionally by enable_mouse().

enable_mouse() is called from toggle_mouse() (irrelevant) and from
handle_trm() (unless Elinks was started with -remote).

So the answer to the question is there something you can put in
elinks.conf to prevent Elinks from looking for a mouse ? would be
resistance is futile ; there is nothing you can do to prevent
Elinks from looking for a mouse.

That's rather unfortunate as Gpm_Open makes Elinks unusable from
inside screen(1), at least on my system.

-- 
André Majorel URL:http://www.teaser.fr/~amajorel/
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


[elinks-users] No gpm mouse

2009-01-03 Thread Dave Wood
I can't seem to get elinks to recognise gpm mouse. I didn't compile with
and mouse features disabled, but it just doesn't see it. I tried changing
permissions on /dev/gpmctl to 777 to see if it helped.

I think it works in X just not gpm, any ideas?

-- 
Whom computers would destroy, they must first drive mad.

___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users