Re: [elinks-users] elinks and elinks-lite ?

2011-01-06 Thread Miciah Dashiel Butler Masters
On Thu, Jan 06, 2011 at 03:28:59PM -0700, Jeff Wood wrote:

What is the difference between elinks and elinks-lite? Is there a difference 
in the source code too?
[...]

Perhaps you are referring to the elinks-lite package in Debian, Ubuntu,
or another distribution.  Is this the case? The elinks-lite package in
Debian and Ubuntu is based on the same source code but with a different
set of features enabled at build time.

-- 
Miciah Dashiel Butler Masters miciah.mast...@gmail.com
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Displaying Big5 Charset

2010-07-24 Thread Miciah Dashiel Butler Masters
On Wed, Jul 14, 2010 at 04:54:30PM -0400, Richard R. Boyechko wrote:
[...]
Thank you for clarifying that. I am not much of a programmer, so doubt
that I would be able to add the iconv functionality by myself.
However, as far as individual charsets are concerned, is there much
more to getting them to work than providing translations tables to
UTF-8, like the ones in Unicode directory in elinks sources?
[...]

It appears that Witold Filipczyk implemented support for Big5 in the
0.13 development branch today (I have not tried the change out myself).

Best regards,

-- 
Miciah Dashiel Butler Masters miciah.mast...@gmail.com
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Displaying Big5 Charset

2010-07-13 Thread Miciah Dashiel Butler Masters
On Tue, Jul 13, 2010 at 02:59:09AM -0400, Richard R. Boyechko wrote:

Dear Elinkers,

I have been using elinks for several years for an occasional web
browsing when X is not available, but over the past couple of weeks
have switched to using elinks almost exclusively for all my browsing
needs. As part of that, I am trying to view a Big5-encoded website
[1]. Try as I may, however, I cannot get it to display anything but
gibberish. Could anyone help me figure out what I'm doing wrong, or at
least unequivocally say that it's not supported and won't work?
[...]

ELinks does not support Big5 (or GB2312).  There is a report on
Bugzilla, should use iconv for charset that it doesn't know:

http://bugzilla.elinks.cz/show_bug.cgi?id=891

It would be wonderful if somebody implemented that (and it has been
discussed several times), but it would be a good amount of work.

Best regards,

-- 
Miciah Dashiel Butler Masters miciah.mast...@gmail.com
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Elinks - title resets to $TERM not what it originally was

2010-07-06 Thread Miciah Dashiel Butler Masters
On Tue, Jul 06, 2010 at 04:43:02PM +, Saurabh T wrote:

I am using gnome-terminal whose default title is Terminal. However after use 
of Elinks, the title becomes the value of $TERM rather than Terminal. Is 
this expected behaviour? If so, is there a way to make Elinks reset to the 
original title rather than $TERM? Else should I enter this as a bug? (I know 
about ui.window_title, not looking to turn off title handling completely). 
Thank you.

If ELinks is compiled with X support, then on X, it can grab the
terminal title when it starts and restore that title when it exits.
Otherwise, ELinks is hardcoded to set the value of $TERM.

ELinks needs to be compiled with the X libraries in order to be able
to grab the terminal title.  Did you have the libx11-devel package
installed when you compiled ELinks?

-- 
Miciah Dashiel Butler Masters miciah.mast...@gmail.com
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] why use elinks? and how to search archives?

2010-07-05 Thread Miciah Dashiel Butler Masters

On Mon, Jul 05, 2010 at 08:00:40PM +0200, Ludo Beckers wrote:
Thanks for the many replies to my first question.
The second one didn't have a single response though - probably I didn't
phrase it well.
2nd question was: how do I search for keywords in the archives?
with this I meant the elinks-archives; how would I look for posts with eg
customize elinks if there's no search option?
[...]

I would use Google.  For example, search site:mail-archive.com
inurl:elinks-users customize elinks:


http://www.google.com/search?q=site%3Amail-archive.com%20inurl%3Aelinks-users%20customize%20elinks

or site:gmane.org inurl:elinks customize elinks:


http://www.google.com/search?q=site%3Agmane.org%20inurl%3Aelinks%20customize%20elinks

Surprisingly, linuxfromscratch.org disallows all spidering, so you can't
search the official archives:

http://linuxfromscratch.org/robots.txt

Good thing many other archives exist.


While I'm sending this reply, I'll reply to your first question, as
well.

On Sun, Jul 04, 2010 at 10:51:48AM +0200, Ludo Beckers wrote:
as a regular Linux-user (non-developer) what are the benefits of using
elinks, other than that it is nice for older machines to have fast
webbrowsing?
[...]

I'm surprised nobody has mentioned (unless I missed it) that one can run
ELinks in programs such as GNU Screen, dtach, and tmux, allowing one to
start ELinks (possibly on a remote system), detach, close one's
terminal window, open a new terminal window (possibly from a different
remote system), and re-attach to the running ELinks process.

Another thing I really like about ELinks is that it uses its bloody
cache: I can go back and forth in session history or open a cached
document with NO delay.

The general reasons I use ELinks, most of which others have touched
upon, are

-usability (Chrome with Vimium is nice, but like every graphical
  browser, it still has crippling focus issues and other, very
  frustrating UI issues);

-speed (although I admit that graphical browsers and the hardware that
  powers them keep getting faster);

-reliability (ELinks has crashers, but it's more stable than the
  standard graphical browsers, and it NEVER loses my session after
  a crash, unlike Firefox and Chrome); and

-memory usage (ELinks can use a lot, especially if one has a large
  cache, but it's still a lot better than most browsers, and it doesn't
  leak or explode in memory consumption unexpectedly [in my experience]).

I just wish I (or other developers) had time to fix some bugs and
implement better support for standards necessary for various Web sites
I must or want to use.  Note that many Web sites provide mobile versions
that work well in ELinks (e.g. https://m.twitter.com/ and most Google
services).

Best regards,

-- 
Miciah Masters miciah.mast...@gmail.com
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] click button not submit form to backend

2009-05-14 Thread Miciah Dashiel Butler Masters
On 05/14/2009 10:51 AM, elinks-users-boun...@linuxfromscratch.org wrote:
 Hi All,
 I use elinks-0.11.1-5.1.el5. My applcation is running on tomcat5 with
 jboss-seam-2.0.2.SP1 and trinidad 1.2.5.
 After I load the page with elinks, then click then submit button on my
 page, the form does not be submited (I mean I do not see my backend
 method called).
 
 (I used IE and firefox, they work good.)
 
 Any idea?

I would be helpful to have the HTML source for the document in question.

Most likely, your application is using ECMAScript.  ELinks has support
for ECMAScript, but only very limited support.

Make sure that ECMAScript support was compiled in:  Go to Help - About
and look for 'ECMAScript' under 'Features'.

Make sure that ECMAScript support is enabled:  Go to Setup - Options
manager - ECMAScript and make sure that the Enable is set to 1.

If the Web application still does not function, it may be using features
that ELinks does not support.  ELinks uses either SEE or the Mozilla
project's SpiderMonkey engine, so it supports the full core language,
but it does not support all of the interfaces that scripts need to
manipulate the document (DOM support is very limited).  Without seeing
the HTML for the document, one can't be sure whether this is the cause
of your problem, but it is the most likely explanation.

Good luck,

-- 
Miciah Masters miciah.mast...@gmail.com / mdm0...@ecu.edu
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Rendering of google news.

2009-03-09 Thread Miciah Dashiel Butler Masters
On 03/09/2009 07:27 PM, Chris Jones wrote:
 [...]
 I need to type '126' if I want link [123], etc.
 
 Anyone knows the cause of this behavior?
 
 Is there a workaround?

Go to Setup - Options manager and disable Document - Browsing - Links
- Use tabindex.

-- 
Miciah Masters miciah.mast...@gmail.com / mdm0...@ecu.edu
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Rendering of google news.

2009-02-28 Thread Miciah Dashiel Butler Masters
On 02/28/2009 07:11 PM, Chris Jones wrote:
 On October 10, 2007 I was using ELinks to visit http://news.google.de
 [...]
 1. Are you folks seeing the same thing?

What I get looks like your second screenshot; in particular, there is
little colour and there are only 2 columns.

 2. Do you know why this is happening? 

Google News probably recently switched from a table-based layout to a
CSS-based layout.

 3. Is there a workaround?

ELinks needs much better support for the CSS box model.  Implementing
such is a difficult task at which various developers have made several
aborted attempts throughout the history of ELinks.

-- 
Miciah Masters miciah.mast...@gmail.com / mdm0...@ecu.edu
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] ELinks hogging CPU?

2009-02-19 Thread Miciah Dashiel Butler Masters
On 02/19/2009 07:52 AM, Chris Jones wrote:
 A bit of an exaggeration, but I noticed recently that on an idle system
 top had just about every process using a fraction of 1% CPU while ELinks
 with 2-3 tabs open on general purpose sites such as google news was
 using c. 5% CPU.

What version of ELinks are you using?

Try disabling clock and LEDs under the Setup - Options manager - User
Interface.  Also, you can check that you don't have a timer enabled
(User Interface - Timer options - Enable), but it shouldn't be unless
you explicitly configured it to be.

-- 
Miciah Masters miciah.mast...@gmail.com / mdm0...@ecu.edu
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


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] Re: Enter following links while searching ahead in

2006-07-21 Thread Miciah Dashiel Butler Masters
On Fri, Jul 21, 2006 at 06:17:54PM +0530, Ligesh wrote:
  Calculate the total distance the hand has to travel everyday in its journey 
 to hit that button. It will be more than a mile. :-) A small distance, but 
 summed up over a period, becomes more than a mile.  I think to be exact, it 
 should go as: Averaged over a day, the escape key is a mile away. The point 
 is that, I am a subconscious computer user, and I don't think while typing or 
 doing anything. That's the reason I can't use the numbering for navigation. I 
 am sure almost all elinks users are similarly handicapped, but since I come 
 emacs-w3m, which I personally wrote most of the features for, I would say I 
 am a bit more spoiled. But elinks is surprising me everyday. :-) 

Let's divide 1 mile into 2 inches, a generous estimate of the distance
the hand moves to press the Escape key one time. 1 mile / 2 inches is
31 680 keypresses. Even if you work at your computer all day, that is
only 86 400 seconds of typing. Are you pressing Escape more than once
every three seconds?

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


Re: [elinks-users] Cache problems?

2006-07-19 Thread Miciah Dashiel Butler Masters
On Fri, Jul 14, 2006 at 01:41:38PM -0600, Reid Rivenburgh wrote:
 On Fri, Jul 14, 2006 at 06:39:23AM +, Miciah Dashiel Butler Masters wrote:
  On Thu, Jul 13, 2006 at 03:54:28PM -0600, Reid Rivenburgh wrote:
   Hi.  I've been using elinks for awhile now; it seems like the best of the
   text browsers.  But I've noticed one problem, and I haven't seen any bug
   reports or emails relating to it.  
   
   I seem to be having cache problems.  When I visit www.dailykos.com (for
   example) and click to view an article, if I then click on www.dailykos.com
   on the article page to go to the home page again (i.e. NOT going back in
   the history), the page I get seems to be the cached version from before.
   It's very fast and doesn't seem to access the network.  The content on the
   home page changes frequently, so it's often out of date, requiring me to
   reload manually.  I've set the formatted documents number and memory cache
   size to zero to try to fix this, but it still happens.  Is it possible
   that this only happens to me for some reason?
   
   I'm currently using the latest 0.12 from 20060712, but it happened with
   0.11 and 0.10.
  
  Go to Setup - Options manager - Document - Cache - Ignore
  cache-control info from server and set that option to 0.
 
 I forgot about that option.  That's already set to 0.

When you say 'already', do you mean that you have the problem even with
the option disabled?

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


Re: [elinks-users] Cache problems?

2006-07-19 Thread Miciah Dashiel Butler Masters
On Wed, Jul 19, 2006 at 12:25:16PM -0600, Reid Rivenburgh wrote:
 On Wed, Jul 19, 2006 at 06:05:35PM +, Miciah Dashiel Butler Masters wrote:
  [...]
  
  Do the browsers with which you are familiar actually check every time
  when you view a document (presumably using the HTTP If-Modified-Since
  header) whether there is a newer copy on the server?
  
  ELinks could do that, but it would be a little complex, and far too
  slow. I can't even stand the behaviour with ignore_cache_control
  disabled, which only affects documents that explicitely signal that they
  should be reloaded from the server. Such behaviour might be acceptable
  if done in the background, but then it would be a bit confusing (you
  load the document, you start to read it, then it suddenly updates while
  you're in the middling of reading it).
 
 My main browser is Firefox; I use ELinks under special circumstances.
 Unfortunately, I'm really just a user and don't know how exactly Firefox
 knows to reload a page.  It does seem like there's some network activity,
 so it probably is checking if there's a newer copy on the server.  If
 that's the case, I'm not sure why you think it would be so slow.  I find
 Firefox to be pretty fast, so ELinks should be at least as fast if it was
 doing the same server query, no?  Overall, it seems to me like ELinks is a
 very fast browser, which should be no surprise since it's just text.  When
 loading a page, I personally would definitely trade a split-second of time
 for the proper page.  (I wouldn't want it to work as you describe, showing
 the old page and then updating it in the background.  I'd prefer
 to wait.)  Maybe this could be a setting for those that prefer speed and
 don't ever use ELinks to visit frequently-changing pages?  (Notice I'm
 avoiding the whole issue of the complexity of implementing this...!)

The split-second delay would be mildly annoying, but that is the best
case, when the server is responsive. How is the performance with slow
servers? In any case, I do not consider Firefox to be anywere near
'pretty fast'.

Doing what you describe might be feasible. It would be a little more
code for the HTTP part and a little re-engineering of the cache code,
but it doesn't sound too difficult. Whether it will actually get done
also depends on whether the developers desire such behaviour, however.

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


Re: [elinks-users] Cache problems?

2006-07-19 Thread Miciah Dashiel Butler Masters
On Wed, Jul 19, 2006 at 09:44:41PM -0400, cga2000 wrote:
 On Wed, Jul 19, 2006 at 05:31:42PM EDT, Reid Rivenburgh wrote:
  On Wed, Jul 19, 2006 at 05:10:42PM -0400, cga2000 wrote:
   I've also heard that the SpiderMonkey - the new mozilla has marked
   improvements in the area.  But slow rendering was only one of the
   issues.  I have switched to a keyboard-only text-mode 'desktop' -
   interface, I should say and I am a much happier man. 
  
  Nice.  I don't think I could get by with text-only in my main browser
  FYI, I think there's a Firefox extension that is aimed at keyboard-only
  use.  Never used it, though.
 
 I'll look it up.. Although I'm sceptical.. Microsoft did a very good job
 of making gui's navigable via the keyboard but you cannot change the
 fact that the gui designer was thinking *mouse* when he designed the
 layout.. etc.  Just and example.. in many guis I have seen you may have
 to drill down three.. four.. five..? levels of dialog/popup boxes the
 size of a postage stamp (some of them you'll even have to reach for that
 scrollbar so you can get to what you're looking for..) before you
 eventually get to the particular flag or whatever that you want to
 change.. While this is perfectly suitable with the inherent slowness of
 the mouse, it becomes rather annnoying when you use a considerably
 faster interface like the keyboard.

This is why why have keyboard accelerators.

   Drop the mouse man..! Charles Darwin is categorical.. You'll never
   grow a third arm in your lifetime.
  
  Oh it's no problem, I use my tail to control the mouse! :)
  
 :-)
 
 Not that I'm particularly happy with the keyboard either.  The
 traditional typewriter keyboard was bad enough but what IBM did to it is
 beyond words..

What did IBM do?

 Only solace I find in a keyboard-only environment is its relative
 simplicity (as compared with keyboard+mouse) .. Even a fairly large
 number of inconsistant keyboard shortcuts across applications is in my
 case a tad more efficient than switching action mode every other second.

I prefer to be able to form my environment to myself, you know, like a
human. Using GNU Screen, my Web browser, E-mail, IRC client, shells,
editors, music player, c.  are each exactly one keypress away. Each
program is customised (mostly) with comfortable (for me) keybindings.

   Oh.. and as to developers being 'whimsical' relative to enhancements, I
   think not.. That's exactly why I barged into your thread.. The list is
   really the place where you can voice an opinion.. and since this caching
   behavior was something that struck me as being fundamentally different
   from the other browser..  Not sure it's a bad thing, though..  I briefly
   mentioned it but Miciah has a good point.. when the server is
   unresponsive it's OK I guess if you explicitly ask for a reload..  Maybe
   less so when the reload is done on a transparent basis every time you
   hit the back button (eg.).
  
  I guess whims was a bad word to use.  
 
 so far they haven't objected...

How offensive, implying that we have whims! In fact, developers have
itches and occasional fancies, but none of this whim nonsense.

  I just wanted to explain that I
  understand it's open source and that the developers can do what they like.
 
 I don't think they may.. or can.
 
 Whatever they may state in their disclaimers they just cannot pull the
 plug on a piece of software that has some degree of following...  
 
 And in fact they very rarely do so..  one of the nice things about OSS
 is that when it happens someone else will step in.. if the software is
 worth the effort.. that is.. (?)

Guess how ELinks got started? See http://elinks.cz/history.html.
The impetus for ELinks was largly that it looked like Links had been
abandoned.

 As to *being able* to do what they like.. it's pretty much the same
 thing..  too much change that turns out to be unsatisfactory and the
 user community will just not take it.. someone forks the project.. etc.

ELinks was forked also because Links's developer was very strict with
regard to patches.

 .. like .. I'm a vim user/fan.. now Bram Moolenaar et al. all of a
 sudden see the light and the next version of Vim turns out to be an MS
 Word clone...  how 'bout that?

It is getting there, but at least Vim still runs on the terminal.

 I do hope someone will implement/improve CSS rendering some time soon,
 though..  Not that I spend much time on commercial web sites.. but a
 growing number are getting hard to read.

The developers hope for that too. However, most of them work, most of
them are students, and better CSS support requires DOM support and a box
model and stuff that all requires a lot of coding effort. We would all
like to get this done, but don't get your hopes too high.

 Yeah.. that's how you eventually get them to pay attention.. 
 
 .. moan consistently on the list with a bunch of other troublemakers
 until they really get sick of it..
 
 OK.. fixed in CVS - GIT, I mean.. 
 

Re: [elinks-users] Cache problems?

2006-07-14 Thread Miciah Dashiel Butler Masters
On Thu, Jul 13, 2006 at 03:54:28PM -0600, Reid Rivenburgh wrote:
 Hi.  I've been using elinks for awhile now; it seems like the best of the
 text browsers.  But I've noticed one problem, and I haven't seen any bug
 reports or emails relating to it.  
 
 I seem to be having cache problems.  When I visit www.dailykos.com (for
 example) and click to view an article, if I then click on www.dailykos.com
 on the article page to go to the home page again (i.e. NOT going back in
 the history), the page I get seems to be the cached version from before.
 It's very fast and doesn't seem to access the network.  The content on the
 home page changes frequently, so it's often out of date, requiring me to
 reload manually.  I've set the formatted documents number and memory cache
 size to zero to try to fix this, but it still happens.  Is it possible
 that this only happens to me for some reason?
 
 I'm currently using the latest 0.12 from 20060712, but it happened with
 0.11 and 0.10.

Go to Setup - Options manager - Document - Cache - Ignore
cache-control info from server and set that option to 0.

-- 
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 the terminal screen....

2006-07-12 Thread Miciah Dashiel Butler Masters
On Wed, Jul 12, 2006 at 08:24:41AM -0400, Patrice Gauvin wrote:
 Good question about the permission. but I changed the right about gpmctl 
 and nothing have change...
 [...]

Did you restart ELinks (with the -no-connect option, to be safe) after
changing the permissions?

If so, how about trying ltrace? Install the ltrace package if necessary
and run this command:

   ltrace -e Gpm_Open -o ltrace.out elinks

Send ltrace.out to the list (it should only be a couple of lines).

-- 
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-07 Thread Miciah Dashiel Butler Masters
On Fri, Jul 07, 2006 at 12:54:27AM -0400, cga2000 wrote:
 On Thu, Jul 06, 2006 at 01:36:57PM EDT, Miciah Dashiel Butler Masters wrote:
  On Wed, Jul 05, 2006 at 11:46:18PM -0400, cga2000 wrote:
   .. or am I over-simplifying / missing something?
  
  How does the current revision look?
  
 Unless I missed it.. it still does not mention debian stable.. and
 since it's the only linux system I am running at this point I can't
 really comment on the changes.

Curious.
http://pasky.or.cz/gitweb.cgi?p=elinks.git;a=blob;f=doc/ecmascript.txt
shows the revision that mentions stable when I reload it.

How about
http://pasky.or.cz/gitweb.cgi?p=elinks.git;a=blob;h=73f5ba00fec87b82ed506e07bad5279779753b43;hb=2962e29f2e15231551b9fe15a51facee210c7be0;f=doc/ecmascript.txt?

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


Re: [elinks-users] HTTP authentication error

2006-07-07 Thread Miciah Dashiel Butler Masters
On Thu, Jul 06, 2006 at 10:00:30PM -0700, Steve Holmes wrote:
 On Thu, Jul 06, 2006 at 06:03:18PM +, Miciah Dashiel Butler Masters wrote:
  You did not explicitly say that you have enabled ECMAScript support
  in ELinks. Have you? Are you using the SpiderMonkey engine? What version
  of ELinks are you using?
  
  The problem that you described is most likely due to ELinks's poor
  ECMAScript capabilities. If you were to provide the source for the
  document, we might be able to determine exactly what the document
  contains that ELinks doesn't support and possibly to fix it. Be sure
  to scrub any private information.
 
 I am using elinks 0.11.1 with spider monkey (js1.5) downloaded from the
 mozilla site just last month.  Yes, ecma support is configured in and
 the configuration process did include the javascript library in
 question.  It works with some javascript as I could get into this
 router's pages and my personal banking site.  I just run into frequent
 times when a control just doesn't respond.  Below is the HTML source of
 the router page in question.  I had the cursor on the apply button; it
 is labeled with an apply.jpg image.  When I hit the enter key, the
 letter J popped up in the lower right corner.  I think that indicates
 javascript if I'm right.  The displayed URI for that apply button is
 definitely an invokation of javascript.  I don't know javascript so
 would be unable to dig further without some guidance here:).
 [...]

Could you attach the file public.js that the HTML file references?

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


Re: [elinks-users] HTTP authentication error

2006-07-06 Thread Miciah Dashiel Butler Masters
On Thu, Jun 29, 2006 at 07:54:13PM +1200, Leith Bade wrote:
 I am having problems logging into my D-Link router's configuration page.
 
 I enter my username and password, after which elinks displays the unknown
 file type dialog.
 
 If I display the file all it says is !-CAS:0003--Unauthorized. I know it
 is the correct login as lynx and w3m can load the pages OK, but don't
 support JavaScript which is required by the router.
 [...]

The problem could be due to a bug in the ECMAScript, HTTP, TLS,
or authentication code.

To log in, do you use HTTP authentication, i.e., does it open
a dialogue box prompting you for the username and password,
or is there an authentication page?

If the latter, could you provide that page? I expect that there will be
nothing private there, but you should double-check. The former will be
more difficult to debug. Can you go to Tools - Cache and paste the URIs
and information (via the Info button) on newest entries for your router?

Another nifty tool is the HTTP TRACE request. Enable Setup - Options
manager - Protocol - HTTP - Activate HTTP TRACE debugging. This will
tell ELinks to use TRACE instead of GET or POST, which tells the router
to send back whatever ELinks sends to it.

What version of ELinks are you using? Which SSL library are you using?

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


Re: [elinks-users] HTTP authentication error

2006-07-06 Thread Miciah Dashiel Butler Masters
On Thu, Jun 29, 2006 at 07:37:56AM -0700, Steve Holmes wrote:
 [...]
 I do have other problems though, I cannot save any settings from elinks
 to my router.  I can fill the forms and all but when I go to click the
 save settings link, it just sits there and ignores me.  I run into that
 quite often with elinks and many javascript controls.  This works fine
 with windows firefox but not elinks.  Any ideas on this?

You did not explicitly say that you have enabled ECMAScript support
in ELinks. Have you? Are you using the SpiderMonkey engine? What version
of ELinks are you using?

The problem that you described is most likely due to ELinks's poor
ECMAScript capabilities. If you were to provide the source for the
document, we might be able to determine exactly what the document
contains that ELinks doesn't support and possibly to fix it. Be sure
to scrub any private information.

-- 
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] (no subject)

2006-07-06 Thread Miciah Dashiel Butler Masters
On Thu, Jul 06, 2006 at 02:51:58PM -0400, Patrice Gauvin wrote:
 Thomas : which distribution are you using ?
  
 Miciah : Output of these five commands...rpm -qv gpm -- gpm-1.20.1-11mdk 
  PID   TTY  STAT TIME  COMMAND
 ps $(pidof gpm) -- 2561?Ss   0:00  gpm -m /dev/usbmouse -t 
 ps2tty -- /dev/tty2echo $TERM -- sh: linux: command not foundldd $(which 
 elinks) -- 
 linux-gate.so.1 = (0xe000)
 libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0xb7ed9000)
 libssl.so.0.9.7 = /usr/lib/libssl.so.0.9.7 (0xb7ea7000)
 libcrypto.so.0.9.7 = /usr/lib/libcrypto.so.0.9.7 (0xb7d9d000)
 liblua.so = /usr/lib/liblua.so (0xb7d88000)
 liblualib.so = /usr/lib/liblualib.so (0xb7d77000)
 libm.so.6 = /lib/tls/libm.so.6 (0xb7d52000)
 libdl.so.2 = /lib/libdl.so.2 (0xb7d4e000)
 libgpm.so.1 = /lib/libgpm.so.1 (0xb7d47000)
 libz.so.1 = /lib/libz.so.1 (0xb7d34000)
 libbz2.so.1 = /usr/lib/libbz2.so.1 (0xb7d23000)
 libidn.so.11 = /usr/lib/libidn.so.11 (0xb7cf3000)
 libexpat.so.0 = /usr/lib/libexpat.so.0 (0xb7cd3000)
 libc.so.6 = /lib/tls/libc.so.6 (0xb7ba5000)
 /lib/ld-linux.so.2 (0xb7fab000)
  
 Tank you for trying to helping me everyone !

The output looks kind of garbled. Did you mistype the command
`echo $TERM`? That command really shouldn't fail.

Can you send the output of a couple more commands?

   ls -l /dev/gpmctl
   lsof -p $(pidof gpm)

Run the second one as root.

If you find that you don't have a /dev/gpmctl file, try this command:

   service gpm restart

Then restart ELinks.

Does that fix it?

-- 
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 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 http://script.aculo.us/.

 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] 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


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: 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 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: [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:
http://pasky.or.cz/gitweb.cgi?p=elinks.git;a=commitdiff;h=3b22a65ba94c53fad0600f5aa2cd97715c59360b

 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-04 Thread Miciah Dashiel Butler Masters
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?

  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.

-- 
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-03 Thread Miciah Dashiel Butler Masters
On Mon, Jul 03, 2006 at 05:43:01PM -0400, cga2000 wrote:
 There are some spidermonkey debs in the sarge repository.
 
 Are they of any use to elinks or should I follow the recommendations
 in ecmascript.txt and install sm from source?

Follow the instructions.

 If the latter, has anyone done this recently and could confirm that the
 ecmascript.txt guide is up-to-date?

I build ELinks on Debian with Debian's SpiderMonkey package. The
instructions are up-to-date and should work in stable, testing, or
unstable.

In testing and unstable, the necessary packages are actually named
libmozjs instead of libsmjs, but there are dummy packages with the old
names that will pull in the packages with the new names, so the
instructions in doc/ecmascript.txt still work in testing and unstable.

Please report any problems on IRC or here on the list.

Thanks,

-- 
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-03 Thread Miciah Dashiel Butler Masters
On Mon, Jul 03, 2006 at 10:32:41PM +, Miciah Dashiel Butler Masters wrote:
 On Mon, Jul 03, 2006 at 05:43:01PM -0400, cga2000 wrote:
  There are some spidermonkey debs in the sarge repository.
  
  Are they of any use to elinks or should I follow the recommendations
  in ecmascript.txt and install sm from source?
 
 Follow the instructions.
 
 [...]

Sorry, that was an unclear answer.

Follow the instructions that say to use apt-get. You don't need to do
anything but apt-get install libsmjs-dev (libsmjs1 should automatically
be pulled in with the -dev package), run ELinks's autogen.sh script
(if you downloaded ELinks using GIT), run ELinks's configure script,
and make.

-- 
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-03 Thread Miciah Dashiel Butler Masters
On Mon, Jul 03, 2006 at 07:01:14PM -0400, cga2000 wrote:
 On Mon, Jul 03, 2006 at 06:32:41PM EDT, Miciah Dashiel Butler Masters wrote:
  [..]
  Please report any problems on IRC or here on the list.
  
 The install went very smoothly - both sm and elinks.
 
 I checked what was specified in the install guide:
 
 libjs.so - libjs.so
 Ecmascript  SpiderMonkey
 
 .. looked ok to  me.
 
 When I tried to start the new version in /usr/local/bin:
 
 $ elinks
 
 .. gives me a 
 
 elinks: error while loading shared libraries: libjs.so: cannot open
 shared object file: No such file or directory
 
 I did an ldconfig just in case.. no joy.. 
 
 Then I did a 
 
 $ dpkg -l *libjs*
 
 and it tells me this:
 
 pn  libjs0  ... 
 pn  libjs0-dev   
 pn  libjsw-dev   
 pn  libjsw1.5
 pn  libjsw2  
 
 .. looks like the javascript libs are not installed..?

Try `dpkg -l lib*js*`. libjs0 is an entirely different ECMAScript
engine, one which ELinks does not support, while libjsw is some library
for joysticks. The packages that you need are libsmjs1 and libsmjs-dev
(for the current stable) or libmozjs0d and libmozjs-dev (for testing or
unstable). What release of Debian are you using?

It looks like the instructions need to be more explicit: if you can
apt-get install libsmjs-dev, none of the other instructions need be
followed.

 Should I apt-get any of these packages?

Did you run `apt-get install libsmjs-dev`?

Can you provide the output of `ldd elinks`? This will tell which
libraries ELinks was built to use.

-- 
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-03 Thread Miciah Dashiel Butler Masters
On Mon, Jul 03, 2006 at 08:42:05PM -0400, cga2000 wrote:
 On Mon, Jul 03, 2006 at 07:18:52PM EDT, Miciah Dashiel Butler Masters wrote:
  On Mon, Jul 03, 2006 at 07:01:14PM -0400, cga2000 wrote:
   On Mon, Jul 03, 2006 at 06:32:41PM EDT, Miciah Dashiel Butler Masters 
   wrote:
 
 [..]
  
  Try `dpkg -l lib*js*`. 
 
 the entire output is:
 
 ii  libijs-0.35   0.35-1
 pn  libijs-devnone
 pn  libjs0none
 pn  libjs0-devnone
 pn  libjsw-devnone
 pn  libjsw1.5 none
 pn  libjsw2   none
 pn  libkjsembed-dev   none
 pn  libkjsembed1  none
 pn  libroxen-jsredirect   none
 ii  libsmjs-dev   1.5rc6a-1 
 ii  libsmjs1  1.5rc6a-1 
 pn  libtk-objscanner-perl none
 un  libwfnetobjs-dev  none
 pn  libwfnetobjs0 none
 pn  libwfnetobjs0-dev none
 
 [...] 
  Can you provide the output of `ldd elinks`? This will tell which
  libraries ELinks was built to use.
  
 libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x4002a000)
 libjs.so = not found
 libdl.so.2 = /lib/libdl.so.2 (0x400f1000)
 libz.so.1 = /usr/lib/libz.so.1 (0x400f5000)
 libexpat.so.1 = /usr/lib/libexpat.so.1 (0x40107000)
 libc.so.6 = /lib/libc.so.6 (0x40127000)
 /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)
 
 [...]

This is rather strange. Could you supply the output of these commands?

find /usr/lib /lib /opt/spidermonkey /opt/js -name libjs\* -o -name libsmjs\*
grep SPIDERMONKEY Makefile.config

Could you also attach config.log?

A possible work-around is to find this like in configure:

   for spidermonkeylib in js smjs; do

and delete the word 'js'.

-- 
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-03 Thread Miciah Dashiel Butler Masters
On Mon, Jul 03, 2006 at 08:56:59PM -0400, cga2000 wrote:
 On Mon, Jul 03, 2006 at 07:18:52PM EDT, Miciah Dashiel Butler Masters wrote:
 
 ok.. what you said about the debian packages providing different
 support finally connected. I read the ldconfig manual.. took a quick
 look at /etc/ldconfig.so.conf and sure enough.. there was no
 /usr/local/lib..

There shouldn't be, unless you are using libraries that didn't
come with Debian. Is it possible that you have an old copy of
SpiderMonkey that you built yourself and put in /usr/local?

 So I added it.. ldconfig'd.. and elinks came up ok.
 
 Makes sense that by default debian stable only uses the trusted lib
 locations.
 
 Sorry I was unable to figure this out more promptly.
 
 Now what can I do to verify that ecma support actually works?

Check the Help - About dialogue. It should list 'ECMAScript
(SpiderMonkey)'. There are some test pages under test/ecmascript in the
ELinks source tree. Note that while the SpiderMonkey library provides a
complete language implementation, the interface by which scripts can
manipulate the document (DOM) is not supported by ELinks, which severely
hinders most document scripts.

-- 
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-03 Thread Miciah Dashiel Butler Masters
On Tue, Jul 04, 2006 at 01:09:11AM -0400, cga2000 wrote:
 On Mon, Jul 03, 2006 at 09:17:05PM EDT, Miciah Dashiel Butler Masters wrote:
 [..]
   
   Now what can I do to verify that ecma support actually works?
  
  Check the Help - About dialogue. It should list 'ECMAScript
  (SpiderMonkey)'. There are some test pages under test/ecmascript in the
  ELinks source tree. Note that while the SpiderMonkey library provides a
  complete language implementation, the interface by which scripts can
  manipulate the document (DOM) is not supported by ELinks, which severely
  hinders most document scripts.
  
 could kick myself for wasting your time over this. 
 
 I had left a gnu/screen session running on a linux console and this
 regrettably included an autostarted instance of my previous version of
 elinks.
 
 I had read somewhere about there being a master instance of elinks
 so-to-speak..  and that other instances just connect to this master
 instance.  Obviously, I do not have any understanding of the
 implications beyond whatever you do..  don't leave an instance of
 elinks running when making changes..  never mind recompiling..
 
 So I guess that's what caused all the fuss.  In any event I now have the
 Sripting feature in the About dialogue and I'm not getting any more of
 these JavaScript is not enabled messages.
 
 Pity I can't remember any of the (few) instances where I ran into a
 problem when js was not enabled..
 
 Thanks much for all the help and all apologies for the confusion.

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. 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.

In any case, have fun with ECMAScript!

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


Re: [elinks-users] Local CGI Questions

2006-06-19 Thread Miciah Dashiel Butler Masters
On Mon, Jun 19, 2006 at 03:44:59PM -0700, Steve Holmes wrote:
 Sorry for replying to my own post but an additional test of this CGI
 script with my local apache server did show a valid QUERY_STRING so it
 is inside elinks when it is always blank.  Just an additional note.
 
 On Mon, Jun 19, 2006 at 03:08:19PM -0700, Steve Holmes wrote:
  I'm interested in developing some scripts to run locally with elinks as
  CGI.  To begin with, I'm trying a really simple perl script that does
  little more than print the local environment with names and values of
  all environment variables.  For whatever reason, the variable,
  QUERY_STRING is always  even though I pass data in the URI.
  
  Here's how I test it for now.  I just type elinks
  cgi-bin/printenv.cgi?value1value2 or other variants.  I don't have any
  html or forms or any of that yet; I just wanna be sure I can pick up the
  environments and pass get and post variables.  I have the option in
  elinks for CGI turned on and I have my bin set to ~/cgi-bin.  This
  would be a cgi-bin in my own personal directory.  Also, I'm using elinks
  version 0.11.1 and wonder if I'm doing this all wrong or if I'm doing it
  too simply or what.  I do get all the other environment variables but
  QUERY_STRING is always blank no matter what I put in after the trailing
  question mark.

ELinks is converting that argument to a URI, which process encodes the
question mark and ampersands. In fact, don't you get a file-not-found
error? Try providing a URI:

   elinks 'file:///home/me/cgi-bin/printenv.cgi?value1value2'

  Any ideas? I think elinks will be a wonderful tool for simple local apps
  where forms screens are needed.

Indeed. GITweb and info2html are nifty CGI scripts, and Witek wrote a
CGI script for FSP support before he implemented built-in support.
I'd love to know of other useful CGI scripts that work with 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] Local CGI Questions

2006-06-19 Thread Miciah Dashiel Butler Masters
On Mon, Jun 19, 2006 at 07:20:04PM -0700, Steve Holmes wrote:
 On Tue, Jun 20, 2006 at 01:41:58AM +, Miciah Dashiel Butler Masters wrote:
  ELinks is converting that argument to a URI, which process encodes the
  question mark and ampersands. In fact, don't you get a file-not-found
  error? Try providing a URI:
  
 elinks 'file:///home/me/cgi-bin/printenv.cgi?value1value2'
 
 Very interesting indeed.  I tried using the whole path (with my own name
 of course) and it worked! I got a populated QUERY_STRING and some
 debugging stuff I added at the bottom using the CGI perl module started
 working too.  I originally was using just 'cgi-bin/printenv?blabla'
 without the tick marks and I found the script ok but I had the problems
 previously noted.  I thought the cgi-path was supposed to help without
 having to spell out the entire path of the original script.  May that
 path comes in if I specify the name on a form action attribute or
 something.  Anyway, this answer from you gets me past this herdle. 
 
 Now on to some real CGI programming:).  I messed with php some before
 but the neet thing about this CGI deal is I can run some full screen
 apps without having to run the apache server on this box and I don't
 have to master curses or any of that; just some good ol' simple console
 apps with workable forms.  Gee, I could maybe even slip in some
 javascript:).  But then again, I don't know javascript yet:).
 
 Anyhow, thanks again for the reply; this may do the trick.

ELinks has to decide whether the arguments that are provided on the
command line are regular paths or whether they are URIs. The heuristic
is that if it parses as a URI, it is a URI; else, assume that it is a
path and convert it to a URI. This conversion requires that special
characters be encoded.

Filenames can contain question marks, but the user might also mean
question marks to mark query strings. The compromise in ELinks is
simple, predictable, and usually intuitive (I think). We could do some
fancy guesswork, checking whether the path up to the question mark
identifies an existent file or whether the path including the question
mark and the text after identifies an existent file, which might make it
more intuitive (for some people) but would certainly diminish the
predictability and simplicity.

You can still use a relative path with a URI:

   elinks file:./public_html/cgi-bin/printenv?blabla

HTH,

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


Re: [elinks-users] color schemes

2006-06-07 Thread Miciah Dashiel Butler Masters
If I may butt in...

On Tue, Jun 06, 2006 at 08:33:48PM -0400, cga2000 wrote:
 On Tue, Jun 06, 2006 at 05:33:05AM EDT, Jonas Fonseca wrote:
  cga2000 [EMAIL PROTECTED] wrote Mon, Jun 05, 2006:
   On Mon, Jun 05, 2006 at 10:08:37AM EDT, Jonas Fonseca wrote:
  
   I'm not really convinced 256 colors was such a good idea to begin
   with.  Naturally, it's orders of magnitude better than the 8/8 or
   even 8/16 on regular terms.. But why not go the whole hog and have a
   terminal that supports what the video card is capable of? 16-bit -
   64k colors would probably have been a sensible choice and made life
   easier for everybody?
   
   Only one extra byte per cell.. 

The onus is on the developers of the terminal emulators. I'm still
waiting for 256-colour support on the Linux console.

  Someone posted a patch for something like this, using the X libraries.
  It never was polished to a degree where it was worth merging, tho'.

Which patch was that?

 Interesting. Obviously 64k or 16M different colors doesn't make much
 difference. None that I can see anyway. I asked the xterm maintainer how
 the 256-color palette was chosen but he did  not give me much detail. My
 personal concern was that the default xterm palette has very few blues.
 So if you try to harmonize the contents of an xterm with for instance
 the default background of Window Maker (I call it WindowMaker blue) you
 don't find an xterm color that is anywhere near. That's when I started
 taking an interest in these aspects.

You can use X resources to change XTerm's palette. man xterm or look
in /etc/X11/app-defaults/XTerm-color (at least on Debian systems). Mind
you, ELinks will not necessarily know that you've changed the colours,
so if you weird things (change red to blue), it might reflect strangely
in ELinks's rendering.

Ok, but if you feel like modding up your ELinks you should really try
the Spidermonkey Javascript scripting backend created by Miciah.  It's
fairly easy to get working on a debian system 
   
   Really? I was never able to get xterm, gnu/scren, and elinks.. to build
   from source - the debian way, I mean.. I was in a rush and it seemed I
   had to become a debian packaging expert before I could hope to get that
   to work.. So now I have a bunch of stuff that's all /.configure'd and
   compiled from source. Annoying.

I don't bother packaging ELinks; I just install to my home directory.
You can install to /usr/local, or maybe try something like checkinstall
(which is packaged in Debian).

  I can imagine. Only ever felt the need to compile school related stuff,
  elinks, git, (cogito), and xterm. The last one to get 256 colors, and I
  am still using the one I compiled on my previous debian system.
  
   This said, I'm very curious of the Javascript capabilities and I would
   really like to see the difference it makes. I do run into pages where I
   am stuck and I have to fire up mozilla and I suspect that not having
   Javascript enabled is part of my problem. 
  
  Sorry, that I was not clear. I am talking about using JavaScript for
  browser scripting, not document scripting. 
 
 Ok. I need to add JavaScript to the list of things I must look into.
 I'll check and see if there is an online tutorial available somewhere.

My preferred tutorial is to read code. My preferred reference is
http://www.devguru.com/Technologies/ecmascript/quickref/javascript_intro.html
--note that that is oriented towards Web programming, tho. I should
probably write some documentation for the browser scripting interfaces.

  That is, using JavaScript
  to define hooks that can handle stuff from the goto URL dialog or
  preformat the HTML source.
  
 Yes, but I do need it for page rendering as well..? Especially those
 home pages that have some sort of horizontal menu bar that ends up a
 vertical list of links in my setup?

EMCAScript in documents shouldn't usually significantly affect the
rendering of documents; normally it is more important towards
functionality. Particularly in ELinks, which doesn't support enough
ECMAScript to support the whiz-bang interfaces that really do depend on
ECMAScript to dynamically generate content, add and hide stuff, and so
on, you should see little difference in how a document is actually
displayed based on whether you have ECMAScript enabled.

The example of the mis-rendered menu bar is probably an issue
of ELinks's limited CSS support.

Having a sane default configuration is very important. The many
options is a weakness if you end up scaring new users away. If
they feel they have to know of all the little details.
   
   That's pretty much what I meant. But as a new user I only noticed
   all the options when I took a look at the elinks.conf file. But then
   I was in so much of a rush that I did  not really look at the o -
   Option Manager until recently.. 
  
  As a new user you hopefully will get a long way by only using the
  terminal option dialog (under Setup in the main 

Re: [elinks-users] elinks 0.10.5 slow at resolving hostnames on Cygwin-X

2005-09-04 Thread Miciah Dashiel Butler Masters
On Mon, Sep 05, 2005 at 04:02:49AM +0100, Andrew Preater wrote:
 * Miciah Dashiel Butler Masters [EMAIL PROTECTED] [2005-09-05 01:58]:
  On Mon, Sep 05, 2005 at 01:27:06AM +0100, Andrew Preater wrote:
  I have a problem with elinks under Cygwin-X on Win2000 SP4.  I
  didn't find anything about it on the list on in the bugzilla,
  so here I am. :)
  
  When I load a url, elinks spends a long time looking up the
  hostname of the server: it will spend four or five seconds
  with the message 'Looking up host' in the status bar.
 
  This is reported as bug 691, 'Host lookup is slow', which
  probably should have its summary improved. There is a proposed
  work-around.
 
 Hi,
 
 Yes - I tried searching the bugzilla, but it didn't come up with
 anything.  I was starting to think there *were* no bugs!

Oh, ELinks has _plenty_ of bugs.

Seriously, are you saying that the search is broken, or were you just
having difficulty because of the poorly-titled report for bug 691?

  I see the I need to update it, and I will do so promptly.
  Please try the work-around and report whether it works along
  with information on your software configuration.
 
 I've tried it, and it worked perfectly.  No hang when loading a
 url (any protocol).  I pulled elinks from cvs, and made sure I
 had revision 1.126 of dns.c.
 
 [...]

Thank you for confirming that the work-around works. Now somebody
just needs to backport it so that it will be in the next 0.10 release.

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


Re: [elinks-users] garbled error messages

2005-05-06 Thread Miciah Dashiel Butler Masters
On Fri, May 06, 2005 at 09:15:13PM +0200, Jonas Fonseca wrote:
 Jon Shapcott [EMAIL PROTECTED] wrote Fri, May 06, 2005:
  On Fri, May 06, 2005 at 08:47:47PM +0200, Jonas Fonseca wrote:
   Miciah Dashiel Butler Masters [EMAIL PROTECTED] wrote Fri, May 06, 2005:
-   info_box(errterm, MSGBOX_NO_TEXT_INTL,
+   info_box(errterm, MSGBOX_NO_TEXT_INTL, MSGBOX_FREE_TEXT,
   
   MSGBOX_NO_TEXT_INTL | 
   MSGBOX_FREE_TEXT,
   
   The two MSGBOX flags should be ORed together.

It isn't like I had time to test it or anything.


  I figured that out when the compiler complained at me. Long time since I've
  hacked C, but those idioms still stick in the mind.
 
  Copying the string and telling the dialog to free it worked for me.
 
 Great! :)
 
 Miciah, will you commit the fix? Looks like 0.10 is also affected.

I'll do it for both HEAD and 0.10.

  Although I'm still a little puzzled as to why it suddenly started. It
  was doing the same thing for both alert_lua_error and
  alert_lua_error2, even with the extra copying going on in
  alert_lua_error2.

It could be that you were observing the problem when we passed in
a string that came from Lua. Newer Lua versions might overwrite
the memory sooner, or maybe the Lua code was changed in such a way
that the string is collected sooner.

As for alert_lua_error2, note that it frees the string after passing it
to alert_lua_error. Due to ELinks' asynchronous nature, this means that
it will free the string while ELinks is displaying it.

 The Lua C code has not gotten so much attention lately. But I agree this
 is a bit stupid.
 
  Thanks a lot for the help. I should return the favour, and maybe hack some
  on the unstable version. Both core.c and hooks.c get quite a lot shorter
  when you turn the cut'n'paste into functions, a drop some of the arcane
  passing of the global lua_State in and out of dialog events.

Cut and paste? Arcana? I'd love to know more.

 Don't mind if you do. ;)
 
  Now to get those function references into the lua 5 api ...
 
 Huh?

Ditto Jonas.

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


Re: [elinks-users] Silent configuration changes in 0.10.4

2005-04-11 Thread Miciah Dashiel Butler Masters
On Sun, Apr 10, 2005 at 08:18:17PM +0200, DervishD wrote:
 Hi all :)
 
 I've upgraded from 0.10.3 to 0.10.4 and some configuration items
 in my /etc/elinks.rc now fail (bad value).
 
 The first one is 'ui.timer.duration' which previously had a value
 of '0', meaning 'disable' (at least, that's what I supposed). Now it
 cannot have that value, but options.inc has not changed :??

I believe that this is because the default value for the -verbose
command-line option was changed. This has been discussed on IRC,
but nobody has done anything about it yet.

 The second is the binding of 'paste-clipboard' in the 'main'
 keymap. Of course it fails because paste-clipboard is defined *only*
 in the 'edit' keymap, but again, that has not changed from 0.10.3 and
 before it was allowed. I can see the logic beneath allowing
 copy-clipboard in the 'main' keymap but no paste-clipboard...

What should paste-clipboard do in the main map? Should it try to load
whatever URI is in the clipboard?

 [...]

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