LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-29-2009, 04:33 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 57
Is there a text based webbrowser for Lenny, with Javascript?


Hello,

Unfortunately ELINKS hasnt java into Lenny.
Is there a text based webbrowser for Lenny, with Javascript?

Regards
 
Old 07-29-2009, 09:40 AM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
Java or Javscript they are two different things. Elinks supports some javscript.
 
Old 07-29-2009, 12:08 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
IIRC w3m supports javascript. You need to get w3m and w3m-img (to get images too).
 
Old 07-30-2009, 06:03 AM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by XavierP View Post
IIRC w3m supports javascript. You need to get w3m and w3m-img (to get images too).
wow it is very cool browser, and it is even too into the repositories of hte stable debian lenny.

would you know how to get the images?
I get only text

here i could find the bindings:
Quote:
Key binding
After invocation, you can operate w3m by one-character commands from the keyboard.

Here's the original key-binding table. If you are using Lynx-like key bindings, see the Lynx-like key binding.
Page/Cursor motion
SPC,C-v Forward page
b,ESC v Backward page
l,C-f Cursor right
h,C-b Cursor left
j,C-n Cursor down
k,C-p Cursor up
J Roll up one line
K Roll down one line
^,C-a Go to the beginning of line
$,C-e Go to the end of line
w Go to next word
W Go to previous word
> Shift screen right
< Shift screen left
. Shift screen one column right
, Shift screen one column left
g,M-< Go to the first line
G,M-> Go to the last line
ESC g Go to specified line
Z Move to the center line
z Move to the center column
TAB Move to next hyperlink
C-u,ESC TAB Move to previous hyperlink
[ Move to the first hyperlink
] Move to the last hyperlink
Hyperlink operation
RET Follow hyperlink
a, ESC RET Save link to file
u Peek link URL
i Peek image URL
I View inline image
ESC I Save inline image to file
: Mark URL-like strings as anchors
ESC : Mark Message-ID-like strings as news anchors
c Peek current URL
= Display information about current document
C-g Show current line number
C-h View history of URL
F Render frame
M Browse current document using external browser (use 2M and 3M to invoke second and third browser)
ESC M Browse link using external browser (use 2ESC M and 3ESC M to invoke second and third browser)
File/Stream operation
U Open URL
V View new file
@ Execute shell command and load
# Execute shell command and browse
Buffer operation
B Back to the previous buffer
v View HTML source
s Select buffer
E Edit buffer source
C-l Redraw screen
R Reload buffer
S Save buffer
ESC s Save source
ESC e Edit buffer image
Buffer selection mode
k, C-p Select previous buffer
j, C-n Select next buffer
D Delect current buffer
RET Go to the selected buffer
Bookmark operation
ESC b Load bookmark
ESC a Add current to bookmark
Search
/,C-s Search forward
?,C-r Search backward
n Search next
N Search previous
C-w Toggle wrap search mode
Mark operation
C-SPC Set/unset mark
ESC p Go to previous mark
ESC n Go to next mark
" Mark by regular expression
Miscellany
! Execute shell command
H Help (load this file)
o Set option
C-k Show cookie jar
C-c Stop
C-z Suspend
q Quit (with confirmation, if you like)
Q Quit without confirmation
Line-edit mode
C-f Move cursor forward
C-b Move cursor backward
C-h Delete previous character
C-d Delete current character
C-k Kill everything after cursor
C-u Kill everything before cursor
C-a Move to the top of line
C-e Move to the bottom of line
C-p Fetch the previous string from the history list
C-n Fetch the next string from the history list
TAB,SPC Complete filename
RETURN Accept
Lynx-like key binding
If you have chosen `Lynx-like key binding' at the compile time, you can use the following key binding.
Page/Cursor motion
SPC,C-v,+ Forward page
b,ESC v,- Previous page
l Cursor right
h Cursor left
j Cursor down
k Cursor up
J Roll up one line
K Roll down one line
^ Go to the beginning of line
$ Go to the end of line
> Shift screen right
< Shift screen left
C-a Go to the first line
C-e Go to the last line
G Go to the specified line
Z Move to the center line
z Move to the center column
TAB,C-n,Down arrow Move to next hyperlink
ESC TAB,C-p,Up arrow Move to previous link
C-g Show current page position
Hyperlink operation
RET, C-f, Right arrow Follow hyperlink
d, ESC RET Save link to file
u Peek link URL
i Peek image URL
I View inline image
ESC I Save inline image to file
: Mark URL-like strings as anchors
ESC : Mark Message-ID-like strings as news anchors
c Peek current URL
= Display information about current document
C-h View history of URL
F Render frame
M Browse current document using external browser (use 2M and 3M to invoke second and third browser)
ESC M Browse link using external browser (use 2ESC M and 3ESC M to invoke second and third browser)
File/Stream operation
g,U Open URL
V View new file
@ Execute shell command and load
# Execute shell command and browse
Buffer operation
B, C-b, Left arrow Back to the previous buffer
\ View HTML source
s, C-h Select buffer
E Edit buffer source
C-l, C-w Redraw screen
R, C-r Reload buffer
S, p Save buffer
ESC s Save source
ESC e Edit buffer image
Buffer selection mode
k, C-p Select previous buffer
j, C-n Select next buffer
D Delect current buffer
RET Go to the selected buffer
Bookmark operation
v, ESC b Load bookmark
a, ESC a Add current to bookmark
Search
/, C-s Search forward
n Search next
w Toggle wrap search mode
Mark operation
C-SPC Set/unset mark
P Go to previous mark
N Go to next mark
" Mark by regular expression
Miscellany
! Execute shell command
H, ? Help (load this file)
o Set option
C-k Show cookie jar
C-c Stop
C-z Suspend
q Quit (with confirmation, if you like)
Q Quit without confirmation
Line-edit mode
C-f Move cursor forward
C-b Move cursor backward
C-h Delete previous character
C-d Delete current character
C-k Kill everything after cursor
C-u Kill everything before cursor
C-a Move to the top of line
C-e Move to the bottom of line
C-p Fetch the previous string from the history list
C-n Fetch the next string from the history list
TAB,SPC Complete filename
RETURN Accept
Mouse operation
If w3m is compiled with mouse option and you are using xterm/kterm/rxvt (in this case, you have to set the TERM environment variable to `xterm' or `kterm'.) or GPM environment, you can use mouse for the navigation.

