🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #6782

941123 NN sample init file

#6782
From: Sven Guckes
Date: Thu, 24 Nov 1994 17:13
143 lines
6376 bytes
# =========================================================================
# INFO:  Installing this file:
# Save this text to a file, for example "init.sample".
# Make a copy of this file and make it your nn init file:
# cp init.sample $HOME/.nn/init
# Edit the init file:
# Start an editor and edit "$HOME/.nn/init".
# Delete all lines unto the line which contains the words "cut here".
# Change all settings which contain local paths and files.
# Here is a short list of these variables:
#   editor, mail, shell; printer; mail-header, news-header.
# You should also change the newsgroups that are used with the "sequence"
# command at the very end of this file.
#
# cut here (including this line)
# =========================================================================
#	NEWS init file for the news reader NN
#	written by Sven Guckes <guckes@math.fu-berlin.de>
#       Last change: Thu Nov 24 18:11:46 MET 1994
# =========================================================================
#   set variable BOOLEAN/NUMBER
# =========================================================================
set confirm-entry		off
set cross-post			off
set data-bits			8
set default-save-file		+$G
set enter-last-read-mode	0
set include-art-id		false	# don't write "in article xxx he wrote"
set include-full-header		true
set layout			2
set long-menu			true
# This didn't work: set mailer			nnelm
#   min-window : I always want a "clear screen" on my vt100 for preview mode
set min-window			25
set new-group-action		0
set orig-to-include-mask	0
set print-header-type		1	# 1 = print short header
set show-purpose-mode		2
set sort-mode			2
set tidy-newsrc			on
set time			off	# don't show the time
# =========================================================================
#   set variable FILE/PATH
# =========================================================================
set editor			/usr/local/public/bin/bsd/vim  # version 3.0 :-)
set folder			~/news		# where to store folders
set mail			/var/spool/mail/guckes	# my mail box
set mail-record			+sentnews	# folder with mail sent with nn
set news-record			+posted		# folder with the posts I made
set shell			/usr/local/bin/zsh	# shell!
# =========================================================================
#   set variable COMMAND
# =========================================================================
set printer			lpr
# =========================================================================
#   set variable STRING
# =========================================================================
#set charset			ISO-8859-1	# to be used with NN 6.5
set header-lines		=SNFDOWYL
set mail-header From: Sven Guckes <guckes@inf.fu-berlin.de>;X-News-Reade NN r:6.4.13 \#15
set news-header From: Sven Guckes <guckes@inf.fu-berlin.de>;X-News-Reader: NN 6.4.13 \#15
set print-header-lines		SGDFO
# =========================================================================
# NN macros
# =========================================================================
# NN macro for '^a'
# Mnemonic: "All select"
# Select all articles currently shown in the menu of the newsgroup.
map menu ^a (
	find "^"
)
# =========================================================================
# NN macro for '_'
# Mnemonic: '_' resembles the character '=' which is the subject search command.
# Select all articles whose sender(!) contains a given string.
# Assumes you have select-on-sender unset (the default).
map menu _ (
	:set select-on-sender
        find
        prompt "Type (part of) name of sender to select on:"
	input
	prompt ""                                  #Clear prompt
	message
        :unset select-on-sender
)
# =========================================================================
# NN macro for 'S'
# Mnemonic: "Select"
# Descriprion: Add the subject of the currently shown article to the
# "kill file" for automatic selection for 30 days from now.
map show S (
	kill-select 's' 's' "" '^M' "" yes
)
# =========================================================================
# NN macro for '^r'
# Mnemonic: "Read mailbox"
# Description: Read the file given by variable "mail" as mailbox.
map both ^r (
	:rmail
)
# =========================================================================
# Section "on entry" - Change the layout when entering special groups:
# =========================================================================
# on entry *.answers *.archives *.binaries
#          :local layout 2
#          :local re-layout 1
end
# =========================================================================
#  Section "sequence" - Presentation sequence of newsgroups
# =========================================================================
#  Format: <newsgroup> [<default save folder>]
#  Note: The command "sequence" *must* be the last command in the init file!!!
sequence
#
#  Interesting groups for Internet newbies
#
news.newusers.questions		+n.n.q
news.announce.newusers		+n.n.q
#
#  Special software
#
news.software.nn		+nn		# Newsreader
comp.mail.elm			+elm		# Mail tool
comp.editors			+editors	# Editors
alt.usenet.offline-reader	+offline	# Offline reader
#
# The Information Groups ("*.answers" groups)
#
alt.answers			+answers
comp.answers			+answers
news.answers			+answers
rec.answers			+answers
# rec.aviation.answers!		+answers
misc.answers			+answers
soc.answers			+answers
sci.answers			+answers
talk.answers			+answers
#
#  What's new at the archives?
#
comp.archives
NEW
### EOF
Technical Details
Message-ID: <QHQUBTFD@math.fu-berlin.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!bga.com!news.sprintlink.net!pipex!uunet!zib-berlin.de!math.fu-berlin.de!guckes

Show Full Headers
Complete Article Headers
Message-ID: <QHQUBTFD@math.fu-berlin.de>
Subject: 941123 NN sample init file
Date: Thu, 24 Nov 1994 17:13:29 GMT
From: Sven Guckes <guckes@inf.fu-berlin.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!bga.com!news.sprintlink.net!pipex!uunet!zib-berlin.de!math.fu-berlin.de!guckes
Newsgroups: news.software.nn
Followup-To: poster
Originator: guckes@reh
Sender: news@math.fu-berlin.de (Math Department)
X-Mail-Reader: ELM 2.4 PL23 + AttributionPatch
Nntp-Posting-Host: reh.inf.fu-berlin.de
Organization: Free University of Berlin, Germany
X-News-Reader: NN 6.4.13 #15
Lines: 143