Your message dated Fri, 11 Nov 2011 12:07:48 +0900
with message-id <[email protected]>
and subject line Re: not suitable for use in BROWSER
has caused the Debian Bug report #568923,
regarding not suitable for use in BROWSER
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
568923: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568923
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: w3m
Version: 0.5.2-2.1
Severity: normal
Setting BROWSER=w3m is sadly asking for trouble. When some X program
(such as xfce4-terminal) tries to use sensible-browser, it will run w3m,
and despite w3m having no terminal, w3m will exit nonzero, and so
sensible-browser assumes it succeeded, and does not go on to run
x-www-browser instead.
What does w3m really do when run like this?
Well, one possibility is that since TERM is not set, it fails. Except,
oops -- w3m prints an error and then exits successfully in this kind of
case:
joey@gnu:~>TERM= w3m; echo $?
Can't find termcap entry
0
joey@gnu:~>unset TERM
joey@gnu:~>w3m http://kite/; echo $?
TERM is not set
0
It should exit nonzero in both the cases above.
However, strace shows that when run by xfce4-terminal, w3m actually
dumps the page to stdout and exits, same as if it were run in a pipe.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages w3m depends on:
ii libc6 2.10.2-5 Embedded GNU C Library: Shared lib
ii libgc1c2 1:6.8-1.2 conservative garbage collector for
ii libgpm2 1.20.4-3.3 General Purpose Mouse - shared lib
ii libncurses5 5.7+20090803-2 shared libraries for terminal hand
ii libssl0.9.8 0.9.8k-8 SSL shared libraries
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages w3m recommends:
ii ca-certificates 20090814 Common CA certificates
Versions of packages w3m suggests:
ii man-db 2.5.6-5 on-line manual pager
ii menu 2.1.43 generates programs menu for all me
pn migemo <none> (no description available)
ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap
pn w3m-el <none> (no description available)
pn w3m-img <none> (no description available)
-- debconf-show failed
--
see shy jo
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
tags 568923 - help
fixed 568923 0.5.3-1
thanks
2010-08-20 Ito Hiroyuki <[email protected]>
* [w3m-dev 04402] Re: "normal" bugs from bugs.debian.org
* terms.c (reset_exit_with_value, reset_error_exit): added
(reset_exit): use reset_exit_with_value()
(ttymode_set, ttymode_reset, set_cc, getTCstr)
(sleep_till_anykey): use reset_error_exit() instead of reset_exit()
--
Regards,
dai
GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
signature.asc
Description: Digital signature
--- End Message ---