Re: alt-~ in xfce

2024-06-03 Thread eben

On 6/3/24 02:50, Paul Scott wrote:

(Debian sid)

Can alt-~ in  XFCE switch windows of the same application?


alt-tilde in XFCE does nothing, at least in my installation (XFCE 4.18)

--
Driscoll's Observation: The product of the IQs of each member
of a tech-support conversation is a constant.

-- Michael Driscoll on ASR



Re: configuração de teclado

2024-06-03 Thread ayf

Tente o seguinte comando:

dpkg-reconfigure keyboard-configuration

Tenho anotado mais os seguintes comandos, mas não lembro se precisei usar:

service keyboard-setup restart
udevadm trigger --subsystem-match=input --action=change

Em 02/06/2024 21:09, Galileu H. Oliveira escreveu:

Pessoal,
Não tive resposta, então vou insistir: alguém pode me ajudar a
reconfigurar o teclado? O laptop é um HP com teclado brasileiro do
tipo comum (cada computador tem um teclado um pouco
diferente, então é um teclado brasileiro comum mesmo; não dá para ser
mais específico).
Após algumas tentativas de dpkg-recofigure locales, keyboard e
console-data mal sucedidas, não consigo sequer logar, porque os
caracteres são de um teclado sei lá de onde. Nem meu nome de login
consigo teclar. Acho que a solução vai ser um boot via usb. Mas e daí?
Altero o quê para conseguir com que meu teclado seja adequadamente
compreendido? Obviamente, estou escrevendo isso de outro computador.
sds.
G.Paulo.


On Sun, 28 Apr 2024 09:59:15 -0300
"Galileu H. Oliveira"  wrote:


Vou tentar responder suas perguntas, mas não estou absolutamente certo
sobre todas as respostas, que entremeei ao texto. Mas agradeço a
tentativa de esclarecer o mistério.
Sds.
G.Paulo.

  On Sat, 27 Apr 2024 16:40:27 -0300
Leandro Guimarães Faria Corcete DUTRA  wrote:


Le 27/04/2024 à 15:51, Galileu H. Oliveira a écrit :

Tenho Trixie instalado num notebook HP, mas estou com problemas no
teclado

E o teclado seria o quê, ABNT?

ABNT2. Mas no menu do dpkg-reconfigure não tem esta opção. Então, a
escolha mais ou menos óbvia é um Generic 10?-key PC.
   

tanto no do laptop quanto num Logitec wifi externo.

Mesma pergunta.

Idem, ABNT2.
   

Quando uso a interface gráfica, tudo vai bem e a configuração no
Gnome é "Portuguese (Brazil)".

Isso seria configuração de língua, mas qual a de teclado
especificamente?

Esta é exatamente a configuração de teclado. Refiro-me agora à
aplicação "Setings", cujo ícone no Gnome é uma roda dentada.
No Setings/Keyboard é exatamente isso que tem sob o "Input Sources".
Por outro lado, em Setings/System, sob "Region & Language" tenho
"Language Unspecified".
Há uma outra aplicação denominada "Tweaks" que não acrescenta
muito ao que já temos aqui.
Agora, veja, isso é o que eu consigo obter na interface gráfica do
Gnome, mas não tenho a menor ideia de em que arquivo estas coisas são
armazenadas (uma busca na Internet por pelo menos 1 hora não ajudou
muito).
Além disso, pouco importa o Gnome, KDE ou o que for, o problema reside
em ponto anterior, na configuração do teclado como o sistema vê logo
após o boot, ainda sem interface gráfica.
   

O problema está fora da interface gráfica, por exemplo, quando
entro num prompt de login após um ctrl+alt+F3 ou quando a
interface gráfica dá pau devido algum pacote "broken". Neste
caso, o teclado é... sei lá que teclado é esse! Por exemplo, ao
teclar '*' dá '(', ao teclar ';' dá '-' e por aí vai.
O /etc/default/keyboard é XKBMODEL="pc104"
XKBLAYOUT="pt"

Acho que selecionaste o teclado ISO de Portugal.

Não, não é o caso. a variávl XKBLAYOUT pode ser "pt", "br", "us" etc.;
a XKBVBARIANT pode ser "", "nativo" e 1000 outros, e o resultado é
sempre, rigorosamente, invariavelmente, repetidamente o mesmo.

   




Re: script ocaml utilisant module Unix

2024-06-03 Thread didier gaumet

Le 03/06/2024 à 11:31, Basile Starynkevitch a écrit :

Bonjour la liste

Sur mon système Debian Testing j'ai

  % /usr/bin/ocaml --version
   The OCaml toplevel, version 4.14.1

Sans utiliser opam je voudrais améliorer dans 
https://github.com/RefPerSys/RefPerSys/commit/dbf79c52dafd6b26d028c407c7339d1645ad8479 le script Create-RefPerSys.ocaml pour que le module Unix soit chargé


