Re: [DNG] Installing & running eudev broke USB drives auto-listing in Thunar.

2017-12-10 Thread Rick Moen
I wrote:

> If you used an MUA that supported proper list-reply, you wouldn't 
> need to 'change your To: line', either.  (I haven't checked headers
> to see if your MUA is revealed, there.  If you _do_ use mutt, switch
> to doing list-reply.)

Claws-Mail -- and, in Web-searching to see whether that MUA has a
list-reply mode, I found a discussion of this entire issue a year aago
on the Claws Users mailing list, in which one Steve Litt is
significantly featured.
http://claws-mail.org/pipermail/users/2016-September/017455.html

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] two dhcp configurations

2017-12-10 Thread Simon Hobson
KatolaZ  wrote:

>  $ apt-file search dhcpd.conf
> 
> says that the former comes from isc-dhcp-server (as someone else
> suggested) while the latter does not belong to any package in
> particular, so it must have been put there by you (or by an older
> package that does not exist eny more, who knows?). 

Ah, now you mention it ...
I have (very) vague recollections that earlier versions of the iSC server were 
packaged (in Debian) as "dhcp-server" and may have used /etc/dhcpd.conf. At 
some point, it got changed to "isc-dhcp-server" (and the client to 
"isc-dhcp-client") and config files got moved to /etc/dhcp/ - this would have 
been to avoid confusion with other DHCP server and client packages. I think 
there was some sort of transitional package, and that would have been 
responsible for moving (or copying ?) the config file to it's new home.
This was many years ago - a couple of decades IIRC.

And writing that last sentence does suddenly make me feel old ! Sorry gents 
(and ladies), I do nothing to dispel the stereotype of us being greybeards :D

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] two dhcp configurations

2017-12-10 Thread KatolaZ
On Sun, Dec 10, 2017 at 10:16:03AM +, Simon Hobson wrote:
> KatolaZ  wrote:
> 
> >  $ apt-file search dhcpd.conf
> > 
> > says that the former comes from isc-dhcp-server (as someone else
> > suggested) while the latter does not belong to any package in
> > particular, so it must have been put there by you (or by an older
> > package that does not exist eny more, who knows?). 
> 
> Ah, now you mention it ...
> I have (very) vague recollections that earlier versions of the iSC server 
> were packaged (in Debian) as "dhcp-server" and may have used /etc/dhcpd.conf. 
> At some point, it got changed to "isc-dhcp-server" (and the client to 
> "isc-dhcp-client") and config files got moved to /etc/dhcp/ - this would have 
> been to avoid confusion with other DHCP server and client packages. I think 
> there was some sort of transitional package, and that would have been 
> responsible for moving (or copying ?) the config file to it's new home.
> This was many years ago - a couple of decades IIRC.
> 
> And writing that last sentence does suddenly make me feel old ! Sorry gents 
> (and ladies), I do nothing to dispel the stereotype of us being greybeards :D

Unfortunately, I had the same recollection, but felt shy of being
considered even greyer than I actually am ;)

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: Digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Ansible (and probably other configuration management systems) and Devuan facts

2017-12-10 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi folks,

currently I do manage all my systems with ansible and former puppet.

But no system that I tested had a version that detect devuan a clean
way.

I first started with distributing a /usr/share/distro-info/devuan.csv
with content of:
   version,codename,series,created,release,eol
   8,Jessie,jessie,2013-05-04,2015-04-25
   9,Ascii,ascii,2015-04-25
   ,Ceres,ceres,1993-08-16

... but I think, that file should be included in distro-info-data.

But there is more. With current ansible I get the following
(distribution specific) facts on a debian sid:
"ansible_distribution": "Debian",
"ansible_distribution_file_parsed": true,
"ansible_distribution_file_path": "/etc/os-release",
"ansible_distribution_file_variety": "Debian",
"ansible_distribution_major_version": "buster/sid",
"ansible_distribution_release": "NA",
"ansible_distribution_version": "buster/sid",
"ansible_lsb": {
"codename": "sid",
"description": "Debian GNU/Linux unstable (sid)",
"id": "Debian",
"major_release": "unstable",
"release": "unstable"
},
"ansible_os_family": "Debian",

A devuan unstable gives me the following:
"ansible_distribution": "Devuan GNU/Linux",
"ansible_distribution_file_parsed": true,
"ansible_distribution_file_path": "/etc/os-release",
"ansible_distribution_file_variety": "NA",
"ansible_distribution_major_version": "stretch/sid",
"ansible_distribution_release": "NA",
"ansible_distribution_version": "stretch/sid",
"ansible_lsb": {
"codename": "ceres",
"description": "Devuan GNU/Linux unstable (ceres)",
"id": "Devuan",
"major_release": "unstable",
"release": "unstable"
},
"ansible_os_family": "Devuan GNU/Linux",

And a devuan stable gives me the following:
"ansible_distribution": "Debian",
"ansible_distribution_major_version": "8",
"ansible_distribution_release": "NA",
"ansible_distribution_version": "8.7",
"ansible_lsb": {
"codename": "jessie",
"description": "Devuan GNU/Linux 1.0 (jessie)",
"id": "Devuan",
"major_release": "1",
"release": "1.0"
},
"ansible_os_family": "Debian",

That makes several problems.

First, for every system the ansible_os_family should be Debian as it is
for all .deb based distributions. And even worse, it should never be
something with space.

Next, the ansible_distribution* stuff should have some reasonable
values. First ansible_distribution sould be "Devuan",
ansible_distribution_file_variety should be "Debian",
ansible_distribution_major_version should be the numeric major or NA
(for unstable), ansible_distribution_release should be the name of the
distribution and ansible_distribution_version should be the version with
minor version.

I did some patching of
/usr/lib/python2.7/dist-packages/ansible/module_utils/facts/system/distribution.py
(see below) to get the following:
"ansible_distribution": "Devuan",
"ansible_distribution_file_parsed": true,
"ansible_distribution_file_path": "/etc/os-release",
"ansible_distribution_file_variety": "Debian",
"ansible_distribution_major_version": "ascii/ceres",
"ansible_distribution_release": "ascii/ceres",
"ansible_distribution_version": "ascii/ceres",
"ansible_lsb": {
"codename": "ceres",
"description": "Devuan GNU/Linux unstable (ceres)",
"id": "Devuan",
"major_release": "unstable",
"release": "unstable"
},
"ansible_os_family": "Debian",

As I am a perl hacker and not a python hacker, the patch might be not
the best and there is many room for improvement:
   --- distribution.py.orig2017-12-10 15:11:55.389637887 +0100
   +++ distribution.py 2017-12-10 15:36:22.463056530 +0100
   @@ -310,6 +310,18 @@
rc, out, err = self.module.run_command(cmd)
if rc == 0:
debian_facts['distribution_release'] = out.strip()
   +elif 'Devuan' in data:
   +debian_facts['distribution'] = 'Devuan'
   +release1 = re.search("PRETTY_NAME=.* ([0-9]+) \(([^)]+)\)", 
data)
   +release2 = re.search("PRETTY_NAME=.* ([^ \"]+)\"", data)
   +if release1:
   +debian_facts['distribution_release'] = release1.groups()[1]
   +debian_facts['distribution_major_version'] = 
release1.groups()[0]
   +debian_facts['distribution_version'] = release1.groups()[0]
   +elif release2:
   +debian_facts['distribution_release'] = release2.groups()[0]
   +debian_facts['distribution_major_version'] = 
r

[DNG] Text editor ?

2017-12-10 Thread Renaud (Ron) OLGIATI
Is there in Devuan a text editor that will do find/replace on a regexp ?
 
Cheers,
 
Ron.
-- 
  This country, with its institutions, belongs to the people who inhabit it.
  Whenever they shall grow weary of the existing Government,
  they can exercise their constitutional right of amending it   
  or their revolutionary right to dismember or overthrow it.
  -- Abraham Lincoln

   -- http://www.olgiati-in-paraguay.org --
 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Text editor ?

2017-12-10 Thread ael
On Sun, Dec 10, 2017 at 07:09:27PM -0300, Renaud (Ron) OLGIATI wrote:
> Is there in Devuan a text editor that will do find/replace on a regexp ?

Almost every non trivial editor will do that: my favorite is vim.

ael
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Text editor ?

2017-12-10 Thread Renaud (Ron) OLGIATI
On Sun, 10 Dec 2017 22:16:18 +
ael  wrote:

> > Is there in Devuan a text editor that will do find/replace on a regexp ?  

> Almost every non trivial editor will do that: my favorite is vim.

Thanks, I should have been more precise: one with a GUI.
 
Cheers,
 
