[elinks-users] ELinks can't find openssl

2008-11-22 Thread Chris Jones
I'm trying to compile ELinks 0.11.5 and when I run:

$ ./configure --with-256-colors

I end up with neither GNUtls nor OpenSSL enabled:

$ src/elinks --version  # output wrapped at col. 72

ELinks 0.11.5 (built on Nov 22 2008 08:38:55)

Features: Standard, IPv6, gzip, Periodic Saving, Timer, Cascading Style
Sheets, Protocol (File, FTP, HTTP, URI rewrite, User protocols), MIME
(Option system, Mailcap, Mimetypes files), LED indicators, Bookmarks,
Cookies, ECMAScript, Form History, Global History, Scripting (ECMAScript
scripting engine), Goto URL History, Search History

It looks like the gnutls on this system is too old - I did see some
messages at one point that said I needed version 1.2 or better, but as
to OpenSSL I'm not sure.

Thanks!

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


Re: [elinks-users] ELinks can't find openssl

2008-11-23 Thread Chris Jones
On Sun, Nov 23, 2008 at 03:53:00AM EST, Kalle Olavi Niemitalo wrote:
> Chris Jones <[EMAIL PROTECTED]> writes:
> 
> > I'm trying to compile ELinks 0.11.5 and when I run:
> >
> > $ ./configure --with-256-colors
> >
> > I end up with neither GNUtls nor OpenSSL enabled:
> 
> The configure script generates config.log, which may show where
> the problem is.  I have a log from ELinks 0.11.4 that says:

Sorry for the noise.

I was missing libssl-dev and the .configure script could not find the
ssl.h header file.

Thanks!

CJ

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


[elinks-users] Automatic refresh - how can I disable it?

2008-12-20 Thread Chris Jones
I love ELinks and I sincerely hope it will have full js support at some
point. 

One minor annoyance that I believe is due to my setup is that when I
switch from another GNU/screen "window" and start reading the headlines
at news.google.com .. some timer appears to expire at one point (could
be after a minute .. or two or three..) and a couple of links that I had
caught out the corner of my eye and was planning to visit are no longer
visible.

I noticed some large number being decremented every second .. I think
some place at the bottom right of the screen and I was wondering whether
this has anything to do with my problem.

What would be the .conf file option that I need to take a look at to
disable this behavior?

Thanks,

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


Re: [elinks-users] Automatic refresh - how can I disable it?

2008-12-20 Thread Chris Jones
On Sat, Dec 20, 2008 at 05:52:20PM EST, Thomas Adam wrote:

[...]

> Options Manager -> User Interface -> Timer options -> Enable

Gee.. that was quick!

Thanks!

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


Re: [elinks-users] Scroll or % indicator?

2008-12-23 Thread Chris Jones
On Tue, Dec 23, 2008 at 04:29:48PM EST, Dave Wood wrote:
> Is it possible to show how far down a page one is? Something perhaps like
> original links or maybe % like vim?
> 
> Cheers

I asked the same question not too long ago and I think it was Thomas
Adams who told me to look at the top right corner of the screen.

In my case, there was a ... "title ... (m/n)" .. different format from
what I was looking for .. so I had missed it.

Such as "Google News (1/3)" - e.g. .. so you know you're on the second
page out of three .. somewhere between 33% and 66% ..

I _think_ that this is standard behavior .. but I might be wrong and you
would have to figure out how to turn it on.

Thanks!

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


Re: [elinks-users] Scroll or % indicator?

2008-12-24 Thread Chris Jones
On Wed, Dec 24, 2008 at 12:39:30PM EST, Dave Wood wrote:
> On (19:12 23/12/08), Chris Jones  put forth the 
> proposition:
> >On Tue, Dec 23, 2008 at 04:29:48PM EST, Dave Wood wrote:
> >> Is it possible to show how far down a page one is? Something perhaps like
> >> original links or maybe % like vim?
> >> 
> >> Cheers
> >
> >I asked the same question not too long ago and I think it was Thomas
> >Adams who told me to look at the top right corner of the screen.
> >
> >In my case, there was a ... "title ... (m/n)" .. different format from
> >what I was looking for .. so I had missed it.
> >
> >Such as "Google News (1/3)" - e.g. .. so you know you're on the second
> >page out of three .. somewhere between 33% and 66% ..
> 
> Aha! :) Yes I missed that.

Cheers mate .. I'm glad I wasn't the only one to miss it!
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


[elinks-users] ELinks hogging CPU?

2009-02-19 Thread Chris Jones
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.

I haven't been able to guess at why this might be happening. Only thing
that I noticed is that if I bounce ELinks and reopen the same tabs it
will behave for a few hours and then go back to using CPU cycles for no
apparent reason.

Can't say I've lost sleep over this, just curious.

Any suggestion as to how I could figure out what ELinks is actually
doing?

Thanks,

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


Re: [elinks-users] ELinks hogging CPU?

2009-02-20 Thread Chris Jones
On Thu, Feb 19, 2009 at 08:30:30AM EST, Sven Hartrumpf wrote:
> Thu, 19 Feb 2009 13:25:43 +, thomas.adam22 wrote:
> > Attach strace to the running instance, please.

> You can do this from htop by pressing s.  Also, please check if the
> accumulated user and system time is really large. Sometimes, the
> current percentages are not accurate.

Handy!

The accumulated time is also very large - roughly ten times that of the
X server and about thirty times that of my window manager.

Here's a short excerpt of the strace:

stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
time(NULL)  = 1235122444
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
time(NULL)  = 1235122444
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
open("/home/gavron/.elinks/formhist", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No 
such file or directory)
open("/home/gavron/.elinks/formhist", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No 
such file or directory)
open("/home/gavron/.elinks/formhist", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No 
such file or directory)
time(NULL)  = 1235122444
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
time(NULL)  = 1235122444
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
time(NULL)  = 1235122444
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
open("/home/gavron/.elinks/formhist", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No 
such file or directory)
open("/home/gavron/.elinks/formhist", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No 
such file or directory)
open("/home/gavron/.elinks/formhist", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No 
such file or directory)

The same calls are repeated over and over so that should be enough to
nail it.

I'll look for doc re: the "formhist" file in the morning and why I need
one (mismatch between my elinks.conf file and my environment?)

Thanks,

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


Re: [elinks-users] ELinks hogging CPU?

2009-02-20 Thread Chris Jones
On Thu, Feb 19, 2009 at 09:25:14AM EST, Miciah Dashiel Butler Masters wrote:
> 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.  

Good catch!

Disabled the LEDs.. htop now says 0% CPU and strace is empty.

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

Had disabled not long ago.

Must have enabled stuff didn't need when first configuring ELinks just
to take a look at what it did.

Thanks,

CJ

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


Re: [elinks-users] ELinks hogging CPU?

2009-02-21 Thread Chris Jones
On Sat, Feb 21, 2009 at 06:00:11AM EST, Kalle Olavi Niemitalo wrote:
> Chris Jones  writes:
> 
> > I'll look for doc re: the "formhist" file in the morning and why I need
> > one (mismatch between my elinks.conf file and my environment?)
> 
> Commit 0df5b7fdf5f819f03f33b5eb972c4880b35904d1 in elinks-0.12
> may have fixed the excessive accesses to the formhist file.

I'm at 0.11.1 so that probably explains it.

Just curious, but what's the relation between the LED's and forms?


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


Re: [elinks-users] ELinks hogging CPU?

2009-02-21 Thread Chris Jones
On Sat, Feb 21, 2009 at 07:33:54AM EST, Kalle Olavi Niemitalo wrote:
> Chris Jones  writes:
> 
> > Just curious, but what's the relation between the LED's and forms?
> 
> Bug 973, "LED indicators wake system up every 100ms".  I guess
> that when ELinks was refreshing the display because of the LEDs,
> it also redrew the selected link or form control to its internal
> display buffer, although it then didn't send the data to the
> terminal because the text and attributes matched what already was
> there.  In ELinks 0.11.1, draw_forms() can read a value from the
> form history and set it as the default value of the form control,
> and I think that was happening ten times per second.  In
> 0.12pre1, draw_forms() no longer accesses the form history.

Makes sense.

In any event thanks to all .. my system runs about five degrees Celsius
cooler now.
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


[elinks-users] Rendering of google news.

2009-02-28 Thread Chris Jones
Two screenshots of http://news.google.de

http://www.geocities.com/fcky1000/fckz/elinks0.png - 10/28/07
http://www.geocities.com/fcky1000/fckz/elinks9.png - 02/28/09

Any way I can work around this?

Thanks,

CJ
___
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 Chris Jones
On Sat, Feb 28, 2009 at 05:29:45PM EST, Thomas Adam wrote:

> Any chance you can actually provide some information as to your
> problem?  I don't like to play "spot the difference".

Hmm.. I thought the screenshots were self-explanatory and would cut down
on the verbiage.

On October 10, 2007 I was using ELinks to visit http://news.google.de
and I happened to take a screen dump. The rendering was pretty close to
the mozilla foundation's offering's.  

I visit this particular page and a number of other news.google pages on
a daily basis and I noticed a few days ago .. at about the time of the
google webmail incident, IIRC .. that the rendering provided by ELinks
had changed completely and is now very different from the one provided
by seamonkey.

The second screenshot "elinks9.png" was taken today, February 28, 2009
to document what I am now seeing.

Since I have not changed anything in my ELinks setup or upgraded to a
more recent version of ELinks in ages, I suspect that google must have
changed something.

Questions:

1. Are you folks seeing the same thing?

2. Do you know why this is happening? 

3. Is there a workaround?

Thanks,

CJ
___
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 Chris Jones
On Sat, Feb 28, 2009 at 07:23:12PM EST, Miciah Dashiel Butler Masters wrote:
> 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.

At least it's not just "me".

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

Sad news. It looks like one web site at a time our great browser is
falling behind the times and that eventually there will be nothing left.

Wish I had the skills to do something about it.

Thanks,

CJ
___
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 Chris Jones
Quick update.

I'm sort of getting used to ELinks' rendering of the news.google.* pages
but now I found another glitch.

I use ELinks' link numbering feature, and for some unknown reason the
link numbers on all news.google.* pages are off by exactly three. 

I need to type '126' if I want link [123], etc.

Anyone knows the cause of this behavior?

Is there a workaround?

Thanks,

CJ
___
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 Chris Jones
On Mon, Mar 09, 2009 at 07:33:06PM EDT, Miciah Dashiel Butler Masters wrote:
> 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.

Did the trick.. thank.

Will read the doc and try to figure out why.. :-)
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Shift-Tab, move-link-prev redux

2009-06-25 Thread Chris Jones
On Thu, Jun 25, 2009 at 06:15:08PM EDT, Kalle Olavi Niemitalo wrote:

[..]

> Alternatively, you could try the ELinks 0.12 prereleases, where
> UTF-8 works far better.

Great news..!

Thanks,

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


[elinks-users] ELinks 0.12pre5 - Garbled display with UTF-8 I/O enabled.

2009-09-14 Thread Chris Jones
I built elinks.-0.12pre5 from the tarball at http://elinks.or.cz.

$ ./elinks -version

ELinks 0.12pre5
Built on Sep 14 2009 11:35:21

Features:
Standard, IPv6, gzip, UTF-8, Periodic Saving, Viewer (Search History,
Timer, Marks), Cascading Style Sheets, Protocol (Authentication, File,
FTP, HTTP, URI rewrite, User protocols), SSL (OpenSSL), MIME (Option
system, Mailcap, Mimetypes files), LED indicators, Bookmarks, Cookies,
ECMAScript (SpiderMonkey), Form History, Global History, Scripting
(Spidermonkey ECMAScript), Goto URL History

For this test, I ran ELinks in the following context:

xterm(235)

$ xterm -fn "-gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1" \ 
-tn "xterm-256color" -u8

The xterm is built with 256-color support enabled.

~/.elinks/elinks.conf has the following enabled for this terminal:

## terminal.xterm-256color
#  Options specific to this terminal type (according to $TERM value).

  ## terminal.xterm-256color.charset 
  set terminal.xterm-256color.charset = "utf8"
  ## terminal.xterm-256color.underline [0|1]
  set terminal.xterm-256color.underline = 1
  ## terminal.xterm-256color.transparency [0|1]
  set terminal.xterm-256color.transparency = 1
  ## terminal.xterm-256color.colors 
  set terminal.xterm-256color.colors = 3
  ## terminal.xterm-256color.block_cursor [0|1]
  set terminal.xterm-256color.block_cursor = 1
  ## terminal.xterm-256color.restrict_852 [0|1]
  set terminal.xterm-256color.restrict_852 = 0
  ## terminal.xterm-256color.utf_8_io [0|1]
  set terminal.xterm-256color.utf_8_io = 1
  ## terminal.xterm-256color.m11_hack [0|1]
  set terminal.xterm-256color.m11_hack = 1
  ## terminal.xterm-256color.type 
  set terminal.xterm-256color.type = 2

I observed the following:

1. The screen becomes garbled when scrolling - especially, but not only,
   on pages with large numbers of non-latin characters. This requires
   issuing a Ctrl-L to refresh the screen after each scrolling action.

2. There is some “tearing” - i.e. the underlying xterm’s black
   background shows through the white ELinks background: 
   
   This can affect a few square areas randomly placed on the page, or
   materialize as a black vertical bar on the right-hand side of the
   display, etc. Some of these black spots can be reset via Ctrl-L,
   others not. 
   
   Although in this particular case, the black marks are not randomly
   placed, a link that may clarify - and where they only appear after a
   Ctrl-L is issued to clear the screen - is the following:

   http://us.rd.yahoo.com/homepage/intlpage/v2c/us/text/*http://tw.yahoo.com

   Black squares in this instance would appear to materialize where
   there are some form of "end-of-line".

   An interesting (?) aspect with this particular page, is that if I
   switch to another “X” workspace and return to the xterm that’s
   running ELinks, the black spots momentarily disappear and the next
   Ctrl-L brings them back.

3. When adding GNU/screen to the picture, with other windows that have a
   black background, such as those that are running bash shells, as soon
   as the black marks appear in the ELinks window, these other windows
   become permanently garbled with white vertical lines that are some
   5-10 cells high to the right of the display. Ctrl-L has not effect on
   them.

4. After testing with 0.12pre5, I started my old 0.11.4 version and I
   observed the same behavior. I edited ~/.elinks/elinks.conf, changing
   the value of terminal.xterm-256color.charset back to 'us-ascii' and
   that took care of the problem.

Tests were mostly done courtesy of Alan Wood’s excellent web site:

   http://www.alanwood.net/unicode/

Please let me know if you need additional information or further testing
my end.

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


Re: [elinks-users] ELinks 0.12pre5 - Garbled display with UTF-8 I/O enabled.

2009-09-19 Thread Chris Jones
On Sat, Sep 19, 2009 at 05:12:08AM EDT, Kalle Olavi Niemitalo wrote:

[..]

> I tried with xterm 235 running on Debian, X11 2.4.0 from
> xquartz.macosforge.org running on Mac OS 10.5.8, and unifont
> 1:5.1.20080914-1 from Debian installed on the Mac.
> 
> printf "abcdefgh\r\xE7\x89\xB9\xE5\x88\xA5XY\n" should display two
> fullwidth CJK characters (U+7279 U+5225) followed by "XYgh".  However,
> the CJK characters get drawn as too narrow, taking up only two and a
> half character cells together, instead of four; all of the "d" and
> part of the "c" remain visible.  If I then select the line with the
> mouse, xterm redraws it in the expected way.

Recreated on my system & does not happen with rxvt-unicode, but I’m not
convinced that’s all there is to it. 

> So, there seems to be an incompatibility between xterm and this
> font, before ELinks is even started.  I don't think it'll be
> useful to look for a bug in ELinks until that has been fixed.

I’ll see if I can reach out to the xterm maintainer. Could be a known
limitation of my version of xterm.

In the meantime, I ran another test to see if I could get this to work
with a different emulator in the following context:

$ uname -a
...  2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC 2009 i686 GNU/Linux

$ dpkg -l xorg
ii xorg 1:7.3+18   X.Org X Window System

$ dpkg -l rxvt-unicode
ii  rxvt-unicode9.05-1+lenny1  .. emulator with Unicode support

[Not really watertight, but to be on the safe side, I ran my tests under
a newly-created user so as to try to keep things separate from my usual
environment - no elinks config file, X resource file.. etc.]

I did the following:

1. Started rxvt with the unicode version of the terminus font¹
2. Fired up ELinks v0.12pre5
3. Verified that ELinks had set the charset to UTF-8 Unicode
4. Checked 16 colors and UTF-8 I/O under "Terminal Options"
5. Pointed ELinks to http://www.alanwood.net/unicode/hebrew.html

Upon scrolling, I experienced the same character “remanence” in random
places as described in my previous report.

I also noted the “tearing” effect with the terminal’s black background
showing through ELinks’ white background.

As before, Ctrl-L eliminated the artifacts, except for the black spots. 

I tried rxvt + unifont with similar results.

Are you able to view this particular page without problems? 

If so, please let me know what emulator and font I should be using.

Thanks,

CJ

¹ $ rxvt-unicode -fn 
"-xos4-terminus-medium-r-normal–12-120-72-72-c-60-iso10646-1" +sb -fg white -bg 
black
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] ELinks 0.12pre5 - Garbled display with UTF-8 I/O enabled.

2009-09-19 Thread Chris Jones
On Sat, Sep 19, 2009 at 02:53:22PM EDT, Kalle Olavi Niemitalo wrote:
> Chris Jones  writes:
> 
> > 5. Pointed ELinks to http://www.alanwood.net/unicode/hebrew.html
> 
> That page uses combining characters and right-to-left text.
> ELinks 0.11 and 0.12 support neither.  ELinks 0.13.GIT has
> experimental incomplete support for combining but none for RTL.

Correct.   I see the same problem with:

http://www.alanwood.net/unicode/combining_diacritical_marks.html

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


Re: [elinks-users] ELinks 0.12pre5 - Garbled display with UTF-8 I/O enabled.

2009-10-21 Thread Chris Jones
On Sat, Sep 19, 2009 at 11:02:05AM EDT, Chris Jones wrote:
> On Sat, Sep 19, 2009 at 05:12:08AM EDT, Kalle Olavi Niemitalo wrote:

[..]
 
> > So, there seems to be an incompatibility between xterm and this
> > font, before ELinks is even started.  I don't think it'll be
> > useful to look for a bug in ELinks until that has been fixed.
> 
> I’ll see if I can reach out to the xterm maintainer. Could be a known
> limitation of my version of xterm.

Had forgotten about this:

http://groups.google.com/group/comp.os.linux.x/browse_thread/thread/dc4d1ee450b017dc

Also, for an unrelated issue, I installed lynx a couple of days ago and
I'm getting neither the "character remanence" nor the "tearing" earlier
reported.

Not sure if it's any help, but thought I'd mention it.

CJ

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


Re: [elinks-users] ELinks 0.12pre5 - Garbled display with UTF-8 I/O enabled.

2009-12-24 Thread Chris Jones
On Sat, Sep 19, 2009 at 05:12:08AM EDT, Kalle Olavi Niemitalo wrote:
> Chris Jones  writes:
> 
> > For this test, I ran ELinks in the following context:
> >
> > xterm(235)
> >
> > $ xterm -fn "-gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1" \ 
> > -tn "xterm-256color" -u8
> 
> I tried with xterm 235 running on Debian, X11 2.4.0 from
> xquartz.macosforge.org running on Mac OS 10.5.8, and unifont
> 1:5.1.20080914-1 from Debian installed on the Mac.
> 
> printf "abcdefgh\r\xE7\x89\xB9\xE5\x88\xA5XY\n"
> should display two fullwidth CJK characters (U+7279 U+5225)
> followed by "XYgh".  However, the CJK characters get drawn
> as too narrow, taking up only two and a half character cells
> together, instead of four; all of the "d" and part of the "c"
> remain visible.  If I then select the line with the mouse,
> xterm redraws it in the expected way.
> 
> So, there seems to be an incompatibility between xterm and this
> font, before ELinks is even started.  I don't think it'll be
> useful to look for a bug in ELinks until that has been fixed.

This issue has been addressed as of xterm(249):

  http://invisible-island.net/xterm/xterm.log.html#xterm_249

CJ


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


[elinks-users] ELinks 0.13 GIT - regex search disappeared?

2010-01-18 Thread Chris Jones
I don't see the familiar /Normal/Regexp/Extended regex options on the
search popup dialog.

I don't think I have changed anything in the config file, and the
Options manager under Document-> Browsing -> Searching doesn't bring up
anything relevant.

I checked the features.log and it looks like ./configure was unable to
find the TRE lib's, presumably because I'm at a release of TRE that's no
longer compatible. 

Both libtre and libtre-dev are installed: 

| $ dpkg -l | grep libtre
|
| libtre-dev  0.7.5-1 development package forlibtre4 regexp library
| libtre4 0.7.5-1 regexp matching library with approximate matching

But in any case, I thought that the TRE lib's were only relevant when
performing 'approximate' matching... (?)

Brief snapshot of my ./configure optiions:

| $ elinks -version
|
| ELinks 0.13.GIT 2648123e8f752d5d936f1c04c8e02efc27ca8264
| Built on Jan 11 2010 15:21:52
| 
| Features:
| Standard, IPv6, gzip, UTF-8, Combining characters, Periodic Saving,
| Viewer (Search History, Timer, Marks), Cascading Style Sheets, Protocol
| (Authentication, File, FTP, Gopher, HTTP, NNTP, URI rewrite, User
| protocols), SSL (OpenSSL), MIME (Option system, Mailcap, Mimetypes
| files), LED indicators, Bookmarks, Cookies, ECMAScript (SpiderMonkey),
| Form History, Global History, Scripting (Spidermonkey ECMAScript),
| Exmode, Goto URL History

Thanks,

CJ


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


Re: [elinks-users] ELinks 0.13 GIT - regex search disappeared?

2010-01-18 Thread Chris Jones
On Mon, Jan 18, 2010 at 03:59:17AM EST, Witold Filipczyk wrote:

[..]

> Recompile against libtre-0.8.0. ELinks doesn't do 'approximate'
> matching.

Thanks, I vaguely suspected something of that kind.

> Anyway, ELinks seems dead.

If that turns out to be the case, that's bad news. 

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


[elinks-users] Piping to elinks - skip popup dialog?

2010-01-22 Thread Chris Jones
It's apparently possible to invoke ELinks as the last step in a pipe and
use it as a pager.

An artificial example might be:

$ cat file | elinks

This fires up a new instance of ELinks that displays this dialog:

┌─┐
│ │
│  What would you like to do with 'stdin' type: text/plain?   │
│ │
│  Program ('%' will be replaced by the filename) │
│     │
│ │
│  [X] Block the terminal │
│ │
│  [ Open ]   [ Save ]   [ Display ]   [ Show header ]   [ Cancel ]   │
└─┘

The [ Open ] button is focused so hitting  makes Elinks display
the file's contents.

If I don't specify 'Program' or '%', and ELinks defaults to itself, so
to speak, which makes me think that I should be able to skip the popup. 

I played with the options under 'Options Manager -> MIME' and ELinks's
command-line switches, but I am still seeing this popup.

Is there any way I could have Elinks skip this dialog?

Thanks,

CJ


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


Re: [elinks-users] Piping to elinks - skip popup dialog?

2010-01-22 Thread Chris Jones
On Fri, Jan 22, 2010 at 03:17:30PM EST, Jim Pryor wrote:
> On Fri, Jan 22, 2010 at 01:12:53PM -0500, Chris Jones wrote:

> > to speak, which makes me think that I should be able to skip the
> > popup. 
> > 
> > I played with the options under 'Options Manager -> MIME' and
> > ELinks's command-line switches, but I am still seeing this popup.
> > 
> > Is there any way I could have Elinks skip this dialog?
> 
> Try piping to something like "elinks -force-html".

Thanks, but I tried that and it does not do what I want:

When I hit the [Open] button after the dialog pops up, the input is
rendered in simile-html fashion - i.e. I can navigate to http links,
email addresses, etc. 

With -force-html I only get a long line of characters with no
formatting whatsoever.

What I'm doing is using the mutt mailer's '|' aka 'pipe' command to
switch to Elinks with the current message as input. From that point on I
am in 'browser mode', and can navigate the message as if it were a web
page, and otherwise benefite from all of Elinks's rendering and
navigation features, which is considerably more effective than having
the message rendered 'elinks -dump' or harvesting the links via urlview
or urlscan.

In essence, it's as if I had converted a text file/message to html and
pointed ELinks to the resulting file.

This work quite well, except that I'm getting a little frustrated at
seeing this popup and having to hit  all the time. :-)

CJ


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


Re: [elinks-users] Piping to elinks - skip popup dialog [SOLVED]

2010-01-23 Thread Chris Jones
On Fri, Jan 22, 2010 at 03:59:20PM EST, Miciah Dashiel Butler Masters wrote:

[...]

> Try running ELinks with -eval 'set mime.default_type = "text/html"'.

On Fri, Jan 22, 2010 at 06:10:02PM EST, Jim Pryor wrote:
> 
> This should be the same as using -force-html. I'm not promising you it
> is the same, but it's supposed to be the same.

Thanks, guys.

I eventually got this to work.

Not sure what I did exactly, but I defined a file extension of "stdin"
alongside the other stuff such as "png", "txt", etc. and associated it
with text/plain and set the default MIME-type to text/plain as well and
the popup disappeared. 

Mind you, I did not run a test after each and every individual change to
my config, so may have changed something else as well.

Naturally the new setup means that if I need the popup such as when I
follow a link that points to something like a zip file or a jpeg, I
don't get the popup, which I would normally have used to 'Save' the
target - i.e.  download it as I am used to do. But I can work around
this by hitting the 'd' (for download) key (or select download on the
context menu that pops up when I hit 'L') .. so it's just a matter of
changing my habits.

Believe me, I was getting rather frustrated about this whole issue and
you definitely gave me a push in the right direction.

Have a nice weekend.

CJ
___
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-11-15 Thread Chris Jones
On Mon, Jul 05, 2010 at 03:12:25PM EDT, Miciah Dashiel Butler Masters wrote:
> On Mon, Jul 05, 2010 at 07:09:18PM +, Miciah Dashiel Butler Masters wrote:
> [...]
> >The general reasons I use ELinks, most of which others have touched
> >upon, are
> [...]
> 
> Oh, and one other pet peeve I forgot to mention: Unlike Chrome and
> Firefox, ELinks doesn't burn CPU (and thus generate heat and waste
> battery) when it's idle.

Looks like I missed out on this one.

I fully agree with the above - having had to kill idle Firefox sessions
on a number of occasions because it was using some 30% CPU _and_ causing
X to do likewise, nicely giving the fan on my laptop a nice prolonged
workout in the process. System's temperature in such circumstances is
somewhere in the vicinity of 78°C.

While I'm at it, I thought I'd mention an additional reason why I use
ELinks:

For mutt users like myself, ELinks is great for displaying email
messages because (obviously) http links are directly accessible by just
tabbing to them and hitting enter. 

Considerably more user-friendly than urlview/urlscan and in essence,
nicely emulates what you get in GUI style mail readers, but especially
on slower machines, it is considerably faster.

in $HOME/.muttrc:

  macro index   \cv |elinks\n'
  macro pager   \cv |elinks\n'

And whenever I see an http link in an email message in mutt's default
pager, I just hit CTRL-V and voilà, I'm in web browsing mode. 

cj

-- 
Lads whose job is still to do
Shall whet their knives and think of you. 
- Hugh Kingsmill
___
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-11-19 Thread Chris Jones
On Tue, Nov 16, 2010 at 10:51:40PM EST, Steve Holmes wrote:

> I tried that simple a macro in the past but it didn't work so well for
> me.  I found it necessary to write a little script that would wrap
>  tags around the body because I got some messages which had http
> links in them but were not actual text/html type messages.  Also, I
> tried this simple macro on what I thought to be html formatted
> messages but elinks kept saying something to the effect that it didn't
> know what to do with the file.  It never seemed to have the right MIME
> type or something.  Maybe I need to add something else?

[..]

Correct. 

I vaguely remember having to add entries to my $HOME/.mailcap file.. and
also that I needed to seriously look into how mailcap really works.. but
never really got round to doing so. 

I currently have the following:

  text/html;   elinks %s; nametemplate=%s.html
  text/html;   elinks -dump %s; nametemplate=%s.html; copiousoutput

How multiple definitions are handled and why have them in the first
place is unclear to me at this point.

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


[elinks-users] Following links creates new tabs.

2011-01-24 Thread Chris Jones
I'm looking at http://news.google.com and when I follow pretty much any
of the links on the main page, I see that ELinks displays the
corresponding news article in a new tab, so that after accessing half
a dozen such articles, or even the same article half a dozen times,
I end up with half a dozen ‘google news’ tabs. 

This does not appear to be the case if I use the ‘seamonkey’ web browser
instead of ELinks.

Could anybody confirm that this is not due to a mistake in my
configuratiion, which I doubt since I haven't changed anything lately
and this behavior started a few weeks ago. 

If recreatable, if there is a simple workaround to avoid this?

As an aside, there used to be an #elinks channel on freenode, but
I can't seem to be able to access it anymore. 

Is it temporarily unavailable or is it gone for good?

Thanks,

cj


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


Re: [elinks-users] Following links creates new tabs.

2011-02-07 Thread Chris Jones
On Mon, Jan 24, 2011 at 09:29:51PM EST, Chris Jones wrote:
> I'm looking at http://news.google.com and when I follow pretty much any
> of the links on the main page, I see that ELinks displays the
> corresponding news article in a new tab, so that after accessing half
> a dozen such articles, or even the same article half a dozen times,
> I end up with half a dozen ‘google news’ tabs. 
> 
> This does not appear to be the case if I use the ‘seamonkey’ web browser
> instead of ELinks.
> 
> Could anybody confirm that this is not due to a mistake in my
> configuratiion, which I doubt since I haven't changed anything lately
> and this behavior started a few weeks ago. 
> 
> If recreatable, if there is a simple workaround to avoid this?
> 
> As an aside, there used to be an #elinks channel on freenode, but
> I can't seem to be able to access it anymore. 
> 
> Is it temporarily unavailable or is it gone for good?
> 
> Thanks,
> 
> cj

Any ideas..?

Another recent annoyance is that on many web pages I first see a popup
to the effect that my browser is ‘too old’ or something.. so I have to
hit the Escape key all the time before I can do any browsing. 

Anyone seen this, and found a workaround, maybe?

Thanks,

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


Re: [elinks-users] Following links creates new tabs.

2011-02-15 Thread Chris Jones
On Mon, Jan 24, 2011 at 09:29:51PM EST, Chris Jones wrote:

> I'm looking at http://news.google.com and when I follow pretty much
> any of the links on the main page, I see that ELinks displays the
> corresponding news article in a new tab, so that after accessing half
> a dozen such articles, or even the same article half a dozen times,
> I end up with half a dozen ‘google news’ tabs. 
> 
> This does not appear to be the case if I use the ‘seamonkey’ web
> browser instead of ELinks.
> 
> Could anybody confirm that this is not due to a mistake in my
> configuratiion, which I doubt since I haven't changed anything lately
> and this behavior started a few weeks ago. 

In seamonkey, I can eliminate this behavior by checking ‘Open links
passed from other applications - The current tab/window’ under ‘Links
from other applications’. 

These configuration options live under ‘Preferences->Tabbed Browsing’.

I checked the ELinks ‘Options->User interface->Window tabs’ and could
not find an equivalent.

Does this mean that I should request an enhancement..?

If so, how do I go about doing that?

Thanks,

cj

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


Re: [elinks-users] Following links creates new tabs.

2011-02-16 Thread Chris Jones
On Tue, Feb 15, 2011 at 07:01:16PM EST, Miciah Dashiel Butler Masters wrote:
> On Tue, Feb 15, 2011 at 06:54:07PM -0500, Chris Jones wrote:
> >On Mon, Jan 24, 2011 at 09:29:51PM EST, Chris Jones wrote:

> >> I'm looking at http://news.google.com and when I follow pretty much
> >> any of the links on the main page, I see that ELinks displays the
> >> corresponding news article in a new tab, so that after accessing
> >> half a dozen such articles, or even the same article half a dozen
> >> times, I end up with half a dozen ‘google news’ tabs.
> [...]

> Check Setup -> Options manager -> Document -> Browsing -> Links ->
> Handling of target=_blank (document.browse.links.target_blank).  Is it
> set to 0?

Thanks.. it was set to ‘1’.. sorry I didn't find it.. I was looking in
the wrong place.

> On Mon, Jan 24, 2011 at 09:29:51PM EST, Chris Jones wrote:

> [...]

> >As an aside, there used to be an #elinks channel on freenode, but
> >I can't seem to be able to access it anymore.

> [...]
> 
> It still exists.  What happens when you try to access it?

Er... I ‘join’ it.. :-)

Must've been down temporarily for some reason..

Apologies for the noise and thanks a bunch for the tab solution.. was
really beginning to freak me out.

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


Re: [elinks-users] Weird characters

2011-12-15 Thread Chris Jones
On Thu, Dec 15, 2011 at 11:47:59AM EST, enathan...@pcis.com wrote:
> Good day guys,
> 
> I'm having a bit of display trouble when using Elinks from Putty:
> 
> http://i.imgur.com/omWJZ.png 
> 
> Would anyone happen to know why?
> 
> System: 
> - Ubuntu Server 10.10
> - Installing elinks from apt-get repo (no modification/customization)
> - Using Putty
> 
> The odd part is that if I use the console directly, elinks will display 
> borders as expected

Saw something similar with the ELinks version that I picked up from the
debian ‘lenny’ repos (may be the same as Ubuntu 10.10), that may have
had something to do with unicode support. The fact that you don't see
the problem in the linux console and see it in putty suggests you may
have run into the same problem.

Anyway, I downloaded the source of a more current version of ELinks and
made sure that I checked ‘VT100 frames’ in the pull down menu (Setup ->
Terminal Options) and the problem went away. 

But then again my environment is quite different, since I have my locale
set to the default UTF-8 and I am using a unicode-capable version of
xterm (uxterm or ‘xterm -u8’). 

Unless someone more knowledgeable comes up with a real solution, I would
suggest you play a bit with changing your locale, switch to a unicode
version of putty (if relevant) or a different emulator, and use the
Terminal Options dialog to specify different frames and see if you get
them to display correctly. I have a feeling that the ‘no frames’ option
that gives you ASCII characters such as ‘+-+’ instead of the frames
drawn using the prettier line-drawing characters and that should work in
all circumstances. This might provide a tolerable workaround while you
research this further.

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


Re: [elinks-users] Printing - no not the dump way

2012-05-17 Thread Chris Jones
On Thu, May 17, 2012 at 02:27:06PM EDT, Mayuresh wrote:

> elinks rendering pages with tables etc is quite pleasing to the eyes.
> 
> Wish it can be printed that way by converting to ps/pdf.
> 
> Yes, there are other ways to convert html to ps/pdf. However getting same
> effect of elinks rendering is difficult (or I don't know how to get it).
> 
> If dumped as text, the smoothness of visual rendering with elinks goes
> away.
> 
> Also tried "save formatted document" which looks nearly same as dump
> option.
> 
> Any way to print "as it appears" in elinks?

maybe the cups-pdf package.?

CJ

-- 
Focus follow mouse users will burn in hell!!!
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Printing - no not the dump way

2012-05-17 Thread Chris Jones
On Thu, May 17, 2012 at 09:52:43PM EDT, Mayuresh wrote:
> On Thu, May 17, 2012 at 03:18:49PM -0400, Chris Jones wrote:

> > > Any way to print "as it appears" in elinks?
> > 
> > maybe the cups-pdf package.?

> How would that print as it appears in elinks? Does elinks have
> interface with it?
> 
> I have tried html2ps as well as printing to pdf from firefox etc.
> Point is getting _same_ view as in elinks.
> 
> -dump comes close to it, though does not exactly match. E.g. there
> will be gaps in | symbol that draws vertical lines in text dump. When
> elinks renders it visually, there are no gaps.

Yes, it looks like ‘elinks -dump’ replaces unicode line drawing
characters by their ascii equivalents. When I browse with ELinks and I'm
looking at tables at www.w3schools.com I see nice line-drawing
characters in the U+2500 range or thereabout, but when I do an ‘elinks
-dump.. ’ of the URL, all I get is the old Ascii stuff (with dashes and
plus signs ‘++---+’ e.g. 

The dump options are under ‘Options Manager->Document->Dump Output’ but
I don't see anything that looks like it would let you change this
setting. 

But apart from that, and issues related to the page width, everything
else looks OK.

Anyway, to answer your other question there is no ‘interface’ that
I know of between ELinks and the printing system.  

What I had in mind was more prosaically something along the lines of:

| $ elinks -dump-width nnn -dump URL | lpr -P PDF 

That should give you the exact image of the ‘Elinks -dump command’ in
printable form.

Only other thing that comes to mind is that if it's just the tables
bothering you, you might be able to write a script to postprocess the
output of ‘elinks -dump’ and replace the pluses and dashes by the
better-looking line-drawing characters and add it as a filter to the
pipe above.

CJ

-- 
Have a nice day!
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Printing - no not the dump way

2012-05-18 Thread Chris Jones
On Fri, May 18, 2012 at 03:04:10AM EDT, witekfl wrote:

> The ELinks from the master branch draws nice looking frames in dumps.

Now you're telling me.. :-)

I indeed see it in the NEWS file:

* enhancement: ``elinks --dump'' uses box-drawing characters if
* supported by the charset.

I haven't tried it, but this looks promising. 

Thanks for the good news.

CJ

-- 
Hi! My name is bobby...
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Printing - no not the dump way

2012-05-18 Thread Chris Jones
On Fri, May 18, 2012 at 10:04:39AM EDT, Mayuresh wrote:
> On Fri, May 18, 2012 at 12:51:18AM -0400, Chris Jones wrote:
> > | $ elinks -dump-width nnn -dump URL | lpr -P PDF 
> 
> Will try that out. Thanks.
> 
> Not sure how it would know it should fill the gaps left between line
> drawing character though.
> 
> > Only other thing that comes to mind is that if it's just the tables
> > bothering you, you might be able to write a script to postprocess the
> > output of ?elinks -dump? and replace the pluses and dashes by the
> > better-looking line-drawing characters and add it as a filter to the
> > pipe above.
> 
> Yes. Sounds a bit challenging with + used in table corners as well as
> within table etc. (for example).

Nice little regex exercise ;-)

Other options is to check out the ouput from lynx & w3m... though
I doubt they do better than ELinks.

CJ

-- 
WHAT YOU SAY??
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Printing - no not the dump way

2012-05-19 Thread Chris Jones
On Fri, May 18, 2012 at 10:41:55PM EDT, Mayuresh wrote:
> On Fri, May 18, 2012 at 01:36:16PM -0400, Chris Jones wrote:

> > Other options is to check out the ouput from lynx & w3m... though
> > I doubt they do better than ELinks.
> 
> Checked already. I prefer elinks output.

I did a quick test as well and noticed that ELinks does a better job
with bulleted lists, and in my setup jutifies the text - which I don't
mind since I read lots of man pages, but I guess some would find this
questionable with fixed-width fonts.

Elinks also has some color options, that might be significant for
highlighting and such but I haven't tested that yet. These days it can
be difficult to find a web page that renders correctly w/o js and css.

CJ

-- 
Have a nice day!
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] elinks.conf file

2012-07-19 Thread Chris Jones
On Thu, Jul 19, 2012 at 11:10:49AM EDT, Gray, Steve, Wipro wrote:

[..]

> The reason why I have to use elinks is that I could not get the wget
> command to work with zabbix.  

Did you try ‘curl’, a stable, mature, etc. alternative to wget.

Homepage: http://curl.haxx.se

It should be packaged by your distro and is often less particular than
wget.

CJ

-- 
ALL YOUR BASE ARE BELONG TO US!
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] elinks vs. elinks-lite

2012-08-20 Thread Chris Jones
> > What is the difference between elinks and elinks-lite?

% apt-cache show elinks-lite

| Package: elinks-lite
| Priority: extra
| Section: web
| Installed-Size: 736
| Maintainer: Y Giridhar Appaji Nag 
| Architecture: i386
| Source: elinks
| Version: 0.12~pre5-2
| Provides: www-browser
| Depends: libc6 (>= 2.3), libgnutls26 (>= 2.7.14-0)
| Suggests: elinks-doc
| Conflicts: elinks
| Filename: pool/main/e/elinks/elinks-lite_0.12~pre5-2_i386.deb
| Size: 353720
| MD5sum: 34d8dc246cc244d0184ecf5299571dc0
| SHA1: 666a3f538d5947baca306489385ef9e5de4709e4
| SHA256: 0f8e991b64e0469ce83fabc51e96dd7d325dcd6f428bfccc2cf5397bca2a29b6
| Description: advanced text-mode WWW browser - lightweight version
|  ELinks is a feature-rich program for browsing the web in text mode.  It is
|  like enhanced Lynx and Links.  The most noteworthy features of ELinks are:
|  .
|   * Lots of protocols (local files, finger, HTTP(S), FTP, IPv4/6 etc.)
|   * Persistent cookies, HTTP authentication and proxy authentication
|   * Tabbed browsing, good looking menus and dialogs, and key-binding manager
|   * History browsing and typeahead searches
|   * Tables and frames rendering, and configurable color support
|   * Compressed and background (non-blocking) downloads, and download resuming
|  .
|  This lite version contains no scripting or extra features but doesn't
|  depend on other libraries either, so it is useful for small systems.
| Homepage: http://elinks.cz/
| Tag: implemented-in::c, interface::text-mode, network::client, 
protocol::{ftp,http,ipv6,ssl}, role::program, scope::application, 
use::browsing, web::browser, works-with::text, works-with-format::html, 
works-with-format::plaintext

As far as I know, this is not an ELinks issue per se.. Distribution
maintainers may create alternative packages that use less resources
and with fewer deendencies, presumably by disabling certain features
when they configure the package.

