summaryrefslogtreecommitdiff
path: root/sys/man/1
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2014-04-11 13:19:18 -0400
committerstanley lieber <stanley.lieber@gmail.com>2014-04-11 13:19:18 -0400
commit4ae2015d865a481829b949a171c055c3ec22fa98 (patch)
treeb1256e33503442f6127d809bba61a9c93bd66952 /sys/man/1
parent794197adb16da0f7644cc8b56830316682b89011 (diff)
newt: add 'kf' command to grep $home/lib/newsgroups for group names
Diffstat (limited to 'sys/man/1')
-rw-r--r--sys/man/1/newt14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/man/1/newt b/sys/man/1/newt
index 7098466f6..e64fc5035 100644
--- a/sys/man/1/newt
+++ b/sys/man/1/newt
@@ -85,6 +85,13 @@ available sub-group. When provided with an argument,
it instead walks the directories under the group specified
by the argument.
.TP
+.BI kf " regexp
+Greps
+.B $home/lib/newsgroups
+for
+.I regexp
+and prints commands suitable for changing to each match.
+.TP
.B l
Jump to the last message in the group.
.TP
@@ -118,6 +125,9 @@ with the whole message as standard input.
.TP
\fB"\fP
Print the current message in quoted form, suitable for reply.
+.SH FILES
+.B $home/lib/newsgroups
+list of newsgroups, one per line
.SH SOURCE
.B /rc/bin/newt
.SH "SEE ALSO"
@@ -126,7 +136,9 @@ Print the current message in quoted form, suitable for reply.
The list of available newsgroups offered by a given server
may be quite large. This complicates walking the list over
a slow Internet connection, and renders searching in real-time
-all but infeasible.
+all but infeasible. Grepping a pre-generated
+.B newsgroups
+file is a compromise.
.SH HISTORY
.I Newt
first appeared in 9front (April, 2014).