You are not logged in.
What's that you say? Oh, I lied. It was a fancy little hook to get you in here... guess what I found:
/me smirks
Offline
Offline
um phrakture, what terminal web browser is that?
Offline
It's w3m.
Offline
Wow, I didn't know you could do that. I'll have to try w3m again now.
Offline
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
links -g +2
Mr Green
Offline
links -g doesn't run in a terminal emulator though does it?
Offline
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
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
just rebuild links it now works in a term fine ....
Mr Green
Offline
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
just rebuild links it now works in a term fine ....
screenshot?
Offline
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
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
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
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
maybe a link to .... /usr/share/vte/termcap ? got me baffled
Mr Green
Offline
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
the arch way KIS
w3m
Can't find termcap entry rxvt
:cry:
Mr Green
Offline
It shouldn't be using termcap... i'd guess you have termcap installed for some reason.
Force it to use ncurses instead, then
Offline
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
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
have removed termcap-compat rebuilding now ... still no images .... :cry: anyone got a pkg I could grab?
Mr Green
Offline