Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-14 Thread Max Nikulin

On 15/04/2023 12:02, to...@tuxteam.de wrote:

On Fri, Apr 14, 2023 at 11:02:03PM -0400, Greg Wooledge wrote:

On Sat, Apr 15, 2023 at 09:44:03AM +0700, Max Nikulin wrote:

As to [^c] vs. [!c], unfortunately the latter can not be always used as
portable variant. It is treated as history expansion in the case of
interactive bash session.


Ugh.  That abomination.  I've had history expansion disabled for *years*.


You have to escape it with a backslash. Quoting with single quotes also
helps, although I don't know whether that is portable itself.


The problem is to prevent history expansion while keeping pattern 
matching (glob) active.


   du -ks -- .[!.]* | sort -n | tail


Yes, somewhat annoying, unless one's making use of it.


From search engine results my impression is that there enough users of 
history expansion in bash and zsh. Certainly they would be angry due to 
a breaking changes if history expansion were disabled by default. That 
is why, when recommending [!c] instead of [^c], it is necessary to say 
"besides interactive shells such as bash and zsh". It should not be 
assumed that everybody has history expansion disabled.





Re: Debian Stretch : X server won't start after update

2023-04-14 Thread David
On Sat, 15 Apr 2023 at 04:24, Tim Woodall  wrote:
> On Fri, 14 Apr 2023, Brian wrote:

> >>> I thought stretch is unsupported by Debian. Where did the update come 
> >>> from?

> It's been moved to archive.debian.org. Just hasn't been deleted from the
> main repo yet but I think that's imminent.

The timeline was announced here:
  https://lists.debian.org/debian-devel-announce/2023/03/msg6.html



Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-14 Thread tomas
On Fri, Apr 14, 2023 at 11:02:03PM -0400, Greg Wooledge wrote:
> On Sat, Apr 15, 2023 at 09:44:03AM +0700, Max Nikulin wrote:
> > As to [^c] vs. [!c], unfortunately the latter can not be always used as
> > portable variant. It is treated as history expansion in the case of
> > interactive bash session.
> 
> Ugh.  That abomination.  I've had history expansion disabled for *years*.

You have to escape it with a backslash. Quoting with single quotes also
helps, although I don't know whether that is portable itself.

Yes, somewhat annoying, unless one's making use of it.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Debian Stretch : X server won't start after update

2023-04-14 Thread Tim Woodall

On Fri, 14 Apr 2023, Charles Curley wrote:


On Fri, 14 Apr 2023 19:41:37 +0100
Brian  wrote:


I thought stretch is unsupported by Debian. Where did the update come
from?


Stretch is oldoldstable, and under LTS support.

https://www.debian.org/releases/


That page is out of date. On the LTS page itself:

   Debian 9 "Stretch"

   i386, amd64, armel, armhf and arm64

   July 6, 2020 to June 30, 2022



Re: Debian Stretch : X server won't start after update

2023-04-14 Thread Tim Woodall

On Fri, 14 Apr 2023, Brian wrote:


I thought stretch is unsupported by Debian. Where did the update come from?


It may or may not be supported, but it's still there AFAICT:

[DIR]   binary-amd64/   2021-08-14 07:43

[ ] Packages.gz 2020-07-18 10:409.2M

[ ] base-files_9.9+deb9u13_amd64.deb2020-07-12 20:5666K


It was just a thought. The OP will provide apt logs to pinpoint the packages
installed.



It's been moved to archive.debian.org. Just hasn't been deleted from the
main repo yet but I think that's imminent.

Jessie went a month or so ago.



Re: Commands service and systemctl.

2023-04-14 Thread peter

To: debian-user@lists.debian.org
In-reply-to: 
References:  


Subject: Re: Commands service and systemctl.

From: David Wright 
Date: Fri, 14 Apr 2023 11:12:18 -0500

man 8 service


"SERVICE(8) ...
 ...
service  runs  a System V init script or systemd unit ..."

Initial release of System V was in 1983.  Initial release of systemd
was in 2010.  Probably service predates systemd.


service passes COMMAND  and OPTIONS to the init script unmodified.
For systemd units, start,  stop, status, and reload are passed through
to their systemctl/initctl equivalents.


For start, stop & etc. systemctl is more direct than service.  Might be
some functionality from service not available from systemctl.  Have to
dig deeper for that.

No mention that service will be outmoded by systemctl but appears so.


... rather than a wiki webpage.


The table in https://en.wikipedia.org/wiki/Iproute2 is comprehensive
and direct. Note heading "Utilities obsoleted ...".


... wiki ...


Any J. Doe can correct an error in a wiki.  In many (most?) man pages
deficiencies and errors endure.

  ... p.



Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-14 Thread Greg Wooledge
On Sat, Apr 15, 2023 at 09:44:03AM +0700, Max Nikulin wrote:
> As to [^c] vs. [!c], unfortunately the latter can not be always used as
> portable variant. It is treated as history expansion in the case of
> interactive bash session.

Ugh.  That abomination.  I've had history expansion disabled for *years*.



Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-14 Thread Max Nikulin

On 14/04/2023 09:36, Greg Wooledge wrote:

On Fri, Apr 14, 2023 at 09:08:08AM +0700, Max Nikulin wrote:

https://www.shellcheck.net/wiki/SC3026

Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc

Well, it's not clear how to actually add such a link.  I guess you're
supposed to do it through github or something?


Thank you, Greg. I edited 
https://github.com/koalaman/shellcheck/wiki/SC3026 (the link below the 
page header) and the shellcheck.net page was updated in several hours. 
Sorry, web interface assumes brief commit message, so I did not added 
credits to you there.


I think, shellcheck is not known well enough while it may help to avoid 
a lot of troubles with shell scripts. It can provide some hints when 
unexpected behavior is observed and prevent it if used regularly.


As to [^c] vs. [!c], unfortunately the latter can not be always used as 
portable variant. It is treated as history expansion in the case of 
interactive bash session. From my point of view it is an argument to 
support [^c]. The enhancement request was rejected however, see


Stephane Chazelas. Re: [v2 PATCH] expand: Always quote caret when using 
fnmatch. Sun, 20 Feb 2022 07:15:44 +

https://lore.kernel.org/dash/20220220071544.7odyx5urgcwjs...@chazelas.org/

and

https://www.austingroupbugs.net/view.php?id=1558
0001558: require [^...] in addition to [!...] for bracket expression 
negation




Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread David
On Sat, 2023-04-15 at 07:17 +0800, Bret Busby wrote:
> On 15/4/23 07:11, Brian wrote:
> > On Sat 15 Apr 2023 at 07:00:18 +0800, Jeremy Ardley wrote:
> > 
> > > 
> > > On 15/4/23 06:52, Brian wrote:
> > > > The EPSON ET M 1120 doesn't exist. Do we have to guess its
> > > > correct name
> > > > as well
> > > 
> > > 
> > > I asked ChatGPT3.5 about that text string. At least ChatGPT could
> > > figure it
> > > out
> > > 
> > > > > > > > > > > > > My Question
> > > 
> > > Linux printer driver and printer command protocol for epson ET M
> > > 1120 ?
> > > 
> > > > > > > > > > > > > ChatGPT response
> > > 
> > > The Epson ET-M1120 printer supports the Epson ESC/P-R printer
> > > language,
> > > which is a command protocol used by Epson printers.
> > 
> > It is the OP who needs help, not me. She couls at least provide
> > correct and full date.
> > 
> Why not just everyone attack each other?
> 
> This looks like an uncontrolled pillow fight.

Agreed!
Specifically geared to somebody not coming back, or just going back to
using Windows.
Tone and manner are more than disorienting to a new user, and far from
helpful.
Cheers!



Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread Bret Busby

On 15/4/23 07:11, Brian wrote:

On Sat 15 Apr 2023 at 07:00:18 +0800, Jeremy Ardley wrote:



On 15/4/23 06:52, Brian wrote:

The EPSON ET M 1120 doesn't exist. Do we have to guess its correct name
as well



I asked ChatGPT3.5 about that text string. At least ChatGPT could figure it
out


My Question


Linux printer driver and printer command protocol for epson ET M 1120 ?


ChatGPT response


The Epson ET-M1120 printer supports the Epson ESC/P-R printer language,
which is a command protocol used by Epson printers.


It is the OP who needs help, not me. She couls at least provide correct and 
full date.


Why not just everyone attack each other?

This looks like an uncontrolled pillow fight.

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



Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread The Wanderer
On 2023-04-14 at 19:17, Brian wrote:

> On Fri 14 Apr 2023 at 19:06:08 -0400, The Wanderer wrote:
> 
>> On 2023-04-14 at 18:52, Brian wrote:

>>> The EPSON ET M 1120 doesn't exist. Do we have to guess its
>>> correct name as well as any other relevant information?
>> 
>> When I searched for
>> 
>> Epson ET M 1120
>> 
>> I got a suggestion that I may have meant "M1120" instead of the
>> last two search terms, and hits for the "Epson EcoTank ET M1120"
>> and/or "Epson EcoTank M1120", which look to be different names for
>> the same model and to be a fairly clear match.
>> 
>> While, yes, specifying the exact name clearly would be preferable,
>> this is far from unreasonably difficult to figure out.
> 
> I decided to take your signature as a template for my original
> response :).

I can respect that!

>>> I haven't a clue what you are going on about here. Shift-L in
>>> mutt was used at this end.
>> 
>> Your replies to the OP have been fine, AFAIK. The OP's message was 
>> itself a reply, as can be seen by looking at its headers
>> (In-Reply-To: and References:), but was otherwise presented as if
>> it had been the start of a new thread; that is not fine, because it
>> hides the "new thread" inside of the existing one, at least for
>> anyone using a threaded view of the list of messages.
> 
> That's an issue for the OP, not me.

Certainly. I was meaning that bullet-point item as an addendum to the
list you provided (which I understand to have been aimed at the OP), not
as something directed at you.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread David
On Fri, 2023-04-14 at 23:52 +0100, Brian wrote:
> On Fri 14 Apr 2023 at 18:22:09 -0400, The Wanderer wrote:
> 
> > On 2023-04-14 at 18:10, Brian wrote:
> > 
> > > On Fri 14 Apr 2023 at 14:40:33 +, Schwibinger Michael wrote:
> > > 
> > > > Good afternoon.
> > > > The new printer is not  working.
> > > > EPSON is saying
> > > > You cant use EPSON with Linux.
> > > > 
> > > > Is this true?
> > > 
> > > You could consider:
> > > 
> > >   * Stating the Debain OS being used.
> > >   * Giving the printer make and model.
> > 
> > The make *was* stated: Epson.
> > 
> > The model may also have been stated, albeig only in the Subject
> > line: ET
> > M1120. From a bit of Googling, the "ET" appears to stand for
> > "EcoTank".
> 
> The EPSON ET M 1120 doesn't exist.

Yes, it does.
It doesn't take a quantum leap in realisation to identify it as ET-
M1120.

>  Do we have to guess its correct name as well
> as any other relevant information?
> 
> > >   * Specifying the connection method. USB. Network.
> > >   * Giving the exact error message and where it came from.
> > 
> > Also:
> > 
> > * Starting a new thread to discuss the matter, rather than replying
> > to
> > an existing message deep in an existing thread, deleting the body,
> > and
> > changing the Subject line before sending.
> > 
> > (This question, and its replies, are appearing as responses to a
> > mail
> > from Michael Stone in the 'update-initramfs' thread.)
> 
> I haven't a clue what you are going on about here. Shift-L in mutt
> was used at
> this end.
> 



Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread Brian
On Fri 14 Apr 2023 at 19:06:08 -0400, The Wanderer wrote:

> On 2023-04-14 at 18:52, Brian wrote:
> 
> > On Fri 14 Apr 2023 at 18:22:09 -0400, The Wanderer wrote:
> > 
> >> On 2023-04-14 at 18:10, Brian wrote:
> 
> >> > You could consider:
> >> > 
> >> >   * Stating the Debain OS being used.
> >> >   * Giving the printer make and model.
> >> 
> >> The make *was* stated: Epson.
> >> 
> >> The model may also have been stated, albeig only in the Subject line: ET
> >> M1120. From a bit of Googling, the "ET" appears to stand for "EcoTank".
> > 
> > The EPSON ET M 1120 doesn't exist. Do we have to guess its correct name as 
> > well
> > as any other relevant information?
> 
> When I searched for
> 
> Epson ET M 1120
> 
> I got a suggestion that I may have meant "M1120" instead of the last two
> search terms, and hits for the "Epson EcoTank ET M1120" and/or "Epson
> EcoTank M1120", which look to be different names for the same model and
> to be a fairly clear match.
> 
> While, yes, specifying the exact name clearly would be preferable, this
> is far from unreasonably difficult to figure out.

I decided to take your signature as a template for my original response :).
 
> >> >   * Specifying the connection method. USB. Network.
> >> >   * Giving the exact error message and where it came from.
> >> 
> >> Also:
> >> 
> >> * Starting a new thread to discuss the matter, rather than replying
> >> to an existing message deep in an existing thread, deleting the
> >> body, and changing the Subject line before sending.
> >> 
> >> (This question, and its replies, are appearing as responses to a
> >> mail from Michael Stone in the 'update-initramfs' thread.)
> > 
> > I haven't a clue what you are going on about here. Shift-L in mutt
> > was used at this end.
> 
> Your replies to the OP have been fine, AFAIK. The OP's message was
> itself a reply, as can be seen by looking at its headers (In-Reply-To:
> and References:), but was otherwise presented as if it had been the
> start of a new thread; that is not fine, because it hides the "new
> thread" inside of the existing one, at least for anyone using a threaded
> view of the list of messages.

That's an issue for the OP, not me.

-- 
Brian.



Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread The Wanderer
On 2023-04-14 at 18:52, Brian wrote:

> On Fri 14 Apr 2023 at 18:22:09 -0400, The Wanderer wrote:
> 
>> On 2023-04-14 at 18:10, Brian wrote:

>> > You could consider:
>> > 
>> >   * Stating the Debain OS being used.
>> >   * Giving the printer make and model.
>> 
>> The make *was* stated: Epson.
>> 
>> The model may also have been stated, albeig only in the Subject line: ET
>> M1120. From a bit of Googling, the "ET" appears to stand for "EcoTank".
> 
> The EPSON ET M 1120 doesn't exist. Do we have to guess its correct name as 
> well
> as any other relevant information?

When I searched for

Epson ET M 1120

I got a suggestion that I may have meant "M1120" instead of the last two
search terms, and hits for the "Epson EcoTank ET M1120" and/or "Epson
EcoTank M1120", which look to be different names for the same model and
to be a fairly clear match.

While, yes, specifying the exact name clearly would be preferable, this
is far from unreasonably difficult to figure out.

>> >   * Specifying the connection method. USB. Network.
>> >   * Giving the exact error message and where it came from.
>> 
>> Also:
>> 
>> * Starting a new thread to discuss the matter, rather than replying
>> to an existing message deep in an existing thread, deleting the
>> body, and changing the Subject line before sending.
>> 
>> (This question, and its replies, are appearing as responses to a
>> mail from Michael Stone in the 'update-initramfs' thread.)
> 
> I haven't a clue what you are going on about here. Shift-L in mutt
> was used at this end.

Your replies to the OP have been fine, AFAIK. The OP's message was
itself a reply, as can be seen by looking at its headers (In-Reply-To:
and References:), but was otherwise presented as if it had been the
start of a new thread; that is not fine, because it hides the "new
thread" inside of the existing one, at least for anyone using a threaded
view of the list of messages.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread Jeremy Ardley



On 15/4/23 06:52, Brian wrote:
The EPSON ET M 1120 doesn't exist. Do we have to guess its correct 
name as well



I asked ChatGPT3.5 about that text string. At least ChatGPT could figure 
it out


>> My Question

Linux printer driver and printer command protocol for epson ET M 1120 ?

>> ChatGPT response

The Epson ET-M1120 printer supports the Epson ESC/P-R printer language, 
which is a command protocol used by Epson printers.


To install the printer driver for Linux, you can follow these steps:

Connect the printer to your computer and make sure it is turned on.
Open your Linux terminal and run the following command to update your 
system package list:


sudo apt-get update

Install the printer driver by running the following command:

sudo apt-get install printer-driver-escpr

Follow the on-screen instructions to complete the installation.

Once the driver is installed, you can use the printer with any 
application that supports printing.




--
Jeremy
(Lists)



Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread Charles Curley
On Sat, 15 Apr 2023 06:36:53 +0800
Jeremy Ardley  wrote:

> On 15/4/23 06:22, The Wanderer wrote:
>  [...]  
> If you look hard enough you find epson does support it.
> 
> https://download.ebz.epson.net/dsc/search/01/search/searchModule
> 
> and search for M1120
> 
> you find
> 
> ET-M1120 Series
> M1120 Series
>   Printer Driver  Linux
>   1.7.26  ESC/P-R Driver (generic driver) All
> language 04-10-2023
> 
> 
> and that links to the standard esc/p-r driver
> 

And that driver is even available in Debian.

apt show printer-driver-escpr

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread Brian
On Fri 14 Apr 2023 at 18:22:09 -0400, The Wanderer wrote:

> On 2023-04-14 at 18:10, Brian wrote:
> 
> > On Fri 14 Apr 2023 at 14:40:33 +, Schwibinger Michael wrote:
> > 
> >> Good afternoon.
> >> The new printer is not  working.
> >> EPSON is saying
> >> You cant use EPSON with Linux.
> >> 
> >> Is this true?
> > 
> > You could consider:
> > 
> >   * Stating the Debain OS being used.
> >   * Giving the printer make and model.
> 
> The make *was* stated: Epson.
> 
> The model may also have been stated, albeig only in the Subject line: ET
> M1120. From a bit of Googling, the "ET" appears to stand for "EcoTank".

The EPSON ET M 1120 doesn't exist. Do we have to guess its correct name as well
as any other relevant information?

> >   * Specifying the connection method. USB. Network.
> >   * Giving the exact error message and where it came from.
> 
> Also:
> 
> * Starting a new thread to discuss the matter, rather than replying to
> an existing message deep in an existing thread, deleting the body, and
> changing the Subject line before sending.
> 
> (This question, and its replies, are appearing as responses to a mail
> from Michael Stone in the 'update-initramfs' thread.)

I haven't a clue what you are going on about here. Shift-L in mutt was used at
this end.

-- 
Brian.



Re: update-initramfs

2023-04-14 Thread David Wright
On Thu 13 Apr 2023 at 14:39:18 (-0600), Charles Curley wrote:
> On Thu, 13 Apr 2023 13:57:04 -0500
> David Wright  wrote:
> 
> > https://lists.debian.org/debian-user/2023/04/msg00405.html
> > 
> > I was left with a system whose Grub menu only contained entries for
> > the new system, because os-prober no longer scours all the other
> > partitions for OSes any more.¹ To get back to booting bullseye by
> > default, the easiest way was to boot bullseye the once, and then run
> > install-grub /dev/sda.

Don't let me leave you with the impression that this was unexpected,
or of concern to me. And the way I dealt with it was offered here to
illustrate why the OP does not +need+ their kernel/initramfs backups
to be mixed up with the originals in /boot/grub, or for Grub's menu
to include them as a separate menuentry.

Also bear in mind that the post cited, on bookworm RC1 installation,
was to replicate the one made by the OP of that thread (right down to
using a BIOS/GPT system), and elicit a response with more information
(not forthcoming) on their "bug".

> I believe the preferred way to get back to including other OSs in
> grub's menu is to enable the OS prober by adding the following (if
> necessary) to /etc/default/grub, un-commenting the last line, and
> running update-grub.

Yes, and in my footnote, I showed that you can, if you want, get the
other OSes back /before/ the first reboot, remembering that that file
is mounted on /target while the OS is being built by the debian-installer.

> # Uncomment this to run os-prober to search for and add other OS
> # installations to the grub boot menu
> #GRUB_DISABLE_OS_PROBER=false

All present and correct in RC1.

Cheers,
David.



Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread Jeremy Ardley


On 15/4/23 06:22, The Wanderer wrote:


The make *was* stated: Epson.

The model may also have been stated, albeig only in the Subject line: ET
M1120. From a bit of Googling, the "ET" appears to stand for "EcoTank".


If you look hard enough you find epson does support it.

https://download.ebz.epson.net/dsc/search/01/search/searchModule

and search for M1120

you find

ET-M1120 Series
M1120 Series
Printer Driver  Linux
1.7.26  ESC/P-R Driver (generic driver) All language
04-10-2023


and that links to the standard esc/p-r driver

--
Jeremy
(Lists)


Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread Stefan Monnier
>> The new printer is not  working.
>> EPSON is saying
>> You cant use EPSON with Linux.
>> 
>> Is this true?
>
> You could consider:
>
>   * Stating the Debain OS being used.
>   * Giving the printer make and model.

"Subject:" says "EPSON ET M 1120"
AFAICT it's a monochrome printer from 2019 with some kind of ink tank.
Given the timescale, it probably supports driverless printing.


Stefan



Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-14 Thread David Wright
On Fri 14 Apr 2023 at 12:01:39 (-0400), rhkra...@gmail.com wrote:
> On Thursday, April 13, 2023 10:36:08 PM Greg Wooledge wrote:
> > Anyway, here's the POSIX documentation section:
> > 
> > https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#t
> > ag_18_13
> > 
> > And the relevant piece of text:
> > 
> >  [  If an open bracket introduces a bracket expression as in XBD RE
> > Bracket Expression, except that the  character
> > ( '!' ) shall replace the  character ( '^' ) in its
> > role in a non-matching list in the regular expression notation, it
> > shall introduce a pattern bracket expression. A bracket expression
> > starting with an unquoted  character produces unspecified
> > results. Otherwise, '[' shall match the character itself.
> 
> Wow -- I thought this was an English language list :-(
> 
> But seriously, that seems very hard to interpret / understand.

The quick answer: it's a Standards document, so it's a penalty
you pay for precision. Look at the opening of that section:

 "2.13.1 Patterns Matching a Single Character

 "The following patterns matching a single character shall match a single 
character:"

BTW, the authors of these documents might be the sort of people
referred to by the early RFC authors in RFC 1000:

 "We weren't sure whether there was really room
  to think hard about these problems; surely someone from the east
  would be along by and by to bring the word. …

 "We had no official charter. Most of us were graduate students
  and we expected that a professional crew would show up eventually
  to take over the problems we were dealing with. …

 "I remember having great fear that we would offend whomever the
  official protocol designers were, and I spent a sleepless night
  composing humble words for our notes. The basic ground rules were
  that anyone could say anything and that nothing was official."

Cheers,
David.



Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread The Wanderer
On 2023-04-14 at 18:10, Brian wrote:

> On Fri 14 Apr 2023 at 14:40:33 +, Schwibinger Michael wrote:
> 
>> Good afternoon.
>> The new printer is not  working.
>> EPSON is saying
>> You cant use EPSON with Linux.
>> 
>> Is this true?
> 
> You could consider:
> 
>   * Stating the Debain OS being used.
>   * Giving the printer make and model.

The make *was* stated: Epson.

The model may also have been stated, albeig only in the Subject line: ET
M1120. From a bit of Googling, the "ET" appears to stand for "EcoTank".

>   * Specifying the connection method. USB. Network.
>   * Giving the exact error message and where it came from.

Also:

* Starting a new thread to discuss the matter, rather than replying to
an existing message deep in an existing thread, deleting the body, and
changing the Subject line before sending.

(This question, and its replies, are appearing as responses to a mail
from Michael Stone in the 'update-initramfs' thread.)

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread David
On Fri, 2023-04-14 at 14:40 +, Schwibinger Michael wrote:
> Good afternoon.
> The new printer is not  working.
> EPSON is saying
> You cant use EPSON with Linux.

It depends on which printer you are using?
It sounds like the person you are talking to at Epson doesn't know what
he/she's talking about.
Epson supply many Linux drivers for their printers on their site.
I have a WF-C5290 which works just fine that way.
Cheers!



EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-04-14 Thread Schwibinger Michael
Good afternoon.
The new printer is not  working.
EPSON is saying
You cant use EPSON with Linux.

Is this true?

Regards Sophie




Re: Debian Stretch : X server won't start after update

2023-04-14 Thread Charles Curley
On Fri, 14 Apr 2023 19:41:37 +0100
Brian  wrote:

> I thought stretch is unsupported by Debian. Where did the update come
> from?

Stretch is oldoldstable, and under LTS support.

https://www.debian.org/releases/

I would encourage the original poster to consider installing bullseye
rather than pursue repairing his current installation.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Debian Stretch : X server won't start after update

2023-04-14 Thread davidson

On Fri, 14 Apr 2023 davidson wrote:

On Fri, 14 Apr 2023 Brian wrote:

On Fri 14 Apr 2023 at 18:48:06 +0200, Bernard wrote:


Hi to Everyone,

I am writing from my laptop on Ubuntu, but the problem I have is
with my Desktop running Debian Stretch.
Having unfortunately Okayed a proposal for an update (which I
rarely do…), upon restarting the system fails to launch X server.


I thought stretch is unsupported by Debian. Where did the update
come from?


I speculate that the OP's sources.list identifies the desired
distribution by a temporally relative suite name --say, "stable" or
"oldstable"


A one-word oxymoron: "stable"

These context-dependent suite "names" ought to be called pronouns or
something.

The so-called "codenames" are the actual names proper.


-- instead of the temporally absolute release codename "stretch".


--
Sometimes it pays to have squirrels in your head running around making
you question everything.  -- Clive Robinson

Re: Debian Stretch : X server won't start after update

2023-04-14 Thread The Wanderer
On 2023-04-14 at 15:53, davidson wrote:

> On Fri, 14 Apr 2023 Brian wrote:
> 
>> On Fri 14 Apr 2023 at 18:48:06 +0200, Bernard wrote:
>> 
>>> Hi to Everyone,
>>> 
>>> I am writing from my laptop on Ubuntu, but the problem I have is 
>>> with my Desktop running Debian Stretch. Having unfortunately
>>> Okayed a proposal for an update (which I rarely do…), upon
>>> restarting the system fails to launch X server.
>> 
>> I thought stretch is unsupported by Debian. Where did the update 
>> come from?
> 
> I speculate that the OP's sources.list identifies the desired 
> distribution by a temporally relative suite name --say, "stable" or 
> "oldstable"-- instead of the temporally absolute release codename 
> "stretch".

Alternately, perhaps the OP "okay[s] a proposal for an update" *so*
rarely that there was actually still one pending from when stretch was
still getting support.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: Debian Stretch : X server won't start after update

2023-04-14 Thread davidson

On Fri, 14 Apr 2023 Brian wrote:

On Fri 14 Apr 2023 at 18:48:06 +0200, Bernard wrote:


Hi to Everyone,

I am writing from my laptop on Ubuntu, but the problem I have is
with my Desktop running Debian Stretch.
Having unfortunately Okayed a proposal for an update (which I
rarely do…), upon restarting the system fails to launch X server.


I thought stretch is unsupported by Debian. Where did the update
come from?


I speculate that the OP's sources.list identifies the desired
distribution by a temporally relative suite name --say, "stable" or
"oldstable"-- instead of the temporally absolute release codename
"stretch".

--
Hackers are free people. They are like artists. If they are in a good
mood, they get up in the morning and begin painting their pictures.
-- Vladimir Putin

Re: Commands service and systemctl.

2023-04-14 Thread davidson

On Fri, 14 Apr 2023 to...@tuxteam.de wrote:

On Fri, Apr 14, 2023 at 11:12:18AM -0500, David Wright wrote:

[...]


How about consulting   man 8 service   rather than a wiki webpage.


Reading man pages is cheating ;-)


[Humor detected.]

If that were so, then consulting the corresponding Wikipedia article,
*instead of* the manual, would be like trusting a collection of
completely unaccountable strangers to cheat on your behalf.

Probably a fine strategy for someone who really likes surprises.

--
Hackers are free people. They are like artists. If they are in a good
mood, they get up in the morning and begin painting their pictures.
-- Vladimir Putin



Re: Debian Stretch : X server won't start after update

2023-04-14 Thread David Wright
On Fri 14 Apr 2023 at 19:41:37 (+0100), Brian wrote:
> On Fri 14 Apr 2023 at 18:48:06 +0200, Bernard wrote:
> > I am writing from my laptop on Ubuntu, but the problem I have is with my
> > Desktop running Debian Stretch.
> > Having unfortunately Okayed a proposal for an update (which I rarely do…),
> > upon restarting the system fails to launch X server.
> 
> I thought stretch is unsupported by Debian. Where did the update come from?

It may or may not be supported, but it's still there AFAICT:

[DIR]   binary-amd64/   2021-08-14 07:43

[ ] Packages.gz 2020-07-18 10:409.2M

[ ] base-files_9.9+deb9u13_amd64.deb2020-07-12 20:5666K

My own course of action would probably be to carefully read the buster
Release Notes and upgrade "by the book". Then repeat with bullseye.
All without starting X, which I would leave until bullseye is running.

Cheers,
David.



Re: Commands service and systemctl.

2023-04-14 Thread tomas
On Fri, Apr 14, 2023 at 07:46:04PM +0100, Brian wrote:
> On Fri 14 Apr 2023 at 18:25:43 +0200, to...@tuxteam.de wrote:
> 
> > On Fri, Apr 14, 2023 at 11:12:18AM -0500, David Wright wrote:
> > 
> > [...]
> > 
> > > How about consulting   man 8 service   rather than a wiki webpage.
> > 
> > Reading man pages is cheating ;-)
> 
> Reading man pages is relatively rare on most OSs. Debian isn't any exception.

This sentence makes almost no sense. Reading by whom? What does
"reading on an OS" mean? (I mean: I usually read them "on" my
computer screen).

There are people who read man pages, there are people who don't.
Around here, we positively try to encourage people to do; free
software, after all, has something to do with empowerment and all
that.

Cheers
-- 


signature.asc
Description: PGP signature


Re: Commands service and systemctl.

2023-04-14 Thread davidson

On Fri, 14 Apr 2023 David Wright wrote:

On Fri 14 Apr 2023 at 08:05:38 (-0700), pe...@easthope.ca wrote:


https://en.wikipedia.org/wiki/Systemd has many occurrences of
"service", none referring to the service command.

For several somethings, the result of command,
service something COMMAND
approximates the result of
systemctl COMMAND something.service
although systemctl might be more powerful.

Does the relationship between service and systemctl parallel that
between ifconfig and ip? service is a legacy command?


How about consulting   man 8 service   rather than a wiki webpage.


More elaborately: Before searching the web (for topics of this sort),
consider checking your local system's documentation.

Local resources are often more relevant. And if you have interest in a
topic, then it is good to discover what resources exist on the system
you actually use:

List manual pages whose title is the term:

 $ man -f locale # equivalently, "whatis locale"
 locale (7)   - description of multilanguage support
 locale (1)   - get locale-specific information
 locale (5)   - describes a locale definition file
 locale (3perl)   - Perl pragma to use or avoid POSIX locales for built-in 
