hi When i start w3m in an xterm w3m loads ( i can only see "1.03kb loaded" on the left corner).. i cant get out of it ( i tried "q" "ctrl-C || -D , is not responding) now when i run it inside emacs i get (location www.google.com/ ext_halfdump=1 : bad option and i get a long list of options) w3m version w3m/0.4.2+cvs-1.890-m7n i do use ~x86 ( i dont think that makes any diff ) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Please provide `emerge info` and full log of "running w3m inside emacs" (did you mean you run w3m in shell-mode of emacs? or M-x w3m ?)
emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.20-gentoo-r8) ================================================================= System uname: 2.4.20-gentoo-r8 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss avi crypt cups encode foomaticdb gif imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis pdflib png quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline java tcpd pam ssl perl opengl X gtk emacs gpm apm mod_php python fbcon -kde -arts -qt -gnome -alsa video_cards_rage128" this is part of what i get when running M-x w3m-browser-url RET www.gentoo.org RET Location: http://www.gentoo.org/ ext_halfdump=1: bad option w3m version w3m/0.4.2+cvs-1.890-m17n, options lang=en,image,color,ansi-color,mouse,gpm,menu,cookie,$options: -t tab set tab width -r ignore backspace effect -l line # of preserved line (default 10000) -B load bookmark -bookmark file specify bookmark file -T type specify content-type -m internet message mode -v visual startup mode -M monochrome display -N open URL of command line on each new tab -F automatically render frame -cols width specify column width (used with -dump) -ppc count specify the number of pixels per character (4.0...32.0) -ppl count specify the number of pixels per line (4.0...64.0) -dump dump formatted page into stdout -dump_head dump response of HEAD request into stdout -dump_source dump page source into stdout -dump_both dump HEAD and source into stdout -dump_extra dump HEAD, source, and extra information into stdout -post file use POST method with file content -header string insert string as a header + goto line -num show line number -no-proxy don't use proxy -4 IPv4 only (-o dns_order=4) -6 IPv6 only (-o dns_order=6) -no-mouse don't use mouse -cookie use cookie (-no-cookie: don't use cookie)..*** this is only part this is from the messages inside emacs : (emacs) Loading dictionary-init (source)...done Loading senator... Loading ring...done Loading senator...done Loading semanticdb...done ECB 1.96 uses semantic 1.4.4, eieio 0.17 and speedbar 0.14beta4. Loading edmacro...done Loading paren...done Loading autoinsert...done Loading iswitchb...done Loading semantic-el...done For information about the GNU Project and its goals, type C-h C-p. Loading w3m...done Loading thingatpt...done Loading w3m-tabmenu...done Reading www.gentoo.org...done Rendering... Mark set Rendering...done Fontifying... Loading w3m-form...done Fontifying...done. When i run w3m www.gentoo.org inside a console ( not M-x shell) the screen is empty and like i said i only get the thing on the left bottom ...loaded 1.03kb( in the past i was able to press (q) and (y) and get out but now is just frozen ..
Thanks. It looks your installation is incomplete (it shouldn't show $options when you call w3m inside emacs). Anyhow, I slightly modified the ebuild to enable m17n by default (option helper panel hangs it m17n is disabled), so could you emerge w3m again? After you re-install it, please type "w3m" (it will show a list of w3m version and options as you provided above), "locale" and "ldd /usr/libexec/w3m/w3mimgdisplay" from console, and paste output here.
$ ldd /usr/libexec/w3m/w3mimgdisplay libm.so.6 => /lib/libm.so.6 (0x475ef000) libnsl.so.1 => /lib/libnsl.so.1 (0x47612000) libdl.so.2 => /lib/libdl.so.2 (0x47627000) libgc.so.1 => /usr/lib/libgc.so.1 (0x4762a000) libc.so.6 => /lib/libc.so.6 (0x4765c000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x475d5000) libpthread.so.0 => /lib/libpthread.so.0 (0x47793000) $ locale LANG=POSIX LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= I did remerge w3m && app-emacs/emacs-w3m , now when i start w3m www.gentoo.com in console : i get HTTP/1.0 200 OK on the left corner ( the page still does not load nor i am able to get out ctrl-d ctrl-c or (q) does not work .)
From the output of ldd, it looks it doesn't pull media-libs/gdk-pixbuf in.As I can see from your emerge info, you set USE="X" and don't setUSE="nopixbuf", so w3m must depend on media-libs/gdk-pixbuf andw3mimgdisplay should be compiled against gdk-pixbuf. I think thisis because of Bug 29849 and we can't help doing little workaround.For one thing, you might emerge gdk-pixbuf manually and then emerge w3m again (this will compile w3mimgdisplay with gdk-pixbuf).Alternatively, you can start w3m with "w3m -v" and press "o" to go to w3mhelperpanel, and turn off "Display inline images" under "Display Settings" (however, you can't see images inside xtermif you do this workaround). I think either of these will solve the problem.
thank you very much for ur help :P
first i wanna appologize for rushing into problem solved but is not .. i did all u told me , now when i start w3m -v , the page loads okay unfortunatelly pressing "o" does not work and i am unable to "q" (close the program ) $ cat /etc/make.conf | grep -v ^# USE="X gtk gtk2 emacs python ncurses mozilla gnome -alsa -kde -arts -qt gif" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" CXXFLAGS="${CFLAGS}" ACCEPT_KEYWORDS="~x86"
i forgot to say that i reinstalled gentoo and this time i am using X (gnome)..
No worries. I wondered if the problem was correctly solved ;) Actually, w3mhelperpanel has a bug when you --disable-m17n (it was disabled when you emerge w3m with USE="-cjk") and I forced it to be enabled by default in w3m-0.4.2-r2.ebuild version 1.2. Can you check the version of your ebuild by `head -n 3 /var/db/pkg/net-www/w3m-0.4.2-r2/w3m-0.4.2-r2.ebuild`? if it says your ebuild is 1.1, please emerge sync and try again. If your ebuild is 1.2, it will be another story.
elbastardo $ head -n 3 /var/db/pkg/net-www/w3m-0.4.2-r2/w3m-0.4.2-r2.ebuild # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/net-www/w3m/w3m-0.4.2-r2.ebuild,v 1.2 2003/11/04 19:56:44 usata Exp $ $ qpkg -I -v -nc w3m net-www/w3m-0.4.2-r2 app-emacs/emacs-w3m-1.3.6 app-emacs/w3mnav-0.5
Sorry I though I committed what I wrote in Comment #9 but actually it was in my local CVS tree... (And I confirmed that pressing "o" hangs with your USE flags) Please run `emerge sync` and remerge w3m again (I tested pressing "o" doesn't hang with it).
hehheeh , this time it worked :P thank u for ur help