Article View: news.software.nn
Article #8102Re: changes in killfiles ?
From: Kristian Köhntopp
Date: Fri, 25 Oct 1996 00:00
Date: Fri, 25 Oct 1996 00:00
34 lines
1767 bytes
1767 bytes
chl@clw.cs.man.ac.uk (Charles Lindsey) writes: >In <54md2r$2pe@server05.icaen.uiowa.edu> mtpins@icaen.uiowa.edu (Michael T Pins) writes: >>What I'll likely do is add an option to nntidy to clean up the kill file. >Or a variable clean-killfile within nn itself which deleted obsoleted lines as >soon as they happened. What I am using is the following mapping: # Map Control-k in selection and article mode to # sort, edit and compile kill file. map both ^k ( :!sort ~/.nn/kill -o ~/.nn/kill; $EDITOR ~/.nn/kill :compile ) Comments are sorted to the top of the killfile and can easily be spotted and dealt with. You could 'grep -v "^#"' them too, if you want to. That should be map both ^k ( :!grep -v "^#" ~/.nn/kill > ~/.nn/kill+; mv ~/.nn/kill ~/.nn/kill-; mv ~/.nn/kill+ ~/.nn/kill; sort ~/.nn/kill -o ~/.nn/kill; $EDITOR ~/.nn/kill :compile ) but take care: I have not tested this. Kristian -- T minus 6
Technical Details
Message-ID:
<54qnp0$tee@white.koehntopp.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mailReferences:
<53gobg$co8@gina.zfn.uni-bremen.de> <53qccd$504@white.koehntopp.de> <DzD1z3.KxM@clw.cs.man.ac.uk> <54jc20$a2d@samba.rahul.net> <54lefc$91q@gap.cco.caltech.edu> <54md2r$2pe@server05.icaen.uiowa.edu> <Dzto8y.3vq@clw.cs.man.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <54qnp0$tee@white.koehntopp.de> Subject: Re: changes in killfiles ? Date: Fri, 25 Oct 1996 00:00:00 +0000 From: kris@koehntopp.de (Kristian Köhntopp) References: <53gobg$co8@gina.zfn.uni-bremen.de> <53qccd$504@white.koehntopp.de> <DzD1z3.KxM@clw.cs.man.ac.uk> <54jc20$a2d@samba.rahul.net> <54lefc$91q@gap.cco.caltech.edu> <54md2r$2pe@server05.icaen.uiowa.edu> <Dzto8y.3vq@clw.cs.man.ac.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail X-Deja-AN: 192169297 Organization: "Generation @" Newsgroups: news.software.nn X-copyright: (C) Copyright 1996 Kristian Koehntopp -- All rights reserved.