🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4587

Re: Turning off word wrap in nn?

#4587
From: Nancy McGough
Date: Tue, 03 Aug 1993 03:00
53 lines
2177 bytes
jhenders@jonh.wimsey.bc.ca (John Henders) writes:
>    As the subject says, is there any way to turn off word wrap?

Well, you can turn word-wrap off in the headers by putting
the following in your init file:

unset wrap-header-margin

This is only significant if you have header-lines set to
something other than the default.  I have header-lines
set to *OnWy so when, for example, the Newsgroups header
is longer than one line it gets truncated.


Another kind-of related variable setting that I like is:

set collapse-subject -1

This truncates long subjects rather than putting <> in the
middle of the subject.


One way you can truncate lines in the body of a message is
to pipe the article into less -S.  To do this type:
  s (for save) 
  CTRL+u (to delete the suggested save file) 
  |less -S


I think this is such a useful feature that I've added it to my 
macro collection - it's invoked with ;t

---begin excerpt of ~/.nn/init file---

# Next 2 lines establish semicolon (;) as macro prefix key (aliased to mac).
make map mac
map both ; prefix mac

define 0
	echo "Not available in this mode" break
end

# ;t - truncate lines longer than screen
map mac t (
	?menu macro 0
	save-full "|less -S"
)

---end excerpt of ~/.nn/init file---


Hope this is helpful,
Nancy
Technical Details
Message-ID: <23kkcu$fue@news.u.washington.edu>
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!gmd.de!Germany.EU.net!mcsun!uunet!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!usenet.coe.montana.edu!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym
References: <1993Jul31.000926.298@jonh.wimsey.bc.ca>

Show Full Headers
Complete Article Headers
Message-ID: <23kkcu$fue@news.u.washington.edu>
Subject: Re: Turning off word wrap in nn?
Date: Tue, 03 Aug 1993 03:00:46 +0000
From: nancym@stein2.u.washington.edu (Nancy McGough)
References: <1993Jul31.000926.298@jonh.wimsey.bc.ca>
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!gmd.de!Germany.EU.net!mcsun!uunet!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!usenet.coe.montana.edu!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym
Newsgroups: news.software.nn
Organization: University of Washington
Lines: 54
Reply-To: nancym@u.washington.edu (Nancy McGough)
NNTP-Posting-Host: stein2.u.washington.edu
X-Newsreader: NN [version 6.4.16]