🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #267594

Re: tin: article stubs one line short

#267594
From: Anton Shepelev
Date: Fri, 20 Sep 2024 18:23
38 lines
2475 bytes
John McCue <jmccue@fuzzball.jmcunx.com> wrote:
>Anton Shepelev <anton.txt@gmail.moc> wrote:
>> When I post a new message in Tin 2.6.3, after I enter the subject
>> and press Enter, Tin generates the "stub" of a new article and opens
>> it in my editor (nvi) with `+7', which complains:
>> 
>>    -c option, 1: illegal address: only 6 lines in the file
>> 
>> And indeed, there are only six lines in the generated file:
>
>Very odd.  What is VISUAL set to ?

vi, invoking nvi on this system.  I have tried vim as well,
but the pre-generated stub article was not affected.

>Do you have an empty ~/.signature File ?  Maybe that is why.
>Try creating a ~/.signature with 1 'real' line and see what
>happens.  Or maybe delete file ~/.signature

The error is observed with either:

  a. sigfile=
  b. sigfile=--none (tin's convention for no sig)

in my tinrc. With a path to an non-empty text file,
the behavior is correct. With an empty signature file,
there is no error, but the article stub ends with a
signature delimiter -- Tin is obeying its rc file to
the letter.

The problem is in whatever component is responsible for
generating the stub artile, for it /fails/ to end it with
two empty lines with `sigfile=--none' .

>Also check ~/.tin/tinrc and see if there is simething odd in
>that.

Duh...
Technical Details
Message-ID: <vckeim$1ktmh$1@paganini.bofh.team>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
References: <vchp81$1bo2h$1@paganini.bofh.team> <vckcng$16r21$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <vckeim$1ktmh$1@paganini.bofh.team>
Subject: Re: tin: article stubs one line short
Date: Fri, 20 Sep 2024 18:23:18 +0000
From: Anton Shepelev <anton.txt@gmail.moc>
References: <vchp81$1bo2h$1@paganini.bofh.team> <vckcng$16r21$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.bofh.team!paganini.bofh.team!not-for-mail
Newsgroups: news.software.readers
Organization: To protect and to server
Sender: 9dIQLXBM7WM9KzA+yjdR4A
Injection-Date: Fri, 20 Sep 2024 18:23:18 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="1734353"; posting-host="sFdwXIC/gCdDTLCbP5NXcw.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: tin/2.6.3-20231224 ("Banff") (FreeBSD/14.1-RELEASE (amd64))
X-Notice: Filtered by postfilter v. 0.9.3