reopen 357393
thanks
Package: iceweasel
Version: 2.0+dfsg-1
Followup-For: Bug #357393

hi

If I start 
$ iceweasel http://tonelli.sns.it/pub/mennucc1/fuzzyocr/fuzzyocr_2.3b-1.dsc &
from the terminal; that link is of type text/pgp :
then iceweasel offers to open with 'less' ; if I accept,
immediatly the shell reports 
 [1]+  Stopped                 iceweasel 
since 'less'  wants to access the terminal;
if I foreground iceweasel, then less works on the terminal, and I can
hit 'q' to exit it, and then I can background iceweasel again.

If I start 
$ nohup iceweasel 
http://tonelli.sns.it/pub/mennucc1/fuzzyocr/fuzzyocr_2.3b-1.dsc &
then iceweasel does not hung, and the output of less goes into 'nohup.out'.

If I start iceweasel from a Gnome menu, then the output of less goes into
 ~/.xsession-errors

Anyhow, this bug is not fixed.

The correct way to fix this bug is that iceweasel/firefox must care for the 
 'needsterminal' keyword in MIME specification:
$ grep less  /etc/mailcap
text/plain; less '%s'; needsterminal
text/*; less '%s'; needsterminal

The above means that less needs a terminal, and so 
1) either iceweasel/firefox starts a terminal and less into it ;
 for example, the command
   x-terminal-emulator -e less /tmp/fuzzyocr_2.3b-1.dsc
 works fine in Debian

2) or, otherwise, iceweasel/firefox must ignore any mailcap 
  entry that has the keyword needsterminal in it

a.




-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (450, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-amd64
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)

Versions of packages iceweasel depends on:
ii  debianutils               2.17.3         Miscellaneous utilities specific t
ii  fontconfig                2.4.1-2        generic font configuration library
ii  libatk1.0-0               1.12.3-1       The ATK accessibility toolkit
ii  libc6                     2.3.6.ds1-8    GNU C Library: Shared libraries
ii  libcairo2                 1.2.4-4        The Cairo 2D vector graphics libra
ii  libfontconfig1            2.4.1-2        generic font configuration library
ii  libfreetype6              2.2.1-5        FreeType 2 font engine, shared lib
ii  libglib2.0-0              2.12.4-1       The GLib library of C routines
ii  libgtk2.0-0               2.8.20-3       The GTK+ graphical user interface 
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG 
ii  libmyspell3c2             1:3.1-17       MySpell spellchecking library
ii  libpango1.0-0             1.14.7-1       Layout and rendering of internatio
ii  libpng12-0                1.2.13-4       PNG library - runtime
ii  libstdc++6                4.1.1-19       The GNU Standard C++ Library v3
ii  libx11-6                  2:1.0.3-3      X11 client-side library
ii  libxft2                   2.1.8.2-8      FreeType-based font drawing librar
ii  libxinerama1              1:1.0.1-4.1    X11 Xinerama extension library
ii  libxp6                    1:1.0.0.xsf1-1 X Printing Extension (Xprint) clie
ii  libxrender1               1:0.9.1-3      X Rendering Extension client libra
ii  libxt6                    1:1.0.2-2      X11 toolkit intrinsics library
ii  psmisc                    22.3-1         Utilities that use the proc filesy
ii  zlib1g                    1:1.2.3-13     compression library - runtime

iceweasel recommends no packages.

-- no debconf information

-- 
Andrea Mennucc

"The EULA sounds like it was written by a team of lawyers who want to tell 
me what I can't do, and the GPL sounds like it was written by a human 
being who wants me to know what I can do."
Anonymous,    http://www.securityfocus.com/columnists/420

Attachment: signature.asc
Description: Digital signature

Reply via email to