🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2695

Re: How to search by author

#2695
From: Kristian Koehntopp
Date: Sat, 25 Apr 1992 22:13
73 lines
2528 bytes
In <1992Apr20.024537.2821@compu.com> fr@compu.com (Fred Rump from home) writes:

>It must be something stupid but who knows?

>I can hit = and search by subject, but how do I do that by author?

Put the following lines into your .nn/init

# _ does search on sender (as = does a search on subject)
map menu _ (
	:set select-on-sender
	find input
	:unset select-on-sender
)

When you are at it, you might want to add the follwing lines to
it:

##############################################################################
# Keyboard mappings for selection mode
#
# map cursor keys
map menu #left page-1
map menu #right page+1

# ^a stands for "select all articles"
map menu ^a (
	find "."
)

# ' will toggle auto-preview-mode
map menu ' (
	:toggle auto-preview-mode
)

# keyboard mappings for article mode
# map cursor keys
map show #left back-article
map show #right next-article

# ^o ("own copy") will send this article to you per mail
map show ^o (
	mail yes "" "" no
)

# B ("backward") will show you all articles matching this
#   subject
map show B macro 99

# define macro 99
define 99
goto-group " " "s"
'*' 'Z'
end

# map keyboard in both modes:
# ^k for killfile editing
map both ^k (
	:!sort ~/.nn/kill -o ~/.nn/kill; $EDITOR ~/.nn/kill
	:compile
)

# change layout for source and binary groups
on entry *.sources.* *.binaries.*
	 :local layout 2
	 :local re-layout 1
end

Kristian
-- 
Kristian Koehntopp, Harmsstrasse 98, FRG W-2300 Kiel, +49 431 676689
"Preferences: BSD, Lakritz und Gummibaerchen."
	-- m.watermann@oln.zer.sub.org, sinngemaess
Technical Details
Message-ID: <1992Apr25.221340.11331@tpki.toppoint.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!math.fu-berlin.de!fub!tpki.toppoint.de!kris
References: <1992Apr20.024537.2821@compu.com>

Show Full Headers
Complete Article Headers
Message-ID: <1992Apr25.221340.11331@tpki.toppoint.de>
Subject: Re: How to search by author
Date: Sat, 25 Apr 1992 22:13:40 GMT
From: kris@tpki.toppoint.de (Kristian Koehntopp)
References: <1992Apr20.024537.2821@compu.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!math.fu-berlin.de!fub!tpki.toppoint.de!kris
Newsgroups: news.software.nn
X-Copyright: (C) Copyright 1992 Kristian Koehntopp -- All rights reserved.
 Reproduktion, auch auszugsweise, ausserhalb elektronischer,
 nichtkommerzieller Datennetze nur mit ausdruecklichem,
 schriftlichem Einverstaendnis des Autors.
Organization: Toppoint Mailbox e.V.
X-Excuse: X-Copyright wegen Emma, Suedwestpresse und /C'T/DISKUSSIONEN.
Lines: 73