Ron.
-- 
  This country, with its institutions, belongs to the people who inhabit it.
  Whenever they shall grow weary of the existing Government,
  they can exercise their constitutional right of amending it   
  or their revolutionary right to dismember or overthrow it.
  -- Abraham Lincoln

   -- http://www.olgiati-in-paraguay.org --
 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Text editor ?

2017-12-10 Thread Steve Litt
On Sun, 10 Dec 2017 19:25:18 -0300
"Renaud (Ron) OLGIATI"  wrote:

> On Sun, 10 Dec 2017 22:16:18 +
> ael  wrote:
> 
> > > Is there in Devuan a text editor that will do find/replace on a
> > > regexp ?
> 
> > Almost every non trivial editor will do that: my favorite is vim.  
> 
> Thanks, I should have been more precise: one with a GUI.
>  
> Cheers,
>  
> Ron.

Vim has a GUI. Several. Just don't get Vim-gnome, because Gnome.

SteveT

Steve Litt 
December 2017 featured book: Thriving in Tough Times
http://www.troubleshooters.com/thrive
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Text editor ?

2017-12-10 Thread vmlinux
I've found Nedit  a surprisingly capable editor on various *nix platforms. I 
think it changed its name but Google should help. Syntax highlighting for many 
languages, tabs and regex support too. Only depends on X11 libs for the gui. 

On December 10, 2017 4:09:27 PM CST, "Renaud (Ron) OLGIATI" 
 wrote:
::Is there in Devuan a text editor that will do find/replace on a regexp
::?
:: 
::Cheers,
:: 
::Ron.
::-- 
::This country, with its institutions, belongs to the people who inhabit
::it.
::Whenever they shall grow weary of the existing Government,
::   
::they can exercise their constitutional right of amending it   
::   
::or their revolutionary right to dismember or overthrow it.
::   
::-- Abraham Lincoln
::
::   -- http://www.olgiati-in-paraguay.org --
:: 
::___
::Dng mailing list
::Dng@lists.dyne.org
::https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

-- 
Sent from a Mobile device.___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Text editor ?

2017-12-10 Thread Rick Moen
Quoting vmlinux (vmli...@charter.net):

> I've found Nedit  a surprisingly capable editor on various *nix
> platforms. I think it changed its name but Google should help. Syntax
> highlighting for many languages, tabs and regex support too. Only
> depends on X11 libs for the gui. 

Plus Open Motif or LessTif.

Still called NEdit (short for Nirvana Editor).

https://sourceforge.net/projects/nedit/
ftp://ftp.fu-berlin.de/unix/editors/nedit/contrib/misc/nedit.pdf

-- 
Cheers,"I am not responsible for the structural integrity 
Rick Moen  of the bubble you’ve chosen to live in."
r...@linuxmafia.com   -- Mike Norton
McQ! (4x80)
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Text editor ?

2017-12-10 Thread J. Fahrner

Am 2017-12-10 23:25, schrieb Renaud (Ron) OLGIATI:

Thanks, I should have been more precise: one with a GUI.


My favourite GUI text editor is Geany.

Jochen
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Text editor ?

2017-12-10 Thread Renaud (Ron) OLGIATI
On Mon, 11 Dec 2017 08:04:34 +0100
"J. Fahrner"  wrote:

> > Thanks, I should have been more precise: one with a GUI.  
> 
> My favourite GUI text editor is Geany.


Thank you; sadly this is not offered in Devuan Jessie  ;-3(
 
Cheers,
 
Ron.
-- 
   The measure of a man's real character is
   what he would do if he knew he would never be found out.
--Thomas Babington Macaulay

   -- http://www.olgiati-in-paraguay.org --
 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Text editor ?

2017-12-10 Thread Svante Signell
On Mon, 2017-12-11 at 08:04 +0100, J. Fahrner wrote:
> Am 2017-12-10 23:25, schrieb Renaud (Ron) OLGIATI:
> > Thanks, I should have been more precise: one with a GUI.
> 
> My favourite GUI text editor is Geany.

emacs of course :)
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Text editor ?

2017-12-10 Thread Renaud (Ron) OLGIATI
On Mon, 11 Dec 2017 04:43:30 -0300
"Renaud (Ron) OLGIATI"  wrote:

> Thank you; sadly this is not offered in Devuan Jessie  ;-3(

Please ignore: Synaptic could not find it, but apt-get did.
 
Cheers,
 
Ron.
-- 
   The measure of a man's real character is
   what he would do if he knew he would never be found out.
--Thomas Babington Macaulay

   -- http://www.olgiati-in-paraguay.org --
 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng