Article View: news.software.readers
Article #267218Re: Free / opensource text-only reader for linux - suggestions, please?
From: De ongekruisigde (ds.)
Date: Sun, 28 Apr 2024 16:26
Date: Sun, 28 Apr 2024 16:26
78 lines
3613 bytes
3613 bytes
On 2024-04-28, rek2 hispagatos <rek2@hispagatos.org.invalid> wrote:
> On 2024-04-27, Frank Slootweg <this@ddress.is.invalid> wrote:
>> rek2 hispagatos <rek2@hispagatos.org.invalid> wrote:
>>> On 2024-04-26, Richard <legalize+jeeves@mail.xmission.com> wrote:
>>> > [Please do not mail me a copy of your followup]
>>> >
>>> > rodion_gork@mail.ru (RodionGork) spake the secret code
>>> ><353106c549c5267814e3e2c71aff0b10@www.novabbs.com> thusly:
>>> >
>>> >>But what about client?
>>> >
>>> > I like trn. It's available through most linux package managers.
>>> >
>>> > I like it so much that I'm hacking on it to improve it:
>>> ><https://github.com/LegalizeAdulthood/trn>
>>>
>>> Where can we find this changes? I am using slrn on my laptops/desktops
>>> but I have termux on one of my tablets and can't find a good client..
>>
>> If you use slrn on your laptops/desktops, then can't you just build it
>> on Termux? Shouldn't be too hard.
>>
>> I don't use slrn myself (but tin), but AFAIK the current main slrn
>> website is <http://slrn.info>.
>
> I tried, but is missing libraries, and is arm procesor so a ton of
> errors
You're using termux, downloaded from F-Droid? (Play Store version
is outdated).
I downloaded the source and compiled it myself. For Termux (Linux under
Android; minor edits required but if it works there...)
GitHub - jedsoft/slrn: A multi-platform Usenet client
https://github.com/jedsoft/slrn
Listing of diffs:
diff --git a/src/misc.c b/src/misc.c
index d6b1886..555e0cd 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -373,7 +373,7 @@ void slrn_verror (char *fmt, va_list ap)
{
va_list ap1;
- VA_COPY(ap1, ap);
+ va_copy(ap1, ap);
if ((Slrn_TT_Initialized & SLRN_SMG_INIT) == 0)
{
@@ -1022,7 +1022,7 @@ FILE *slrn_open_tmpfile_in_dir (char *dir, char *file, size_t n)
else if (i)
break;
- fd = open (file, O_WRONLY | O_CREAT | O_EXCL, S_IREAD | S_IWRITE);
+ fd = open (file, O_WRONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
if (fd != -1)
{
if (NULL == (fp = fdopen (fd, "w")))
diff --git a/src/snprintf.c b/src/snprintf.c
index 8bed6b4..2c9890a 100644
--- a/src/snprintf.c
+++ b/src/snprintf.c
@@ -103,7 +103,7 @@ char *slrn_strdup_vprintf (const char *format, va_list args1) /*{{{*/
if (format == NULL) return NULL;
- VA_COPY (args2, args1);
+ va_copy (args2, args1);
buffer = slrn_safe_malloc (printf_string_upper_bound (format, args1));
--
De Kerk van Roodkapje (KvR) belijdt de enige ware religie! De
Rode Macht van Roodkapje is wetenschappelijk onderzocht en
bevestigd (google roodverschuiving).
Technical Details
Message-ID:
<v0ltc3$14sk1$1@dont-email.me>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:
<353106c549c5267814e3e2c71aff0b10@www.novabbs.com> <v0go17$8spq$1@news.xmission.com> <v0jio4$7s0$4@matrix.hispagatos.org> <v0jqtu.nfk.1@ID-201911.user.individual.net> <v0lq87$1ao7$1@matrix.hispagatos.org>Show Full Headers
Complete Article Headers
Message-ID: <v0ltc3$14sk1$1@dont-email.me> Subject: Re: Free / opensource text-only reader for linux - suggestions, please? Date: Sun, 28 Apr 2024 16:26:43 +0000 From: "De ongekruisigde (ds.)" <ongekruisigde@gekruisigden.invalid> References: <353106c549c5267814e3e2c71aff0b10@www.novabbs.com> <v0go17$8spq$1@news.xmission.com> <v0jio4$7s0$4@matrix.hispagatos.org> <v0jqtu.nfk.1@ID-201911.user.individual.net> <v0lq87$1ao7$1@matrix.hispagatos.org> 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 Newsgroups: news.software.readers Organization: Ongekruisigden Lines: 78 Reply-To: deongekruisigde@invalid.invalid Injection-Date: Sun, 28 Apr 2024 18:26:43 +0200 (CEST) User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:LZBmOMBlimmDfcqzIFG2U+sJf3A=