The above is from a debian "squeeze" install.

You may want to ask on your distribution's mailing list or IRC channel.

CJ

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


Re: [elinks-users] Support for unicode characters in URL

2013-06-25 Thread Chris Jones
On Tue, Jun 25, 2013 at 03:48:37AM EDT, Lars Bjørndal wrote:

> On intranet at work, there sometimes happens to be unicode (UTF-8)
> characters such as a Norwegian ø in the filename. With lynx I can
> retrieve these files, but not with elinks. Is there something I can do
> to get elinks work also with these URLs?

I did the following to create a test file:

% echo 'øø' > /tmp/file-ø

Pointed elinks to /tmp/file-ø

and was able to display the file's content successfully.

Vim tells me that the characters in the file are U+00F8.

% elinks --version
ELinks 0.12pre5

I mention the latter because I remember that maybe 2-3 years ago I did
have some trouble getting the version of Elinks that came with debian to
work with my en_UTF8 locale. I had to build my own from a more recent
tarball AFAICR..

With the current version that comes with debian stable, I don't remember
doing any kind of customization, so my guess is that whatever problem
I had with UTF-8 in the past was fixed and that this should work out of
the box with any recent version of Elinks..

CJ

-- 
HOW ARE YOU GENTLEMEN?
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Support for unicode characters in URL

2013-06-28 Thread Chris Jones
On Wed, Jun 26, 2013 at 08:44:11AM EDT, Lars Bjørndal wrote:
> Hi

> I wrote:

> > On intranet at work, there sometimes happens to be unicode (UTF-8)
> > characters such as a Norwegian ø in the filename. With lynx I can
> > retrieve these files, but not with elinks. Is there something I can
> > do to get elinks work also with these URLs?

> Let me describe the problem some more:
> 
> - I'm using text console only from a Fedora system, with charset
>   iso-8859-1. (Dont't think that that matter.)

You could switch your locale to UTF_8 and see if it makes any
difference.

> - I use Elinks 0.13.GIT with ECMAScript (SpiderMonkey) built in.

The elinks.or.cz page does not mention anything higher than 0.12pre6

> - The intranet solution is based on Microsoft SharePoint 2010.

Ouch.. there we have it.. the culprit, I mean :-)

> - Some files that I want to download, such as pdf or docx has UTF-8
>   characters in their file names, e.g. \303\270 as Will mentioned
>   (thank you). When selecting such a link, Elinks asks me if I want to
>   save the file, and I save it. The file content, however, is only
>   this line: 404 NOT FOUND

Sounds like for some reason, the Elinks's download routine is confused
and is sending out a mangled URL to the server.. suggests some problem
relative to converting between the one-byte 0xf8 latin1 and the two-byte
0xc3 0xb8 UTF-8 encodings of the "latin small letter o with stroke"..
maybe..?

One heavy-handed way of finding out if this assumption is correct and if
so, what actually gets sent out would be to use tcpdump or such to
capture/filter the actual dialog between Elinks and your server.. since
I'm not aware of a debug option in Elinks that would help here.

You could obviously do the same against lynx and see where they differ..

I ran another test with Elinks 0.12pre5 and tried to access a site whose
url is http://snl.no/Sønner_af_Norge.. then downloaded the web page via
the "Save As"..  and "Save formatted document" under Elinks' File menu..
no problem.

I switched my locale to en_ISO8859-1 and logged into a linux console
(assumming that's what you mean by text console).. no problem either.

I went as far as generating the nn_NO.ISO-8859-1 locale.. logged in
again and was still able to download. 

I also ran command-line Elinks with the "-dump" option, copy-pasting the
url and redirecting the output to a file.. and no problem either.

But then I run debian rather than fedora and both versions of Elinks may
have different patches applied.. 

> - The file content is preserved if I use Lynx to download and save the
>   file.

So maybe this is a bug that occurs in a very specific context that may
be specific to the fedora version.. Perhaps you could build an Elinks
executable in your $HOME from the 0.12pre6 tarball to clarify.

As a workaround, you could try replacing the "ø"'s in the url's with
html's Ø.. see if that helps. 

Oh, and please note that I am not an "encodings expert" or an Elinks
developer.. 

CJ

-- 
ALL YOUR BASE ARE BELONG TO US!
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Ctrl-S fails to bind

2013-12-16 Thread Chris Jones
On Mon, Dec 16, 2013 at 09:17:59PM EST, Dun Peal wrote:

> I added the following line to my ~/.elinks/elinks.conf:
> 
> bind "main" "Ctrl-S" = "save-formatted"
> 
> Unfortunately, it doesn't bind; hitting Ctrl-s repeatedly fails to
> launch the "save-formatted" dialog.
> 
> This is ELinks 0.12pre5 from the official repos of Ubuntu 13.04.

> Should I report this as a bug, or am I at fault and doing something
> wrong?

Probably ELinks never sees your CTRL-S.. the underlying terminal grabs
it and does not pass it to the application.

But then hitting CTRL-S should freeze your terminal and you'd need to
issue a CTRL-Q to unfreeze... so I'm not sure..

See "man stty".

You could try to issue a 

| % stty CTRL-V CTRL-S ''

before you launch ELinks and see if it helps.

.. or if you don't want to bother about stty, you could also hit "CTRL-V
CTRL-S" in ELinks (instead of just CTRL-S) .. and ELinks should see the
CTRL-S.

IOW, CTRL-V is akin to an escape character in this context.

CJ

-- 
Alex Perez is aliv!!!
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users


Re: [elinks-users] Ctrl-S fails to bind

2013-12-17 Thread Chris Jones
On Tue, Dec 17, 2013 at 04:53:08AM EST, Dun Peal wrote:

> Many thanks, Fabienne and Chris. The issue is completely clear and
> resolved now.

> For the record, Fabienne, you were also right about the reason why
> configuration changes weren't applied immediately. I did have another
> elinks instance running in the background.

If you plan to test other stuff could launch ELinks like so:

| $ elinks --no-connect

Should force it to read your modified elinks.conf.

CJ

-- 
AHH! The neurotic monkeys are after me!
___
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users