Re: [elinks-users] auto-submit + dump

2006-03-07 Thread witekfl
On Wed, Mar 01, 2006 at 11:59:42AM +0100, jg wrote:
 Hello,
 
 I am using a.html which contains a form and a submit button. 
 
 1/
 If I do : elinks -auto-submit 1 a.html 
 :-) ok I get the good result
 
 2/
 If I add -dump : 
 elinks -dump -auto-submit 1 a.html  toto, 
 :-(
 elinks will not go on the page I want (toto=a.html) 
 
 How can I get the result into toto.txt ?
 Any help please ?

You could use browser scripting, eg. Perl
Put somewhere in pre_format_html_hook something like this:
open ELINKS, |elinks -dump  $html.txt;
print ELINKS $html;
close ELINKS;
#exit;

Run elinks -auto-submit 1 url and ELinks will dump page for you.
This is good enough for similar cases like javascript redirects,
dumping frames, etc.

HTH,
Witek

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


Re: [elinks-users] Wrong char.

2010-09-17 Thread witekfl
Well, try 0.12 snapshot then.
Tomorrow, you can try 0.13.


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


Re: [elinks-users] Wrong char.

2010-09-18 Thread witekfl
Which problem?
I guess it is a misconfiguration at your side.
At http://rkd.republika.pl/frames.html
there is comparison of koi8-r and utf-8.
On Linux console they looks the same with koi8-r consolemap.
Which codes differ for you?
What are your terminal settings?


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


Re: [elinks-users] elinks and spidermonkey on solaris (fwd)

2011-02-08 Thread witekfl
Jesse Petre c121114 at cidermill.wccnet.edu writes:

 
 Hello,
 I am trying to build elinks with spidermonkey on solaris.  I do not have
 root access to the machine and am trying to build spidermonkey with the
 prefix $HOME.  I also changed my LD_LIBRARY_PATH variable to include the
 lib directory in my $HOME.  However, when I build elinks it cannot find
 SpiderMonkey.  Does anyone have any pointers of where to look to find out
 what is going on?

Did you try ./configure --with-spidermonkey=$HOME ?


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


Re: [elinks-users] Compile problem

2012-01-03 Thread witekfl
Lars Bjørndal lars at lamasti.net writes:

  Are you sure, you got the latest sources of ELinks?
  Recent changes were made in November 2011.
 
 Thank you for pointing this out. I'm certainly not very familiar with
 git, and, if I remember correctly, I did 'git checkout' from the elinks
 directory. Maybe this isn't what I should have done to update it.

Use
git pull
for the update.

 Anyway, now I was able to compile elinks with ECMAScript. I still have
 some odd issues:
 
 - Elinks crashes, and terminates, if activating some links in my digital bank
   account. This happens also if I turn ECMAscript off.

Did you try to compile with --disable-sm-scripting?

 
 - Using Elinks from within screen, raises problems. The terminal beeps
   at every new page load, and the terminal is confused somehow, because
   it also beeps when changing screen number. I can workaround this by
   attaching to the screen session after setting TERM=vt100, but that
   leads to other odd situations with other programs, like emacs.

What is the value of the the TERM before invoking screen (echo $TERM) and after?

You can change terminal settings in the ELinks (F9 - Setup - Terminal options 
or o (Option manager) - Terminals). Start changing with the color mode.


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


Re: [elinks-users] Compile problem

2012-01-05 Thread witekfl
The ELinks beeped on the screen terminal, because it tried to set the 
terminal 
title.
In the current git version this feature is off for the GNU screen.


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


Re: [elinks-users] Compile problem

2012-01-07 Thread witekfl
If this bug is reproducible, do:
recompile elinks with --disable-backtrace (yes, --disable, because I don't like 
it)
Make sure, ELinks is compiled with debug symbols.
make V=1 shows -g among flags in this case
After the compilation:
ulimit -c unlimited # for core dumps
cd
elinks
(click, click, segfault)
if the core or the core.$pid file appears in the home directory, run:
gdb path_to_elinks core

In gdb:
bt

Copy the results from the screen and mail it here.
Filenames, function names, variables, and line numbers are usually in 
backtraces.
Be careful, because your passwords and logins might be visible there.


___
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 witekfl
The ELinks from the master branch draws nice looking frames in dumps.
 




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


Re: [elinks-users] Cannot configure elinks with spidermonkey with no root access

2012-12-01 Thread witekfl
Droidzone dz at droidzone.in writes:

 
 
 I'm trying to compile elinks on a server on which I have non-root access.
 
 I have downloaded Spidermonkey source, compiled it with
 cd ~/source/js-1.8.5/js/src ; ./configure --prefix=/home/droidzone/myapps ;
make ; make install

If you want to compile elinks-0.12 or 0.13, set PKG_CONFIG_PATH (man
pkg-config)and LD_LIBRARY_PATH appropriately.

 Spidermonkey install is fine 
 Now I downloaded elinks 0.11.7 and tried configure
 
 ./configure --prefix=/home/droidzone/myapps
 
 However it always shows:
 
 Spidermonkey...no
 
 ECMAScript (JavaScript) . no
 Browser scripting ... no
 
 
 What is the correct procedure to build elinks with javascript support on a
machine with no root access?

For 0.11.7 you need the older version of SpiderMonkey and ./configure --help
tells what options to pass.
0.11.7 is obsolete.




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


Re: [elinks-users] Cannot configure elinks with spidermonkey with no root access

2012-12-01 Thread witekfl
Droidzone dz at droidzone.in writes:

 
 I'm attaching the relevant part of config.log in case someone can help..
 
 configure:8894: checking for SpiderMonkey (1.5 RC3a or later)

Oops.
What I said before applies to 0.13.
For 0.12 compile js-1.7.0 and install and build elinks:
./configure --with-spidermonkey=/path/to/js

If that fails, try to --includedir=/path/to/js

If that fails, try 0.13.


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


Re: [elinks-users] Cannot configure elinks with spidermonkey with no root access

2012-12-01 Thread witekfl
Droidzone dz at droidzone.in writes:

  ./configure --prefix=/home/droidzone/myapps
 Complete config.log of my last attempt: http://pastebin.com/zYt4hkZp
configure:9058: checking for SpiderMonkey (1.8.5 or later) in pkg-config 
mozjs185

Package nspr was not found in the pkg-config search path.
Perhaps you should add the directory containing `nspr.pc'

Build nspr and repeat.


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