🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #216618

Re: [tin] How to change default User-Agent line?

#216618
From: Sqwertz
Date: Fri, 08 Feb 2008 07:58
34 lines
2722 bytes
On Fri, 08 Feb 2008 06:19:38 +0000, Peter J Ross wrote:

> On Fri, 08 Feb 2008 04:27:08, Sqwertz <swertz@cluemail.compost> wrote:
>> On Fri, 08 Feb 2008 03:53:54 GMT, Sqwertz wrote:

>>> Another "fancy" option is to just edit your existing executable
>>> (/usr/local/bin/tin, or whatever) with a binary/hex editor - or
>>> Emacs is what I'd use - and search for the string:
>>> 
>>> User-Agent: %s/%s-%s (\"%s\") (%s)%s\n  
>>> 
>>> and replace the last 9 characters of that string with 
>>> 
>>> "\n       "
>>> 
>>> That's \n with 7 spaces after it - no quotes
>>> 
>>> It's the brute forth method: Ugly, but it works.  And saves you
>>> from building it from scratch, possibly breaking something else
>>> in the meantime.
> 
> I much prefer to work with the source code, where I have some chance of
> knowing what I'm doing.

I thought you were having troubles compiling it from source so I
offered the binary solution - no building necessary.

> However, I assume your method would work for anybody who's installed a binary
> package.

Yes.  I use this for similar situations where I don't have the
source to build the binary.

-sw
Technical Details
Message-ID: <edb1evgf0by1$.dlg@sqwertz.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.net.POSTED!666d6152!not-for-mail
References: <slrnfqn4rv.ore.pjr@pjr.motzarella.org> <fog74v$6h2$1@news2.rz.uni-karlsruhe.de> <slrnfqnc54.ore.pjr@pjr.motzarella.org> <1lkqzb3igw8vm$.dlg@sqwertz.com> <1mlx1mt4k92g.dlg@sqwertz.com> <qs8t75xlj2.ln2@pjr.gotdns.org>

Show Full Headers
Complete Article Headers
Message-ID: <edb1evgf0by1$.dlg@sqwertz.com>
Subject: Re: [tin] How to change default User-Agent line?
Date: Fri, 08 Feb 2008 07:58:16 GMT
From: Sqwertz <swertz@cluemail.compost>
References: <slrnfqn4rv.ore.pjr@pjr.motzarella.org> <fog74v$6h2$1@news2.rz.uni-karlsruhe.de> <slrnfqnc54.ore.pjr@pjr.motzarella.org> <1lkqzb3igw8vm$.dlg@sqwertz.com> <1mlx1mt4k92g.dlg@sqwertz.com> <qs8t75xlj2.ln2@pjr.gotdns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!newssvr11.news.prodigy.net.POSTED!666d6152!not-for-mail
Newsgroups: news.software.readers
Content-Transfer-Encoding: 7bit
X-No-Archive: yes
X-WebTV-Stationery: Standard; BGColor=red;
 Background="http://i26.tinypic.com/25polj9.gif"; TextColor=red
Lines: 34
NNTP-Posting-Host: 70.253.85.148
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr11.news.prodigy.net 1202457496 ST000 70.253.85.148 (Fri,
NNTP-Posting-Date: Fri, 08 Feb 2008 02:58:16 EST
Organization: SBC http://yahoo.sbc.com
X-UserInfo1: TSUGWWCGBJWWC\@ZN[O@_WH@YR_B@EXLLBWLOOAFMASJETAANVW[AKWZE\]^XQWIGNE_[EBL@^_\^JOCQ^RSNVLGTFTKHTXHHP[NB\_C@\SD@EP_[KCXX__AGDDEKGFNB\ZOKLRNCY_CGG[RHT_UN@C_BSY\G__IJIX_PLSA[CCFAULEY\FL\VLGANTQQ]FN