Charles Plessy <[email protected]> writes:
>
> I just tested to open with ‘see’ a file called a.thm on Icedove 17.0.9-2, and
> there was no infinite loop. Can you still reproduce the problem on your side
> ?
One way this can happen is the way "see" is an update-alternatives for
"view".
vim-common in /usr/lib/mime/packages/vim-common adds to /etc/mailcap
text/*; view %s; edit=vi %s; compose=vi %s; needsterminal; priority=1
so "see" runs "view" which is "see" which runs "view", etc, endlessly
forking.
To suffer this you have to have "see" as the update-alternatives for
view. That can happen if you don't have any vim, nvi, etc, or (if bug
458691 is believed) then the "see" priority may have been higher in the
past.
I agree with Josh Triplett in bug 458691 that "see" should not be an
alternative to "view" -- if no other reason than it's a fork-bomb
waiting to happen! :) I think "view" should be a read-only "vi" in the
traditional unix fashion. If someone wants the mime-type adaption of
"see" then they should use "see". If you run "view" then I think it
should be to view as a text file, no matter what the filename or
content.
--
Is it about the hedge?
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]