(et seules les distributions Linux m'intéressent)

Comment faire?

Cordialement


Bonjour

Avertissement: je ne connais strictement rien à Ocalm

bien qu'il semble être possible d'installer Ocalm sans Opam (le 
gestionnaire de paquets sources d'Ocalm), ça semble aussi amener des 
difficultés ou dysfonctionnements d'après les entrefilets trouvés sur 
internet.
En tout cas l'installation minimale d'Ocalm telle que recommandée par le 
site Ocalm.org implique l'installation d'Opam comme étape préalable:

https://ocaml.org/docs/installing-ocaml

Les paquets sources Ocaml relatifs à Unix sont là:
https://ocaml.org/packages/search?q=unix
peut-être regarder du côté de core-unix et base-unix (simple 
supposition, ce n'est peut-être pas ça)


La doc sur les modules (si il s'agit bien de modules au sens Ocalm du 
terme) et la façon de les utiliser est là, tu trouveras peut-être (je 
n'ai pas lu) un indice sur comment faire sans Opam:

https://ocaml.org/docs/modules



Re: advanced scripting problems - or wrong approach?

2024-06-03 Thread Jonathan Dowland
On Sat Jun 1, 2024 at 8:20 AM BST, DdB wrote:
> for years have i been using a self-made backup script, that did mount a
> drive via USB, performed all kinds of plausibility checks, before
> actually backing up incrementally. Finally verifying success and logging
> the activities while kicking the ISB drive out.

I'd keep using this for now, if I were you, and work on
implementing/fixing a replacement at the same time, and only stop doing
the simple solution when the newer solution has reached the same level
of reliability.

-- 
Please do not CC me for listmail.

  Jonathan Dowland
✎j...@debian.org
   https://jmtd.net



script ocaml utilisant module Unix

2024-06-03 Thread Basile Starynkevitch

Bonjour la liste

Sur mon système Debian Testing j'ai

 % /usr/bin/ocaml --version
  The OCaml toplevel, version 4.14.1

Sans utiliser opam je voudrais améliorer dans 
https://github.com/RefPerSys/RefPerSys/commit/dbf79c52dafd6b26d028c407c7339d1645ad8479 
le script Create-RefPerSys.ocaml pour que le module Unix soit chargé


(et seules les distributions Linux m'intéressent)

Comment faire?

Cordialement

--
Basile Starynkevitch 
(only mine opinions / les opinions sont miennes uniquement)
8 rue de la Faïencerie, 92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/ -gives my mobile number +33 6 8501 
See/voir:   https://github.com/RefPerSys/RefPerSys



Re: (Oftopic) documentación completamente obsoleta

2024-06-03 Thread Camaleón
El 2024-06-03 a las 04:24 +, Eduardo Jorge Gil Michelena escribió:

>  EN PRINCIPIO: Disculpen el TOP Posting
> Todavía NO encontré la forma de que el editor de Yahoo Mail pueda hacer el 
> quoteo como manda la lista. 
> Perdonen.

(...)

?

Hombre... Si el editor «no puede», pues lo haces tú mismo, que para eso 
usas Debian y estarás más que capacitado para ubicar el cursor donde 
quieras (abajo/arriba) y añadir el nivel de cita «>» que necesites ;-)

Saludos,

-- 
Camaleón 



alt-~ in xfce

2024-06-03 Thread Paul Scott

(Debian sid)

Can alt-~ in  XFCE switch windows of the same application?

TIA,

Paul




Re: (Oftopic) documentación completamente obsoleta

2024-06-03 Thread Camaleón
El 2024-06-02 a las 21:34 +0200, Juan carlos Rebate escribió:

> Hola, debo decir que para ser uno de los sistemas operativos más
> usados del mundo, tiene una horrible gestión de la documentación.

Peor aún es cuando quieres colaborar para subsanar o mejorar este 
tipo de cosas (documentación traducciones, mantener paquetes...).

Un caos. Terrible. Tedioso. Un horror.

Hay que tener una fuerza de volutad numantina para no sucumbir, pero en 
cierto modo, el esfuerzo tiene su encanto y lo que te (nos) da Debian 
no tiene precio :-)

> Tengo un problema de configuración de apache y la wiki aún hace
> referencia a php 5 en lugar de php 8 que es el soportado ahora. Existe
> alguna forma de obtener documentación actualizada de manera
> centralizada? no me gustaría tener que cambiar a Ubuntu Server por el
> tema dee snap y las actualizaciones obligatorias, gracias.

Buf... si se trata de un problema concreto, mejor si nos dices qué te 
pasa exaactamente para poder orientarte mejor en la búsqueda de 
documentación.

Mientras tanto:

Apache HTTP Server
https://wiki.archlinux.org/title/Apache_HTTP_Server

Saludos,

-- 
Camaleón 



Re: advanced scripting problems - or wrong approach?

2024-06-02 Thread DdB
Am 02.06.2024 um 02:41 schrieb DdB:
> Will share my findings, once i made more progress...

Here is what i've got before utilizing it:


> datakanja@PBuster-NFox:/mnt/tmp$ cat test 
> #!/bin/bash -e
> # testing usefulness of coprocess to control host and backup machine from a 
> single script.
> # beware: do not use subprocesses or pipes, as that will confuse the pipes 
> setup by coproc!
> # At this point, this interface may not be very flexible
> # but trying to follow best practices for using coproc in bash scripts
> # todo (deferred): how to handle stderr inside coproc?
> # todo (deferred): what, if coproc dies unexpectedly?
> 
>   # setting up the coprocess:
>   stdout_to_ssh_stdin=5 # arbitrary choice outside the range of used file 
> desciptors
>   stdin_from_ssh_stdout=6
> 
>   coproc SSH { bash; } # for testing purposes, i refrain from really 
> involving ssh just yet and replace it with bash:
> 
>   # save filedescriptors by duplicating them:
>   eval "exec ${stdin_from_ssh_stdout}<&${SSH[0]} 
> ${stdout_to_ssh_stdin}>&${SSH[1]}"
>   echo The PID of the coproc is: $SSH_PID # possibly useful for inspection
> 
> unique_eof_delimirer=""
> line=""
> # collect the output available and print it locally (synchonous):
> function print-immediate-output () {
>   while IFS= read -r -u "${stdin_from_ssh_stdout}" line
>   do
>   if [[ "${line:0-5:5}" == "$unique_eof_delimirer" ]] # currently, 
> the length is fixed
>   then
>   line="${line%}"
>   if [[ ! -z $line ]]
>   then
>   printf '%s\n' "$line"
>   fi
>   break
>   fi 
>   printf '%s\n' "$line"
>   done
> }
> 
> # send a single command via ssh and print output locally
> function send-single-ssh-command () {
>   printf '%s\n' "$@" >&"${stdout_to_ssh_stdin}"
>   printf '%s\n' "echo '"$unique_eof_delimirer"'" 
> >&"${stdout_to_ssh_stdin}"
>   print-immediate-output
> }
> 
> 
> send-single-ssh-command "find . -maxdepth 1 -name [a-z]\*" # more or less a 
> standard command, that succeeds
> send-single-ssh-command "ls nothin" # more or less a standard command, that 
> fails
> 
>   # tearing down the coprocess:
>   printf "%s\n" "exit" >&"${stdout_to_ssh_stdin}" # not interested in any 
> more output (probably none)
>   wait
>   # Descriptors must be closed to prevent leaking.
>   eval "exec ${stdin_from_ssh_stdout}<&- ${stdout_to_ssh_stdin}>-"
> 
>   echo "waited for the coproc to end gracefully, done"
> 
> datakanja@PBuster-NFox:/mnt/tmp$ ./test
> The PID of the coproc is: 28154
> ./test
> ./out
> ls: Zugriff auf 'nothin' nicht möglich: Datei oder Verzeichnis nicht gefunden
> waited for the coproc to end gracefully, done
> datakanja@PBuster-NFox:/mnt/tmp$ 



Re: (Oftopic) documentación completamente obsoleta

2024-06-02 Thread Eduardo Jorge Gil Michelena
 EN PRINCIPIO: Disculpen el TOP Posting
Todavía NO encontré la forma de que el editor de Yahoo Mail pueda hacer el 
quoteo como manda la lista. 
Perdonen.

Mira...
Debian NO sé (digo que NO sé, no que no lo sea) si es el SO más usados en el 
mundo. A mi me "parece" que es Windows. 
PERO... por lo que a MI respecta es el que es más seguro y estable. Lo instalas 
y te olvidas. Por lo menos YO me olvidé de tocarlo por 10 años hasta que tocó 
actualizar por motivos de que los navegadores ya estaban obsoletos y no se 
podían actualizar si no actualizabas el SO. Así que he tenido que actualizar el 
SO primero.
OJO... tengo varias máquinas en casa y muchas más en la oficina y ninguna de 
las que tiene un Linux ha fallado por años... IMPRESIONANTE.
En casa y en la oficina tenemos (casi por obligación profesional) máquinas con 
Windows... que dan muchos dolores de cabeza y son las que requieren estarle 
encima por cualquier cosa...

He probado varias distros Linux... así que conozco ahora a nivel usuario, antes 
a nivel profesional varias distros.

Debian tiene sus cosillas... las actualizaciones "Stable" suelen tener un poco 
de retraso, quizás sea un poco compliqueti de encontrar documentación... 
pero... funciona y no te rompe la paciencia.

Ahora... te puedo asegurar que los de Canonical con los Ubuntu/Xubuntu/Lubuntu 
cada tanto se mandan unas macanas gigantescas que es para mandarlos a freir 
churros... después se enojan... (hace un tiempo se enojaron mucho conmigo 
porque les marqué un error garrafal)
Canonical ya se mandó la macana con esa interfaz Unity que era una porquería... 
insistieron años intentando "instalarla" en el mercado hasta que se dieron 
cuenta de que la gente se cambiaba a otras distros.
Ahora están tratando de imponer la "moda" del SNAP... otra porquería... te 
llena de basura el disco y para colmo los de Canonical te abordan la PC con 
programas que no quieres tener...

Mira...
Debian tiene sus cosillas... pero para server es lo mejorcito que hay y para 
estación de trabajo va muy bien. 
¿Te resulta difícil encontrar documentación? bueh... pregunta por aquí porque 
siempre hay gente mejores informados que yo dispuestos a ayudar. 
YO no te puedo ayudar en eso porque ahora estoy en "Modo usuario final" y me 
olvidé hasta de cómo se monta un disco (¡Una vergüenza!) Pero... sigue con 
Debian como server... es de lo mejorcito que hay.

Saludos.
 El domingo, 2 de junio de 2024, 04:35:34 p. m. ART, Juan carlos Rebate 
 escribió:  
 
 Hola, debo decir que para ser uno de los sistemas operativos más
usados del mundo, tiene una horrible gestión de la documentación.
Tengo un problema de configuración de apache y la wiki aún hace
referencia a php 5 en lugar de php 8 que es el soportado ahora. Existe
alguna forma de obtener documentación actualizada de manera
centralizada? no me gustaría tener que cambiar a Ubuntu Server por el
tema dee snap y las actualizaciones obligatorias, gracias.

  

Re: Tbird and square brackets in subject field - was - Re: Parenthesis or square brackets and "was"

2024-06-02 Thread Max Nikulin

On 03/06/2024 00:19, Bret Busby wrote:

On 3/6/24 01:16, Bret Busby wrote:

On 3/6/24 01:09, Bret Busby wrote:

On 3/6/24 01:06, Bret Busby wrote:

On 6/1/24 23:02, Max Nikulin wrote:

On 02/06/2024 02:59, Andrew M.A. Cater wrote:


For example: New question [WAS Old topic]


Are square brackets intentional here? E.g. thunderbird strips "(was:"
subject part from response subject.

[...]

"Re: [GNC] Problem with New Account Creation"
is apparently not molested by Tbird.

[...]
"Re: [solved] Re: No login with Debian 12 ssh client, ssh-rsa key, 
Debian 8 sshd"

[...]

"[SECURITY] [DSA 5703-1] linux security update"

[...]

"Re: [Users] How to check if Bogofilter is still working?"


Relax. In the case of thunderbird the pattern is namely " (was:".

It is not configurable, but I do not expect significant rate of false 
positives. I do not see any problem with this behavior as the default. 
When subject is changed you see both old and new variants. In follow-ups 
it allows to keep subject concise without additional efforts from users. 
Messages still have links to all messages in the thread in the 
References header, so you may find original subject if you need it.


UI may offer to revert subject to the original one and I would consider 
it as an improvement.


Regexp in Emacs includes square bracket and variation of case. However 
there are more tunables:

https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/gnus/message.el#n321
- `message-subject-trailing-was-query'
- `message-subject-trailing-was-ask-regexp'
- `message-subject-trailing-was-regexp'

I accidentally noticed stripping old subject part in another mailing 
list, so I was curious if "[WAS" in the FAQ follows another convention 
than thunderbird implements. Andrew clarified that it is just an example 
and it is intended for humans.


It seems thunderbird may add "(was:", but I have never used message 
templates.




Re: configuração de teclado

2024-06-02 Thread Carlos Henrique Lima Melara
Oi, G.Paulo.

On Sat, Apr 27, 2024 at 03:51:09PM GMT, Galileu H. Oliveira wrote:
> Tenho Trixie instalado num notebook HP, mas estou com problemas no
> teclado, tanto no do laptop quanto num Logitec wifi externo.
> Quando uso a interface gráfica, tudo vai bem e a configuração no Gnome é
> "Portuguese (Brazil)".
> O problema está fora da interface gráfica, por exemplo, quando entro
> num prompt de login após um ctrl+alt+F3 ou quando a interface gráfica
> dá pau devido algum pacote "broken". Neste caso, o teclado é... sei lá
> que teclado é esse! Por exemplo, ao teclar '*' dá '(', ao teclar ';'
> dá '-' e por aí vai. O /etc/default/keyboard é 
> XKBMODEL="pc104"
> XKBLAYOUT="pt"
> XKBVARIANT=""
> XKBOPTIONS="terminate:ctrl_alt_bksp"
> BACKSPACE="guess"
> 
> mas tentei diversas combinações de pc104, pc105 etc. e português,
> inglês etc., sempre com
>  # dpkg-reconfigure keyboard-configuration
>  # service keyboard-setup restart
> e todas resultam, ao que parece, no mesmo. Mas como a possibilidade
> de combinações de modelo e língua são infinitas, não dá para testar
> todas.
> Enfim, não sei o que fazer nesse ponto. Alguma sugestão?
> Só para mencionar, estou escrevendo de um Asus com Buster instalado e
> com exatamente a mesma configuração de teclado, e tudo corre muito bem.

Você chegou a ler a manpage keyboard (5) [1]? Ele indica alguns passos e
dá outras referências como rodar setupcon para ativar as mudanças no
console. Eu tenho um thinkpad e meu teclado funciona corretamente no
console. Meu /etc/default/keyboard é:

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="br"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"

Abraços,
Charles

[1] 
https://manpages.debian.org/bookworm/keyboard-configuration/keyboard.5.en.html



Re: (Oftopic) documentación completamente obsoleta

2024-06-02 Thread N4ch0
On Sun Jun 2, 2024 at 4:34 PM -03, Juan carlos Rebate wrote:
> Hola, debo decir que para ser uno de los sistemas operativos más
> usados del mundo, tiene una horrible gestión de la documentación.
> Tengo un problema de configuración de apache y la wiki aún hace
> referencia a php 5 en lugar de php 8 que es el soportado ahora. Existe
> alguna forma de obtener documentación actualizada de manera
> centralizada? no me gustaría tener que cambiar a Ubuntu Server por el
> tema dee snap y las actualizaciones obligatorias, gracias.

En el handbook creo están al díaigual dudo te ayude para un problema
en particular que tengas.



Re: configuração de teclado

2024-06-02 Thread Galileu H. Oliveira
Pessoal,
Não tive resposta, então vou insistir: alguém pode me ajudar a
reconfigurar o teclado? O laptop é um HP com teclado brasileiro do
tipo comum (cada computador tem um teclado um pouco
diferente, então é um teclado brasileiro comum mesmo; não dá para ser
mais específico).
Após algumas tentativas de dpkg-recofigure locales, keyboard e
console-data mal sucedidas, não consigo sequer logar, porque os
caracteres são de um teclado sei lá de onde. Nem meu nome de login
consigo teclar. Acho que a solução vai ser um boot via usb. Mas e daí?
Altero o quê para conseguir com que meu teclado seja adequadamente
compreendido? Obviamente, estou escrevendo isso de outro computador.
sds.
G.Paulo.


On Sun, 28 Apr 2024 09:59:15 -0300
"Galileu H. Oliveira"  wrote:

> Vou tentar responder suas perguntas, mas não estou absolutamente certo
> sobre todas as respostas, que entremeei ao texto. Mas agradeço a
> tentativa de esclarecer o mistério.
> Sds.
> G.Paulo.
> 
>  On Sat, 27 Apr 2024 16:40:27 -0300
> Leandro Guimarães Faria Corcete DUTRA  wrote:
> 
> > Le 27/04/2024 à 15:51, Galileu H. Oliveira a écrit :  
> > > Tenho Trixie instalado num notebook HP, mas estou com problemas no
> > > teclado
> > 
> > E o teclado seria o quê, ABNT?  
> ABNT2. Mas no menu do dpkg-reconfigure não tem esta opção. Então, a
> escolha mais ou menos óbvia é um Generic 10?-key PC.
> > 
> >   
> > > tanto no do laptop quanto num Logitec wifi externo.
> > 
> > Mesma pergunta.  
> Idem, ABNT2.
> > 
> >   
> > > Quando uso a interface gráfica, tudo vai bem e a configuração no
> > > Gnome é "Portuguese (Brazil)".
> > 
> > Isso seria configuração de língua, mas qual a de teclado
> > especificamente?  
> Esta é exatamente a configuração de teclado. Refiro-me agora à
> aplicação "Setings", cujo ícone no Gnome é uma roda dentada. 
> No Setings/Keyboard é exatamente isso que tem sob o "Input Sources".
> Por outro lado, em Setings/System, sob "Region & Language" tenho
> "Language Unspecified".
> Há uma outra aplicação denominada "Tweaks" que não acrescenta
> muito ao que já temos aqui.
> Agora, veja, isso é o que eu consigo obter na interface gráfica do
> Gnome, mas não tenho a menor ideia de em que arquivo estas coisas são
> armazenadas (uma busca na Internet por pelo menos 1 hora não ajudou
> muito).
> Além disso, pouco importa o Gnome, KDE ou o que for, o problema reside
> em ponto anterior, na configuração do teclado como o sistema vê logo
> após o boot, ainda sem interface gráfica.
> > 
> >   
> > > O problema está fora da interface gráfica, por exemplo, quando
> > > entro num prompt de login após um ctrl+alt+F3 ou quando a
> > > interface gráfica dá pau devido algum pacote "broken". Neste
> > > caso, o teclado é... sei lá que teclado é esse! Por exemplo, ao
> > > teclar '*' dá '(', ao teclar ';' dá '-' e por aí vai.
> > > O /etc/default/keyboard é XKBMODEL="pc104"
> > > XKBLAYOUT="pt"
> > 
> > Acho que selecionaste o teclado ISO de Portugal.  
> Não, não é o caso. a variávl XKBLAYOUT pode ser "pt", "br", "us" etc.;
> a XKBVBARIANT pode ser "", "nativo" e 1000 outros, e o resultado é
> sempre, rigorosamente, invariavelmente, repetidamente o mesmo.
> 
> > 
> >   
> 



Re: (Oftopic) documentación completamente obsoleta

2024-06-02 Thread Francisco Cid
El dom, 2 jun 2024 a la(s) 3:35 p.m., Juan carlos Rebate (nerus...@gmail.com)
escribió:

> Hola, debo decir que para ser uno de los sistemas operativos más
> usados del mundo, tiene una horrible gestión de la documentación.
> Tengo un problema de configuración de apache y la wiki aún hace
> referencia a php 5 en lugar de php 8 que es el soportado ahora. Existe
> alguna forma de obtener documentación actualizada de manera
> centralizada? no me gustaría tener que cambiar a Ubuntu Server por el
> tema dee snap y las actualizaciones obligatorias, gracias.
>


si hacen referencia a una versión más antigua lo más conveniente es revisar
directamente la documentación del proyecto, en este caso apache
https://httpd.apache.org/docs/2.4/
Saludos,

 Francisco Cid


Re: SeaMonkey et al - was - Re: [ SOLVED] Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Chris M

Bret Busby wrote:

On 3/6/24 04:14, Chris M wrote:

Felix Miata wrote:

It might be worth checking what language the emails are in. Thunderbird



allows you to specify fonts separately for each writing system (e.g. if

you want to specify fonts for Japanese or Greek or Khmer messages, you
can do). For English and comparable languages, you want to set a font
for "Latin" writing system. However, note that there is also "Other
Writing Systems" so I can imagine that, if these emails aren't UTF-8 -
if they're some strange Windows encoding, for example - they might not
be using the font you think you've set.

< SNIP >


BACK STORY:

This all started this last night on the TDE ( Trinity Desktop) mail 
list:


Felix here got to talking about Seamonkey, and it got me interested 
in what it was up to, and I thought " I haven't tried SM in years, 
let me download it"


Well, The browser barely works.=-O:-(

But, The email client that I am typing this email in right now, is 
SeaMonkey's mail client and I am LOVING IT, it reminds me of my 
beloved Netscape Navigator email

client that I use to use back on XP, before AOL killed off Netscape. >:o

Ohhh Yes, I was a huge Netscape fan back then! 8-)O:-)

I was mad for a long time after AOL killed off Netscape 9. I don't 
even remember when that happened? 2008? 2009?


So, I got the email client set up but replies from a certain person 
were TINY TINY TINY.


Interesting enough, Felix I just opened an email from DEP and went to 
"VIEW MESSAGE SOURCE"


and scrolled through the text and found out that DEP ( That's a user 
over on the TDE list ) is in fact using UTF-8.


"Content-Type: text/plain; charset="utf-8"

Content-Transfer-Encoding: base64"

Then, I just so happen to come across this plug in and WOW, what a 
difference!


I am guessing that everybody else uses regular TB, and me and Felix 
are the only ones that still cling

to Seamonkey?



I use SeaMonkey, with javash*** disabled. Uses much less resources, 
and, less likely to crash.


I use Fartyfox for stuff that requires javash***, and, in that, I have 
a number of security and privacy add-ons; I think, for SeaMonkey, I 
have only the Bluhell firewall add-on and the English-GB dictionary. I 
have and use multiple other web browsers, including Epiphany, Vivaldi, 
and Pale Moon (which I have not used for a while), but, mainly use 
SeaMonkey and Fartyfox.


For email, I use Tbird as a webmail kind of application, for viewing 
and responding to recent email, and, for downloading email, storing, 
archiving, and, responding to old email, I use the most powerful email 
application that I have found; alpine, previously known as pine. I use 
claws mail for one of my email accounts that does not have much 
throughput.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



I've got a soft spot for Evolution ( Due to loving the OLD Outlook-- 
Circa 2003) and now SeaMonkey.


Claws-Mail is " eh, okay" but makes forwarding emails with HTML in them 
a PITA.



THANKS IN ADVANCE!

CHRIS

ch...@cwm030.com

* Lenovo ThinkCentre M710q*~~~* 1 TB SSD*~~~*15.5 GiB of ram*

~~* Q4OS Trinity Edition* ~~





Re: [ SOLVED ] Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Chris M

Bret Busby wrote:


Hello, Chris.

We appear to be 13 hours ahead of you (see my signature), so, the time 
here, is now about 0430. I am a creature of the night.







OH man, 4:30 AM! That's way too early for me!





Andika?  Search for it in Synaptic...
:)

I am not sure whether apt find still works.

Package name is fonts-sil-andika

I use only the basic Andika font.



   Ah, okay... Thanks!

   
   THANKS IN ADVANCE!

   CHRIS

   ch...@cwm030.com

   * Lenovo ThinkCentre M710q*~~~* 1 TB SSD*~~~*15.5 GiB of ram*

   ~~* Q4OS Trinity Edition* ~~



SeaMonkey et al - was - Re: [ SOLVED] Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Bret Busby

On 3/6/24 04:14, Chris M wrote:

Felix Miata wrote:

It might be worth checking what language the emails are in. Thunderbird



allows you to specify fonts separately for each writing system (e.g. if

you want to specify fonts for Japanese or Greek or Khmer messages, you
can do). For English and comparable languages, you want to set a font
for "Latin" writing system. However, note that there is also "Other
Writing Systems" so I can imagine that, if these emails aren't UTF-8 -
if they're some strange Windows encoding, for example - they might not
be using the font you think you've set.

< SNIP >


BACK STORY:

This all started this last night on the TDE ( Trinity Desktop) mail list:

Felix here got to talking about Seamonkey, and it got me interested in 
what it was up to, and I thought " I haven't tried SM in years, let me 
download it"


Well, The browser barely works.=-O:-(

But, The email client that I am typing this email in right now, is 
SeaMonkey's mail client and I am LOVING IT, it reminds me of my beloved 
Netscape Navigator email

client that I use to use back on XP, before AOL killed off Netscape. >:o

Ohhh Yes, I was a huge Netscape fan back then! 8-)O:-)

I was mad for a long time after AOL killed off Netscape 9. I don't even 
remember when that happened? 2008? 2009?


So, I got the email client set up but replies from a certain person were 
TINY TINY TINY.


Interesting enough, Felix I just opened an email from DEP and went to 
"VIEW MESSAGE SOURCE"


and scrolled through the text and found out that DEP ( That's a user 
over on the TDE list ) is in fact using UTF-8.


"Content-Type: text/plain; charset="utf-8"

Content-Transfer-Encoding: base64"

Then, I just so happen to come across this plug in and WOW, what a difference!

I am guessing that everybody else uses regular TB, and me and Felix are the 
only ones that still cling
to Seamonkey?



I use SeaMonkey, with javash*** disabled. Uses much less resources, and, 
less likely to crash.


I use Fartyfox for stuff that requires javash***, and, in that, I have a 
number of security and privacy add-ons; I think, for SeaMonkey, I have 
only the Bluhell firewall add-on and the English-GB dictionary. I have 
and use multiple other web browsers, including Epiphany, Vivaldi, and 
Pale Moon (which I have not used for a while), but, mainly use SeaMonkey 
and Fartyfox.


For email, I use Tbird as a webmail kind of application, for viewing and 
responding to recent email, and, for downloading email, storing, 
archiving, and, responding to old email, I use the most powerful email 
application that I have found; alpine, previously known as pine. I use 
claws mail for one of my email accounts that does not have much throughput.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: [ SOLVED ] Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Bret Busby

On 3/6/24 03:56, Chris M wrote:

Bret Busby wrote:


Whilst, at groups.io, two different Tbird email users lists exist; one 
for blind people, and, the other, for those of us who still have 
sufficient sight, and, these messages about Tbird, should, more 
properly, be directed to the Tbird users lists, try the following.


In the Edit -> Settings (that is, Tbird settings, not Account 
settings),  I have


Fonts for (Latin)
Proportional: (Sans-serif)  Size (20)
Serif: Andika
Sans-serif: Andika
Monospace: Andika Size (20)

Font Control
Allow messages to use other fonts - unchecked
Use fixed width font for plain text messages - unchecked

You might prefer a different font to Andika - that is my preference, 
as the most natural font (other than Clean, if someone finds it)


But, try those settings, and find whether that works for you, also. 
They seem to work for me.

Minimum font size: 20




G'DAY BRET! ( err, its prob the middle of the night over there) It's 
2:54 PM CDT here in the US.


But Anyhoo:

Interesting, I don't have that "Andika" font on my PC. Where did you 
find that font at?




Hello, Chris.

We appear to be 13 hours ahead of you (see my signature), so, the time 
here, is now about 0430. I am a creature of the night.


Andika?  Search for it in Synaptic...
:)

I am not sure whether apt find still works.

Package name is fonts-sil-andika

I use only the basic Andika font.

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



[ SOLVED] Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Chris M

Felix Miata wrote:

It might be worth checking what language the emails are in. Thunderbird



allows you to specify fonts separately for each writing system (e.g. if

you want to specify fonts for Japanese or Greek or Khmer messages, you
can do). For English and comparable languages, you want to set a font
for "Latin" writing system. However, note that there is also "Other
Writing Systems" so I can imagine that, if these emails aren't UTF-8 -
if they're some strange Windows encoding, for example - they might not
be using the font you think you've set.

< SNIP >


BACK STORY:

This all started this last night on the TDE ( Trinity Desktop) mail list:

Felix here got to talking about Seamonkey, and it got me interested in 
what it was up to, and I thought " I haven't tried SM in years, let me 
download it"


Well, The browser barely works.=-O:-(

But, The email client that I am typing this email in right now, is 
SeaMonkey's mail client and I am LOVING IT, it reminds me of my beloved 
Netscape Navigator email

client that I use to use back on XP, before AOL killed off Netscape. >:o

Ohhh Yes, I was a huge Netscape fan back then! 8-)O:-)

I was mad for a long time after AOL killed off Netscape 9. I don't even 
remember when that happened? 2008? 2009?


So, I got the email client set up but replies from a certain person were 
TINY TINY TINY.


Interesting enough, Felix I just opened an email from DEP and went to 
"VIEW MESSAGE SOURCE"


and scrolled through the text and found out that DEP ( That's a user 
over on the TDE list ) is in fact using UTF-8.


"Content-Type: text/plain; charset="utf-8"

Content-Transfer-Encoding: base64"

Then, I just so happen to come across this plug in and WOW, what a difference!

I am guessing that everybody else uses regular TB, and me and Felix are the 
only ones that still cling
to Seamonkey?


THANKS IN ADVANCE!

CHRIS

ch...@cwm030.com

* Lenovo ThinkCentre M710q*~~~* 1 TB SSD*~~~*15.5 GiB of ram*

~~* Q4OS Trinity Edition* ~~



[ SOLVED] Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Chris M

Bret Busby wrote:


For

Language
Choose the languages used to display menus, messages, and 
notifications from Thunderbird.


I have set English (GB) which, I expect, will confound anything that 
tries to impose characters that are not what I want.



Bret Busby
Armadale
Western Australia
(UTC+0800)
.


So, I am guessing that any ENGLISH speaking country uses UTF-8?

US, GB ( Canada, Australia, Probably South Africa, uses GB for spell 
checking)


If not, then what happens to my email? Is it shown in a different font, 
than what you have specified on your end?



THANKS IN ADVANCE!

CHRIS

ch...@cwm030.com

* Lenovo ThinkCentre M710q*~~~* 1 TB SSD*~~~*15.5 GiB of ram*

~~* Q4OS Trinity Edition* ~~



[ SOLVED ] Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Chris M

Darac Marjal wrote:
It might be worth checking what language the emails are in. 
Thunderbird allows you to specify fonts separately for each writing 
system (e.g. if you want to specify fonts for Japanese or Greek or 
Khmer messages, you can do). For English and comparable languages, you 
want to set a font for "Latin" writing system. However, note that 
there is also "Other Writing Systems" so I can imagine that, if these 
emails aren't UTF-8 - if they're some strange Windows encoding, for 
example - they might not be using the font you think you've set.




Good Point!



THANKS IN ADVANCE!

CHRIS

ch...@cwm030.com

* Lenovo ThinkCentre M710q*~~~* 1 TB SSD*~~~*15.5 GiB of ram*

~~* Q4OS Trinity Edition* ~~





[ SOLVED ] Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Chris M

Bret Busby wrote:


Whilst, at groups.io, two different Tbird email users lists exist; one 
for blind people, and, the other, for those of us who still have 
sufficient sight, and, these messages about Tbird, should, more 
properly, be directed to the Tbird users lists, try the following.


In the Edit -> Settings (that is, Tbird settings, not Account 
settings),  I have


Fonts for (Latin)
Proportional: (Sans-serif)  Size (20)
Serif: Andika
Sans-serif: Andika
Monospace: Andika Size (20)

Font Control
Allow messages to use other fonts - unchecked
Use fixed width font for plain text messages - unchecked

You might prefer a different font to Andika - that is my preference, 
as the most natural font (other than Clean, if someone finds it)


But, try those settings, and find whether that works for you, also. 
They seem to work for me.

Minimum font size: 20




G'DAY BRET! ( err, its prob the middle of the night over there) It's 
2:54 PM CDT here in the US.


But Anyhoo:

Interesting, I don't have that "Andika" font on my PC. Where did you 
find that font at?




THANKS IN ADVANCE!

CHRIS

ch...@cwm030.com

* Lenovo ThinkCentre M710q*~~~* 1 TB SSD*~~~*15.5 GiB of ram*

~~* Q4OS Trinity Edition* ~~



[ SOLVED ] Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Chris M

UPDATE:

I might of found a solution to my problem:

I somehow stumbled across:

https://addons.thunderbird.net/en-US/seamonkey/addon/no-small-text/?src=search

Then launched Seamonkey browser and set the " NO SMALL TEXT" settings to:

https://imgur.com/a/DvJaTeG


If you're in the US scroll down to " WESTERN FONTS" and set it to:

https://imgur.com/a/Zdvt0eB


And... VIOLA!

https://imgur.com/a/PaidqMN



THANKS IN ADVANCE!

CHRIS

ch...@cwm030.com

* Lenovo ThinkCentre M710q*~~~* 1 TB SSD*~~~*15.5 GiB of ram*

~~* Q4OS Trinity Edition* ~~






Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Felix Miata
Darac Marjal composed on 2024-06-02T20:01 (UTC+0100):

> Chris M wrote:

>> I noticed that in SeaMonkey Mail's latest version 2.53.18.2 that the 
>> text is small in SOME emails, and in some emails its fine. And I can't 
>> figure out what to change to make the text a little bigger without 
>> having to use CTRL ++ on those certain emails.

>> Any ideas on how?

> It might be worth checking what language the emails are in. Thunderbird 
> allows you to specify fonts separately for each writing system (e.g. if 
> you want to specify fonts for Japanese or Greek or Khmer messages, you 
> can do). For English and comparable languages, you want to set a font 
> for "Latin" writing system. However, note that there is also "Other 
> Writing Systems" so I can imagine that, if these emails aren't UTF-8 - 
> if they're some strange Windows encoding, for example - they might not 
> be using the font you think you've set.

Font size prefs are in file prefs.js in the profile's root directory. I'll bet
Darac's list is much shorter than mine:
> grep font.size prefs.js
user_pref("font.size.fixed.x-central-euro", 18);
user_pref("font.size.fixed.x-cyrillic", 18);
user_pref("font.size.fixed.x-unicode", 18);
user_pref("font.size.fixed.x-user-def", 18);
user_pref("font.size.fixed.x-western", 18);
user_pref("font.size.fixed.zh-CN", 18);
user_pref("font.size.variable.ja", 18);
user_pref("font.size.variable.x-central-euro", 20);
user_pref("font.size.variable.x-cyrillic", 20);
user_pref("font.size.variable.x-unicode", 20);
user_pref("font.size.variable.x-user-def", 20);
user_pref("font.size.variable.x-western", 20);
user_pref("font.size.variable.zh-CN", 20);
user_pref("font.size.variable.zh-HK", 20);
user_pref("font.size.variable.zh-TW", 20);
>
Open about:config to see those that remain at 16 or 12 default grossly outnumber
any you have set. The file only contains those that have been changed from 
default
16 for variable and 12 or 13 for fixed. About:config lists all that are provided
by default.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



(Oftopic) documentación completamente obsoleta

2024-06-02 Thread Juan carlos Rebate
Hola, debo decir que para ser uno de los sistemas operativos más
usados del mundo, tiene una horrible gestión de la documentación.
Tengo un problema de configuración de apache y la wiki aún hace
referencia a php 5 en lugar de php 8 que es el soportado ahora. Existe
alguna forma de obtener documentación actualizada de manera
centralizada? no me gustaría tener que cambiar a Ubuntu Server por el
tema dee snap y las actualizaciones obligatorias, gracias.



Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Bret Busby

On 3/6/24 03:01, Darac Marjal wrote:


On 02/06/2024 19:03, Chris M wrote:
I noticed that in SeaMonkey Mail's latest version 2.53.18.2 that the 
text is small in SOME emails, and in some emails its fine. And I can't 
figure out what to change to make the text a little bigger without 
having to use CTRL ++ on those certain emails.


Any ideas on how?


It might be worth checking what language the emails are in. Thunderbird 
allows you to specify fonts separately for each writing system (e.g. if 
you want to specify fonts for Japanese or Greek or Khmer messages, you 
can do). For English and comparable languages, you want to set a font 
for "Latin" writing system. However, note that there is also "Other 
Writing Systems" so I can imagine that, if these emails aren't UTF-8 - 
if they're some strange Windows encoding, for example - they might not 
be using the font you think you've set.





Here is an example:

Original:
https://imgur.com/a/mFfgBLh


After hitting "CTRL +" 1 time:
https://imgur.com/a/eK1mERq



For

Language
Choose the languages used to display menus, messages, and notifications 
from Thunderbird.


I have set English (GB) which, I expect, will confound anything that 
tries to impose characters that are not what I want.



Bret Busby
Armadale
Western Australia
(UTC+0800)
.



Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Darac Marjal


On 02/06/2024 19:03, Chris M wrote:
I noticed that in SeaMonkey Mail's latest version 2.53.18.2 that the 
text is small in SOME emails, and in some emails its fine. And I can't 
figure out what to change to make the text a little bigger without 
having to use CTRL ++ on those certain emails.


Any ideas on how?


It might be worth checking what language the emails are in. Thunderbird 
allows you to specify fonts separately for each writing system (e.g. if 
you want to specify fonts for Japanese or Greek or Khmer messages, you 
can do). For English and comparable languages, you want to set a font 
for "Latin" writing system. However, note that there is also "Other 
Writing Systems" so I can imagine that, if these emails aren't UTF-8 - 
if they're some strange Windows encoding, for example - they might not 
be using the font you think you've set.





Here is an example:

Original:
https://imgur.com/a/mFfgBLh


After hitting "CTRL +" 1 time:
https://imgur.com/a/eK1mERq



THANKS IN ADVANCE!

CHRIS

ch...@cwm030.com

* Lenovo ThinkCentre M710q*~~~* 1 TB SSD*~~~*15.5 GiB of ram*

~~* Q4OS Trinity Edition* ~~



OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Bret Busby

On 3/6/24 02:47, Bret Busby wrote:

On 3/6/24 02:31, e...@gmx.us wrote:

On 6/2/24 14:03, Chris M wrote:
I noticed that in SeaMonkey Mail's latest version 2.53.18.2 that the 
text

is small in SOME emails, and in some emails its fine. And I can't figure
out what to change to make the text a little bigger without having to 
use

CTRL ++ on those certain emails.

Any ideas on how?


Yeah, I usually have to hit ^+ 4-5 times to make the text a reasonable 
size.

  I don't know why.



Whilst, at groups.io, two different Tbird email users lists exist; one 
for blind people, and, the other, for those of us who still have 
sufficient sight, and, these messages about Tbird, should, more 
properly, be directed to the Tbird users lists, try the following.


In the Edit -> Settings (that is, Tbird settings, not Account settings), 
  I have


Fonts for (Latin)
Proportional: (Sans-serif)  Size (20)
Serif: Andika
Sans-serif: Andika
Monospace: Andika Size (20)

Font Control
Allow messages to use other fonts - unchecked
Use fixed width font for plain text messages - unchecked

You might prefer a different font to Andika - that is my preference, as 
the most natural font (other than Clean, if someone finds it)


But, try those settings, and find whether that works for you, also. They 
seem to work for me.

Minimum font size: 20



Sorry - two sets of things that I missed in my above message.

1, In the Edit -> Settings, it is further
-> General -> Language and Appearance -> Fonts and Colours -> Advanced
(with Default font set to Andika, Default font size set to 20)

2. Also, further to the above setting, is the part

Plain Text Messages
Display emoticons as graphics (I have that checked, but others may not 
so want it)

When displaying quoted plain text messages:
Style: (Regular) Size: (Regular)


Bret Busby
Armadale
Western Australia
(UTC+0800)
.



Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Bret Busby

On 3/6/24 02:31, e...@gmx.us wrote:

On 6/2/24 14:03, Chris M wrote:

I noticed that in SeaMonkey Mail's latest version 2.53.18.2 that the text
is small in SOME emails, and in some emails its fine. And I can't figure
out what to change to make the text a little bigger without having to use
CTRL ++ on those certain emails.

Any ideas on how?


Yeah, I usually have to hit ^+ 4-5 times to make the text a reasonable 
size.

  I don't know why.



Whilst, at groups.io, two different Tbird email users lists exist; one 
for blind people, and, the other, for those of us who still have 
sufficient sight, and, these messages about Tbird, should, more 
properly, be directed to the Tbird users lists, try the following.


In the Edit -> Settings (that is, Tbird settings, not Account settings), 
 I have


Fonts for (Latin)
Proportional: (Sans-serif)  Size (20)
Serif: Andika
Sans-serif: Andika
Monospace: Andika Size (20)

Font Control
Allow messages to use other fonts - unchecked
Use fixed width font for plain text messages - unchecked

You might prefer a different font to Andika - that is my preference, as 
the most natural font (other than Clean, if someone finds it)


But, try those settings, and find whether that works for you, also. They 
seem to work for me.

Minimum font size: 20


Bret Busby
Armadale
Western Australia
(UTC+0800)
.



Re: Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread eben

On 6/2/24 14:03, Chris M wrote:

I noticed that in SeaMonkey Mail's latest version 2.53.18.2 that the text
is small in SOME emails, and in some emails its fine. And I can't figure
out what to change to make the text a little bigger without having to use
CTRL ++ on those certain emails.

Any ideas on how?


Yeah, I usually have to hit ^+ 4-5 times to make the text a reasonable size.
 I don't know why.

--
My sympathy for your plight is directly proportional
to your ability to accept reality. -- 2020-07-27



Yet ANOTHER ThunderTurd ( Thunderbird ) topic... Text Size

2024-06-02 Thread Chris M
I noticed that in SeaMonkey Mail's latest version 2.53.18.2 that the 
text is small in SOME emails, and in some emails its fine. And I can't 
figure out what to change to make the text a little bigger without 
having to use CTRL ++ on those certain emails.


Any ideas on how?

Here is an example:

Original:
https://imgur.com/a/mFfgBLh


After hitting "CTRL +" 1 time:
https://imgur.com/a/eK1mERq



THANKS IN ADVANCE!

CHRIS

ch...@cwm030.com

* Lenovo ThinkCentre M710q*~~~* 1 TB SSD*~~~*15.5 GiB of ram*

~~* Q4OS Trinity Edition* ~~



Re: Tbird and square brackets in subject field - was - Re: Parenthesis or square brackets and "was"

2024-06-02 Thread Bret Busby

On 3/6/24 01:16, Bret Busby wrote:

On 3/6/24 01:09, Bret Busby wrote:

On 3/6/24 01:06, Bret Busby wrote:

On 3/6/24 00:52, e...@gmx.us wrote:

On 6/1/24 23:02, Max Nikulin wrote:

On 02/06/2024 02:59, Andrew M.A. Cater wrote:

If you change subject
or emphasis in mid-thread, please change the subject line on your 
email

accordingly so that this can be clearly seen.

For example: New question [WAS Old topic]


Are square brackets intentional here? E.g. thunderbird strips "(was:"
subject part from response subject.


This is true.  I (on Thunderbird 115) had to restore the subject 
line after
Thunderbird modified it.  Do you know of a plugin or weird setting 
to make

it stop doing that?  Web searches were fruitless.

--
A mob with torches and pitchforks approaches the castle.
"Sire, the peasants are revolting!"
"Yeah, disgusting, aren't they?"

I am using Tbird "115.11.0 (64-bit)" and, in checking, have found 
that square brackets are apparently not molested in this version of 
Tbird.


In checking in my Inbox, for email from a mailing list that uses 
mailing list name subject field prepending, I observed that the 
GnuCash mailing list uses such prepending, and the subject line

"Re: [GNC] Problem with New Account Creation"
is apparently not molested by Tbird.


Similarly, with this (the Debian users) list,
"Re: [solved] Re: No login with Debian 12 ssh client, ssh-rsa key, 
Debian 8 sshd"

and
"Re: [Solved]: What DE to replace GNOME with?"
appear to be unmolested by Tbird.

Whilst I regard Tbird after v102.x, as a pile of faecal matter, 
having been downgraded from v102.x (the higher the version number, 
the greater the degree of downgrading), the reported problem 
involving square brackets in the subject field, is not apparent on 
this system, making me wonder whether the reported problem, is an 
effect of either affected users' settings, or, desktop environments, 
or, themes.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..

Sorry - I should have changed the subject field value, in my last 
previous post, to more properly refer to where this thread has gone.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..


Similarly to the above examples; just came through - the subject field
"[SECURITY] [DSA 5703-1] linux security update"
is also unmolested by Tbird.

And, that has two sets of square brackets.



Also, from the claws-mail users mailing list;
"Re: [Users] How to check if Bogofilter is still working?"

...

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: Tbird and square brackets in subject field - was - Re: Parenthesis or square brackets and "was"

2024-06-02 Thread Bret Busby

On 3/6/24 01:09, Bret Busby wrote:

On 3/6/24 01:06, Bret Busby wrote:

On 3/6/24 00:52, e...@gmx.us wrote:

On 6/1/24 23:02, Max Nikulin wrote:

On 02/06/2024 02:59, Andrew M.A. Cater wrote:

If you change subject
or emphasis in mid-thread, please change the subject line on your 
email

accordingly so that this can be clearly seen.

For example: New question [WAS Old topic]


Are square brackets intentional here? E.g. thunderbird strips "(was:"
subject part from response subject.


This is true.  I (on Thunderbird 115) had to restore the subject line 
after
Thunderbird modified it.  Do you know of a plugin or weird setting to 
make

it stop doing that?  Web searches were fruitless.

--
A mob with torches and pitchforks approaches the castle.
"Sire, the peasants are revolting!"
"Yeah, disgusting, aren't they?"

I am using Tbird "115.11.0 (64-bit)" and, in checking, have found that 
square brackets are apparently not molested in this version of Tbird.


In checking in my Inbox, for email from a mailing list that uses 
mailing list name subject field prepending, I observed that the 
GnuCash mailing list uses such prepending, and the subject line

"Re: [GNC] Problem with New Account Creation"
is apparently not molested by Tbird.


Similarly, with this (the Debian users) list,
"Re: [solved] Re: No login with Debian 12 ssh client, ssh-rsa key, 
Debian 8 sshd"

and
"Re: [Solved]: What DE to replace GNOME with?"
appear to be unmolested by Tbird.

Whilst I regard Tbird after v102.x, as a pile of faecal matter, having 
been downgraded from v102.x (the higher the version number, the 
greater the degree of downgrading), the reported problem involving 
square brackets in the subject field, is not apparent on this system, 
making me wonder whether the reported problem, is an effect of either 
affected users' settings, or, desktop environments, or, themes.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..

Sorry - I should have changed the subject field value, in my last 
previous post, to more properly refer to where this thread has gone.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..


Similarly to the above examples; just came through - the subject field
"[SECURITY] [DSA 5703-1] linux security update"
is also unmolested by Tbird.

And, that has two sets of square brackets.

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Tbird and square brackets in subject field - was - Re: Parenthesis or square brackets and "was"

2024-06-02 Thread Bret Busby

On 3/6/24 01:06, Bret Busby wrote:

On 3/6/24 00:52, e...@gmx.us wrote:

On 6/1/24 23:02, Max Nikulin wrote:

On 02/06/2024 02:59, Andrew M.A. Cater wrote:

If you change subject
or emphasis in mid-thread, please change the subject line on your email
accordingly so that this can be clearly seen.

For example: New question [WAS Old topic]


Are square brackets intentional here? E.g. thunderbird strips "(was:"
subject part from response subject.


This is true.  I (on Thunderbird 115) had to restore the subject line 
after
Thunderbird modified it.  Do you know of a plugin or weird setting to 
make

it stop doing that?  Web searches were fruitless.

--
A mob with torches and pitchforks approaches the castle.
"Sire, the peasants are revolting!"
"Yeah, disgusting, aren't they?"

I am using Tbird "115.11.0 (64-bit)" and, in checking, have found that 
square brackets are apparently not molested in this version of Tbird.


In checking in my Inbox, for email from a mailing list that uses mailing 
list name subject field prepending, I observed that the GnuCash mailing 
list uses such prepending, and the subject line

"Re: [GNC] Problem with New Account Creation"
is apparently not molested by Tbird.


Similarly, with this (the Debian users) list,
"Re: [solved] Re: No login with Debian 12 ssh client, ssh-rsa key, 
Debian 8 sshd"

and
"Re: [Solved]: What DE to replace GNOME with?"
appear to be unmolested by Tbird.

Whilst I regard Tbird after v102.x, as a pile of faecal matter, having 
been downgraded from v102.x (the higher the version number, the greater 
the degree of downgrading), the reported problem involving square 
brackets in the subject field, is not apparent on this system, making me 
wonder whether the reported problem, is an effect of either affected 
users' settings, or, desktop environments, or, themes.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..

Sorry - I should have changed the subject field value, in my last 
previous post, to more properly refer to where this thread has gone.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: Parenthesis or square brackets and "was"

2024-06-02 Thread Bret Busby

On 3/6/24 00:52, e...@gmx.us wrote:

On 6/1/24 23:02, Max Nikulin wrote:

On 02/06/2024 02:59, Andrew M.A. Cater wrote:

If you change subject
or emphasis in mid-thread, please change the subject line on your email
accordingly so that this can be clearly seen.

For example: New question [WAS Old topic]


Are square brackets intentional here? E.g. thunderbird strips "(was:"
subject part from response subject.


This is true.  I (on Thunderbird 115) had to restore the subject line after
Thunderbird modified it.  Do you know of a plugin or weird setting to make
it stop doing that?  Web searches were fruitless.

--
A mob with torches and pitchforks approaches the castle.
"Sire, the peasants are revolting!"
"Yeah, disgusting, aren't they?"

I am using Tbird "115.11.0 (64-bit)" and, in checking, have found that 
square brackets are apparently not molested in this version of Tbird.


In checking in my Inbox, for email from a mailing list that uses mailing 
list name subject field prepending, I observed that the GnuCash mailing 
list uses such prepending, and the subject line

"Re: [GNC] Problem with New Account Creation"
is apparently not molested by Tbird.


Similarly, with this (the Debian users) list,
"Re: [solved] Re: No login with Debian 12 ssh client, ssh-rsa key, 
Debian 8 sshd"

and
"Re: [Solved]: What DE to replace GNOME with?"
appear to be unmolested by Tbird.

Whilst I regard Tbird after v102.x, as a pile of faecal matter, having 
been downgraded from v102.x (the higher the version number, the greater 
the degree of downgrading), the reported problem involving square 
brackets in the subject field, is not apparent on this system, making me 
wonder whether the reported problem, is an effect of either affected 
users' settings, or, desktop environments, or, themes.


..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Parenthesis or square brackets and "was" (was: Re: Monthly FAQ for Debian-user mailing list (last modified 20240501))

2024-06-02 Thread eben

On 6/1/24 23:02, Max Nikulin wrote:

On 02/06/2024 02:59, Andrew M.A. Cater wrote:

If you change subject
or emphasis in mid-thread, please change the subject line on your email
accordingly so that this can be clearly seen.

For example: New question [WAS Old topic]


Are square brackets intentional here? E.g. thunderbird strips "(was:"
subject part from response subject.


This is true.  I (on Thunderbird 115) had to restore the subject line after
Thunderbird modified it.  Do you know of a plugin or weird setting to make
it stop doing that?  Web searches were fruitless.

--
A mob with torches and pitchforks approaches the castle.
"Sire, the peasants are revolting!"
"Yeah, disgusting, aren't they?"



Re: Installing a python package with pipx

2024-06-02 Thread Richard
If it where an issue with pip or pipx, yes. But as you pointed out
yourself, it's also happening on OpenSuse, so the issue can't be pip or
pipx, but rather either what you are trying to install or your
understanding of it.


Am So., 2. Juni 2024 um 14:20 Uhr schrieb Richmond :

> I am not complaining, I am trying to find out how to get it working. And
> as pip (and pipx) are debian packages I think it is reasonable to
> discuss it on the debian user list.
>
>


Re: Installing a python package with pipx

2024-06-02 Thread Richmond
Richard  writes:

> python3 -m venv venv
> source venv/bin/activate
> pip install musicpy

OK thanks. And apparently to get idle working I do:

python -m idlelib.idle



Re: Installing a python package with pipx

2024-06-02 Thread Richmond
Richard  writes:


> That's how its done. Also, complaining here about something that
> doesn't even work on other distros and thus can't be a Debian
> problem doesn't make that much sense.

I am not complaining, I am trying to find out how to get it working. And
as pip (and pipx) are debian packages I think it is reasonable to
discuss it on the debian user list.



Re: Installing a python package with pipx

2024-06-02 Thread Richard
python3 -m venv venv
source venv/bin/activate
pip install musicpy

That's how its done. Also, complaining here about something that doesn't
even work on other distros and thus can't be a Debian problem doesn't make
that much sense.

Am So., 2. Juni 2024 um 13:50 Uhr schrieb Richmond :

> OK Back on Debian, I removed the one package installed with pipx, which
> was musicpy, then tried to install it with pip, but got this message
> which actually tells me to use pipx. (There is no package python-musicpy).
>
> pip install musicpy
> error: externally-managed-environment
>
> × This environment is externally managed
> ╰─> To install Python packages system-wide, try apt install
> python3-xyz, where xyz is the package you are trying to
> install.
>
> If you wish to install a non-Debian-packaged Python package,
> create a virtual environment using python3 -m venv path/to/venv.
> Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
> sure you have python3-full installed.
>
> If you wish to install a non-Debian packaged Python application,
> it may be easiest to use pipx install xyz, which will manage a
> virtual environment for you. Make sure you have pipx installed.
>
> See /usr/share/doc/python3.11/README.venv for more information.
>
>


Re: Help! secure boot is preventing boot of debian

2024-06-02 Thread Richmond
"Thomas Schmitt"  writes:

> Hi,
>
> Richmond wrote:
>> OK I got it booted and re-installed grub from debian. But I don't
>> know why it happened, I haven't changed any keys or done anything
>> except an opensuse update. I will ask the opensuse list
>
> I remember to have seen discussions about newly installed shim adding
> names of older shims or bootloaders to something called SBAT.  I find
> in my mailbox a mail with a link to
> https://bugzilla.opensuse.org/show_bug.cgi?id=1209985
>
> About SBAT i found in the web:
>   
> https://www.gnu.org/software/grub/manual/grub/html_node/Secure-Boot-Advanced-Targeting.html
>   https://github.com/rhboot/shim/blob/main/SBAT.md
>
>
> Have a nice day :)
>
> Thomas

Thanks. They have a wiki on how to fix this:

https://en.opensuse.org/openSUSE:UEFI#Reset_SBAT_string_for_booting_to_old_shim_in_old_Leap_image

I found re-installing debian's grub easier, until next time perhaps...



Re: Installing a python package with pipx

2024-06-02 Thread Richmond
OK Back on Debian, I removed the one package installed with pipx, which
was musicpy, then tried to install it with pip, but got this message
which actually tells me to use pipx. (There is no package python-musicpy).

pip install musicpy
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.11/README.venv for more information.



Re: Installing a python package with pipx

2024-06-02 Thread Richmond
Richard wrote:
>
>
> On Sat, Jun 1, 2024, 23:50 Richmond  > wrote:
>
> Richard mailto:rrosn...@gmail.com>> writes:
>
> > A packages documentation is always your best
> friend: https://pypi.org
> > /project/idle/
> >
>
> Yes it makes it look easy there, but:
>
> import idle
> Traceback (most recent call last):
>   File "", line 1, in 
>   File ".local/pipx/shared/lib/python3.11/site-packages/idle.py",
> line 4, in 
>     from layout import *
> ModuleNotFoundError: No module named 'layout'
>
> That's what I'm talking about. You wildly mix commands together that
> don't go together. And whatever is off with your paths. Things of pipx
> installed packages should be in .local/bin and .local/shared/pipx. At
> least on Debian that's the default. No idea what you did.
>
>
I don't think your assessment is correct, as I have booted opensuse,
where I do not even have pipx installed and have not used it. I did
these commands:

1059  pip install musicpy
 1062  pip install idle

I got the layout error so:

 1065  pip install layout

cured the layout error but then I got a gui error

 1067  pip install gui

There is no such package.

.local/lib/python3.6/site-packages/idle.py", line 26, in 
    gui.mainloop()
NameError: name 'gui' is not defined



Re: Parenthesis or square brackets and "was" (was: Re: Monthly FAQ for Debian-user mailing list (last modified 20240501))

2024-06-02 Thread Andrew M.A. Cater
On Sun, Jun 02, 2024 at 10:02:58AM +0700, Max Nikulin wrote:
> On 02/06/2024 02:59, Andrew M.A. Cater wrote:
> > If you change subject
> > or emphasis in mid-thread, please change the subject line on your email
> > accordingly so that this can be clearly seen.
> > 
> > For example: New question [WAS Old topic]
> 
> Are square brackets intentional here? E.g. thunderbird strips "(was:"
> subject part from response subject. Perhaps Gnus may treat square brackets
> as well. I have no idea concerning other mailers.
> 

No - the square brackets are an example :)

Square brackets can be noticed, perhaps, and the effort to type them may
be worth the distinctiveness, but what I really wanted was to make the
distinction visually clear so that the reader would notice it..

I routinely type ammedments to the subject in square brackets and
add WAS in upper case so that this is immediately apparent in a long
email thread. Whatever your mailer does is fine but it needs to stand out
clearly. Similarly, whenever I reply to something on behalf of the 
Community Team, I add that in square brackets to show that it is
distinct.

New topic - brackets or parentheses (WAS: Debian-user Monthly FAQ)
might be appropriate here. So that email subjects don't go beyond 72
characters, you may always need to abbreviate the amended subject.

[WAS: WAS: WAS (previous subject)] would be too many levels of off-topic
discussion - but this discussion is still, just about, on topic.

All the very best, as ever,

Andy Cater
(amaca...@debian.org)



> Sorry for violating the rule. Curious users may test if their MUAs recognize
> "(was: ...)" in the subject and remove old part.
> 
> 
> 



Re: Help! secure boot is preventing boot of debian

2024-06-02 Thread Thomas Schmitt
Hi,

Richmond wrote:
> OK I got it booted and re-installed grub from debian. But I don't know
> why it happened, I haven't changed any keys or done anything except an
> opensuse update. I will ask the opensuse list

I remember to have seen discussions about newly installed shim adding
names of older shims or bootloaders to something called SBAT.
I find in my mailbox a mail with a link to
  https://bugzilla.opensuse.org/show_bug.cgi?id=1209985

About SBAT i found in the web:
  
https://www.gnu.org/software/grub/manual/grub/html_node/Secure-Boot-Advanced-Targeting.html
  https://github.com/rhboot/shim/blob/main/SBAT.md


Have a nice day :)

Thomas



Re: Parenthesis or square brackets and "was"

2024-06-01 Thread Bret Busby

On 2/6/24 11:09, Greg Wooledge wrote:

On Sun, Jun 02, 2024 at 10:02:58AM +0700, Max Nikulin wrote:

On 02/06/2024 02:59, Andrew M.A. Cater wrote:

If you change subject
or emphasis in mid-thread, please change the subject line on your email
accordingly so that this can be clearly seen.

For example: New question [WAS Old topic]


Are square brackets intentional here? E.g. thunderbird strips "(was:"
subject part from response subject. Perhaps Gnus may treat square brackets
as well. I have no idea concerning other mailers.


My despair and agony increase every time I hear about some new abomination
that people's mail user agents perform by default.

*face palms, shakes head*



I simply use single hyphen; for example
abomination - was Re: yeti another snowman


Bret Busby
Armadale
Western Australia
(UTC+0800)
.



Re: Parenthesis or square brackets and "was"

2024-06-01 Thread Bret Busby

On 2/6/24 11:13, Bret Busby wrote:

On 2/6/24 11:09, Greg Wooledge wrote:

On Sun, Jun 02, 2024 at 10:02:58AM +0700, Max Nikulin wrote:

On 02/06/2024 02:59, Andrew M.A. Cater wrote:

If you change subject
or emphasis in mid-thread, please change the subject line on your email
accordingly so that this can be clearly seen.

For example: New question [WAS Old topic]


Are square brackets intentional here? E.g. thunderbird strips "(was:"
subject part from response subject. Perhaps Gnus may treat square 
brackets

as well. I have no idea concerning other mailers.


My despair and agony increase every time I hear about some new 
abomination

that people's mail user agents perform by default.

*face palms, shakes head*



I simply use single hyphen; for example
abomination - was Re: yeti another snowman



or, more appropriately (because it is an abomni nation)

abomination - was Re: yeti another country of snowmen

...


Bret Busby
Armadale
Western Australia
(UTC+0800)
.



Re: Parenthesis or square brackets and "was" (was: Re: Monthly FAQ for Debian-user mailing list (last modified 20240501))

2024-06-01 Thread Greg Wooledge
On Sun, Jun 02, 2024 at 10:02:58AM +0700, Max Nikulin wrote:
> On 02/06/2024 02:59, Andrew M.A. Cater wrote:
> > If you change subject
> > or emphasis in mid-thread, please change the subject line on your email
> > accordingly so that this can be clearly seen.
> > 
> > For example: New question [WAS Old topic]
> 
> Are square brackets intentional here? E.g. thunderbird strips "(was:"
> subject part from response subject. Perhaps Gnus may treat square brackets
> as well. I have no idea concerning other mailers.

My despair and agony increase every time I hear about some new abomination
that people's mail user agents perform by default.

*face palms, shakes head*



Parenthesis or square brackets and "was" (was: Re: Monthly FAQ for Debian-user mailing list (last modified 20240501))

2024-06-01 Thread Max Nikulin

On 02/06/2024 02:59, Andrew M.A. Cater wrote:

If you change subject
or emphasis in mid-thread, please change the subject line on your email
accordingly so that this can be clearly seen.

For example: New question [WAS Old topic]


Are square brackets intentional here? E.g. thunderbird strips "(was:" 
subject part from response subject. Perhaps Gnus may treat square 
brackets as well. I have no idea concerning other mailers.


Sorry for violating the rule. Curious users may test if their MUAs 
recognize "(was: ...)" in the subject and remove old part.






Re: advanced scripting problems - or wrong approach?

2024-06-01 Thread DdB
Am 01.06.2024 um 16:01 schrieb Greg Wooledge:
>> i get the output from ls, but then the thing is hanging indefinitely,
>> apparently not reaching the exit line. :(
> Your first while loop never terminates.  "while read ..." continues
> running until read returns a nonzero exit status, either due to an
> error or EOF.  Your coproc never returns EOF, so the "while read"
> loop just keeps waiting for the next line of output from ls.
> 
> If you're going to communicate with a long-running process that can
> return multiple lines of output per line of input, then you have
> three choices:
> 
>   1) Arrange for some way to communicate how many lines, or bytes,
>  of output are going to be given.
> 
>   2) Send a terminator line (or byte sequence) of some kind that
>  indicates "end of current data set".
> 
>   3) Give up and assume the end of the data set after a certain amount
>  of time has elapsed with no new output arriving.  (This is usually
>  not the best choice.)
> 
> These same design issues occur in any kind of network communication, too.
> Imagine an IMAP client or something, which holds open a network connection
> to its IMAP server.  The client asks for the body of an email message,
> but needs to keep the connection open afterward so that it can ask for
> more things later.  The server has to be able to send the message back
> without closing the connection at the end.  Therefore, the IMAP protocol
> needs some way to "encapsulate" each server response, so the client
> knows when it has received the full message.

WOW!
Just wow, Greg, thank you so much!

After receiving such a wonderful hint/explanation, i did verify it being
correct and got overwhelmed with good feelings, as it allows me to learn
and experiment some more, heading in the direction of possibly solving
my initial problem.

Will share my findings, once i made more progress...

With appreciation, respect, admiration and love.
DdB




Re: Installing a python package with pipx

2024-06-01 Thread Richard
On Sat, Jun 1, 2024, 23:50 Richmond  wrote:

> Richard  writes:
>
> > A packages documentation is always your best friend: https://pypi.org
> > /project/idle/
> >
>
> Yes it makes it look easy there, but:
>
> import idle
> Traceback (most recent call last):
>   File "", line 1, in 
>   File ".local/pipx/shared/lib/python3.11/site-packages/idle.py", line 4,
> in 
> from layout import *
> ModuleNotFoundError: No module named 'layout'
>
That's what I'm talking about. You wildly mix commands together that don't
go together. And whatever is off with your paths. Things of pipx installed
packages should be in .local/bin and .local/shared/pipx. At least on Debian
that's the default. No idea what you did.

>
> > Also, python script isn't a necessarily a standalone executable. And
> > also, you shouldn't just wildly mix pipx commands with pip commands
> > if you don't know what you are doing. Either create a venv with
> > python3 -m venv or use pipx, not both. Once created, stick to these
> > separate paths. And read the documentation of pipx while you're at
> > it. Sure, venvs are easy to handle, as you can just delete them and
> > start from scratch, but mixing commands without knowing what one is
> > doing is just a recipe for desaster.
> >
>
> I don't know what I am doing for sure. But I did not wildly mix, I just
> kept trying things until I found something which worked. Most things
> didn't, and still don't.
>
You are, your last comment is more than proof enough.

You should just remove everything you installed with pipx, create a
separate venv - without using pipx! - and solely work inside it. And don't
touch pipx for anything that's not meant as a standalone CLI  program, like
yt-dlp, speedtest and the sorts. Maybe that way you can't do that much
wrong.

At this point this is hardly a Debian related topic. You should first learn
more about Python venvs and their package managers.

>


Re: Installing a python package with pipx

2024-06-01 Thread Richmond
Richard  writes:

> A packages documentation is always your best friend: https://pypi.org
> /project/idle/
>

Yes it makes it look easy there, but:

import idle
Traceback (most recent call last):
  File "", line 1, in 
  File ".local/pipx/shared/lib/python3.11/site-packages/idle.py", line 4, in 

from layout import *
ModuleNotFoundError: No module named 'layout'



> Also, python script isn't a necessarily a standalone executable. And
> also, you shouldn't just wildly mix pipx commands with pip commands
> if you don't know what you are doing. Either create a venv with
> python3 -m venv or use pipx, not both. Once created, stick to these
> separate paths. And read the documentation of pipx while you're at
> it. Sure, venvs are easy to handle, as you can just delete them and
> start from scratch, but mixing commands without knowing what one is
> doing is just a recipe for desaster.
>

I don't know what I am doing for sure. But I did not wildly mix, I just
kept trying things until I found something which worked. Most things
didn't, and still don't.



Re: Installing a python package with pipx

2024-06-01 Thread Richard
A packages documentation is always your best friend:
https://pypi.org/project/idle/

Also, python script isn't a necessarily a standalone executable. And also,
you shouldn't just wildly mix pipx commands with pip commands if you don't
know what you are doing. Either create a venv with python3 -m venv or use
pipx, not both. Once created, stick to these separate paths. And read the
documentation of pipx while you're at it. Sure, venvs are easy to handle,
as you can just delete them and start from scratch, but mixing commands
without knowing what one is doing is just a recipe for desaster.

On Sat, Jun 1, 2024, 23:00 Richmond  wrote:

> Richard  writes:
>
> > Pretty much just what pipx does.
> >
>
> Well I don't know how.
>
> Now I need to run idle in my new environment. I have installed it
>
> .local/pipx/shared/bin/pip install idle
>
> and it is here:
>
> .local/pipx/shared/lib/python3.11/site-packages/idle.py
>
> but I don't know how to run it. I just get errors.
>
>


Re[2]: Question About Free File Transfering Apps

2024-06-01 Thread Michael Grant

Dan Ritter wrote:

The web browser technology called WebRTC does that quite well,
but for security reasons -- nobody wants a self-perpetuating
worm -- you need an intermediary device to introduce the two
participants but not to actually transfer the file.

And so there is snapdrop.net, which you can choose to trust or
you can run your own copy -- it's GPL3. Works between any two
devices that run modern web browsers, including iPhones,
Androids, Linux, Windows, Macs...

Cool, I played with this today.  So it seems like the website is called 
'pairdrop.net' that works by default with the android app.


Bit of a shame that it requires an external introducer site.  I read a 
bunch of sites, nothing seems to explicitly say that the file transfer 
is direct between one and the other and not through some sort of "bent 
pipe".  I'll tcpdump it at some point to convince myself.


I did not set up my own server (yet), though I read through the 
instructions.  Seems to be nodejs based and looks like a manual setup.  
I guess nobody has built a debian package yet...


There are bluetooth solutions between Linux and Android and
Windows, but Apple does not allow bluetooth file transfer from
or to IOS with any operating systems they don't control.

Did some research how to do this over bluetooth, apparently most android 
phones, certainly newer ones, you can pair the two phones and then use 
the share feature of one phone and choose bluetooth and share it.  Built 
into the OS.  Apparently works between phones and Windows.  No internet 
connection required, perfect.  Doesn't work between ios as you say.  
Learn something new every day!


Thanks for that!

Michael Grant



Re: Installing a python package with pipx

2024-06-01 Thread Richmond
Richard  writes:

> Pretty much just what pipx does.
>

Well I don't know how.

Now I need to run idle in my new environment. I have installed it

.local/pipx/shared/bin/pip install idle

and it is here:

.local/pipx/shared/lib/python3.11/site-packages/idle.py

but I don't know how to run it. I just get errors.



Re: Installing a python package with pipx

2024-06-01 Thread Richard
Pretty much just what pipx does.

On Sat, Jun 1, 2024, 22:00 Richmond  wrote:

>
> I got it working by doing:
>
> python3 -m venv .local/pipx/venvs/musicpy/
>
> .local/pipx/venvs/musicpy/bin/python3.11
>
> Then I was able to import musicpy from the python shell.
>
> How bewildering!
>
> Thanks.
>
>


Re: Question About Free File Transfering Apps

2024-06-01 Thread Larry Martell
On Sat, Jun 1, 2024 at 2:24 AM gene heskett  wrote:
> Well, since I'm alone, my wife passed 3.5 years back, and was not
> computer literate, its my show. And sshfs Just Works. I use this machine
> as the src for my output for some 3d printers, although the 4 linuxcnc
> machines are largely standalone in that the gcode I run on them was all
> written by me on that machine.. I often have more than one login session
> to a given machine because that machine may also be its own buildbot.
> Every machine has access to the world, but its all hidden behind a
> dd-wrt running router doing the NAT. I don't have to fight with
> samba/cifs and its daily updates to keep it working, permissions are
> 100% linux, nor do I fool with nfs and its weekly updates that always
> break it.
>
> But age is playing a role too, I have short term memory problems.
> Perhaps because of my age, I'll be 90 in October if I don't fall over first.
>
> The only dis to ssh and friends has been the local key files and keeping
> them up to date. That's very minor, its probably been a year since a new
> install on one of my pi clones had me hunting down an aging key file.
> Nothing like this broken bookworm install, its far more annoyance than
> any of the other problems. I'll miss morning roll call, and disappear
> soon enough and then it will be a bit more peaceful here.
>
> In the meantime, everybody take care and stay well.  You are my
> connection to the rest of the world.

Gene, you are an inspiration to me. I hope that I am half as lucid as
you when I am 90. But when you miss morning roll call how will we
know?



Re: Question About Free File Transfering Apps

2024-06-01 Thread gene heskett

On 6/1/24 06:07, Michael Grant wrote:
I use sshfs, works great to let me drop files on my server from my 
desktop. But I wouldn't call that "file sharing".  I probably would call 
that a "network disk" or "remote mount".


There's probably some formal definition out there, but when I think of 
file sharing, I think of someone proffering up a single file (or folder) 
and sharing it point-to-point with one or some small group of people.


I have long been plagued by the problem if sitting in a room or on a 
boat with someone, 2 devices right next to one another, and no trivially 
easy way to send a file from one device to the other without say first 
uploading it to some mutual third party (e.g. whatsapp).


sshfs isn't going to let you share files between say 2 phones, at least, 
not very easily if at all.


By recommendation further up in this thread, I tried Google's Quick 
Share between my wife's phone and my phone.  Followed all the 
instructions, did not work.  Followed all the troubleshooting 
instructions.  Nope, my device doesn't appear on her phone when I share, 
and neither the other way around.  Searched the web, found a ton of 
people with same issue.  It's DoA I'm afraid.


Between family members, we have in the past shared files using a 
synology box and their Drive app.  It works just like Dropbox except 
file is on your own infra.  It's not open source though and I don't know 
how tied it actually is to Synology's infra.  One certainly needs to be 
on the net to use it.


To this day, I have yet ever to see an easy way to share a file between 
2 devices without full internet connectivity, except by say getting one 
to run an ftp or ssh server and ftp or ssh'ing over the file between 
local ip addrs (e.g. 192.168.x.y).  I'd love to know some well know 
good, not-evil, open source app that runs on all the platforms that I 
could tell people to install to send them a file without using the 
internet.  I can't really see any technical reason such an thing 
couldn't work, say over bluetooth or local IPs and maybe it does exist, 
I've just never run across such a thing.  The key word here is EASY.  I 
can't be hacking someone's phone for an hour just to transfer them a file.


Michael Grant


The keyword with a "phone" as you refer to that handheld computer, is 
locked in service. Just one of the reasons I only have an expired 
wallmart flip phone that hasn't been renewed in 4 or 5 years. If I'm 
going on a long trip where a vehicle problem might need a fone to yell 
for help, I'll go see what wally has today.  Until then its a nuisance, 
with every scammer on the planet calling you up at dinner time or in the 
middle of taking care of your horizontal homework. Amazons BIG red 
button has blocked 255 such scammers so far.


.


Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: advanced scripting problems - or wrong approach?

2024-06-01 Thread David Christensen

On 6/1/24 00:20, DdB wrote:

Hello,

for years have i been using a self-made backup script, that did mount a
drive via USB, performed all kinds of plausibility checks, before
actually backing up incrementally. Finally verifying success and logging
the activities while kicking the ISB drive out.

Since a few months, i do have a real backup server instead, connecting
to it via ssh i was able to have 2 terminals open and back up manually.
Last time, i introduced a mistake by accident and since, i am trying to
automate the whole thing once again, but that is difficult, as the load
on the net is huge, mbuffer is useful in that regard. So i was intending
to have just one script for all the operations using coproc to
coordinate the 2 servers.

But weird things are going on, i cant reliably communicate between host
and backup server, at least not automatically.

Searching the web, i found:
https://github.com/reconquest/coproc.bash/blob/master/REFERENCE.md
But i was unable to get this to work, which seems to indicate, that i am
misunderstanding something.
The only success i had was to "talk" to a chess engine in a coprocess,
which did go well. But neither bash nor ssh are cooperating, i may have
timing issues with the pipes or some other side effects.

How can i describe? For example if i start this:

#!/bin/bash -e

coproc { bash; }
exec 5<&${COPROC[0]} 6>&${COPROC[1]}
fd=5

echo "ls" >&6
while IFS= read -ru $fd line
do
 printf '%s\n' "$line"
done

printf "%s\n" "sleep 3;exit" >&6
while IFS= read -ru $fd line
do
 printf '%s\n' "$line"
done

exec 5<&- 6>&-

wait
echo waited, done


i get the output from ls, but then the thing is hanging indefinitely,
apparently not reaching the exit line. :(

Anyone who can share his experience to advance my experimenting?
DdB




https://en.wikipedia.org/wiki/XY_problem


Please define the root problem you are trying to solve.


David




Re: Help! secure boot is preventing boot of debian

2024-06-01 Thread Richmond
Marco Moock  writes:

> Am 01.06.2024 um 20:01:43 Uhr schrieb Richmond:
>
>> Should I disable secure boot temporarily? will that allow booting?
>
> That should allow booting it.
>
> Have you changed anything at the keys in the EFI (maybe UEFI
> firmware update)?

OK I got it booted and re-installed grub from debian. But I don't know
why it happened, I haven't changed any keys or done anything except an
opensuse update. I will ask the opensuse list



Re: Installing a python package with pipx

2024-06-01 Thread Richmond
Richard  writes:

> That's the point of venv's. pipx runpip should do the trick. Or the
> classic way: source path/to/venv/bin/activate. That way you activate
> the position virtual environment (venv) created in that directory
> with all packages installed in that venv.
>

I got it working by doing:

python3 -m venv .local/pipx/venvs/musicpy/

.local/pipx/venvs/musicpy/bin/python3.11

Then I was able to import musicpy from the python shell.

How bewildering!

Thanks.



Monthly FAQ for Debian-user mailing list (last modified 20240501)

2024-06-01 Thread Andrew M.A. Cater
Debian-user is a mailing list provided for support for Debian users,
and to facilitate discussion on relevant topics.

Codes of Conduct


* The list is a Debian communication forum. As such, it is subject to both
  the Debian mailing list Code of Conduct and the main Debian Code of Conduct
  https://www.debian.org/MailingLists/#codeofconduct
  https://www.debian.org/code_of_conduct
  
Guidelines for this list

Some guidelines which may help explain how the list should work:

Language


* The language on this mailing list is English. There may be other mailing
  lists that are language-specific, for example, debian-user-french or
  debian-user-catalan

* It is common for users to be redirected here from other lists, for example,
  from debian-project. It is also common for people to be posting here when
  English is not their primary language. Please be considerate.

Answering questions and contributing to discussions constructively
==

* This is a fairly busy mailing list but even so you may have to wait some
  time for an answer - please be patient.

* Help and advice on this list is provided by volunteers in their own time.
  It is common for there to be different opinions or answers provided.
  
* It is not necessary to answer every post on the mailing list.
  
* Be constructive in your responses. It may be that somebody else answers
  a question before you - if so, you should not reply simply in order to get
  the last word in, only reply if you can add useful information.

Off-topic posts
===

* Please try to stay on topic.

* Off-topic posts will happen occasionally as threads wander.
  Don't reply to them to make them carry on.

* If you wish to introduce an off-topic subject that might be
  of interest to the wider list, start a new thread and preface
  the title with [OT].

* There is no debian-offtopic mailing list: please don't try
  to start one.

Partisan topics and political arguments
===

* Arguments for the sake of it are not
  welcome here. 

* Partisan political / religious / cultural arguments do not belong here
  either.

  Debian's community is world wide; do not assume others will agree with your
  views or need to read them on a Debian list.
  
Editing and answering mailing list posts


* It is helpful to write meaningful subject lines. If you change subject
  or emphasis in mid-thread, please change the subject line on your email
  accordingly so that this can be clearly seen. 

  For example: New question [WAS Old topic]

* It may also be useful for someone to post a summary email from time to
  time to explain long threads.
  
* Before posting, it may be useful to check your post for spelling mistakes
  and scan it for redundancy, duplicate words and redundancy.

* Clear replies and a short mailing list thread are much easier to
  read and follow than long threads.

* If you are replying to a post, please reply in-line if possible and 
  cut out extra text that is not relevant to your point.

Private replies and responding to posts off-list


* Please post answers back to the list so others can benefit: private
  conversations don't benefit people who may only be following
  along on the list or reading the archives later.

* We're only human: you may want to respond to someone off-list
  to make a point (or to wish them Happy Birthday / comment that you
  haven't seen them for a long time). We're also a community and the
  people you find on the list may become familiar friends
  
  BUT

* Posting outside the list can be unhelpful: bad behaviour outside the lists 
  can't easily be dealt with and will be invisible. You may inadvertently leak
  personal information by posting a private reply back to the list.

  If you *do* want to post outside the list - make it clear that you have done
  so at the top of the message. If someone replies to you privately and you
  think that this should go back to the list - ask them to post it to the list
  - do not just do so on their behalf without checking.

I can't see what I want here - help me!
===

* It is often useful to look through the archives to see whether the issue
  you wish to raise or a similar issue has been raised before by someone
  else. The top level link to the archives of this list is at
  https://lists.debian.org/debian-user/ organised by year, then month.

* Although there are only 20 or 30 regular contributors, there may
  be a couple of thousand readers in the background. Nobody is
  a mind reader, nobody can sit beside you. Please help by providing
  useful details if asked, especially which version of Debian you are
  running.
  
I'm not using Debian but ...


* Strictly, discussions of other distributions are 

Re: Help! secure boot is preventing boot of debian

2024-06-01 Thread Marco Moock
Am 01.06.2024 um 20:01:43 Uhr schrieb Richmond:

> Should I disable secure boot temporarily? will that allow booting?

That should allow booting it.

Have you changed anything at the keys in the EFI (maybe UEFI
firmware update)?

-- 
Gruß
Marco

Send unsolicited bulk mail to 1717264903mu...@cartoonies.org



Help! secure boot is preventing boot of debian

2024-06-01 Thread Richmond
I have a PC with two operating systems installed, Debian, and Opensuse.
Both are installed with Secure Boot. Each has its own grub installation.
Normally I boot debian, and if I want to boot opensuse I select UEFI
settings from the main menu and select opensuse from there which
launches the opensuse grub. Today I booted opensuse, and did an update
which included an update to grub. Now I cannot boot debian as it says
bad shim or bad signature.

Each grub menu has the alternate O.S. on it, but booting debian from the
opensuse grub menu did not work either.

Should I disable secure boot temporarily? will that allow booting?



Re: Installing a python package with pipx

2024-06-01 Thread Richard
That's the point of venv's. pipx runpip should do the trick. Or the classic
way: source path/to/venv/bin/activate. That way you activate the position
virtual environment (venv) created in that directory with all packages
installed in that venv.

Richard

On Sat, Jun 1, 2024, 19:10 Richmond  wrote:

> I guess I have to tell python where to look?
>
>


Re: Installing a python package with pipx

2024-06-01 Thread Richmond
Richard  writes:

> Looking at the package, no wonder it fails. musicpy doesn't contain
> anything that can be executed. So pipx run can't work for obvious
> reasons. You'll have to install it with pipx install and use it in a
> python script.
>
> https://pypi.org/project/musicpy/
>

OK so I have found:

./.local/pipx/venvs/musicpy/lib/python3.11/site-packages/musicpy/musicpy.py

But:

 python3.11
Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import musicpy
Traceback (most recent call last):
  File "", line 1, in 
ModuleNotFoundError: No module named 'musicpy'

I guess I have to tell python where to look?



Re: Installing a python package with pipx

2024-06-01 Thread Richard
Looking at the package, no wonder it fails. musicpy doesn't contain
anything that can be executed. So pipx run can't work for obvious reasons.
You'll have to install it with pipx install and use it in a python script.

https://pypi.org/project/musicpy/

Richard

On Sat, Jun 1, 2024, 18:40 Richmond  wrote:

> Richard  writes:
>
> > If you haven't closed the terminal window/logged out, you need to run
> > source .bashrc. Running pipx ensurepath should have said something
> > like that.
>
> Yes, I did this:
> >
> > (logged out and in to get updated PATH)
>
>


Re: Installing a python package with pipx

2024-06-01 Thread Richmond
Richard  writes:

> If you haven't closed the terminal window/logged out, you need to run
> source .bashrc. Running pipx ensurepath should have said something
> like that.

Yes, I did this:
>
> (logged out and in to get updated PATH)



Re: Installing a python package with pipx

2024-06-01 Thread Richard
If you haven't closed the terminal window/logged out, you need to run
source .bashrc. Running pipx ensurepath should have said something like
that.

Richard

On Sat, Jun 1, 2024, 18:10 Richmond  wrote:

> I have been trying to install this:
>
> https://pypi.org/project/musicpy/#description
>
> with not much success.
>
> I have done these:
>
> sudo aptitude install pip
> sudo aptitude install pipx
> pipx ensurepath
> pipx install --include-deps musicpy
>
> (logged out and in to get updated PATH)
>
>  pipx run musicpy
> 'musicpy' executable script not found in package 'musicpy'.
> Available executable scripts:
>
> I think it is installed, but how do I run it?
>
>


Installing a python package with pipx

2024-06-01 Thread Richmond
I have been trying to install this:

https://pypi.org/project/musicpy/#description

with not much success.

I have done these:

sudo aptitude install pip
sudo aptitude install pipx
pipx ensurepath
pipx install --include-deps musicpy

(logged out and in to get updated PATH)

 pipx run musicpy
'musicpy' executable script not found in package 'musicpy'.
Available executable scripts:

I think it is installed, but how do I run it?



Re: tree with dir size

2024-06-01 Thread Lee
On Fri, May 31, 2024 at 11:18 PM Greg Wooledge wrote:
>
> On Fri, May 31, 2024 at 09:35:59PM -0500, David Wright wrote:
> > If a coloured ] is unimportant, I suppose you could use:
> >
> >   tree --du -Fh whatever | grep --color '][[:space:]][[:space:]].*/$'
>
> You don't need to count spaces.  Just '].*/$' would suffice.  We already
> know we want to start with the first ] character on the line, no matter
> how many spaces follow it.
>
> I really question the usefulness of colorizing the directory names,
> but since we're already this far down the rabbit hole, we might as
> well light some dynamite to make the hole deeper.  I'm sure it's safe!
>
> We're using GNU grep for coloring, so we can also use its PCRE syntax
> to do "lookbehind" voodoo:
>
> tree --du -Fh /usr/local | grep --color -P '(?<=]).*/$'
>
> which means "start matching after a ] but don't include the ] in the
> match".

Or use  '\K' to cause previously matched characters to not be included
in the match:

   tree --du -Fah . | grep --color -P '[^]]*]  \K.*/$'

(which required entirely too much RTFMing to learn about '\K')

Regards,
Lee



Re: Question About Free File Transfering Apps

2024-06-01 Thread Joe
On Sat, 01 Jun 2024 10:06:43 +
"Michael Grant"  wrote:


> 
> To this day, I have yet ever to see an easy way to share a file
> between 2 devices without full internet connectivity, except by say
> getting one to run an ftp or ssh server and ftp or ssh'ing over the
> file between local ip addrs (e.g. 192.168.x.y).  I'd love to know
> some well know good, not-evil, open source app that runs on all the
> platforms that I could tell people to install to send them a file
> without using the internet.  I can't really see any technical reason
> such an thing couldn't work, say over bluetooth or local IPs and
> maybe it does exist, I've just never run across such a thing.  The
> key word here is EASY.  I can't be hacking someone's phone for an
> hour just to transfer them a file.
> 
> Michael Grant
> 

a. I know nothing about iOS
b. I don't know if this will help

I have an Android phone. If I plug its micro USB charge/data connection
into my desktop's USB port, two entries appear on 'Device' in Thunar.
Pictures (only) can be transferred.

If I pull down the Android status menu and select the USB entry, then
tap for more options, then select file transfer. one of the Device
entries disappears and the other shows various directories. Files
of other kinds can be transferred to and from my workstation's
directories by copy and paste, and presumably by drag and drop. No
additional software is required on the phone.

Two Android devices plugged into something portable, such as a netbook
or Raspberry Pi could presumably transfer files fairly easily. I've
never needed to do it, so I haven't actually tried it between mobiles,
but I use one phone this way to transfer files to and from my network,
which is quicker than emailing them. I don't know what the earliest
version of Android with this ability is. Update: Google says Android 9.
There is a Mac app to do it, Windows and Linux machines including
Chromebook do it natively.

Maybe more ideas here:
https://www.grover.com/blog/en/7-ways-android-data-transfer
https://support.apple.com/en-gb/guide/iphone/iph3ea029318/17.0/ios/17.0


-- 
Joe



Re: advanced scripting problems - or wrong approach?

2024-06-01 Thread Greg Wooledge
On Sat, Jun 01, 2024 at 09:20:59AM +0200, DdB wrote:
> > #!/bin/bash -e
> > 
> > coproc { bash; }
> > exec 5<&${COPROC[0]} 6>&${COPROC[1]}
> > fd=5
> > 
> > echo "ls" >&6
> > while IFS= read -ru $fd line
> > do
> > printf '%s\n' "$line"
> > done
> > 
> > printf "%s\n" "sleep 3;exit" >&6
> > while IFS= read -ru $fd line
> > do
> > printf '%s\n' "$line"
> > done
> > 
> > exec 5<&- 6>&-
> > 
> > wait
> > echo waited, done
> 
> i get the output from ls, but then the thing is hanging indefinitely,
> apparently not reaching the exit line. :(

Your first while loop never terminates.  "while read ..." continues
running until read returns a nonzero exit status, either due to an
error or EOF.  Your coproc never returns EOF, so the "while read"
loop just keeps waiting for the next line of output from ls.

If you're going to communicate with a long-running process that can
return multiple lines of output per line of input, then you have
three choices:

  1) Arrange for some way to communicate how many lines, or bytes,
 of output are going to be given.

  2) Send a terminator line (or byte sequence) of some kind that
 indicates "end of current data set".

  3) Give up and assume the end of the data set after a certain amount
 of time has elapsed with no new output arriving.  (This is usually
 not the best choice.)

These same design issues occur in any kind of network communication, too.
Imagine an IMAP client or something, which holds open a network connection
to its IMAP server.  The client asks for the body of an email message,
but needs to keep the connection open afterward so that it can ask for
more things later.  The server has to be able to send the message back
without closing the connection at the end.  Therefore, the IMAP protocol
needs some way to "encapsulate" each server response, so the client
knows when it has received the full message.



Re: Mise à jour protégée par un pare-feu avec nftables

2024-06-01 Thread didier gaumet

Le 01/06/2024 à 14:00, Marc Chantreux a écrit :
[...]

n'est-ce pas sur debian-devel-french (lists.debian.org)
qu'il faut avoir ce genre de discussions (eventuellement pour suggérer
des modifications?)


Comme c'est une doc en français traduite de l'anglais, Je pencherais 
plutôt pour debian-doc (liste anglophone)?





Re: Mise à jour protégée par un pare-feu avec nftables

2024-06-01 Thread NoSpam

Le 01/06/2024 à 14:03, Marc Chantreux a écrit :


[...]peux-tu expliquer l'interet d'un
outils supplémentaire ?

Me simplifier la vie

Re: [solved] Re: No login with Debian 12 ssh client, ssh-rsa key, Debian 8 sshd

2024-06-01 Thread Nicholas Geovanis
Just to compare, when Red Hat released 9.0 maybe 2 years ago (9.2 is
current until 30 June) they disabled by default many older key-lengths and
algorithms in SSL that were known to be weak. This caused issues for
existing installations. You could either re-enable the weaker methods (easy
but a pain to figure out courtesy of RH's layers of administration) or bite
the bullet and re-key.

On Sat, Jun 1, 2024, 5:51 AM Max Nikulin  wrote:

> On 01/06/2024 16:42, Thomas Schmitt wrote:
> >debug1: Remote protocol version 2.0, remote software version
> OpenSSH_6.7p1 Debian-5
> >
> > (I wonder what the string "Debian-5" may mean. The Debian 12 machine has
> > debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2
> >   So "-5" is not the Debian version.
>
> Package version in bookworm: 1:9.2p1-2+deb12u2
>
>


Re: [Solved]: What DE to replace GNOME with?

2024-06-01 Thread songbird
DdB wrote:
...
> But i cannot endorse on bookworm without finding alternatives viable to
> my handicap. Does that mean, i am back to square one?
> Currently, i am 6 years behind (still on debian 10), because i was not
> willing to lose functionality i am used to. BTW: the GNOME team did that
> to me repeatedly, which makes me quite unhappy. But i am not familiar
> with the other desktops, cannot estimate the difficulties associated
> with their usage.

  many years ago running Debian testing i was happy with a
Gnome setup, menus and taskbars.  then they changed it too
much and it made too many assumptions about how i liked to
do things and i went through the effort of getting KDE 
setup how i liked it and then they too changed it too much
so i found MATE and have stuck with that since then.

  i've not had to try Cinnamon or other desktops, but i
also have not been needing more extreme things for a handicap
other than having fonts pretty large (which is a problem in
some websites or programs as some don't make it easy to
scroll a whole dialog until you find the key combination to
grab it and move it up or down).


  songbird



Re: After upgrade, what do you do about "removed" and "obsolete" packages ?

2024-06-01 Thread songbird
Thomas Schmitt wrote:
...
> Thanks for this description of a real world procedure.
> Now i know at least that i am not the only one who cares about the
> post-upgrade steps in the manual. I already began to think that everybody
> lets the surplus packages rot in the dark.

  i have been running the same general routine for
years.  every morning i boot up, run the updates
for apt (but i use apt-get out of habit) and then
do the updates that make sense.  since i am running
testing i may delay some updates for a period of
time until issues look to be resolved.

  if there are packages that are no longer needed
i will usually leave them in place until after i've
made sure i don't need them any more (here or there
i have had to downgrade to fix an issue so i don't
want to have to recreate a configuration file) before
i purge them from my system, but it may only be a
few days where i don't have the purged.  i also used
to run orphaner, but i've not used that in quite a
long time and it doesn't even appear in the archive
any more.

  after upgrading i reboot.  i want to know something
is broken when i have time to fix it instead of 
finding out when i don't have time.  i do keep a 
bootable stable partition though for emergencies and
comparison.

  once in a while i remove any unneeded downloaded
packages from my apt cache so i'm not wasting too
much space on my system, but that's once a month or
so when things seem to be quiet enough that i'm not
at risk of removing a package i might need to
downgrade.


> Have a nice day :)

  :)


> Thomas


  songbird



Re: Re[2]: Question About Free File Transfering Apps

2024-06-01 Thread songbird
Michael Grant wrote:
...
> I have long been plagued by the problem if sitting in a room or on a 
> boat with someone, 2 devices right next to one another, and no trivially 
> easy way to send a file from one device to the other without say first 
> uploading it to some mutual third party (e.g. whatsapp).

  USB stick or in the elder days i could wire up a 
RS232 cable and use that via serial ports.


...
> To this day, I have yet ever to see an easy way to share a file between 
> 2 devices without full internet connectivity, except by say getting one 
> to run an ftp or ssh server and ftp or ssh'ing over the file between 
> local ip addrs (e.g. 192.168.x.y).  I'd love to know some well know 
> good, not-evil, open source app that runs on all the platforms that I 
> could tell people to install to send them a file without using the 
> internet.  I can't really see any technical reason such an thing 
> couldn't work, say over bluetooth or local IPs and maybe it does exist, 
> I've just never run across such a thing.  The key word here is EASY.  I 
> can't be hacking someone's phone for an hour just to transfer them a 
> file.

  if i'm taking that long to do something, i'll just find
an easier method.

  for me sending an e-mail with the file attached
might also do it.


  songbird



Re: Mise à jour protégée par un pare-feu avec nftables

2024-06-01 Thread Marc Chantreux
hello,

On Sat, Jun 01, 2024 at 11:41:58AM +0200, NoSpam wrote:
> j'ai développé sfw, firewall basé sur nftables si cela intéresse
> https://framagit.org/tootai/sfw

un des gros avantages de nttables à mes yeux est la grande lisibilité et
simplicité de son fichier de conf. (une fois qu'on a bien compris
l'histoire des différents hooks). peux-tu expliquer l'interet d'un
outils supplémentaire ?

a+

-- 
Marc Chantreux
Pôle CESAR (Calcul et services avancés à la recherche)
Université de Strasbourg
14 rue René Descartes,
BP 80010, 67084 STRASBOURG CEDEX
03.68.85.60.79



Re: Mise à jour protégée par un pare-feu avec nftables

2024-06-01 Thread Marc Chantreux
hello,

On Sat, Jun 01, 2024 at 10:25:13AM +0200, didier gaumet wrote:
> > https://www.debian.org/doc/manuals/securing-debian-manual/fw-security-update.fr.html

je viens de jeter un coup d'oeil et sans être un expert réseau mais je
vois aussi que la doc sur le pont n'est pas passé à iproute2.

je vais dire une connerie mais n'est-ce pas sur debian-devel-french 
(lists.debian.org)
qu'il faut avoir ce genre de discussions (eventuellement pour suggérer
des modifications?)

-- 
Marc Chantreux
Pôle CESAR (Calcul et services avancés à la recherche)
Université de Strasbourg
14 rue René Descartes,
BP 80010, 67084 STRASBOURG CEDEX
03.68.85.60.79



Re: Question About Free File Transfering Apps

2024-06-01 Thread Dan Ritter
Michael Grant wrote: 
> I have long been plagued by the problem if sitting in a room or on a boat
> with someone, 2 devices right next to one another, and no trivially easy way
> to send a file from one device to the other without say first uploading it
> to some mutual third party (e.g. whatsapp).

...

> To this day, I have yet ever to see an easy way to share a file between 2
> devices without full internet connectivity, except by say getting one to run
> an ftp or ssh server and ftp or ssh'ing over the file between local ip addrs
> (e.g. 192.168.x.y).  I'd love to know some well know good, not-evil, open
> source app that runs on all the platforms that I could tell people to
> install to send them a file without using the internet.  I can't really see
> any technical reason such an thing couldn't work, say over bluetooth or
> local IPs and maybe it does exist, I've just never run across such a thing.
> The key word here is EASY.  I can't be hacking someone's phone for an hour
> just to transfer them a file.

The web browser technology called WebRTC does that quite well,
but for security reasons -- nobody wants a self-perpetuating
worm -- you need an intermediary device to introduce the two
participants but not to actually transfer the file.

And so there is snapdrop.net, which you can choose to trust or
you can run your own copy -- it's GPL3. Works between any two
devices that run modern web browsers, including iPhones,
Androids, Linux, Windows, Macs...

There are bluetooth solutions between Linux and Android and
Windows, but Apple does not allow bluetooth file transfer from
or to IOS with any operating systems they don't control.

-dsr-



Re: [solved] Re: No login with Debian 12 ssh client, ssh-rsa key, Debian 8 sshd

2024-06-01 Thread Max Nikulin

On 01/06/2024 16:42, Thomas Schmitt wrote:

   debug1: Remote protocol version 2.0, remote software version OpenSSH_6.7p1 
Debian-5

(I wonder what the string "Debian-5" may mean. The Debian 12 machine has
debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2
  So "-5" is not the Debian version.


Package version in bookworm: 1:9.2p1-2+deb12u2



Re: [Solved]: What DE to replace GNOME with?

2024-06-01 Thread Dan Ritter
DdB wrote: 
> Am 01.06.2024 um 11:02 schrieb Andrew M.A. Cater:
> > You would need to go from buster - bullseye to bookworm anyway.
> > 
> > Read the Release Notes for Bullseye to pick up on any changes.
> > 
> > Do note also that Bookworm is currently supported: Bullseye security
> > support ends round July 31st this year as Bullseye will move to LTS.
> > 
> > You might want to repeat the upgrade process in a couple of months
> 
> Yes, Andy, you are correct. See:
> https://wiki.debian.org/DebianReleases#Production_Releases
> 
> But i cannot endorse on bookworm without finding alternatives viable to
> my handicap. Does that mean, i am back to square one?
> Currently, i am 6 years behind (still on debian 10), because i was not
> willing to lose functionality i am used to. BTW: the GNOME team did that
> to me repeatedly, which makes me quite unhappy. But i am not familiar
> with the other desktops, cannot estimate the difficulties associated
> with their usage.

You've mentioned that you want programmable hot corners and a
pop-up menu, and in another thread, that you like to write your
own scripts.

Here is an X11-specific but not DE-specific tool to run hot
corners; it is written in bash and is eminently hackable:

https://github.com/okitavera/cornora/

The dependencies are packaged in Debian, so it's just one
script.

And here is an X11-specific but not DE-specific tool to run
menus (and several other similar things), which is easily
customizable through a config file:

apt install rofi

Finally, here is an X11-specific but not DE-specific tool to
grab a keyboard button or combination and do something else with
it, including running an application:

apt install xbindkeys

All of these work in Debian 10, 11 and 12, and I see no reason
that they should stop working in 13. If you accustom yourself to
using them now, you can change desktop environments and upgrade
to current stable without fear of losing your desired workflow.

Hope that helps.

-dsr-



Re: [Solved]: What DE to replace GNOME with?

2024-06-01 Thread Brad Rogers
On Sat, 1 Jun 2024 11:47:59 +0200
DdB  wrote:

Hello DdB,

>BTW: the GNOME team did that to me repeatedly

In fairness, it's not just Gnome that erodes features.  TBH, they *all*
do it.  I've seen features removed from Plasma, Claws Mail, Tellico,
loads of stuff.  Worst of all is when the removal goes without comment.
From anyone.

Often the reason given boils down to "too difficult to maintain".  Well
okay, but it's still difficult to stomach when you're reliant on said
feature.

-- 
 Regards  _   "Valid sig separator is {dash}{dash}{space}"
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
If we're working class, why ain't we got jobs?
Insane Society - Menace


pgpuuK72Cr_yx.pgp
Description: OpenPGP digital signature


Re[2]: Question About Free File Transfering Apps

2024-06-01 Thread Michael Grant
I use sshfs, works great to let me drop files on my server from my 
desktop. But I wouldn't call that "file sharing".  I probably would call 
that a "network disk" or "remote mount".


There's probably some formal definition out there, but when I think of 
file sharing, I think of someone proffering up a single file (or folder) 
and sharing it point-to-point with one or some small group of people.


I have long been plagued by the problem if sitting in a room or on a 
boat with someone, 2 devices right next to one another, and no trivially 
easy way to send a file from one device to the other without say first 
uploading it to some mutual third party (e.g. whatsapp).


sshfs isn't going to let you share files between say 2 phones, at least, 
not very easily if at all.


By recommendation further up in this thread, I tried Google's Quick 
Share between my wife's phone and my phone.  Followed all the 
instructions, did not work.  Followed all the troubleshooting 
instructions.  Nope, my device doesn't appear on her phone when I share, 
and neither the other way around.  Searched the web, found a ton of 
people with same issue.  It's DoA I'm afraid.


Between family members, we have in the past shared files using a 
synology box and their Drive app.  It works just like Dropbox except 
file is on your own infra.  It's not open source though and I don't know 
how tied it actually is to Synology's infra.  One certainly needs to be 
on the net to use it.


To this day, I have yet ever to see an easy way to share a file between 
2 devices without full internet connectivity, except by say getting one 
to run an ftp or ssh server and ftp or ssh'ing over the file between 
local ip addrs (e.g. 192.168.x.y).  I'd love to know some well know 
good, not-evil, open source app that runs on all the platforms that I 
could tell people to install to send them a file without using the 
internet.  I can't really see any technical reason such an thing 
couldn't work, say over bluetooth or local IPs and maybe it does exist, 
I've just never run across such a thing.  The key word here is EASY.  I 
can't be hacking someone's phone for an hour just to transfer them a 
file.


Michael Grant



Re: [Solved]: What DE to replace GNOME with?

2024-06-01 Thread DdB
Am 01.06.2024 um 11:02 schrieb Andrew M.A. Cater:
> You would need to go from buster - bullseye to bookworm anyway.
> 
> Read the Release Notes for Bullseye to pick up on any changes.
> 
> Do note also that Bookworm is currently supported: Bullseye security
> support ends round July 31st this year as Bullseye will move to LTS.
> 
> You might want to repeat the upgrade process in a couple of months

Yes, Andy, you are correct. See:
https://wiki.debian.org/DebianReleases#Production_Releases

But i cannot endorse on bookworm without finding alternatives viable to
my handicap. Does that mean, i am back to square one?
Currently, i am 6 years behind (still on debian 10), because i was not
willing to lose functionality i am used to. BTW: the GNOME team did that
to me repeatedly, which makes me quite unhappy. But i am not familiar
with the other desktops, cannot estimate the difficulties associated
with their usage.

DdB



[solved] Re: No login with Debian 12 ssh client, ssh-rsa key, Debian 8 sshd

2024-06-01 Thread Thomas Schmitt
Hi,

Jeffrey Walton wrote:
> If I am not mistaken, the problem you are experiencing is due to using
> RSA/SHA-1 on the old machine.

Max Nikulin wrote:
> My reading of /usr/share/doc/openssh-client/NEWS.Debian.gz is that ssh-rsa
> means SHA1 while clients offers SHA256 for the same id_rsa key.

Indeed NEWS.Debian.gz links
  PubkeyAcceptedAlgorithms +ssh-rsa
to RSA/SHA1.
This is the explanation why the message does not say that ssh-rsa is
disabled and why the web is so unclear about the ssh-rsa hash algorithm.

So the Debian 12 client really offered the RSA key but not in a way the
Debian 8 server could handle.
The ssh -v messages have a line

  debug1: Remote protocol version 2.0, remote software version OpenSSH_6.7p1 
Debian-5

(I wonder what the string "Debian-5" may mean. The Debian 12 machine has
   debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2
 So "-5" is not the Debian version.
)
NEWS.Debian.gz says

  OpenSSH has supported RFC8332 RSA/SHA-256/512
  signatures since release 7.2 and existing ssh-rsa keys will
  automatically use the stronger algorithm where possible.

So the Debian 8 sshd is too old for a better ssh-rsa handshake and the
connection might have been highjacked since 2022 "for 

Re: Mise à jour protégée par un pare-feu avec nftables

2024-06-01 Thread NoSpam

Bonjour

j'ai développé sfw, firewall basé sur nftables si cela intéresse

https://framagit.org/tootai/sfw


Le 31/05/2024 à 22:35, firenze...@orange.fr a écrit :

Bonjour tout le monde,

https://www.debian.org/doc/manuals/securing-debian-manual/fw-security-update.fr.html 



La page web ci-dessus semble quelque peu obsolète. N'est-ce pas un peu 
contre-productif d'obliger la réinstallation de iptables sur une 
Debian bookworm fraîchement installée, alors que nftables est depuis 
buster le pare-feu par défaut ?


Pourquoi ne pas publier également un exemple de configuration de 
nftables sur cette même page ? Ça arrangerait beaucoup de monde en 
plus de moi.


Qu'est-ce que vous en pensez ?

Librement,

Firenze




Re: Question About Free File Transfering Apps

2024-06-01 Thread gene heskett

On 5/31/24 22:37, David Wright wrote:

On Fri 31 May 2024 at 17:30:19 (+0100), mick.crane wrote:

On 2024-05-31 13:58, gene heskett wrote:

On 5/30/24 20:09, mick.crane wrote:

On 2024-05-29 15:07, Carter Zhang wrote:

Are there any free apps for GNU/Linux and Android to share files over
LAN? There have already been LocalSend, LanXchange, LANDrop,
NitroShare, Sharik, Warpinator, TrebleShot, but they have respective
problems.


   I don't know if sshfs would have issues with more than one
connection.


It does not, I have open sessions to 6 other machines here,
possability's of up to 10 if all are turned on.


AFAICT from your posts Gene, you are the sole user on your LAN,
so "sharing files" takes on a particular meaning.


I only drag stuff in and out of the directory in Thunar. Dragging from
the directory takes a copy. I wondered what would happen if somebody
deleted a file while you were half way through fetching it.


AIUI you get a race. So unless you elaborate on who the potential
agents are on your LAN (spouse, kids, kids mates), I don't think
sshfs would be an appropriate choice, and neither does an author
of the wikipedia page:

  "SSHFS is an alternative to those protocols [A(pple)FP, NFS, SMB]
   only in situations where users are confident that files and
   directories will not be targeted for writing by another user,
   at the same time."

Well, since I'm alone, my wife passed 3.5 years back, and was not 
computer literate, its my show. And sshfs Just Works. I use this machine 
as the src for my output for some 3d printers, although the 4 linuxcnc 
machines are largely standalone in that the gcode I run on them was all 
written by me on that machine.. I often have more than one login session 
to a given machine because that machine may also be its own buildbot. 
Every machine has access to the world, but its all hidden behind a 
dd-wrt running router doing the NAT. I don't have to fight with 
samba/cifs and its daily updates to keep it working, permissions are 
100% linux, nor do I fool with nfs and its weekly updates that always 
break it.


But age is playing a role too, I have short term memory problems. 
Perhaps because of my age, I'll be 90 in October if I don't fall over first.


The only dis to ssh and friends has been the local key files and keeping 
them up to date. That's very minor, its probably been a year since a new 
install on one of my pi clones had me hunting down an aging key file. 
Nothing like this broken bookworm install, its far more annoyance than 
any of the other problems. I'll miss morning roll call, and disappear 
soon enough and then it will be a bit more peaceful here.


In the meantime, everybody take care and stay well.  You are my 
connection to the rest of the world.



Cheers,
David.


Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis



Re: advanced scripting problems - or wrong approach?

2024-06-01 Thread tomas
On Sat, Jun 01, 2024 at 10:53:45AM +0200, DdB wrote:
> Am 01.06.2024 um 09:20 schrieb DdB:
> > Hello,
> > 
> I get it: you wouldnt trust my scripts.

That wasn't the point. I'm just not in the situation to
debug it at the moment.

> Thats fine with me. But my
> experience is quite different: Software, i prefer using is such, that i
> keep control.

Definitely -- that's why I concoct my backup scripts myself.
I was rather commenting at the concrete construction (that
is: concurrent processes communicating over two way pipes),
which seems somewhat fragile to me. If you haven't async
primitives, as in the shell, you might bump into deadlocks
sooner rather than later :-)

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: [Solved]: What DE to replace GNOME with?

2024-06-01 Thread Andrew M.A. Cater
On Sat, Jun 01, 2024 at 08:52:14AM +0200, DdB wrote:
> Am 31.05.2024 um 12:57 schrieb DdB:
> > Hello,
> > 
> > 
> > Now is the time to plan ahead for years to come and i don't know, what i
> > should do.
> > 
> > DdB
> 
> Thanks for all your input.
> In the meantime, i did check for the specific gnome-extensions and
> found, that both ere still working fine on bullseye. Thus i decided to
> just go the "little step" of moving from debian 10 to 11 for the time
> being. No need to mess with my habits in that case. :-)
> DdB
>

Hi DdB,

You would need to go from buster - bullseye to bookworm anyway.

Read the Release Notes for Bullseye to pick up on any changes.

Do note also that Bookworm is currently supported: Bullseye security
support ends round July 31st this year as Bullseye will move to LTS.

You might want to repeat the upgrade process in a couple of months :)

All the very best, as ever,

Andy Cater

(amaca...@debian.org)



Re: advanced scripting problems - or wrong approach?

2024-06-01 Thread DdB
Am 01.06.2024 um 09:20 schrieb DdB:
> Hello,
> 
I get it: you wouldnt trust my scripts. Thats fine with me. But my
experience is quite different: Software, i prefer using is such, that i
keep control. And because backup means different things to different
people, i did not bother to explain, what i meant. (btw: i use rsync in
other places, but for backups, i do prefer zfs snapshots.)
The whole content is irrelevant to some extent. I dared to say what i want:
Stop doing backups manually and get my backup routine back, therefore
i'd love to have a single script doing exactly what i want in the exact
order i want, and as the backup takes more than one hour, i thought an
asynchronous process ould be appropriate...




Re: advanced scripting problems - or wrong approach?

2024-06-01 Thread tomas
On Sat, Jun 01, 2024 at 08:20:08AM +, Michael Kjörling wrote:
> On 1 Jun 2024 10:11 +0200, from to...@tuxteam.de:
> >> for years have i been using a self-made backup script [...]
> > 
> > I won't get into that -- I can't even fathom why you'd need coproc
> > for a backup script. I tend to keep things simple -- they tend to
> > thank me in failing less often and in more understandable ways.
> 
> I agree. There are plenty enough of ready-made backup solutions to
> cater to different needs that making one's own shouldn't be needed.

(Full disclosure: I do mine with a shell script wrapped around
rsync, and using its wonderful "dir-merge" feature to fine tune
what to leave out).

[...]

> > I didn't try your script, but may be there is a "\n" missing down
> > there?
> > 
> >>> printf "%s\n" "sleep 3;exit" >&6
> >  ^^^
>   ^^

Good catch, thanks Michael -- to DdB: please, disregard my hunch. I
didn't look closely enough.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Mise à jour protégée par un pare-feu avec nftables

2024-06-01 Thread didier gaumet

Le 31/05/2024 à 22:35, firenze...@orange.fr a écrit :

Bonjour tout le monde,

https://www.debian.org/doc/manuals/securing-debian-manual/fw-security-update.fr.html

La page web ci-dessus semble quelque peu obsolète. N'est-ce pas un peu 
contre-productif d'obliger la réinstallation de iptables sur une Debian 
bookworm fraîchement installée, alors que nftables est depuis buster le 
pare-feu par défaut ?


Pourquoi ne pas publier également un exemple de configuration de 
nftables sur cette même page ? Ça arrangerait beaucoup de monde en plus 
de moi.


Qu'est-ce que vous en pensez ?

Librement,

Firenze




Bonjour,

(Avertissement: je suis une truffe en réseaux)

Je peux ne pas bien évaluer la situation, mais la doc précitée ne me 
semble pas impliquer la réinstallation d'iptables.
nftables peut être piloté par les anciennes commandes iptables (ainsi 
que ebtables et autres) dans un souci de compatibilité avec l'existant, 
ou être piloté par le nouvel outil dédié nft avec sa syntaxe 
incompatible iptables.


A priori faut juste se fixer sur une seule méthode de pilotage de 
nftables (ancien iptables ou ou nouveau nft) pour éviter les soucis (je 
crois que quelqu'un avait évoqué ses problèmes sur cette liste)


les exemples de la doc précitée illustrent juste l'emploi de la syntaxe 
iptables pour piloter nftables.


Alors, ce serait probablement mieux si la doc mentionnait les deux 
syntaxes (ancien iptables ou nouveau nft) mais je pense que beaucoup de 
monde utilise encore la syntaxe iptables avec nftables. De temps à 
autres on voit encore ici des gens qui utilisent d'anciennes commandes 
SysV via la couche de rétro-compatibilité pour gérer des services 
Systemd au lieu d'utiliser la commande dédiée systemctl...




Re: advanced scripting problems - or wrong approach?

2024-06-01 Thread Michael Kjörling
On 1 Jun 2024 10:11 +0200, from to...@tuxteam.de:
>> for years have i been using a self-made backup script [...]
> 
> I won't get into that -- I can't even fathom why you'd need coproc
> for a backup script. I tend to keep things simple -- they tend to
> thank me in failing less often and in more understandable ways.

I agree. There are plenty enough of ready-made backup solutions to
cater to different needs that making one's own shouldn't be needed.

Depending on the format you want your backup in, it's quite possible
that a simple rsync invocation would do. rsnapshot works on top of
rsync and gives you incremental backups with history. That's what I
use (plus some surrounding homegrown scripts, particularly one to
implement a more intelligent old backups purge policy than what
rsnapshot itself offers) and it has worked near perfectly for probably
a decade.


> I didn't try your script, but may be there is a "\n" missing down
> there?
> 
>>> printf "%s\n" "sleep 3;exit" >&6
>  ^^^
  ^^

-- 
Michael Kjörling  https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”



Re: advanced scripting problems - or wrong approach?

2024-06-01 Thread tomas
On Sat, Jun 01, 2024 at 09:20:59AM +0200, DdB wrote:
> Hello,
> 
> for years have i been using a self-made backup script [...]

I won't get into that -- I can't even fathom why you'd need coproc
for a backup script. I tend to keep things simple -- they tend to
thank me in failing less often and in more understandable ways.

I didn't try your script, but may be there is a "\n" missing down
there?

> > printf "%s\n" "sleep 3;exit" >&6
 ^^^

That would be my first hunch.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: After upgrade, what do you do about "removed" and "obsolete" packages ?

2024-06-01 Thread Thomas Schmitt
Hi,

Florent Rougon wrote:
> AFAIK, these are not wildcards; each star appended to a package name
> indicates that the package is going to be purged

At least it is a good way to catch the attention of the apt operator. :))


> tl;dr: aptitude praise

Thanks for this description of a real world procedure.
Now i know at least that i am not the only one who cares about the
post-upgrade steps in the manual. I already began to think that everybody
lets the surplus packages rot in the dark.


Have a nice day :)

Thomas



advanced scripting problems - or wrong approach?

2024-06-01 Thread DdB
Hello,

for years have i been using a self-made backup script, that did mount a
drive via USB, performed all kinds of plausibility checks, before
actually backing up incrementally. Finally verifying success and logging
the activities while kicking the ISB drive out.

Since a few months, i do have a real backup server instead, connecting
to it via ssh i was able to have 2 terminals open and back up manually.
Last time, i introduced a mistake by accident and since, i am trying to
automate the whole thing once again, but that is difficult, as the load
on the net is huge, mbuffer is useful in that regard. So i was intending
to have just one script for all the operations using coproc to
coordinate the 2 servers.

But weird things are going on, i cant reliably communicate between host
and backup server, at least not automatically.

Searching the web, i found:
https://github.com/reconquest/coproc.bash/blob/master/REFERENCE.md
But i was unable to get this to work, which seems to indicate, that i am
misunderstanding something.
The only success i had was to "talk" to a chess engine in a coprocess,
which did go well. But neither bash nor ssh are cooperating, i may have
timing issues with the pipes or some other side effects.

How can i describe? For example if i start this:
> #!/bin/bash -e
> 
> coproc { bash; }
> exec 5<&${COPROC[0]} 6>&${COPROC[1]}
> fd=5
> 
> echo "ls" >&6
> while IFS= read -ru $fd line
> do
> printf '%s\n' "$line"
> done
> 
> printf "%s\n" "sleep 3;exit" >&6
> while IFS= read -ru $fd line
> do
> printf '%s\n' "$line"
> done
> 
> exec 5<&- 6>&-
> 
> wait
> echo waited, done

i get the output from ls, but then the thing is hanging indefinitely,
apparently not reaching the exit line. :(

Anyone who can share his experience to advance my experimenting?
DdB



  1   2   3   4   5   6   7   8   9   10   >