left click Move the cursor to the place pointed by the mouse cursor. If you click the cursor and it is on an anchor, follow the anchor.
middle click Back to the previous buffer.
right click Open pop-up menu. You can choose an item by clicking it.
left drag Scroll document. The default behavior is to grab the document and drag it. You can reverse the behavior (grab the window and drag it) with the option setting panel.
 
Old 07-30-2009, 06:05 AM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 57
Hi,

back from w3m, so I tried it and it says:
Code:
Please activate Javascript
 
Old 07-30-2009, 06:21 AM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
w3m is a pager and/or text-based browser. It can handle table, cookies,authentication, and almost everything except JavaScript. From - http://sourceforge.net/projects/w3m/

Elinks -
Features
Quote:
#

Protocols and standards

# HTML3 (but will eat most HTML tag soup and also a lot of HTML4 stuff)
# Local file support
# HTTP authentication
# Proxy authentication
# JavaScript / ECMAScript [e] [c] [d]
# SSL (https) using either OpenSSL or GNU TLS [c] [d]
# Cascading Style Sheets [e] [c]
# FTP support (passive and active mode)
# Finger support [c]
# IPv6 support [c]
# Local CGI support [c]
# SMB support (requires smbclient) [c] [d]
# Persistent cookies support [c]
# Mimetypes file support for mapping file extensions to content types [c]
# Mailcap support for mapping content types to external handlers [c]
# Internationalized domain names [c] [d]
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set title bar text in Epiphany (Debian Lenny) mike11 Linux - Desktop 2 05-10-2009 09:06 PM
fonts/text look unsmooth in lenny bluefly Debian 19 04-22-2009 08:00 AM
javascript: change value of text field and submit codec Programming 3 06-06-2005 09:08 AM
Konqueror (webbrowser part) only displays text in BOLD jeroenvrp Linux - Software 0 07-24-2004 10:35 AM
Bug A Javascript that will not allowed alphabet character type into a text box Linh Programming 2 09-22-2003 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration