Deutsch   English   Français   Italiano  
<v0ltc3$14sk1$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "De ongekruisigde (ds.)" <ongekruisigde@gekruisigden.invalid>
Newsgroups: news.software.readers
Subject: Re: Free / opensource text-only reader for linux - suggestions,
 please?
Date: Sun, 28 Apr 2024 16:26:43 -0000 (UTC)
Organization: Ongekruisigden
Lines: 78
Message-ID: <v0ltc3$14sk1$1@dont-email.me>
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>
Reply-To: deongekruisigde@invalid.invalid
Injection-Date: Sun, 28 Apr 2024 18:26:43 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="415b541b31b17ee4192eae3493511c90";
	logging-data="1208961"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+89uM9s3gvU3sRtKftAcg/nmQ/lQLbashtqBO1C7/VMQ=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:LZBmOMBlimmDfcqzIFG2U+sJf3A=
Bytes: 3857

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).