Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcrdcf.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!genrad!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!lwall From: lwall@sdcrdcf.UUCP (Larry Wall) Newsgroups: net.sources.bugs Subject: rn 4.3 patch #5 Message-ID: <1966@sdcrdcf.UUCP> Date: Mon, 13-May-85 20:35:19 EDT Article-I.D.: sdcrdcf.1966 Posted: Mon May 13 20:35:19 1985 Date-Received: Thu, 16-May-85 07:44:10 EDT Organization: System Development Corp. R+D, Santa Monica Lines: 93 System: rn version 4.3 Patch #: 5 Priority: LOW Subject: after exiting newsgroup with 'Q', space won't reenter newsgroup From: lwall@sdcrdcf.UUCP (Larry Wall) Description: When you exit a newsgroup with 'Q', which leaves you in the same newsgroup at the newsgroup selection level, the default command remains 'n' or '^N', despite what the prompt says. Typing space then does not have the expected result. Fix: From rn, say "| patch -d DIR", where DIR is your rn source directory. Outside of rn, say "cd DIR; patch Patch #: 5 Index: rn.c Prereq: 4.3 *** rn.c.old Mon May 13 09:36:19 1985 --- rn.c Mon May 13 09:36:25 1985 *************** *** 8,14 * 2.0: 09/01/83 */ ! static char rnid[] = "@(#)$Header: rn.c,v 4.3 85/05/01 11:47:56 lwall Exp $"; /* $Log: rn.c,v $ * Revision 4.3 85/05/01 11:47:56 lwall --- 8,14 ----- * 2.0: 09/01/83 */ ! static char rnid[] = "@(#)$Header: rn.c,v 4.3.1.2 85/05/13 09:34:53 lwall Exp $"; /* $Log: rn.c,v $ * Revision 4.3.1.2 85/05/13 09:34:53 lwall *************** *** 11,16 static char rnid[] = "@(#)$Header: rn.c,v 4.3 85/05/01 11:47:56 lwall Exp $"; /* $Log: rn.c,v $ * Revision 4.3 85/05/01 11:47:56 lwall * Baseline for release with 4.3bsd. * --- 11,22 ----- static char rnid[] = "@(#)$Header: rn.c,v 4.3.1.2 85/05/13 09:34:53 lwall Exp $"; /* $Log: rn.c,v $ + * Revision 4.3.1.2 85/05/13 09:34:53 lwall + * Fixed default after do_newsgroup() returns from Q command. + * + * Revision 4.3.1.1 85/05/10 11:38:08 lwall + * Branch for patches. + * * Revision 4.3 85/05/01 11:47:56 lwall * Baseline for release with 4.3bsd. * *************** *** 461,466 ng++; break; case NG_ASK: goto reask_newsgroup; case NG_MINUS: ng = recent_ng; /* recall previous newsgroup */ --- 467,473 ----- ng++; break; case NG_ASK: + dfltcmd = "ynq"; goto reask_newsgroup; case NG_MINUS: ng = recent_ng; /* recall previous newsgroup */