🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #11065

Re: Using a X-Face-Header?

#11065
From: Aaron W. Hsu
Date: Wed, 06 Jan 2010 19:45
39 lines
3041 bytes
On Sat, 07 Nov 2009 19:09:49 -0500, Uwe Premer <m@uwe-premer.de> wrote:

> I have just discovered the possibilites of NN, but there is one topic,
> for witch I don't get a solution:
> how it is possible to setup a x-Face-Header (in the init-File) for
> permanently use?
>
> I use as editor vim, and it is possible to set the X-Face manually as a
> header in vim, but I want to set it in the init-File.
>
> If I use for example this X-Face-line:
>
> set news-header X-Face:  
> #,5=ct@k]$M~$R;'l7|V~@:!yk[7wI>G2uS+zW>o7`w~Jr$$:jU1i4+c`1p5R,xz96mPXow7q_sR5Gxu:9ZO@_ju#
>
> vim doesn't show it, because auf the "#" at the beginning.
> So I try to escape it with a backslash:
>
> set news-header X-Face:  
> \#,5=ct@k]$M~$R;'l7|V~@:!yk[7wI>G2uS+zW>o7`w~Jr$$:jU1i4+c`1p5R,xz96mPXow7q_sR5Gxu:9ZO@_ju#
>
> but then vim makes a line break after the ";". Escaping with "\" in the
> front of it doesn't matter.
>
> So, what are the complete rules for using a X-Facce-line in the
> init-File?

Sorry that no one has responded to you thus far. I don't see what exactly  
the problem is though. In the init file, you're just going to set the  
headers in a single line with the news-header field, and then that will  
get dropped in by NN, it sounds more like you're having Vim issues than  
init file issues. Just make sure that Vim doesn't try to be too smart when  
you edit the file and you should be fine. Or, test out whether this works  
with a different editor, and you'll know for sure.

	Aaron W. Hsu

-- 
A professor is one who talks in someone else's sleep.
Technical Details
Message-ID: <op.u54miqrv0p3ku8@localhost>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border2.nntp.ams.giganews.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <drehs6-u73.ln1@news.uwe-premer.de>

Show Full Headers
Complete Article Headers
Message-ID: <op.u54miqrv0p3ku8@localhost>
Subject: Re: Using a X-Face-Header?
Date: Wed, 06 Jan 2010 14:45:52 -0500
From: "Aaron W. Hsu" <arcfide@sacrideo.us>
References: <drehs6-u73.ln1@news.uwe-premer.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border2.nntp.ams.giganews.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 06 Jan 2010 13:44:07 -0600
Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes
Newsgroups: news.software.nn
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Organization: Indiana University
User-Agent: Opera Mail/10.10 (Linux)
Lines: 39
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-BDEKChpGVDN4QxYcvTmpDbQkWikaoXbQbGbT1NiICG64yxPACloNYXajIHCAXn0Yma5cjcOGClX9CDl!Ic65zMZKnMso9t9PQfvRfST7le5n2PCJfvLS3Zq1jQahsNkklw==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.40