delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/17/22:45:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4972A5AE.207@users.sourceforge.net>
Date: Sat, 17 Jan 2009 21:44:46 -0600
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Nano syntax files
References: <14b028c20901171818t245ccb85i61afa53a3902527c AT mail DOT gmail DOT com>
In-Reply-To: <14b028c20901171818t245ccb85i61afa53a3902527c@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Vincent François wrote:
> In wanting to use the syntax of the text editor NANO, I noticed a
> problem. In the Cygwin, regular expressions \< and \> are not
> recognized. In reading the man page (7 regex) I learned that he had
> used respectively for [[:<:]] for \< and [[:>:]] for \>.
> 
> I wrote this message to provide a patch to update the syntax files (*.
> nanorc) available in the directory /usr/share/nano
> 
> To apply the patch, perform the command:
> $ patch -p0 -i syntax.nanorc.patch
> 
> To reverse patch, perform the command:
> $ patch -p0 -Ri syntax.nanorc.patch

Nice work!  For maximum benefit, could you do two things:

1) Make this a unified diff (with "diff -u")
2) Attach the patch rather than including it inline.

I'll fix cygport.nanorc in cygport accordingly; I hope the nano
maintainer will consider including this patch in a new release as well.

Thanks!


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAklypa4ACgkQpiWmPGlmQSODBQCgkN1wQNteVNUblpvU2WLGJgzM
Ix4An3kLichVlHAiNrupH2QskJOc7ZYM
=jWeR
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019