Re: [elinks-users] Which libjs?

2006-09-18 Thread Miciah Dashiel Butler Masters
On Sat, Sep 16, 2006 at 10:01:22AM -0500, Ed Hurst wrote:
 Running CentOS 4.4 x86-64. I found a libjs RPM for my system, and it 
 installed okay (libjs-devel-1.5-3.el4.at). Then I built elinks 0.11.1 
 with it, and saw no errors. Yet on the Reuters website, I can't get the 
 JScript links to work. Any ideas?

What you need is Mozilla's SpiderMonkey Javascript engine. I think that
this libjs is the needed libjs.

Check features.log or Help - About to check whether SpiderMonkey was
enabled.

If SpiderMonkey was not found, please send the config.log file and the
output of (if I recall the RPM syntax correctly) `rpm -ql libjs-devel`.

ELinks's support for JavaScript is very limited (in particular,
DOM is unsupported), so many sites will not work even with SpiderMonkey;
however, the open-in-new-window links that I saw on reuters.com work
fine for me.

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


Re: [elinks-users] Ctrl-4 mapping -- kills elinks session?

2006-09-18 Thread cga2000
On Mon, Sep 18, 2006 at 12:40:14PM EDT, Miciah Dashiel Butler Masters wrote:
 On Sun, Sep 17, 2006 at 05:41:45PM -0400, cga2000 wrote:
  I frequently issue a Ctrl-R to reload web pages and once in a while I
  miss the R key and hit the 4 key -- just above the E and R keys
  on a US keyboard.
  
  What happens is that:
  
  1. I still see the original web page but it is overwritten by a shell
 prompt -- about 20% down the page.  As far as I can tell, in this
 instance, CTRL-4 is equivalent to some form of SIGKILL, terminating
 the ELinks process and bypassing the Do you really want to exit
 ELinks popup screen.
 
 Actually, CTRL-4 (also known as ^\) sends SIGQUIT. This is like ^C
 (SIGINT), except that it leaves a core file.

Well .. fancy that .. 

Did a CTRL-V CTRL-4 and .. right you are ..

Weird I never ran into this before ..

  2. The shell session I end up in is frozen and does not accept a refresh
 screen command (Ctrl-L).  
  
  3. If I hit Enter after hitting Ctrl-L the screen is cleared but
 hitting Enter again displays a second prompt on the same line as
 the first one .. etc. ad Nauseam Aeternam ..
  
  4. If I try to use this shell session and issue commands such as ls
 .. top .. etc. they behave normally after I hit enter but the
 commands that I type are no longer echoed back to the terminal. 
  
  5. I need to issue a blind reset command to get the terminal to work
 normally again.
  
  Has anyone seen this?
 
 I haven't seen that behaviour, but it is understandable that ELinks
 leaves the terminal in a strange state. If you press Ctrl-C, ELinks
 catches the SIGINT signal and returns the terminal to its state from
 before ELinks was started, but since ELinks doesn't catch a SIGQUIT,
 it doesn't have the chance to clean up.

Makes very good sense ..

I had never issued a CTRL-C -- either accidentally or with quitting in
mind and it does what one would expect. 

  Is there any way I could deactivate this annoying Ctrl-4 key combo? 
 
 On a POSIX system, you can disable the key with the stty(1) utility:
 
stty quit ''
 
 ELinks could catch the signal, but that would defeat the purpose of
 having the key, don't you think?

:-)

  I have checked the Keybinding manager and the screen configuration
  file but I haven't found anything.
  
  Also it only seems to affect ELinks:
  
  I checked a few other ncurses applications as well as a bare bash shell
  and when I hit Ctrl-4 nothing happened.
 
 How odd. Apparantly, everybody else thinks that it is fine to ignore the
 signal.

Fooled around a little more and it turns out mutt does the same.  

Not sure why bash doesn't, though..  I thought for a second that the
shell in my xterm bombed and that xterm automatically launched a new
one but this is apparently not the case.

I did a before and after ..

$ echo $$

.. and the pid of the shell didn't change.

  Well..  hopefully someone will have run into this and knows the whys and
  the wherefores of this peculiar phenomenon and perhaps have found a
  workaround .. 
  
  I would much appreciate any pointers in the right direction since it
  always happens under the worse circumstances and it's both a time waster
  and source of aggravation to lose a session with a dozen tabs open right
  when you're in the middle of something.
 
 See Setup - Options manager - User interface - Periodic snapshotting.

Kewl.

For the record, in my version of ELinks () it is under ..
  
Setup - Options manager - User interface - Sessions - Periodic snapshotting.
  
.. shouldn't snapshooting be more correct..?

;-)

 HTH,

As always.

Thanks much and have a great day.

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


[elinks-users] Menu

2006-09-18 Thread Richard
Is there a way to have the menu shown all the time, instead of doing esc 
key...

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


Re: [elinks-users] Menu

2006-09-18 Thread Richard
Nope not in this version.

Rich
## ELinks 0.10.4 configuration file


On Monday 18 September 2006 9:51 pm, Reid Rivenburgh wrote:
 Richard wrote:
  Is there a way to have the menu shown all the time, instead of doing esc
  key...

 I have this in my ~/.elinks/elinks.conf file:
## ui.show_menu_bar_always [0|1]
#  Always show menu bar on the screen.
set ui.show_menu_bar_always = 1

 Not sure what version that appeared in.

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


Re: [elinks-users] Menu

2006-09-18 Thread Reid Rivenburgh

Richard wrote:

Nope not in this version.

Rich
## ELinks 0.10.4 configuration file


Well, you should probably move up to 0.11.1, which is stable.  Hopefully 
0.11.x is where it was added.  (I'm using a newer cvs.)


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