Dale | 21 Nov 04:44 2014

slrn/nano wrapping problems still

I want line wrap at 74 for my reads and posts
I don't want word wrap unless it is from something
that is copy/pasted, which seems to be no problem

I have softwrap set in my ~/.nanorc
set softwrap
and it looks fine in nano editing, everything looks
fine in editing

I have nano set as my default editor in my ~/.slrnrc
set editor_command "nano -r 74"
according to the nano docs, this is supposed to
hard wrap at 74 columns

again, when I edit, everything is okay

when I send I get an error
from slrn that a line is not wrapped under 80
and I have to force send

when I then read the post in slrn it is not wrapped

if I copy/paste something word wrapped already, it makes
it through the whole line process fine

I don't want word wrap except for what I copy/paste

I have been reading docs and googling for 2 days, i tried vim,
gedit,emacs, no difference

(Continue reading)

Dale | 19 Nov 21:20 2014

slrn/vim line/word wrap configuration

I have slrn/vim working to wrap lines when I type them

I have to force send in slrn because it says the line is more than 80 chars
when I read I have to press W to wrap and a space is in front of where
W wraps it

how can I get rid of the space

this is what is in my ~/.slrnrc

set editor_command "vim '+set tw=80' +%d '%s'

copy/paste wraps okay, and reads okay

--

-- 
(my whereabouts below)
http://www.dalekelly.org

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk

Dale | 18 Nov 20:13 2014

line wrap with nano,vi(vim?)


seem to have line wrap problems with
nano and vi(vim?)

how can I fix this or use gedit,emacs

thanks

--

-- 
(my whereabouts below)
http://www.dalekelly.org

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk

J.B. Nicholson-Owens | 14 Nov 00:50 2014

http://slrn.sourceforge.net/docs/slrnfuns-8.html#ss8.7

In http://slrn.sourceforge.net/docs/slrnfuns-8.html#ss8.7 "This hook 
will be called whenever group mode is entered. This includes the times 
when one exists article mode back to group mode." the word "exists" 
should read "exits".

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk

Dale | 13 Nov 05:02 2014

mark read, but no delete

how can I make sure my messages are marked read
but not deleted?

I'll be looking around too

--

-- 
(my whereabouts below)
http://www.dalekelly.org

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk

Dale | 11 Nov 04:57 2014

slrn threads sorted by date

I am in progress searching how to do this, but thought I would parralel ask my question

how can I get slrn 1.0.1 to sort threads by activity date, as opposed to original posted date

--

-- 
(my whereabouts below)
http://www.dalekelly.org

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk

Andrey Voropaev | 25 Sep 12:27 2014
Picon

KOI8-R in slrn

Hello!

I have to use version of slrn that does not support 'charset' setting.
The version is not new, so it does not support
set_utf8_conversion_table function. As result, when I try to read news
in Russian, I get garbage on the screen. As far as I can see, slrn
simply treats KOI8-R text as Latin1 and converts it to UTF-8.

In the article view I was able to correct things. My macro gets the
raw text of the article, then converts KOI8-R to UTF-8 and then
replaces article. Works perfectly.

Now I would like to fix subject lines displayed in the "threads" view.
I didn't find any functions that could be used for fixing encodings in
the Subject of the article. Did I miss them, or they really don't
exist?

Best regards
Andrei Voropaev

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk

J.B. Nicholson-Owens | 10 May 04:53 2014

Getting quote regular expressions from ignore_quotes via S-Lang?

How does one get the regular expression(s) used with ignore_quotes in an 
S-Lang slrn macro?

I can't use get_variable_value() because that function only works with 
slrn variables that are set with "set".

I'd like to read these strings for a macro I'm writing where I'd like to 
avoid giving the regular expressions more than once -- once with 
ignore_quotes and another time for the macro to use.

Thanks.

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce

J.B. Nicholson-Owens | 17 Feb 02:52 2014

has_parent() oddity

has_parent() is a bit confusing to me. If one looks at the following two 
articles in news.software.readers with slrn v1.0.1:

<2424ed2d74d5139e22d17f1a40a5f1b0 <at> hoi-polloi.org>
<2424ed2d74d5139e22d17f1a40a5f1b0 <at> msgid.frell.theremailer.net>

they get threaded together. Neither article has a References: header.

Yet has_parent() returns 0 for the former article and has_parent() 
returns 1 for the latter article.

call("get_parent_header") on the latter article raises an exception -- 
"Article has no parent reference." -- which makes sense from the lack of 
a References: header but it remains unobvious why has_parent() ought to 
return 1 for 
<2424ed2d74d5139e22d17f1a40a5f1b0 <at> msgid.frell.theremailer.net> (I'm 
talking about the intention behind has_parent() not necessarily its 
current implementation).

It seems to me that if has_parent() returns non-zero, one ought to be 
able to identify the article that is that article's parent, even if that 
article is not present on the server.

I'm not sure if I'm seeing a bug in the has_parent() implementation, a 
bug in the has_parent() documentation (maybe more explanation about how 
has_parent() can return 1 even if the parent is due to slrn grouping 
articles into threads by sorting?), or if I'm misunderstanding something 
about proper use of has_parent().

------------------------------------------------------------------------------
(Continue reading)

J.B. Nicholson-Owens | 16 Feb 19:00 2014

Get thread info slrn has in article mode?

In article mode, slrn can show the user a thread tree: a clear 
indication of which article is an article's parent, and which articles 
are that article's children (if any). I'd like to get at this thread 
information in an S-Lang macro for slrn.

I'd like to get at this information without:

- adding articles to the thread that aren't already in the visible 
thread tree. I don't want to reconstruct the whole thread nor do I want 
to add any articles to the thread display I'm not already seeing.

- requesting anything from the news server 
(http://slrn.sourceforge.net/docs/slrn-manual-7.html#akey_get_parent_header 
says that get_parent_header will download data from the server if 
necessary).

- rebuilding thread information by reading References: header data 
because slrn has apparently already done that plus constructed threads 
from articles where References: header data is missing. We see the fruit 
of this work when slrn shows the user the thread tree.

Is there S-Lang API for slrn to let an S-Lang macro read this thread 
data? It would be okay if this were read-only data for the macro.

I need this information to show the relationships between articles in 
the same thread in a different way than slrn currently does this and I'd 
like to avoid rewriting code that already does this job.

Thanks.

(Continue reading)

Martin Trautmann | 23 Oct 10:41 2013
Picon
Picon

false configuration for utf8

Hi all,

is there some kind of mixed setup option for charset definitions?

My setup does create proper

Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

However, I sometimes observe error messages from slrn, telling me:

Can't convert utf8 -> UTF-8

Example:
Mime-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
Message-ID: <slrnl6ecqe.ecm.als <at> mordor.angband.thangorodrim.de>

The message itself is shown properly.

Personally, I have within my .slrnrc a line
	charset config "utf-8"

and

#if$LANG en_US.UTF-8
% fallback_charset patch from http://www.foory.de/thw/slrn/
set fallback_charset iso-8859-15
(Continue reading)


Gmane