Thread View: news.software.nn
9 messages
9 total messages
Started by Michael T Pins
Fri, 08 Apr 2005 05:12
Re: nn-6.7beta is now available
Author: Michael T Pins
Date: Fri, 08 Apr 2005 05:12
Date: Fri, 08 Apr 2005 05:12
32 lines
2036 bytes
2036 bytes
nn-6.7beta has been released. Note that this is beta-level code. It is *NOT* meant for production. However, it is ready for wider testing. If you don't want to beta-test potentially buggy code, please run nn-6.6.5. That said, if you're willing to beta-test this code, download it from here: ftp://ftp.nndev.org/pub/nn-6.7/nn-6.7beta.tar.Z I'm looking for bugreports, both new bugs and old ones that haven't been fixed yet. As always, the best way to report a bug is with the :bug command. Differences from nn-6.7alpha (from the ChangeLog): Cleaned up some old (unused) variables. More general code cleanup. Updated the manpages to include new variables. Updated INSTALLATION and other docs so they're (roughly) current. If new-group-action is set to 0 in init, nn will no longer get active.times. (Yes, this is what the docs have claimed was always true, it actually works now.) This can cut startup time in half on slower links. -- Michael T Pins | "They that can give up essential liberty mtpins@nndev.org | to obtain a little temporary safety keeper of the nn sources | deserve neither liberty nor safety." ftp://ftp.nndev.org/pub | -- Benjamin Franklin, 1759
Re: nn-6.7beta is now available
Author: Michael F Gordon
Date: Fri, 08 Apr 2005 14:17
Date: Fri, 08 Apr 2005 14:17
19 lines
1456 bytes
1456 bytes
Mapping keys from .nn/init seems to be broken. If I have map both ; preview in .nn/init I get the error init error: unknown key command: preview Commenting this line out and typing :map both ; preview while running nn works though. The same thing happens no matter what I use for the key and command. Michael -- Quidquid latine dictum sit, altum viditur.
Re: nn-6.7beta is now available
Author: Neil W Rickert
Date: Fri, 08 Apr 2005 20:20
Date: Fri, 08 Apr 2005 20:20
23 lines
1690 bytes
1690 bytes
Michael T Pins <mtpins@nndev.org> writes: >nn-6.7beta has been released. > As always, the best way to report a bug is with the :bug >command. I don't get far enough to be able to use ":bug". So I will report here: % nn Release 6.7.beta (NOV) by Kim F. Storm, Peter Wemm, and Michael T Pins, 2005 init error: Error in macro 1: Unknown word >>save-full<< init error: unknown key command: macro % It seems that the beta does not like the macro I have defined. But I don't want to be without it. I don't see any change in the manual that would indicate a problem with my macro.
Re: nn-6.7beta is now available
Author: Michael T Pins
Date: Sat, 09 Apr 2005 05:18
Date: Sat, 09 Apr 2005 05:18
148 lines
4156 bytes
4156 bytes
Michael F Gordon <mfg@ee.ed.ac.uk> writes:
>Mapping keys from .nn/init seems to be broken. If I have
> map both ; preview
>in .nn/init I get the error
> init error: unknown key command: preview
>Commenting this line out and typing
> :map both ; preview
>while running nn works though. The same thing happens no matter what
>I use for the key and command.
The following patch (which, of course, can be added from within nn with
the :patch command) should fix it.
*** nn.c.bak Wed Mar 30 01:08:37 2005
--- nn.c Fri Apr 8 22:15:52 2005
***************
*** 871,886 ****
if ((say_welcome = init_global2()) < 0)
nn_exitmsg(1, "%s: nn has not been invoked to initialize user files", pname);
- if (!silent && who_am_i != I_AM_CHECK)
- prt_version();
-
- #ifdef NNTP
- if (who_am_i != I_AM_VIEW) {
- visit_init_file(0, argv[1]);
- nntp_check();
- }
- #endif
-
init_key_map();
#ifndef AUTHORIZE
--- 871,876 ----
***************
*** 889,897 ****
--- 879,924 ----
init_macro();
+ switch (who_am_i) {
+ case I_AM_VIEW:
+ /* FALLTHROUGH */
+ case I_AM_NN:
+ init_term(1);
+ visit_init_file(0, argv[1]);
+ if (!silent)
+ prt_version();
+ break;
+
+ case I_AM_ADMIN:
+ if (argc == 1) {
+ init_term(1);
+ visit_init_file(0, (char *) NULL);
+ }
+ break;
+
+ case I_AM_CHECK:
+ /* FALLTHROUGH */
+ case I_AM_TIDY:
+ /* FALLTHROUGH */
+ case I_AM_GOBACK:
+ /* FALLTHROUGH */
+ case I_AM_GREP:
+ init_term(0);
+ visit_init_file(0, (char *) NULL);
+ if (!silent && who_am_i != I_AM_CHECK)
+ prt_version();
+ break;
+ }
+
if (nn_locked())
nn_exit(2);
+ #ifdef NNTP
+ if (who_am_i != I_AM_VIEW) {
+ nntp_check();
+ }
+ #endif
+
nnspew:
if (who_am_i != I_AM_VIEW)
***************
*** 901,911 ****
case I_AM_VIEW:
/* FALLTHROUGH */
-
case I_AM_NN:
- init_term(1);
- visit_init_file(0, argv[1]);
-
if (say_welcome) {
first_time_user = 1;
display_file("adm.welcome", CLEAR_DISPLAY | CONFIRMATION);
--- 928,934 ----
***************
*** 956,972 ****
break;
case I_AM_ADMIN:
- if (argc == 1) {
- init_term(1);
- visit_init_file(0, (char *) NULL);
- }
admin_mode(argv[1]);
nn_exit(0);
break;
case I_AM_CHECK:
- init_term(0);
- visit_init_file(0, (char *) NULL);
silent = 0; /* override setting in init file */
group_name_args =
parse_options(argc, argv, (char *) NULL, check_options,
--- 979,989 ----
***************
*** 979,998 ****
break;
case I_AM_TIDY:
- init_term(0);
- visit_init_file(0, (char *) NULL);
group_name_args = opt_nntidy(argc, argv);
break;
case I_AM_GOBACK:
- init_term(0);
- visit_init_file(0, (char *) NULL);
group_name_args = opt_nngoback(argc, &argv);
break;
case I_AM_GREP:
- init_term(0);
- visit_init_file(0, (char *) NULL);
opt_nngrep(argc, argv);
silent = 1;
no_update = 1;
--- 996,1009 ----
Re: nn-6.7beta is now available
Author: Michael T Pins
Date: Sat, 09 Apr 2005 05:22
Date: Sat, 09 Apr 2005 05:22
33 lines
2094 bytes
2094 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes: >Michael T Pins <mtpins@nndev.org> writes: >>nn-6.7beta has been released. >> As always, the best way to report a bug is with the :bug >>command. >I don't get far enough to be able to use ":bug". So I will report >here: >% nn >Release 6.7.beta (NOV) > by Kim F. Storm, Peter Wemm, and Michael T Pins, 2005 >init error: Error in macro 1: Unknown word >>save-full<< >init error: unknown key command: macro >% >It seems that the beta does not like the macro I have defined. But I >don't want to be without it. I don't see any change in the manual >that would indicate a problem with my macro. In fact, it didn't like any macros or keymaps defined in the init file. Oops. See my previous message that contains the needed patch. -- Michael T Pins | "They that can give up essential liberty mtpins@nndev.org | to obtain a little temporary safety keeper of the nn sources | deserve neither liberty nor safety." ftp://ftp.nndev.org/pub | -- Benjamin Franklin, 1759
Re: nn-6.7beta is now available
Author: Michael F Gordon
Date: Sat, 09 Apr 2005 10:21
Date: Sat, 09 Apr 2005 10:21
10 lines
1300 bytes
1300 bytes
Michael T Pins <mtpins@nndev.org> writes: >The following patch (which, of course, can be added from within nn with >the :patch command) should fix it. Thanks - it's working now. Michael -- Quidquid latine dictum sit, altum viditur.
Re: nn-6.7beta is now available
Author: Neil W Rickert
Date: Sat, 09 Apr 2005 16:49
Date: Sat, 09 Apr 2005 16:49
21 lines
1824 bytes
1824 bytes
Michael T Pins <mtpins@nndev.org> writes: >>It seems that the beta does not like the macro I have defined. But I >>don't want to be without it. I don't see any change in the manual >>that would indicate a problem with my macro. >In fact, it didn't like any macros or keymaps defined in the init file. >Oops. See my previous message that contains the needed patch. Yes, the patch fixes it. Thanks. Now I notice another strangeness. When posting, it asks whether to attach ".signature". However (a) there is no ".signature" (b) my ".nn/init" contains set append-signature-mail false set append-signature-post false
Re: nn-6.7beta is now available
Author: Michael T Pins
Date: Sat, 09 Apr 2005 20:44
Date: Sat, 09 Apr 2005 20:44
37 lines
2316 bytes
2316 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes: >Michael T Pins <mtpins@nndev.org> writes: >>>It seems that the beta does not like the macro I have defined. But I >>>don't want to be without it. I don't see any change in the manual >>>that would indicate a problem with my macro. >>In fact, it didn't like any macros or keymaps defined in the init file. >>Oops. See my previous message that contains the needed patch. >Yes, the patch fixes it. Thanks. >Now I notice another strangeness. >When posting, it asks whether to attach ".signature". However > (a) there is no ".signature" > (b) my ".nn/init" contains >set append-signature-mail false >set append-signature-post false This is actually how it's supposed to work. append-signature-mail and append-signature-post set the defaults. query-signature defines whether or not it will actually prompt the user. If ~/.signature (or whatever the user sets it to) doesn't exist, nn will post the message without a signature regardless of how the various signature variables are set. I suppose I should change it so it only asks if the file exists. -- Michael T Pins | "They that can give up essential liberty mtpins@nndev.org | to obtain a little temporary safety keeper of the nn sources | deserve neither liberty nor safety." ftp://ftp.nndev.org/pub | -- Benjamin Franklin, 1759
Re: nn-6.7beta is now available
Author: Neil W Rickert
Date: Sun, 10 Apr 2005 04:23
Date: Sun, 10 Apr 2005 04:23
9 lines
1473 bytes
1473 bytes
Michael T Pins <mtpins@nndev.org> writes: >This is actually how it's supposed to work. append-signature-mail and >append-signature-post set the defaults. query-signature defines whether or >not it will actually prompt the user. Thanks for the hint (about query-signature). I've added that to my init.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads