🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Uwe Premer Sun, 08 Nov 2009 00:09
Using a X-Face-Header?
#10989
Author: Uwe Premer
Date: Sun, 08 Nov 2009 00:09
26 lines
1957 bytes
Hello NN-experts,
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?

Tnx in advance,
Uwe
Re: Using a X-Face-Header?
#11065
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads