Re: [elinks-users] spidermonkey debs?

2006-07-05 Thread cga2000
On Wed, Jul 05, 2006 at 10:07:00PM EDT, Miciah Dashiel Butler Masters wrote:
[..]
> 
> > .. or would installing the two -dev packages have pulled all other
> > necessary packages?
> 
> `apt-get install libsmjs-dev` is adequate.
> 
> > At least to me this is still not very clearly explained in the revised
> > version of the ecmascript.txt document.
> 
> Is there anything more that should be clarified in the latest version?

Probably going to say I'm dense.. or just splitting hairs but shouldn't
the doc read:


On a debian system do a:

# apt-get libsmjs-dev

This will install both the spidermonkey engine and the js libraries.

You can then proceed to (re)build elinks. 

The presence of the spidermonkey engine should be detected automatically and
elinks will be built with ECMAscript support enabled. 

...

Check for "`Ecmascript .. SpiderMonkey`" in Feature summary.

...

On non-debian systems you will need to to compile the spidermonkey engine prior
to building elinks:

$ cd elinks
$ wget .
$ tar xvf .. etc.



.. or am I over-simplifying / missing something?

Thanks

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


Re: [elinks-users] spidermonkey debs?

2006-07-05 Thread Miciah Dashiel Butler Masters
On Wed, Jul 05, 2006 at 09:39:17PM -0400, cga2000 wrote:
> On Wed, Jul 05, 2006 at 07:23:45PM EDT, Miciah Dashiel Butler Masters wrote:
> [..]
> > > 
> > > As a result I did a regular tarball install of spidermonkey.
> > 
> > I replied to myself to clarify what I meant. Sorry for my initial
> > response and that you missed my correction.
> > 
> > > [...]
> > > Thanks much for your patience.  Where can I take a look at the updated
> > > ecmascript.txt..?
> > 
> > http://pasky.or.cz/gitweb.cgi?p=elinks.git;a=blob;f=doc/ecmascript.txt
> > 
> > There isn't really much to see--just a couple of short, new paragraphs.
> > 
> $ apt-cache search spidermonkey
> 
> libsmjs-dev - Development files for the SpiderMonkey JS library
> libsmjs1 - The Mozilla SpiderMonkey JavaScript library
> spidermonkey-bin - Binaries of the SpiderMonkey interpreter
> spidermonkey-dev - Migration package for the SpiderMonkey JS library
> spidermonkey1 - Migration package for the SpiderMonkey JS library
> 
> .. mind you, this is debian stable (sarge).. and since the
> ecmascript.txt document only mentions testing and unstable, it may
> still be  necessary to do a tarball install of spidermonkey(?)

The instructions were old. I've now updated them for Sarge.
Reload the URI above or see this for just the diffs:


> To recap,  the way I understand the new doc, what I should have done is:
> 
> $ apt-get libsmjs1 libsmjs-dev spidermonkey-bin spidermonkey-dev

spidermonkey-bin and spiderkmonkey-dev are unnecessary..

> $ cd ../elinks; ./configure; make; make install
> 
> .. with the result that libjs lib would have been installed in
> /usr/lib/ .. this making a non-issue of my ldconfig problem, right?

Correct, except that it would be called libsmjs, not libjs.

> .. or did I also need to apt-get spidermonkey1? 

Nope.

> .. or would installing the two -dev packages have pulled all other
> necessary packages?

`apt-get install libsmjs-dev` is adequate.

> At least to me this is still not very clearly explained in the revised
> version of the ecmascript.txt document.

Is there anything more that should be clarified in the latest version?

> Anyway, just my 2cents.. 
> 
> Thanks

Thanks for your suggestions,

-- 
Miciah Masters <[EMAIL PROTECTED]> / <[EMAIL PROTECTED]>
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] spidermonkey debs?

2006-07-05 Thread cga2000
On Wed, Jul 05, 2006 at 07:23:45PM EDT, Miciah Dashiel Butler Masters wrote:
[..]
> > 
> > As a result I did a regular tarball install of spidermonkey.
> 
> I replied to myself to clarify what I meant. Sorry for my initial
> response and that you missed my correction.
> 
> > [...]
> > Thanks much for your patience.  Where can I take a look at the updated
> > ecmascript.txt..?
> 
> http://pasky.or.cz/gitweb.cgi?p=elinks.git;a=blob;f=doc/ecmascript.txt
> 
> There isn't really much to see--just a couple of short, new paragraphs.
> 
$ apt-cache search spidermonkey

libsmjs-dev - Development files for the SpiderMonkey JS library
libsmjs1 - The Mozilla SpiderMonkey JavaScript library
spidermonkey-bin - Binaries of the SpiderMonkey interpreter
spidermonkey-dev - Migration package for the SpiderMonkey JS library
spidermonkey1 - Migration package for the SpiderMonkey JS library

.. mind you, this is debian stable (sarge).. and since the
ecmascript.txt document only mentions testing and unstable, it may
still be  necessary to do a tarball install of spidermonkey(?)

To recap,  the way I understand the new doc, what I should have done is:

$ apt-get libsmjs1 libsmjs-dev spidermonkey-bin spidermonkey-dev
$ cd ../elinks; ./configure; make; make install

.. with the result that libjs lib would have been installed in
/usr/lib/ .. this making a non-issue of my ldconfig problem, right?

.. or did I also need to apt-get spidermonkey1? 

.. or would installing the two -dev packages have pulled all other
necessary packages?

At least to me this is still not very clearly explained in the revised
version of the ecmascript.txt document.

Anyway, just my 2cents.. 

Thanks

cga


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


Re: [elinks-users] spidermonkey debs?

2006-07-05 Thread Miciah Dashiel Butler Masters
On Wed, Jul 05, 2006 at 06:48:43PM -0400, cga2000 wrote:
> On Wed, Jul 05, 2006 at 01:38:07PM EDT, Miciah Dashiel Butler Masters wrote:
> > On Wed, Jul 05, 2006 at 11:18:27AM -0400, cga2000 wrote:
> > > On Tue, Jul 04, 2006 at 05:24:18AM EDT, Miciah Dashiel Butler Masters 
> > > wrote:
> > > > Are you saying that prior to installing the Debian package, you had
> > > > built SpiderMonkey yourself and put it in /usr/local?
> > > 
> > > Not sure what you mean by "the Debian package" - I used the spidermonkey
> > > tarball (since I needed to patch the source). As to the "prior".. there
> > > never was a spidermonkey on this system before I did this install. 
> > > 
> > > I followed the ecmascript.txt instructions to the letter:
> > > 
> > > 1. apt-get of the libsmjs1 libsmjs-dev
> > > 2. download + patch + build of spidermonkey
> > > 
> > > [...]
> > 
> > If you apt-get install SpiderMonkey, you are not supposed to follow
> > the instructions to build it yourself--you only need one copy
> > of SpiderMonkey. I have now made this explicit in doc/ecmascript.txt.
> 
> My first message in this thread was precisely to verify that I should
> use the tarball as specified in ecmascript.txt rather than use the
> spidermonkey .deb.  To which you replied that I should follow the
> ecmascript.txt instructions.  Since these instructions indicated that I
> needed to patch the source, I assumed that you meant that the .deb was
> not suitable.
> 
> As a result I did a regular tarball install of spidermonkey.

I replied to myself to clarify what I meant. Sorry for my initial
response and that you missed my correction.

> [...]
> Thanks much for your patience.  Where can I take a look at the updated
> ecmascript.txt..?

http://pasky.or.cz/gitweb.cgi?p=elinks.git;a=blob;f=doc/ecmascript.txt

There isn't really much to see--just a couple of short, new paragraphs.

-- 
Miciah Masters <[EMAIL PROTECTED]> / <[EMAIL PROTECTED]>
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: Re: [elinks-users] Mouse in a terminal screen...

2006-07-05 Thread Miciah Dashiel Butler Masters
On Wed, Jul 05, 2006 at 05:56:17PM -0400, Patrice Gauvin wrote:
> What terminal are you using? --> shell (in a tty)
> ELinks doesn't have a graphical interface. --> No, I mean in Window and 
> running elinks in something like konqueror...There is no ELinks 0.6. --> 
> 0.10.6 (sorry there I forgoted to add the 10...)

Can you copy and paste the output of these five commands?

rpm -qv gpm
ps $(pidof gpm)
tty
echo $TERM
ldd $(which elinks)

-- 
Miciah Masters <[EMAIL PROTECTED]> / <[EMAIL PROTECTED]>
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] spidermonkey debs?

2006-07-05 Thread cga2000
On Wed, Jul 05, 2006 at 01:38:07PM EDT, Miciah Dashiel Butler Masters wrote:
> On Wed, Jul 05, 2006 at 11:18:27AM -0400, cga2000 wrote:
> > On Tue, Jul 04, 2006 at 05:24:18AM EDT, Miciah Dashiel Butler Masters wrote:
> > > Are you saying that prior to installing the Debian package, you had
> > > built SpiderMonkey yourself and put it in /usr/local?
> > 
> > Not sure what you mean by "the Debian package" - I used the spidermonkey
> > tarball (since I needed to patch the source). As to the "prior".. there
> > never was a spidermonkey on this system before I did this install. 
> > 
> > I followed the ecmascript.txt instructions to the letter:
> > 
> > 1. apt-get of the libsmjs1 libsmjs-dev
> > 2. download + patch + build of spidermonkey
> > 
> > [...]
> 
> If you apt-get install SpiderMonkey, you are not supposed to follow
> the instructions to build it yourself--you only need one copy
> of SpiderMonkey. I have now made this explicit in doc/ecmascript.txt.

My first message in this thread was precisely to verify that I should
use the tarball as specified in ecmascript.txt rather than use the
spidermonkey .deb.  To which you replied that I should follow the
ecmascript.txt instructions.  Since these instructions indicated that I
needed to patch the source, I assumed that you meant that the .deb was
not suitable.

As a result I did a regular tarball install of spidermonkey.
> 
> > What kind of capabilities does the "cool dynamic document manipulation"
> > provide?
> 
> For example, dynamic menus, list boxes that change their values when you
> change the values of other form controls, drag-and-drop... you can find
> many cool demos that don't work in ELinks at .

Ta.. I tend to dislike all these gimmicks but I'm beginning to take an
interest in js capabilities.  Even if you think it's rather unnecessary
nonsense, I guess it's a lot more comfortable to verify what it does
before voicing an (unpopular, no doubt..) opinion. :-)
> 
> > What I noticed is that most of the "js links" point to the launching of
> > some multimedia stuff via adhoc plugins that I really have no time for..
> > but I'll keeep an eye open for problems with the "regular stuff" and
> > report them here if any arise.
> 
> Some JS links work with ELinks's ECMAScript support, some do not.
> Indeed, fancy multimedia players are not going to work.

I've run into a few of these already and it's a lot nicer to get to an
almost empty page - where nothing happens, naturally - than getting
this popup error message to the effect that js is not enabled.

Thanks much for your patience.  Where can I take a look at the updated
ecmascript.txt..?

Thanks,

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


Re: [elinks-users] spidermonkey debs?

2006-07-05 Thread cga2000
On Wed, Jul 05, 2006 at 01:04:55PM EDT, Thomas Adam wrote:
> On Wed, Jul 05, 2006 at 06:46:49PM +0200, Laurent MONIN wrote:
> > This is done in current git tree
> > (7e6c98dadfe58a407382737b47e31fa7485a4c06). I think you mean
> > /etc/ld.so.conf instead of /etc/ldconfig.so.conf, am i wrong ?
> 
> /etc/ld.so.conf, and note that adding "/usr/local/lib" should go at the
> end of the file, if *at all*.  I never quite understood the fascination
> people have within adding directories almost ad-hoc into this file.
> It's potentially dangerous.

that, of course, was my main concern. 
> 
> Consider if you will that /etc/ld.so.cache contains a compiled list of
> directories that are searched for libraries and an ordered list of
> candidate libraries.  This is what the ldconfig(8) command does.  But of
> course, some people have more than one copy of libraries installed --
> and invariably this is bad.  

bad, I don't know.. but certainly awkward(?)

> Ideally, I would recommend setting LD_LIBARRY_PATH instead.

I think you mean LD_LIBRARY_PATH, am i wrong?

Sorry guys.. I couldn't resist this one.. :-)

where do I set LD_LIBRARY_PATH.. and when?

in this particular case where it's just a matter giving one application
access to a particular lib outside the /etc/ld.so.cache scheme (as
opposed to running two apps that require two different versions of the
same lib, for instance) is it something I should just set in my
~/.profile?  Or is it something I should set when I invoke ldconfig?

Apologies for the low-level questions but I'm not at all familiar with
linux system admnistration.

Thanks

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


Re: [elinks-users] spidermonkey debs?

2006-07-05 Thread Miciah Dashiel Butler Masters
On Wed, Jul 05, 2006 at 05:58:38PM -0400, cga2000 wrote:
> What's a "git tree?"

GIT is the revision control system that ELinks uses. It stores revisions
of the source tree. ELinks switched from CVS to GIT in September.

-- 
Miciah Masters <[EMAIL PROTECTED]> / <[EMAIL PROTECTED]>
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] spidermonkey debs?

2006-07-05 Thread cga2000
On Wed, Jul 05, 2006 at 12:46:49PM EDT, Laurent MONIN wrote:
> On Wed, 05 Jul 2006 11:18:27 -0400
> cga2000 <[EMAIL PROTECTED]> wrote:
> 
> [SNIP]
> 
> > 
> > The only problem I see with ecmascript.txt is that it does not mention
> > that on a debian (stable) system it may be necessary to manually add
> > /usr/local/lib to /etc/ldconfig.so.conf.  So maybe a reminder that the
> > list of directories where ldconfig looks for libraries might need
> > updating on some systems could help non-technical users like myself. 
> 
> This is done in current git tree (7e6c98dadfe58a407382737b47e31fa7485a4c06).
> I think you mean /etc/ld.so.conf instead of /etc/ldconfig.so.conf, am i wrong 
> ?
> 
.. I did mention the fact that I am a non-technical user..  :-)

What's a "git tree?"

Thanks

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


RE: Re: [elinks-users] Mouse in a terminal screen...

2006-07-05 Thread Patrice Gauvin


What terminal are you using? --> shell (in a tty)
ELinks doesn't have a graphical interface. --> No, I mean in Window and running elinks in something like konqueror...There is no ELinks 0.6. --> 0.10.6 (sorry there I forgoted to add the 10...)
 
 



> Date: Wed, 5 Jul 2006 20:53:23 +> From: [EMAIL PROTECTED]> To: elinks-users@linuxfromscratch.org> Subject: Re: [elinks-users] Mouse in a terminal screen...> > On Wed, Jul 05, 2006 at 02:50:45PM -0400, Patrice Gauvin wrote:> > Hi everybody !> >  > > I'm still trying to enable the mouse with elinks in a terminal screen.> > What terminal are you using?> > > The mouse cursor is working but I can't interact with the elinks interface.> > In a console mode (in graphic interface) it works pretty fine but not in a text mode tty...> > ELinks doesn't have a graphical interface.> > Are you running ELinks in a terminal emulator in the X Window System,> and if so, which terminal emulator are you using? Are you running ELinks> on the Linux console? Are you using GNU Screen or any other relevant> program (Twin, window(1)...)?> > > I use  gpm and elinks 0.11.1-1mdv2007 and I tried with older version too (0.6)> > There is no ELinks 0.6.> > > Is somebody can try and tell me if it work on other Linux version than Mandriva ?> > The mouse works for me with Debian GNU/Linux unstable on AMD64. I run> ELinks HEAD, but the mouse works fine with Debian's ELinks 0.11.1> package, too. I have Debian's GPM package version 1.19.6-21. The mouse> works for me both with XTerm and on the Linux console.> > > Is somebody can tell me what could missing ?> >  > > Tank you !> > -- > Miciah Masters <[EMAIL PROTECTED]> / <[EMAIL PROTECTED]>> ___> elinks-users mailing list> elinks-users@linuxfromscratch.org> http://linuxfromscratch.org/mailman/listinfo/elinks-usersBe one of the first to try  Windows Live Mail.
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Mouse in a terminal screen...

2006-07-05 Thread Miciah Dashiel Butler Masters
On Wed, Jul 05, 2006 at 02:50:45PM -0400, Patrice Gauvin wrote:
> Hi everybody !
>  
> I'm still trying to enable the mouse with elinks in a terminal screen.

What terminal are you using?

> The mouse cursor is working but I can't interact with the elinks interface.
> In a console mode (in graphic interface) it works pretty fine but not in a 
> text mode tty...

ELinks doesn't have a graphical interface.

Are you running ELinks in a terminal emulator in the X Window System,
and if so, which terminal emulator are you using? Are you running ELinks
on the Linux console? Are you using GNU Screen or any other relevant
program (Twin, window(1)...)?

> I use  gpm and elinks 0.11.1-1mdv2007 and I tried with older version too (0.6)

There is no ELinks 0.6.

> Is somebody can try and tell me if it work on other Linux version than 
> Mandriva ?

The mouse works for me with Debian GNU/Linux unstable on AMD64. I run
ELinks HEAD, but the mouse works fine with Debian's ELinks 0.11.1
package, too. I have Debian's GPM package version 1.19.6-21. The mouse
works for me both with XTerm and on the Linux console.

> Is somebody can tell me what could missing ?
>  
> Tank you !

-- 
Miciah Masters <[EMAIL PROTECTED]> / <[EMAIL PROTECTED]>
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


[elinks-users] Mouse in a terminal screen...

2006-07-05 Thread Patrice Gauvin


Hi everybody !
 
I'm still trying to enable the mouse with elinks in a terminal screen.
The mouse cursor is working but I can't interact with the elinks interface.
In a console mode (in graphic interface) it works pretty fine but not in a text mode tty...
 
I use  gpm and elinks 0.11.1-1mdv2007 and I tried with older version too (0.6)
 
Is somebody can try and tell me if it work on other Linux version than Mandriva ?
Is somebody can tell me what could missing ?
 
Tank you !Be one of the first to try  Windows Live Mail.
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] spidermonkey debs?

2006-07-05 Thread Miciah Dashiel Butler Masters
On Wed, Jul 05, 2006 at 11:18:27AM -0400, cga2000 wrote:
> On Tue, Jul 04, 2006 at 05:24:18AM EDT, Miciah Dashiel Butler Masters wrote:
> > Are you saying that prior to installing the Debian package, you had
> > built SpiderMonkey yourself and put it in /usr/local?
> 
> Not sure what you mean by "the Debian package" - I used the spidermonkey
> tarball (since I needed to patch the source). As to the "prior".. there
> never was a spidermonkey on this system before I did this install. 
> 
> I followed the ecmascript.txt instructions to the letter:
> 
> 1. apt-get of the libsmjs1 libsmjs-dev
> 2. download + patch + build of spidermonkey
> 
> [...]

If you apt-get install SpiderMonkey, you are not supposed to follow
the instructions to build it yourself--you only need one copy
of SpiderMonkey. I have now made this explicit in doc/ecmascript.txt.

> What kind of capabilities does the "cool dynamic document manipulation"
> provide?

For example, dynamic menus, list boxes that change their values when you
change the values of other form controls, drag-and-drop... you can find
many cool demos that don't work in ELinks at .

> What I noticed is that most of the "js links" point to the launching of
> some multimedia stuff via adhoc plugins that I really have no time for..
> but I'll keeep an eye open for problems with the "regular stuff" and
> report them here if any arise.

Some JS links work with ELinks's ECMAScript support, some do not.
Indeed, fancy multimedia players are not going to work.

-- 
Miciah Masters <[EMAIL PROTECTED]> / <[EMAIL PROTECTED]>
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] spidermonkey debs?

2006-07-05 Thread Thomas Adam
On Wed, Jul 05, 2006 at 06:46:49PM +0200, Laurent MONIN wrote:
> This is done in current git tree
> (7e6c98dadfe58a407382737b47e31fa7485a4c06). I think you mean
> /etc/ld.so.conf instead of /etc/ldconfig.so.conf, am i wrong ?

/etc/ld.so.conf, and note that adding "/usr/local/lib" should go at the
end of the file, if *at all*.  I never quite understood the fascination
people have within adding directories almost ad-hoc into this file.
It's potentially dangerous.

Consider if you will that /etc/ld.so.cache contains a compiled list of
directories that are searched for libraries and an ordered list of
candidate libraries.  This is what the ldconfig(8) command does.  But of
course, some people have more than one copy of libraries installed --
and invariably this is bad.  Ideally, I would recommend setting
LD_LIBARRY_PATH instead.

-- Thomas Adam

-- 
"If I were a witch's hat, sitting on her head like a paraffin stove, I'd
fly away and be a bat." -- Incredible String Band.
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] spidermonkey debs?

2006-07-05 Thread Laurent MONIN
On Wed, 05 Jul 2006 11:18:27 -0400
cga2000 <[EMAIL PROTECTED]> wrote:

[SNIP]

> 
> The only problem I see with ecmascript.txt is that it does not mention
> that on a debian (stable) system it may be necessary to manually add
> /usr/local/lib to /etc/ldconfig.so.conf.  So maybe a reminder that the
> list of directories where ldconfig looks for libraries might need
> updating on some systems could help non-technical users like myself. 

This is done in current git tree (7e6c98dadfe58a407382737b47e31fa7485a4c06).
I think you mean /etc/ld.so.conf instead of /etc/ldconfig.so.conf, am i wrong ?

Regards,

--

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


Re: [elinks-users] spidermonkey debs?

2006-07-05 Thread cga2000
On Tue, Jul 04, 2006 at 05:24:18AM EDT, Miciah Dashiel Butler Masters wrote:
> On Tue, Jul 04, 2006 at 04:39:53AM -0400, cga2000 wrote:
> > On Tue, Jul 04, 2006 at 01:42:29AM EDT, Miciah Dashiel Butler Masters wrote:
> > [..]
> > > 
> > > No problem.
> > > 
> > > The forgotten master session only explains one of the problems. I am
> > > still curious about how the configure script found SpiderMonkey, yet you
> > > had a binary that clearly was trying to link with a non-existent
> > > library. 
> > 
> > my *guess* is that elinks's configure script looks in all likely
> > places..  and this includes the /usr/local tree.
> > 
> > > I still don't understand how /usr/local came into this--Debian
> > > packages should not store anything relevant under there. I'd like to
> > > understand these problems so that they might be avoided by other users.
> > 
> > yes, but the libjs that elinks uses is not the standard debian lib.. 
> > 
> > I did a:
> > 
> > $ find ../spidermonkey/js -name libjs.so -print
> > 
> > .. and sure enough the lib is part of the sm tarball.. and the exact
> > same size as the one in /usr/local/lib (550,952 bytes).
> > 
> > Now, since prior to make-ing spidermonkey I set the $PREFIX to
> > /usr/local - as specified in ecmascript.text, I would assume that this
> > caused all binaries that come with sm to be eventually installed in the
> > /usr/local tree.. including the libjs lib. 
> 
> Are you saying that prior to installing the Debian package, you had
> built SpiderMonkey yourself and put it in /usr/local?

Not sure what you mean by "the Debian package" - I used the spidermonkey
tarball (since I needed to patch the source). As to the "prior".. there
never was a spidermonkey on this system before I did this install. 

I followed the ecmascript.txt instructions to the letter:

1. apt-get of the libsmjs1 libsmjs-dev
2. download + patch + build of spidermonkey

As recommended, I changed the $PREFIX in the config.mk file to
something more suitable than the default (/opt/spidermonkey, I think).
As it happens I thought /usr/local was not likely to cause any problems
with the debian packaging system so I copy/pasted the sed command
provided as an example in the document.

The only problem I see with ecmascript.txt is that it does not mention
that on a debian (stable) system it may be necessary to manually add
/usr/local/lib to /etc/ldconfig.so.conf.  So maybe a reminder that the
list of directories where ldconfig looks for libraries might need
updating on some systems could help non-technical users like myself. 
> 
> > > In any case, have fun with ECMAScript!
> > > 
> > Well.. that was pretty much what I was wondering earlier.. now it's
> > installed what good is it..?  I mean in the real world.. I would
> > imagine that it should be transparent..  Stuff that didn't work
> > before should now work.  I should have kept my prior version of
> > elinks some place..  continued using that until I ran into a "js
> > disabled" problem and switched to this version to see the
> > difference. It's really very late over here so I just can't think of
> > any site where I tried to access some gadget-y link and got denied
> > with the previous version. But as far as I can tell most pages seem
> > to use js to add some gimmicky rendering stuff that's not compatible
> > with a text mode browser anyway..  so I'm not so sure it's really
> > going to make much difference.
> 
> The support in ELinks is adequate for the occasional alert,
> ECMAScript-based redirect, some documents that use ECMAScript to
> manipulate forms or require ECMAScript to submit the forms, and some
> other small things that shouldn't require ECMAScript anyway. It is
> foremost the cool dynamic document manipulation that is not presently
> supported.  There have been a few success stories, and if you have a
> particular site that doesn't work, you can report it on IRC or the
> list, and it is possible that we might be able to add the necessary
> capability, if it isn't said cool dynamic document manipulation stuff.
> 
What kind of capabilities does the "cool dynamic document manipulation"
provide?

What I noticed is that most of the "js links" point to the launching of
some multimedia stuff via adhoc plugins that I really have no time for..
but I'll keeep an eye open for problems with the "regular stuff" and
report them here if any arise.

Thanks

cga

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