🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #2929

premature truncation of authors' names on wide screens in trn-2.3

#2929
From: Bruce Lilly
Date: Fri, 01 Jan 1993 16:30
25 lines
2016 bytes
Some time ago I posted patches to trn 2.2 to provide non-truncated display
of authors' names and subject fields for people who use wider than
80-character displays.

e.g. (a real example from a recent aricle) "alanb@Quality1.attmail.com" is
prematurely truncated to "alanb@Quality1.a" (16 characters). We all know
damn well that there has never been a valid top-level domain "a"!  The
patches which I had sent to Wayne, and then posted in response to a request,
provide for display of as much of the address as one's display width will
permit, at least over the range of display width (in characters) from 9 to
255.

Wayne's patches to upgrade to trn 2.3 break this.

It's simple to fix; simply change the three instances of the magic number 16
in mt-process.c to AUTHOR_LEN-1 and recompile mthreads and tmpthread. Of
course, if you didn't install my earlier patches, that won't do you any
good...  Optionally you can remove any .thread files that were created with
the more-or-less-vanilla 2.3 and remake them ("mthreads -c -vv -f -t -z -a all"
run as news works for me) to provide a reasonable display for the articles
online.

-- 
	Bruce Lilly		blilly!bruce@Broadcast.Sony.COM
					...uunet!sonyusa!sonyd1!blilly!bruce
Technical Details
Message-ID: <1993Jan1.163008.29385@blilly.UUCP>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!psinntp!monymsys!sonyd1.Broadcast.Sony.COM!blilly.UUCP!bruce
References: <C03FsC.9IJ@borland.com> <C03Fzn.9M0@borland.com>

Show Full Headers
Complete Article Headers
Message-ID: <1993Jan1.163008.29385@blilly.UUCP>
Subject: premature truncation of authors' names on wide screens in trn-2.3
Date: Fri, 01 Jan 1993 16:30:08 +0000
From: bruce@blilly.UUCP (Bruce Lilly)
References: <C03FsC.9IJ@borland.com> <C03Fzn.9M0@borland.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.readers.mbox.zip!sparky!uunet!psinntp!monymsys!sonyd1.Broadcast.Sony.COM!blilly.UUCP!bruce
Newsgroups: news.software.readers,news.software.b
Followup-To: news.software.readers
Organization: Bruce Lilly
Reply-To: lilb@sony.compuserve.com (Bruce Lilly)
Lines: 25