The default behavior for nmh when viewing a message with an application/PostScript attachment is to 'lpr -Pps' the attachment. This behavior can be overridden with a per-user $MHN file or by editing /usr/local/etc/nmh/mhn.defaults after nmh is installed. However, as a default action, (one which will be used by novice users) sending a postscript attachment to the printer every time a message is viewed at is simply a bad idea. Fix: The following patch adds a patch to the port to fix this: How-To-Repeat: Install nmh. Send yourself a postscript attachment. 'inc' it into your MH inbox, 'show' it.
State Changed From-To: open->feedback Awaiting maintainers feedback
Sounds reasonable - approved. Scott On Tue, Nov 28, 2006 at 09:21:27PM +0000, Edwin Groothuis wrote: > Maintainer of mail/nmh, > > Please note that PR ports/105978 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/105978 > > -- > Edwin Groothuis > edwin@FreeBSD.org
State Changed From-To: feedback->open Maintainer approved.
Responsible Changed From-To: freebsd-ports-bugs->alexbl I will take it.
State Changed From-To: open->closed Committed, thanks!
alexbl 2007-02-12 21:24:06 UTC FreeBSD ports repository Added files: mail/nmh/files patch-etc_mhn.defaults.sh Log: - Change defaults to not try and print postscript files PR: 105978 Submitted by: Brad Huntting <huntting@glarp.com> Revision Changes Path 1.1 +19 -0 ports/mail/nmh/files/patch-etc_mhn.defaults.sh (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"