From unknown Sat Aug 09 01:10:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14539: [PATCH] dircolors: add pnm image Resent-From: Javier Lopez Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 02 Jun 2013 22:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14539 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: patch To: 14539@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.137021108816968 (code B ref -1); Sun, 02 Jun 2013 22:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jun 2013 22:11:28 +0000 Received: from localhost ([127.0.0.1]:48202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjGUq-0004Pc-L3 for submit@debbugs.gnu.org; Sun, 02 Jun 2013 18:11:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59935) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjGUo-0004PO-0p for submit@debbugs.gnu.org; Sun, 02 Jun 2013 18:11:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjGSt-0000Ix-Ga for submit@debbugs.gnu.org; Sun, 02 Jun 2013 18:09:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjGSt-0000It-DP for submit@debbugs.gnu.org; Sun, 02 Jun 2013 18:09:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjGSp-0002NQ-HF for bug-coreutils@gnu.org; Sun, 02 Jun 2013 18:09:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjGSl-0000IU-KD for bug-coreutils@gnu.org; Sun, 02 Jun 2013 18:09:23 -0400 Received: from mail-gg0-x22b.google.com ([2607:f8b0:4002:c02::22b]:44275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjGSl-0000IO-Fs for bug-coreutils@gnu.org; Sun, 02 Jun 2013 18:09:19 -0400 Received: by mail-gg0-f171.google.com with SMTP id h13so909800ggd.2 for ; Sun, 02 Jun 2013 15:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=p92072rUd2/RSfNeRISbUWsCn1W1+bUIgcg59WYvmts=; b=Wn550kCmw05CviSaZHKaIweJVIxtFTtuH9hqvTMZqhA2voUpdtOgZCtLCgtuHGlSCd ccnKjH2wm5JKnc4U0iIi1/7P9luA2kjn8UKTn3M7OYgRYHMWNXJhi1GGOIZicCcCuPqi 44OR515dBghJJnVfo0kIly1USHbz5eP0u/Hzqb1HOGfgYWLSBBec26WIfUDqKzUqJK8t mqmZTKTduUhG/9xLB76J5pL5ESCrUBs364XfgCfhwlO6RsHyvlCEqII7wtSR7KoL0GRJ lqMobbHFy8lSaSKv0fz5VTFXmcEN4/nyXD2fSmiWFU6xt4uG7EmdP48XtumumcMIjWJO 7oHg== X-Received: by 10.236.134.46 with SMTP id r34mr11151001yhi.184.1370210958707; Sun, 02 Jun 2013 15:09:18 -0700 (PDT) Received: from sup.lan ([187.135.147.145]) by mx.google.com with ESMTPSA id j20sm40112589yhi.1.2013.06.02.15.09.16 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 02 Jun 2013 15:09:17 -0700 (PDT) Date: Sun, 2 Jun 2013 17:09:13 -0500 From: Javier Lopez Message-ID: <20130602220912.GA27438@sup.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Hi, Attached patch adds colorizing for *.pnm images. Pnm images are amongst others generated by Xsane scans. Although they're basically text files, they are considered as images (a file command returns "Netpbm PPM "rawbits" image data" so their color code should probably be 01;35. This issue was first noted by ultrapeer AT lavabit.com and forwarded to Ubuntu ====================================================================== diff --git a/src/dircolors.hin b/src/dircolors.hin index 18e1552..3a0c03f 100644 --- a/src/dircolors.hin +++ b/src/dircolors.hin @@ -165,6 +165,7 @@ EXEC 01;32 .tif 01;35 .tiff 01;35 .png 01;35 +.pnm 01;35 .svg 01;35 .svgz 01;35 .mng 01;35 From unknown Sat Aug 09 01:10:07 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Javier Lopez Subject: bug#14539: closed (Re: bug#14539: [PATCH] dircolors: add pnm image) Message-ID: References: <51ABDAC4.2030808@draigBrady.com> <20130602220912.GA27438@sup.lan> X-Gnu-PR-Message: they-closed 14539 X-Gnu-PR-Package: coreutils X-Gnu-PR-Keywords: patch Reply-To: 14539@debbugs.gnu.org Date: Sun, 02 Jun 2013 23:55:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1370217302-32139-1" This is a multi-part message in MIME format... ------------=_1370217302-32139-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #14539: [PATCH] dircolors: add pnm image which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 14539@debbugs.gnu.org. --=20 14539: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14539 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1370217302-32139-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 14539-done) by debbugs.gnu.org; 2 Jun 2013 23:54:34 +0000 Received: from localhost ([127.0.0.1]:48231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjI6b-0008LX-8i for submit@debbugs.gnu.org; Sun, 02 Jun 2013 19:54:34 -0400 Received: from mail3.vodafone.ie ([213.233.128.45]:23645) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjI6Z-0008LD-FP for 14539-done@debbugs.gnu.org; Sun, 02 Jun 2013 19:54:32 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkMDAJvZq1FtTT3N/2dsb2JhbAANTYM5gnW8CQMBgRWDFwEBAQQyAUYQCw0BCgkWDwkDAgECAUUGDQEHAQGwe5IAjkgsMweDWAOYZ4UYjg8 Received: from unknown (HELO [192.168.1.79]) ([109.77.61.205]) by mail3.vodafone.ie with ESMTP; 03 Jun 2013 00:52:37 +0100 Message-ID: <51ABDAC4.2030808@draigBrady.com> Date: Mon, 03 Jun 2013 00:52:36 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Javier Lopez Subject: Re: bug#14539: [PATCH] dircolors: add pnm image References: <20130602220912.GA27438@sup.lan> In-Reply-To: <20130602220912.GA27438@sup.lan> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 14539-done Cc: 14539-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) On 06/02/2013 11:09 PM, Javier Lopez wrote: > Hi, > > Attached patch adds colorizing for *.pnm images. Pnm images are amongst others > generated by Xsane scans. Although they're basically text files, they are > considered as images (a file command returns "Netpbm PPM "rawbits" image data" > so their color code should probably be 01;35. > > This issue was first noted by ultrapeer AT lavabit.com and forwarded to Ubuntu > > ====================================================================== > > diff --git a/src/dircolors.hin b/src/dircolors.hin > index 18e1552..3a0c03f 100644 > --- a/src/dircolors.hin > +++ b/src/dircolors.hin > @@ -165,6 +165,7 @@ EXEC 01;32 > .tif 01;35 > .tiff 01;35 > .png 01;35 > +.pnm 01;35 > .svg 01;35 > .svgz 01;35 > .mng 01;35 `man pnm` suggests that pnm isn't a format in its own right, but "just an abstraction of the PBM, PGM, and PPM formats". Therefore I'm inclined not to include this. thanks, Pádraig. ------------=_1370217302-32139-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Jun 2013 22:11:28 +0000 Received: from localhost ([127.0.0.1]:48202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjGUq-0004Pc-L3 for submit@debbugs.gnu.org; Sun, 02 Jun 2013 18:11:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59935) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjGUo-0004PO-0p for submit@debbugs.gnu.org; Sun, 02 Jun 2013 18:11:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjGSt-0000Ix-Ga for submit@debbugs.gnu.org; Sun, 02 Jun 2013 18:09:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjGSt-0000It-DP for submit@debbugs.gnu.org; Sun, 02 Jun 2013 18:09:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjGSp-0002NQ-HF for bug-coreutils@gnu.org; Sun, 02 Jun 2013 18:09:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjGSl-0000IU-KD for bug-coreutils@gnu.org; Sun, 02 Jun 2013 18:09:23 -0400 Received: from mail-gg0-x22b.google.com ([2607:f8b0:4002:c02::22b]:44275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjGSl-0000IO-Fs for bug-coreutils@gnu.org; Sun, 02 Jun 2013 18:09:19 -0400 Received: by mail-gg0-f171.google.com with SMTP id h13so909800ggd.2 for ; Sun, 02 Jun 2013 15:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=p92072rUd2/RSfNeRISbUWsCn1W1+bUIgcg59WYvmts=; b=Wn550kCmw05CviSaZHKaIweJVIxtFTtuH9hqvTMZqhA2voUpdtOgZCtLCgtuHGlSCd ccnKjH2wm5JKnc4U0iIi1/7P9luA2kjn8UKTn3M7OYgRYHMWNXJhi1GGOIZicCcCuPqi 44OR515dBghJJnVfo0kIly1USHbz5eP0u/Hzqb1HOGfgYWLSBBec26WIfUDqKzUqJK8t mqmZTKTduUhG/9xLB76J5pL5ESCrUBs364XfgCfhwlO6RsHyvlCEqII7wtSR7KoL0GRJ lqMobbHFy8lSaSKv0fz5VTFXmcEN4/nyXD2fSmiWFU6xt4uG7EmdP48XtumumcMIjWJO 7oHg== X-Received: by 10.236.134.46 with SMTP id r34mr11151001yhi.184.1370210958707; Sun, 02 Jun 2013 15:09:18 -0700 (PDT) Received: from sup.lan ([187.135.147.145]) by mx.google.com with ESMTPSA id j20sm40112589yhi.1.2013.06.02.15.09.16 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 02 Jun 2013 15:09:17 -0700 (PDT) Date: Sun, 2 Jun 2013 17:09:13 -0500 From: Javier Lopez To: bug-coreutils@gnu.org Subject: [PATCH] dircolors: add pnm image Message-ID: <20130602220912.GA27438@sup.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Hi, Attached patch adds colorizing for *.pnm images. Pnm images are amongst others generated by Xsane scans. Although they're basically text files, they are considered as images (a file command returns "Netpbm PPM "rawbits" image data" so their color code should probably be 01;35. This issue was first noted by ultrapeer AT lavabit.com and forwarded to Ubuntu ====================================================================== diff --git a/src/dircolors.hin b/src/dircolors.hin index 18e1552..3a0c03f 100644 --- a/src/dircolors.hin +++ b/src/dircolors.hin @@ -165,6 +165,7 @@ EXEC 01;32 .tif 01;35 .tiff 01;35 .png 01;35 +.pnm 01;35 .svg 01;35 .svgz 01;35 .mng 01;35 ------------=_1370217302-32139-1--