[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Long search string in history.
From: |
Jordi Mallach |
Subject: |
Re: [Nano-devel] Long search string in history. |
Date: |
Thu, 13 Feb 2003 13:15:54 +0100 |
User-agent: |
Mutt/1.5.3i |
On Wed, Feb 12, 2003 at 04:03:59PM -0800, Chris Allegretta wrote:
> - Remove the preserve message (Jordi, are you still going to write an
> upgrade file, if you don't have time to let me know).
Uh, so I didn't commit this...
Am I missing something here?
As for UPGRADE, yeah, I'll do RSN.
Index: nano.c
===================================================================
RCS file: /cvsroot/nano/nano/nano.c,v
retrieving revision 1.325
diff -u -r1.325 nano.c
--- nano.c 10 Feb 2003 02:43:48 -0000 1.325
+++ nano.c 13 Feb 2003 12:14:26 -0000
@@ -780,16 +780,6 @@
}
#endif
-void do_preserve_msg(void)
-{
- fprintf(stderr, _("\nThe -p flag now invokes the Pico \"preserve\" flag.\n"
- "The Pico compatibility flag has been removed as nano\n"
- "now fully Pico compatible. Please see the nano FAQ\n"
- "for more info on this change...\n\n"
- "Press return to continue\n"));
- while (getchar() != '\n');
-}
-
#ifndef NANO_SMALL
static int pid; /* This is the PID of the newly forked process
* below. It must be global since the signal
@@ -3090,14 +3080,11 @@
#ifdef HAVE_GETOPT_LONG
{
- /* Check for the --preserve flag, and report error if people are
- still using --pico. */
+ /* Check for the --preserve flag */
int i;
for (i = 1; i < argc; i++) {
if (!strcmp(argv[i], "--preserve"))
preserveopt = 1;
- else if (!strcmp(argv[i], "--pico"))
- do_preserve_msg();
}
}
#endif
@@ -3226,10 +3213,6 @@
#endif
case 'p':
SET(PRESERVE);
-#ifdef HAVE_GETOPT_LONG
- if (!preserveopt)
- do_preserve_msg();
-#endif
break;
#ifndef DISABLE_WRAPJUSTIFY
case 'r':
> - Merge the nanorc and nano man page syntax stuff. I assume from
> Jordi's earlier post the existing nano entries for color syntax should
> be merged and formatted in the nanorc man page format and should point
> to nanorc(5).
Yeah. Anyone care to do it? If not, I'll do it, if I have time today.
Jordi
--
Jordi Mallach PĂ©rez -- Debian developer http://www.debian.org/
address@hidden address@hidden http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/~jordi/
pgpAGDtalxN3i.pgp
Description: PGP signature