Article View: news.software.readers
Article #264972Re: trn4: Where are memorized command stored?
From: Lewis
Date: Mon, 24 May 2021 10:21
Date: Mon, 24 May 2021 10:21
48 lines
3122 bytes
3122 bytes
In message <7RIqI.835623$zV01.515671@usenetxs.com> Joanna Shuttleworth <js@example.net> wrote:
> On 2021-05-23, Kenny McCormack <gazelle@shell.xmission.com> wrote:
>> I had an accident with keystrokes (think: cat walked on keyboard) while I
>> was reading news with trn (version 4). Somehow, a certain thread got
>> marked as "memorized", so that whenever I join that particular group, it
>> gets "selected". I, of course, want to undo this operation.
>>
>> tl;dr: I eventually figured out that hitting T then c on that thread would
>> "de-memorize" it, so problem is solved. However, ...
>>
>> I would like to know how/where this command gets stored - so that I could
>> just edit it out of that file. I know about killfiles and where they are
>> stored and frequently end up editing them by hand, so no problem doing that
>> if needed. But, here's the thing:
>>
>> 1) Everything in the man page ("man trn"), says that "memorized"
>> commands are stored in the killfile (either the so-called "global"
>> killfile or the group-specific killfile). But this doesn't seem to
>> be the case, because...
>>
>> 2) There was nothing in either killfile that had to do with
>> the memorization of this thread. I can tell this by the access
>> date/time on the killfile file and/or by comparing the file (via
>> the "diff" utility) to a previous version of it. I can state with
>> pretty close to total certainty, that there's nothing in either
>> file having to do with this memorization stuff.
>>
>> So, it must be stored somewhere else. Where?
>>
>> P.S. I suspect that something got changed in the software and the docs
>> (the man page) was not updated. So, they are out of sync.
>>
> use the source, Luke
Or, probably simpler, pick a random thread with a distinctive rod in the
subject in a group you do not normally subscribe to. grep your trn files
for that group name, mark the thread as memorized, then grep again.
Chances are very good you will see a file has changed.
Also, searching "trn memorize:" brings up some threads for a group hosted
on <spit> sourceforge that might be helpful?
--
'Now what?' it said. IT'S UP TO YOU. IT'S ALWAYS UP TO YOU.
--Maskerade
Technical Details
Message-ID:
<slrnsamvha.684.g.kreme@m1mini.local>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<s8ehqd$18bco$2@news.xmission.com> <7RIqI.835623$zV01.515671@usenetxs.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnsamvha.684.g.kreme@m1mini.local> Subject: Re: trn4: Where are memorized command stored? Date: Mon, 24 May 2021 10:21:31 +0000 From: Lewis <g.kreme@kreme.dont-email.me> References: <s8ehqd$18bco$2@news.xmission.com> <7RIqI.835623$zV01.515671@usenetxs.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail User-Agent: slrn/1.0.3 (Darwin) Newsgroups: news.software.readers Organization: Miskatonic U Lines: 48 Injection-Date: Mon, 24 May 2021 10:21:31 -0000 (UTC) Mail-Copies-To: nobody Cancel-Lock: sha1:V+xAgCYSOXSh09ezLhLNk2kZdGM= X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z Reply-To: g.kreme@gmail.don-t-email-me.com X-Clacks-Overhead: GNU Terry Pratchett