You are not logged in.

#1 2006-12-14 09:27:32

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

terminal web browsers suck!

What's that you say?  Oh, I lied.  It was a fancy little hook to get you in here... guess what I found:

w3mimgscp6.th.png
BAM! that's xterm.

/me smirks

Offline

#2 2006-12-14 09:38:39

wizzomafizzo
Member
From: Australia
Registered: 2005-12-05
Posts: 53
Website

Re: terminal web browsers suck!

ss20061214183246in6.th.png

Am I doing it right?

Offline

#3 2006-12-14 10:32:50

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: terminal web browsers suck!

um phrakture, what terminal web browser is that?

Offline

#4 2006-12-14 10:51:31

wizzomafizzo
Member
From: Australia
Registered: 2005-12-05
Posts: 53
Website

Re: terminal web browsers suck!

It's w3m.

Offline

#5 2006-12-14 12:03:42

RevertTS
Member
Registered: 2006-02-25
Posts: 85

Re: terminal web browsers suck!

Wow, I didn't know you could do that.  I'll have to try w3m again now.

Offline

#6 2006-12-14 12:15:06

icrave
Member
Registered: 2006-04-11
Posts: 193

Re: terminal web browsers suck!

How do you get images on the browser?

My w3m browser:

2006-12-14-132016_1280x1024_scrot.png.xs.jpg

Offline

#7 2006-12-14 12:56:45

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: terminal web browsers suck!

I didn't know w3m supports graphics now.
I use elinks (no graphics).
links-g has graphics support too.


to live is to die

Offline

#8 2006-12-14 13:14:45

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: terminal web browsers suck!

links -g +2


Mr Green

Offline

#9 2006-12-14 13:49:56

wizzomafizzo
Member
From: Australia
Registered: 2005-12-05
Posts: 53
Website

Re: terminal web browsers suck!

links -g doesn't run in a terminal emulator though does it?
big_smile

Offline

#10 2006-12-14 14:36:09

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: terminal web browsers suck!

WizzoMaFizzo wrote:

links -g doesn't run in a terminal emulator though does it?

IIRC it uses svgalib, so I suppose no.


to live is to die

Offline

#11 2006-12-14 17:27:01

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: terminal web browsers suck!

Now that I've gained your interest.  This is a gimmick.  It really works, but it's not really something w3m is doing.

First off, compiling w3m with --enable-images=x11 actually does nothing to the real w3m package *except* add an "inline loading" option which will call the external image view as it finds IMG tags, instead of on "click".
A second binary, w3mimgdisplay, is built, which can be used as an external image viewer.  This viewer actually grabs the terminal you are running and draws directly onto the window using GdkPixbuf (or Imlib2).  It's rather interesting 8)

Offline

#12 2006-12-14 18:16:00

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: terminal web browsers suck!

just rebuild links it now works in a term fine ....


Mr Green

Offline

#13 2006-12-14 18:16:15

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: terminal web browsers suck!

I've compiled w3m with the --enable-images=x11 option.  Now, running w3m throws the error

Can't find termcap entry rxvt-unicode

The error also occurs in xterm, with the message changing to reflect the change in $TERM.  There is an entry for rxvt-unicode in /usr/share/terminfo/r/rxvt-unicode.  Any ideas?

Offline

#14 2006-12-14 19:23:22

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: terminal web browsers suck!

Mr Green wrote:

just rebuild links it now works in a term fine ....

screenshot?

Offline

#15 2006-12-14 19:25:29

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: terminal web browsers suck!

PeteMo wrote:

I've compiled w3m with the --enable-images=x11 option.  Now, running w3m throws the error

Can't find termcap entry rxvt-unicode

The error also occurs in xterm, with the message changing to reflect the change in $TERM.  There is an entry for rxvt-unicode in /usr/share/terminfo/r/rxvt-unicode.  Any ideas?

I have no idea.... check the configure output.

You want to make sure you have:
a) ncurses
b) gdk-pixbuf
c) imlib / imlib2

Offline

#16 2006-12-15 11:28:14

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: terminal web browsers suck!

phrakture wrote:

I have no idea.... check the configure output.

You want to make sure you have:
a) ncurses
b) gdk-pixbuf
c) imlib / imlib2

The configure output looks good and all of those are installed.  Interestingly enough, I am able to get graphics by reinstalling w3m from the repos and starting it as:

w3m -o imgdisplay=/var/abs/local/w3m/src/w3m-0.5.1/w3mimgdisplay

 
I'm not sure what's going on...a little more investigation is in order, I believe.

Offline

#17 2006-12-15 11:49:17

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: terminal web browsers suck!

yeah I get it now.... links -g opens in another window you are running in a term  8)

though I have not got images in w3m yet!

get same error when running 'Can't find termcap entry rxvt'

  ./configure -prefix=/usr --enable-ansi-color --disable-mouse --disable-w3mmail
er  --enable-image=autodetect --with-termlib="terminfo mytinfo termcap ncurses curses"

emmm


Mr Green

Offline

#18 2006-12-15 13:31:15

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: terminal web browsers suck!

running strace on it appears that it quits when it can't find /etc/termcap ... phrakture can probabl fix this i don't undertsand this..


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#19 2006-12-15 14:04:24

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: terminal web browsers suck!

maybe a link to .... /usr/share/vte/termcap ? got me baffled


Mr Green

Offline

#20 2006-12-15 16:05:52

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: terminal web browsers suck!

get rid of that --with-termlib crap.  It autodetects, and you'd want ONLY ncurses anyway.  termcap should not be used after like 1990.

I used:

./configure --prefix=/usr --enable-ansi-color --enable-image=x11

Offline

#21 2006-12-15 16:54:04

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: terminal web browsers suck!

the arch way KIS  lol 

 w3m
Can't find termcap entry rxvt

:cry:


Mr Green

Offline

#22 2006-12-15 17:11:29

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: terminal web browsers suck!

It shouldn't be using termcap... i'd guess you have termcap installed for some reason.
Force it to use ncurses instead, then

Offline

#23 2006-12-15 17:12:02

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: terminal web browsers suck!

It seems that the problem might lie elsewhere.  I rebuilt w3m using the stock PKGBUILD, and I get the same "Can't find termcap entry" error.  I am completely up to date with the current/extra/community repos.  Could the problem lie in the dependencies: openssl, gc, and ncurses?

[EDIT]
I was able to get w3m to build and run by adding --with-termlib="ncurses" but I still don't get any images unless I call w3m as: w3m -o iimgdisplay=/var/abs/local/w3m/src/w3m-0.5.1/w3mimgdisplay

Offline

#24 2006-12-15 19:27:47

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: terminal web browsers suck!

i found the problem: p -R termcap-compat

i had to find it on the arch website because the pacman search didn't find it...

you could probably just remove libtermcap.so* too though...  um yeah, i still have to use -o imgdisplay=/path/to/w3mimgdisplay though..


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#25 2006-12-15 19:29:29

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: terminal web browsers suck!

have removed termcap-compat rebuilding now ... still no images ....  :cry:  anyone got a pkg I could grab?


Mr Green

Offline

Board footer

Powered by FluxBB