From unknown Sat Jun 21 10:11:16 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14539 <14539@debbugs.gnu.org> To: bug#14539 <14539@debbugs.gnu.org> Subject: Status: [PATCH] dircolors: add pnm image Reply-To: bug#14539 <14539@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:11:16 +0000 retitle 14539 [PATCH] dircolors: add pnm image reassign 14539 coreutils submitter 14539 Javier Lopez severity 14539 normal tag 14539 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 02 18:11:28 2013 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 02 19:54:34 2013 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. From unknown Sat Jun 21 10:11:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 01 Jul 2013 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator