When an attempt is being made to view an image, the following appears: sh: syntax error near unexpected token `':0.0'")' sh: -c: line 1: `(_TEST("test -e /usr/X11R6/bin/xview -a -n ':0.0'")_ /usr/X11R6 /bin/xview /tmp/img-JPE000967 ; rm -f /tmp/img-JPE000967) &'
The problem is a bogus line in /etc/pine.conf, specifying a non-existing image viewer. Just remove the line, and pine will use /etc/mailcap as it should.