operations

List manual pages that employ the term:

 $ man -k locale # equivalently, "apropos locale"
 duplocale (3)- duplicate a locale object
 Encode::Locale (3pm) - Determine the locale encoding
 ExtUtils::MakeMaker::Locale (3perl) - bundled Encode::Locale
 freelocale (3)   - create, modify, and free a locale object
 I18N::Collate (3perl) - compare 8-bit scalar data according to the current 
locale
 I18N::Langinfo (3perl) - query locale information
 legacy_coding (3ncurses) - override locale-encoding checks
 locale (1)   - get locale-specific information
 locale (3perl)   - Perl pragma to use or avoid POSIX locales for built-in 
operations
 locale (5)   - describes a locale definition file
 locale (7)   - description of multilanguage support
 locale-gen (8)   - generates localisation files from templates
 locale.conf (5)  - Configuration file for locale settings
 locale.gen (5)   - Configuration file for locale-gen
 Locale::gettext (3pm) - message handling functions
 Locale::Maketext (3perl) - framework for localization
 Locale::Maketext::Cookbook (3perl) - recipes for using Locale::Maketext
 Locale::Maketext::Guts (3perl) - Deprecated module to load Locale::Maketext 
utf8 code
 Locale::Maketext::GutsLoader (3perl) - Deprecated module to load 
Locale::Maketext utf8 code
 Locale::Maketext::Simple (3perl) - Simple interface to 
Locale::Maketext::Lexicon
 Locale::Maketext::TPJ13 (3perl) - - article about software localization
 localeconv (3)   - get numeric formatting information
 localectl (1)- Control the system locale and keyboard layout settings
 localedef (1)- compile locale definition files
 luit (1) - Locale and ISO 2022 support for Unicode terminals
 lxterm (1)   - locale-sensitive wrapper for xterm
 MB_CUR_MAX (3)   - maximum length of a multibyte character in the current 
locale
 MB_LEN_MAX (3)   - maximum multibyte length of a character across all 
locales
 newlocale (3)- create, modify, and free a locale object
 nl_langinfo (3)  - query language and locale information
 nl_langinfo_l (3)- query language and locale information
 org.freedesktop.locale1 (5) - The D-Bus interface of systemd-localed
 perllocale (1)   - Perl locale handling (internationalization and 
localization)
 setlocale (3)- set the current locale
 strcoll (3)  - compare two strings using the current locale
 systemd-localed (8)  - Locale bus mechanism
 systemd-localed.service (8) - Locale bus mechanism
 Unicode::Collate::Locale (3perl) - Linguistic tailoring for DUCET via 
Unicode::Collate
 update-locale (8)- Modify global locale settings
 use_legacy_coding (3ncurses) - override locale-encoding checks
 uselocale (3)- set/get the locale for the calling thread
 validlocale (8)  - Test if a given locale is available
 x-terminal-emulator (1) - locale-sensitive wrapper for xterm
 XLocaleOfFontSet (3) - obtain fontset information
 XLocaleOfIM (3)  - open, close, and obtain input method information
 XLocaleOfOM (3)  - open output methods
 XrmLocaleOfDatabase (3) - retrieve and store resource databases
 XSetLocaleModifiers (3) - determine locale support and configure locale 
modifiers
 XSupportsLocale (3)  - determine locale support and configure locale modifiers

--
Hackers are free people. They are like artists. If they are in a good
mood, they get up in the morning and begin painting their pictures.
-- Vladimir Putin



Re: What do all those "* * *" mean on a traceroute log?

2023-04-14 Thread Albretch Mueller
On 4/13/23, Lee  wrote:
> you should probably start off with
>   https://archive.nanog.org/sites/default/files/10_Roisman_Traceroute.pdf
> A Practical Guide to (Correctly)
> Troubleshooting with Traceroute

 thank you, lbrtchx



Re: Debian Stretch : X server won't start after update

2023-04-14 Thread songbird
Bernard wrote:
...
> How can I get back to my old system prior to this failed update ?  What 
> else can I do ?
>
> Thanks in advance for your help in restoring my system

  take a look at the files in /var/log/apt

  history should tell you what was updated last and you could
try to install a previous version of what changed to see
which caused the problem.

  depending upon how you run your updates you may not have any
previous versions of debs available in /var/cache/apt/archives to try 
but you can get them via snapshot.debian.org.


  songbird



Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-14 Thread Greg Wooledge
On Fri, Apr 14, 2023 at 12:01:39PM -0400, rhkra...@gmail.com wrote:
> On Thursday, April 13, 2023 10:36:08 PM Greg Wooledge wrote:
> >  [  If an open bracket introduces a bracket expression as in XBD RE
> > Bracket Expression, except that the  character
> > ( '!' ) shall replace the  character ( '^' ) in its
> > role in a non-matching list in the regular expression notation, it
> > shall introduce a pattern bracket expression. A bracket expression
> > starting with an unquoted  character produces unspecified
> > results. Otherwise, '[' shall match the character itself.
> 
> Wow -- I thought this was an English language list :-(
> 
> But seriously, that seems very hard to interpret / understand.

If it helps, you can ignore most of it.  The pieces that we care about
are:

1) the  character ( '!' ) shall replace the 
   character ( '^' )

2) A bracket expression starting with an unquoted  character
   produces unspecified results.



Debian Stretch : X server won't start after update

2023-04-14 Thread Bernard

Hi to Everyone,

I am writing from my laptop on Ubuntu, but the problem I have is with my 
Desktop running Debian Stretch.
Having unfortunately Okayed a proposal for an update (which I rarely 
do…), upon restarting the system fails to launch X server.


My /var/log/messages are available at

http://bdebreil.free.fr/messages

starting line 7712 :

April 14 – 0858 – Failed to call gs_plugin_update on system-updates : 
waiting time max is over


Debian Stretch gnome session binary (1256) …. failed
   (msg repeated 5 times)
GLIB-Gobject-critical : gobject_unref_assertion 'G S OBJECT failed

….

Debian-Stretch gnome shell[1345] ; /build/ … has no handler with id '235895'

line 7725
PolicyKit daemon disconnected from the bus
We are no longer a registered authentication agent………
……..

I've attempted to shutdown and restart several times, I tested the 
starting with 'Advanced Options' and then called 'startx', to no better 
result.


How can I get back to my old system prior to this failed update ?  What 
else can I do ?


Thanks in advance for your help in restoring my system

Bernard




Re: Commands service and systemctl.

2023-04-14 Thread tomas
On Fri, Apr 14, 2023 at 11:12:18AM -0500, David Wright wrote:

[...]

> How about consulting   man 8 service   rather than a wiki webpage.

Reading man pages is cheating ;-)

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Commands service and systemctl.

2023-04-14 Thread David Wright
On Fri 14 Apr 2023 at 08:05:38 (-0700), pe...@easthope.ca wrote:
> 
> https://en.wikipedia.org/wiki/Systemd has many occurrences of
> "service", none referring to the service command.
> 
> For several somethings, the result of command,
> service something COMMAND
> approximates the result of
> systemctl COMMAND something.service
> although systemctl might be more powerful.
> 
> Does the relationship between service and systemctl parallel that
> between ifconfig and ip? service is a legacy command?

How about consulting   man 8 service   rather than a wiki webpage.

Cheers,
David.



Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class

2023-04-14 Thread rhkramer
On Thursday, April 13, 2023 10:36:08 PM Greg Wooledge wrote:
> Anyway, here's the POSIX documentation section:
> 
> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#t
> ag_18_13
> 
> And the relevant piece of text:
> 
>  [  If an open bracket introduces a bracket expression as in XBD RE
> Bracket Expression, except that the  character
> ( '!' ) shall replace the  character ( '^' ) in its
> role in a non-matching list in the regular expression notation, it
> shall introduce a pattern bracket expression. A bracket expression
> starting with an unquoted  character produces unspecified
> results. Otherwise, '[' shall match the character itself.

Wow -- I thought this was an English language list :-(

But seriously, that seems very hard to interpret / understand.

-- 
rhk 
 
| No entity has permission to use this email to train an AI. 

Sig truncated.



Commands service and systemctl.

2023-04-14 Thread peter

Hi,

https://en.wikipedia.org/wiki/Systemd has many occurrences of
"service", none referring to the service command.

For several somethings, the result of command,
service something COMMAND
approximates the result of
systemctl COMMAND something.service
although systemctl might be more powerful.

Does the relationship between service and systemctl parallel that
between ifconfig and ip? service is a legacy command?

Thx,  ... P.