Bug 105978 - nmh prints postscript attachments by default
Summary: nmh prints postscript attachments by default
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexander Botero-Lowry
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-28 21:10 UTC by huntting
Modified: 2007-02-12 21:30 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (879 bytes, patch)
2006-11-28 21:10 UTC, huntting
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description huntting 2006-11-28 21:10:24 UTC
	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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-11-28 21:21:29 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 scott 2006-11-28 22:20:59 UTC
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
Comment 3 Gabor Kovesdan freebsd_committer freebsd_triage 2006-12-18 19:16:47 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 4 Alexander Botero-Lowry freebsd_committer freebsd_triage 2006-12-19 00:18:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alexbl

I will take it.
Comment 5 Alexander Botero-Lowry freebsd_committer freebsd_triage 2007-02-12 21:24:14 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 6 dfilter service freebsd_committer freebsd_triage 2007-02-12 21:24:16 UTC
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"