Re: support for ancient peripherals

2022-11-06 Thread mick.crane

On 2022-11-05 23:21, Kleene, Steven (kleenesj) wrote:


3. An HP LaserJet 5MP printer from 1995 with a parallel-port connector.


Pretty sure used used HP Jetdirect in the past with cups.
https://support.hp.com/gb-en/document/c02480766

mick



Re: support for ancient peripherals

2022-11-06 Thread Stefan Monnier
> Here's a more remedial question.  I haven't bought a desktop in 16 years.  To
> have a custom desktop built with some of the options I've seen recommended
> here, where would you go?  Would you patronize a local shop, or is there an
> online store that is good at discussing and implementing customizations?  I
> am not an expert when it comes to hardware.

The options recommended here basically boil down to either a PCIe card
(which you can likely fit into any desktop save for the tiny ones (like
my Librem mini)), or USB<->foo adapters which should work with any
desktop/laptop (in the worst case it may require extra USB-C <-> USB-A
adapters or a USB hub).

IOW, I don't see anything requiring a "custom desktop".
This said, I personally would not buy a whole pre-made machine since
these will typically come with the dreaded Windows thingy on it.

I'm personally in favor of supporting your local shop (I'm always very
happy that those still exist when I need an emergency replacement of
something, but if I only buy from them in case of emergencies, they
won't survive).  But in my experience those can't afford to provide good
support for oddballs who run GNU/Linux and count their hardware's
lifetime in decades: it takes extra time and provides unusually
low profits :-(

I usually first check online to get an idea of "what's out there", then
go to the local store to see what they have to offer, then go back
online to better evaluate what it is they have offered me (e.g. check
for availability of drivers in the kernel), then go back again to the
store to buy the parts.  For parts that I replace every 10 years or
more, it's worth the trouble.


Stefan



Re: support for ancient peripherals

2022-11-06 Thread hw
On Sun, 2022-11-06 at 17:44 +, Kleene, Steven (kleenesj) wrote:
> On November 5, 2022 7:21 PM, I wrote:
> 
> > > As you might understand, I'd like to replace my desktop, a 2006 Pentium 4
> > > with a 3-GHz processor.  It has always run Debian, and so will the new
> > > one.
> > > 
> > > My concern is about support for three ancient peripherals that I like
> > > better
> > > than the modern equivalents:
> 
> Thanks to all of you for your helpful replies.  It sounds as if, one way or
> another, I will be able to accommodate these devices.
> [...}
> Here's a more remedial question.  I haven't bought a desktop in 16 years.  To
> have a custom desktop built with some of the options I've seen recommended
> here, where would you go?  Would you patronize a local shop, or is there an
> online store that is good at discussing and implementing customizations?  I
> am not an expert when it comes to hardware.

Have you checked used workstations that you can find on ebay?  It might be easy
to find one that has PS/2 ports and a serial port, and you can save money and
won't need to build something.

>From what I was told, USB to serial adapters my work or not.  For parallel 
>port,
you might find a print server with a parallel port that would connect your
printer to the network.



deduplicating file systems: VDO with Debian?

2022-11-06 Thread hw
Hi,

I discovered that Redhat has VDO[1] to take care of deduplicating file systems.
Aptitude didn't find any packages towards that.

Is there no VDO in Debian, and what would be good to use for deduplication with
Debian?  Why isn't VDO in the stardard kernel? Or is it?

I'm not looking for deduplication that happens some time after files have
already been written like btrfs would allow: There is no point in deduplicating
backups after they're done because I don't need to save disk space for them when
I can fit them in the first place.


[1]:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/deduplicating_and_compressing_storage/deploying-vdo_deduplicating-and-compressing-storage#doc-wrapper



Re: support for ancient peripherals

2022-11-06 Thread paulf
On Sun, 6 Nov 2022 17:44:58 +
"Kleene, Steven (kleenesj)"  wrote:

> Here's a more remedial question.  I haven't bought a desktop in 16
> years.  To have a custom desktop built with some of the options I've
> seen recommended here, where would you go?  Would you patronize a
> local shop, or is there an online store that is good at discussing
> and implementing customizations?  I am not an expert when it comes to
> hardware.
> 

I'm a software guy, not a hardware guy. I built a few PCs back in the
90s and early 2000s, but things have changed a lot. I recently decided
to build my own box without any advice. I used https://pcpartpicker.com/
to good effect. It tends to know what parts go together, and they show
you who has the best price on parts you select, often Amazon. To save
money, I'd go with older parts, like 9th or 10th generation Intel CPUs,
DDR4 or DDR5 memory, etc. If you go Intel, don't use the coolers their
CPUs come with. They're crap, IMO. It gets tricky when you have to
select a motherboard, since each manufacturer has a range, and they're
specialized for different use cases. The other advantage of older
generation hardware is that it's more likely to work with Linux. Unless
you're doing intense gaming or video rendering, you won't notice a
performance difference. Also, building it yourself will save you $300
to $1000. I've found local PC builders don't do Linux machines. And the
ones you can get from online builders are expensive. Also, beware of
older, used machines you can get on E-Bay. HP, Dell and Lenovo like to
use custom parts which are hard to replace. My last Lenovo ThinkCenter
M800 had a power supply in it whose motherboard power connector was
non-standard (meaning the motherboard power connector was non-standard
as well).

Anyway...

Paul


-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster



Re: "usermod: user user is currently used by process" while using (trying to) thunderbird to back up my gmail account's data ...

2022-11-06 Thread Albretch Mueller
On 11/6/22, Frank  wrote:
> If all you want to do is make thunderbird put (most of) its data
> elsewhere, you could change the profiles.ini file that exists in
> ~/.thunderbird. Mine has this:
...
> Except for the few files/directories that need to be in ~/.thunderbird,
> all thunderbird data ends up in /data/thunderbird.

 I am the kind of guy who would joyfully thank anyone calling me "paranoid" ;-)
 To me the idea of an exposed secured computer which at the same time
is supposed to be maintainable is an odd joke.
 debian has apt-clone, but there are ad-hoc, case-by-case issues and
lose ends when it comes to exactly replicating a software base which
apt-clone doesn’t address.
 "The best of all possible worlds" to me would be:
 1) using a live system such a debian live to expose my computer (they
can’t mess with physical reality)
 2) using apt-clone to sync the sw base to my actual computer (from
which I removed any wired and wireless hardware components)
 3) accordingly taking care of moving forth and back the corresponding
directory branches of the individual files some applications keep to
themselves
 In that way you would never risk exposing your work computers to the Internet.
 lbrtchx



shell script interpolation of variables containing spaces [was: afio batch operation]

2022-11-06 Thread David Christensen

On 11/6/22 05:01, Greg Wooledge wrote:
> On Sun, Nov 06, 2022 at 08:50:16PM +0800, jeremy ardley wrote:
>> On 6/11/22 19:38, Thomas Schmitt wrote:
>>> Then unpack the archive files:
>>>
>>> for i in "$archive_dir"/*.afio.bz2
>>> do
>>>   # One of:
>>>   #   afio -ivZ -P bzip2
>> Corrected:
>>
>> afio -ivZ -P bzip2 $i
>>
>>>   #   bunzip2 < "$i" | afio -iv -
>>> done
>
> The "$i" needs to be "double-quoted", or else it will fail on files
> that have whitespace or globbing characters in their names.


+1


See below for a /bin/sh script that demonstrates shell interpolation of 
a variable containing spaces with no quotes, with double quotes, with 
single quotes, with nested double single quotes, and with nested single 
double quotes.



Shell interpolation of a variable containing shell globbing characters 
is left as an exercise for the reader (virtual machine clone advised).



David


2022-11-06 10:16:42 dpchrist@laalaa 
~/sandbox/sh/debian-user/20221106-0501-greg-wooledge

$ cat /etc/debian_version ; uname -a
11.5
Linux laalaa 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) 
x86_64 GNU/Linux


2022-11-06 10:31:21 dpchrist@laalaa 
~/sandbox/sh/debian-user/20221106-0501-greg-wooledge

$ cat script.sh
#!/bin/sh
# $Id: script.sh,v 1.6 2022/11/06 18:31:10 dpchrist Exp $

f='filename with spaces'

rm -f $f "$f" '$f' "'$f'" '"$f"'

echo "no quotes"
touch $f
ls -ldQ *

rm -f $f "$f" '$f' "'$f'" '"$f"'

echo "double quotes"
touch "$f"
ls -ldQ *

rm -f $f "$f" '$f' "'$f'" '"$f"'

echo "single quotes"
touch '$f'
ls -ldQ *

rm -f $f "$f" '$f' "'$f'" '"$f"'

echo "nested double single quotes"
touch "'$f'"
ls -ldQ *

rm -f $f "$f" '$f' "'$f'" '"$f"'

echo "nested single double quotes"
touch '"$f"'
ls -ldQ *

rm -f $f "$f" '$f' "'$f'" '"$f"'

2022-11-06 10:31:23 dpchrist@laalaa 
~/sandbox/sh/debian-user/20221106-0501-greg-wooledge

$ /bin/sh script.sh
no quotes
drwxr-xr-x 2 dpchrist dpchrist 4096 Nov  6 10:31 "CVS"
-rw-r--r-- 1 dpchrist dpchrist0 Nov  6 10:31 "filename"
-rwxr-xr-x 1 dpchrist dpchrist  539 Nov  6 10:31 "script.sh"
-rw-r--r-- 1 dpchrist dpchrist0 Nov  6 10:31 "spaces"
-rw-r--r-- 1 dpchrist dpchrist0 Nov  6 10:31 "with"
double quotes
drwxr-xr-x 2 dpchrist dpchrist 4096 Nov  6 10:31 "CVS"
-rw-r--r-- 1 dpchrist dpchrist0 Nov  6 10:31 "filename with spaces"
-rwxr-xr-x 1 dpchrist dpchrist  539 Nov  6 10:31 "script.sh"
single quotes
-rw-r--r-- 1 dpchrist dpchrist0 Nov  6 10:31 "$f"
drwxr-xr-x 2 dpchrist dpchrist 4096 Nov  6 10:31 "CVS"
-rwxr-xr-x 1 dpchrist dpchrist  539 Nov  6 10:31 "script.sh"
nested double single quotes
-rw-r--r-- 1 dpchrist dpchrist0 Nov  6 10:31 "'filename with spaces'"
drwxr-xr-x 2 dpchrist dpchrist 4096 Nov  6 10:31 "CVS"
-rwxr-xr-x 1 dpchrist dpchrist  539 Nov  6 10:31 "script.sh"
nested single double quotes
-rw-r--r-- 1 dpchrist dpchrist0 Nov  6 10:31 "\"$f\""
drwxr-xr-x 2 dpchrist dpchrist 4096 Nov  6 10:31 "CVS"
-rwxr-xr-x 1 dpchrist dpchrist  539 Nov  6 10:31 "script.sh"



Re: support for ancient peripherals

2022-11-06 Thread Kleene, Steven (kleenesj)
On November 5, 2022 7:21 PM, I wrote:

>> As you might understand, I'd like to replace my desktop, a 2006 Pentium 4
>> with a 3-GHz processor.  It has always run Debian, and so will the new one.
>>
>> My concern is about support for three ancient peripherals that I like better
>> than the modern equivalents:

Thanks to all of you for your helpful replies.  It sounds as if, one way or
another, I will be able to accommodate these devices.

>> 2. A Logitech M-MD15L three-button roller-ball serial mouse (from 2006) ...

On November 6, 2022 1:39 AM, Steve Litt replied:

> I understand your wanting to keep the keyboard and printer, but today
> you can buy a much more effective mouse for $18-$30. If you can get a
> BlueTrace mouse, I've found those to be spectacular. Check this out:
>   https://us.targus.com/products/wireless-blue-trace-mouse-amw50us
>   https://www.walmart.com/ip/Targus-Wireless-BlueTrace-Mouse-AMW50US/14262061

For me a scroll wheel has always been a deal-breaker, and I recently couldn't
find any mice without that.  (A few years ago I found just one, from HP, and
I didn't like using it.)  I click with the center button a lot, and (maybe at
my skill level) a scroll button often causes jitter in the display.  I wonder
if it's possible to turn off the scrolling function of the scroll wheel while
still allowing clicks to be detected.  I understand that roller-balls aren't
forever.

Here's a more remedial question.  I haven't bought a desktop in 16 years.  To
have a custom desktop built with some of the options I've seen recommended
here, where would you go?  Would you patronize a local shop, or is there an
online store that is good at discussing and implementing customizations?  I
am not an expert when it comes to hardware.

Thanks again.


From: Joe 
Sent: Sunday, November 6, 2022 7:06 AM
To: debian-user@lists.debian.org
Subject: Re: support for ancient peripherals

External Email: Use Caution


On Sun, 06 Nov 2022 00:30:58 -0400
Stefan Monnier  wrote:


>
> You can find serial to USB adapters, but it will require some manual
> configuration, tho I suspect you already had to do that in Buster, so
> it should keep working pretty much the same (except the serial device
> will have a different name in `/dev/).
>

I have several serial-USB devices, but they are not all the same. All I
have needed for a long time is Tx, Rx and ground, sometimes just Tx or
Rx. But some peripherals will need handshake lines, and serial adaptors
vary in provision of these. None of them provide the full RS-232 set,
of course.

I have one of these in permanent use and three for general purposes. Of
those three, two have only the signal lines and ground, one also has DTR
and CTS, which is the bare minimum for handshaking. I no longer have
any idea of what a serial mouse needs, though possibly only RX and
ground on an adaptor. On the other hand, serial mice were around when
PCs ran at a fraction of the speed of today's and might have provision
for handshaking.

--
Joe



Re: "usermod: user user is currently used by process" while using (trying to) thunderbird to back up my gmail account's data ...

2022-11-06 Thread Frank

Op 06-11-2022 om 16:38 schreef Albretch Mueller:

  on debian live:

$ uname -a
Linux debian 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02)
x86_64 GNU/Linux
$

  I am running:

$ thunderbird --version
  Thunderbird 91.13.0
$

  to download all the data in my gmail account via POP3, but
Thunderbird seems to be making assumptions about where to put your
data and I haven't found a way to tell it where to put it;
If all you want to do is make thunderbird put (most of) its data 
elsewhere, you could change the profiles.ini file that exists in 
~/.thunderbird. Mine has this:


[Install9238613B8C3D2579]
Default=/data/thunderbird

[Profile0]
Name=default
IsRelative=0
Path=/data/thunderbird
Default=1

[General]
StartWithLastProfile=1
Version=2

Except for the few files/directories that need to be in ~/.thunderbird, 
all thunderbird data ends up in /data/thunderbird.
Of course, you should make sure the actual profile data is in the right 
location before you run thunderbird like this.


Regards,
Frank



Re: "usermod: user user is currently used by process" while using (trying to) thunderbird to back up my gmail account's data ...

2022-11-06 Thread Curt
On 2022-11-06, Albretch Mueller  wrote:
>
> $ usermod --move-home --home "${_NEW_HOME}" "${_WHMI}"
> usermod: user user is currently used by process 1141

Like Greg said (from the man):


 CAVEATS
  You must make certain that the named user is not executing any processes 
when this command is
  being executed if the user's numerical user ID, the user's name, or the 
user's home directory is
  being changed.  usermod checks this on Linux. On other platforms it only 
uses utmp to check if
  the user is logged in.

  You must change the owner of any crontab files or at jobs manually.

  You must make any changes involving NIS on the NIS server.





Re: "usermod: user user is currently used by process" while using (trying to) thunderbird to back up my gmail account's data ...

2022-11-06 Thread Tixy
On Sun, 2022-11-06 at 15:38 +, Albretch Mueller wrote:
[...]
> $ usermod --move-home --home "${_NEW_HOME}" "${_WHMI}"
> usermod: user user is currently used by process 1141
> 
> $ sudo ps -aux | grep 1141
> user1141  0.0  0.1  15600  9144 ?Ss   Nov05   0:00
> /lib/systemd/systemd --user
> user   50636  0.0  0.0   6244   712 pts/0S+   06:42   0:00 grep 1141
> 
>  Unless they are both trying to exclusively access /etc/passwd, I
> can't understand how /lib/systemd/systemd could possibly relate to
> usermod.
> 
>  Any suggestions?

Probably a red herring, but I remember reading a while ago that
managing users home directories was another thing systemd was trying to
take over. A quick google search leads to things like:

https://opensource.com/article/22/3/manage-users-home-directory-systemd-homed
https://systemd.io/HOME_DIRECTORY/

So might be worth running the 'homectl' command to see if it exists, it
doesn't on my the Debian 11 install. So like I said, probably a red
herring.

-- 
Tixy



Re: "usermod: user user is currently used by process" while using (trying to) thunderbird to back up my gmail account's data ...

2022-11-06 Thread Greg Wooledge
On Sun, Nov 06, 2022 at 03:38:56PM +, Albretch Mueller wrote:
> $ usermod --move-home --home "${_NEW_HOME}" "${_WHMI}"
> usermod: user user is currently used by process 1141
> 
> $ sudo ps -aux | grep 1141
> user1141  0.0  0.1  15600  9144 ?Ss   Nov05   0:00
> /lib/systemd/systemd --user
> user   50636  0.0  0.0   6244   712 pts/0S+   06:42   0:00 grep 1141

I would strongly recommend that you log out of this user, before trying
to relocate its home directory.  Login as root, or login as some third
user instead if you must use sudo.



"usermod: user user is currently used by process" while using (trying to) thunderbird to back up my gmail account's data ...

2022-11-06 Thread Albretch Mueller
 on debian live:

$ uname -a
Linux debian 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02)
x86_64 GNU/Linux
$

 I am running:

$ thunderbird --version
 Thunderbird 91.13.0
$

 to download all the data in my gmail account via POP3, but
Thunderbird seems to be making assumptions about where to put your
data and I haven't found a way to tell it where to put it; so, since
it uses the user's home directory, the only way I think you could
easily put the data where you want is by changing it, but I can't:

$ usermod --move-home --home "${_NEW_HOME}" "${_WHMI}"
usermod: user user is currently used by process 1141

$ sudo ps -aux | grep 1141
user1141  0.0  0.1  15600  9144 ?Ss   Nov05   0:00
/lib/systemd/systemd --user
user   50636  0.0  0.0   6244   712 pts/0S+   06:42   0:00 grep 1141

 Unless they are both trying to exclusively access /etc/passwd, I
can't understand how /lib/systemd/systemd could possibly relate to
usermod.

 Any suggestions?



Re: afio batch operation

2022-11-06 Thread Thomas Schmitt
Hi,

i wrote:
> >  #   afio -ivZ -P bzip2

jeremy ardley wrote:
> Corrected:
> afio -ivZ -P bzip2 $i

Indeed.
(Being aware that Greg Wooledge is watching i would have added "$i".)


> remarkably slow even on my PCIe NVME drive.

DVD reading can be quite slow. bzip2 decompression is said to be slow.
But in the case of afio -Z the bottleneck may be in the fact that each
compressed data file gets decompressed by an own bzip2 process.


Have a nice day :)

Thomas



Re: libreoffice conflict with openoffice

2022-11-06 Thread Andrew M.A. Cater
On Sun, Nov 06, 2022 at 11:52:02AM +0100, local10 wrote:
> Nov 6, 2022, 06:47 by dev@yandex.ru:
> 
> > But if i delete "openoffice.org-unbundled" from libreoffice-common conflict 
> > string  Apache OpenOffice install and work fine!
> >
> >
> > Maybe libreoffice-common not need "openoffice.org-unbundled" in conflict 
> > string?
> >
> 
> 
> Opening a bug at https://www.debian.org/Bugs/ would get you a better chance 
> of drawing devs attention to the issue.
> 
> Just out of curiosity, why do you need both Libreoffice and Openoffice 
> installed?
> 
> Regards,
>

I'd echo the above curiosity: there are lots of reasons why libreoffice is
ahead/more featureful than OpenOffice.

Since Debian doesn't package OpenOffice, I suggest you take it up with the
Apache Openoffice folks as to why their Debian packaging doesn't work with
Debian - they're responsible for their own package. Sadly, I don't think
you'll get a quick response.

With every good wish, as ever,

Andy Cater

 



Re: afio batch operation

2022-11-06 Thread Greg Wooledge
On Sun, Nov 06, 2022 at 08:50:16PM +0800, jeremy ardley wrote:
> On 6/11/22 19:38, Thomas Schmitt wrote:
> > Then unpack the archive files:
> > 
> >for i in "$archive_dir"/*.afio.bz2
> >do
> >  # One of:
> >  #   afio -ivZ -P bzip2
> Corrected:
> 
> afio -ivZ -P bzip2 $i
> 
> >  #   bunzip2 < "$i" | afio -iv -
> >done

The "$i" needs to be "double-quoted", or else it will fail on files
that have whitespace or globbing characters in their names.

You may think "Well that's irrelevant, because I don't have any files
like that", but it's a good habit to develop.  Playing bash-ian roulette
with unquoted variable expansions *will* eventually hurt you.



Re: afio batch operation

2022-11-06 Thread jeremy ardley
First, Thank you Thomas for taking the effort to document this. It has 
helped immensely.


I fixed one typo in your script noted below and then it all worked 
flawlessly - though remarkably slow even on my PCIe NVME drive.


I also made a mistake, it was two DVDs not a CD so quite a few gigabytes.

On 6/11/22 19:38, Thomas Schmitt wrote:
Can someone suggest a simple command line to extract the hundreds of 
files

and write/merge them into a single directory tree?

The name suffix .bz2 could mean that afio used -Z -P bzip2 when packing up
the archives, or that the completed afio archive files were compressed
by bzip2. This matters, because afio -Z compresses individual files in
the archive, whereas a bzip2 run on the archive stream compresses the
whole archive. (This differs from the situation with tar -z)

If the archive files were made with afio -Z, then program "file" should say
about them

   : ASCII cpio archive (pre-SVR4 or odc)

An afio achive post-compressed by bzip2 should yield

   : bzip2 compressed data, ...

According shell runs for inspection would then be

   afio -tv NNN.afio.bz2

or

   bunzip2 < NNN.afio.bz2 | afio -tv -

For a combined list of all file paths in the archives i would run

   for i in *.afio.bz2
   do
 # One of:
 #   afio -tv "$i"
 #   bunzip2 < "$i" | afio -tv -
   done >/tmp/all_afio_paths 2>&1

Then study file /tmp/all_afio_paths to learn about the path situation.

If all paths are relative, i.e. with no leading "/", then create a new
directory at a suitable place on the hard disk. Like:

   archive_dir=/mnt/iso
   unpack_dir="$HOME"/all_afio_files

   mkdir "$unpack_dir"
   cd "$unpack_dir"

Then unpack the archive files:

   for i in "$archive_dir"/*.afio.bz2
   do
 # One of:
 #   afio -ivZ -P bzip2

Corrected:

afio -ivZ -P bzip2 $i


 #   bunzip2 < "$i" | afio -iv -
   done

Have a nice day :)

Thomas


--
Jeremy



Re: support for ancient peripherals

2022-11-06 Thread Joe
On Sun, 06 Nov 2022 00:30:58 -0400
Stefan Monnier  wrote:


> 
> You can find serial to USB adapters, but it will require some manual
> configuration, tho I suspect you already had to do that in Buster, so
> it should keep working pretty much the same (except the serial device
> will have a different name in `/dev/).
> 

I have several serial-USB devices, but they are not all the same. All I
have needed for a long time is Tx, Rx and ground, sometimes just Tx or
Rx. But some peripherals will need handshake lines, and serial adaptors
vary in provision of these. None of them provide the full RS-232 set,
of course.

I have one of these in permanent use and three for general purposes. Of
those three, two have only the signal lines and ground, one also has DTR
and CTS, which is the bare minimum for handshaking. I no longer have
any idea of what a serial mouse needs, though possibly only RX and
ground on an adaptor. On the other hand, serial mice were around when
PCs ran at a fraction of the speed of today's and might have provision
for handshaking.

-- 
Joe



Re: support for ancient peripherals

2022-11-06 Thread Dan Ritter
Kleene, Steven (kleenesj) wrote: 
> My concern is about support for three ancient peripherals that I like better
> than the modern equivalents:
> 1. A Northgate Omnikey 101 keyboard (from 2006) with a 5-pin DIN cable,
> currently going via an adapter to a PS/2 port in the desktop;

I have one of these.

1. Most current desktop motherboards have a PS/2 port. Check the
specs before you buy.

2. There are two kinds of PS/2 to USB adapters; one kind will
work for you, and the other won't. You need an "active"
converter, as opposed to a passive adapter, which assumes that
the keyboard is of a new variety that just needs the wiring. The
active ones tend to cost $10-20, and the passive ones $2-5.



> 2. A Logitech M-MD15L three-button roller-ball serial mouse (from 2006); and

You can get USB to RS232 serial adapters for about $10.


> 3. An HP LaserJet 5MP printer from 1995 with a parallel-port connector.

StarTech sells a $42 PCIe card with a parallel port and two
serial ports. If you're getting a desktop, this might be your
preferred path.

Two other options:

The 5MP has an expansion slot where you can put a network
interface. HP J2552-60001 is the part number. Refurbs of these
sell for about $75, which is about half the cost of a new laser
printer which will have a network port, duplex, and be about 8x
faster.

StarTech also makes a $75 parallel printer network server, which
is probably more available than the internal card, and can work
on other parallel interface printers.

-dsr-



Re: afio batch operation

2022-11-06 Thread Thomas Schmitt
Hi,

> I have a CD that was written by mondorescue and it has hundreds of files in
> the form
> .afio.bz2.

They must be quite small if hundreds of them fit on a CD.


> Can someone suggest a simple command line to extract the hundreds of files
> and write/merge them into a single directory tree?

The name suffix .bz2 could mean that afio used -Z -P bzip2 when packing up
the archives, or that the completed afio archive files were compressed
by bzip2. This matters, because afio -Z compresses individual files in
the archive, whereas a bzip2 run on the archive stream compresses the
whole archive. (This differs from the situation with tar -z)

If the archive files were made with afio -Z, then program "file" should say
about them

  : ASCII cpio archive (pre-SVR4 or odc)

An afio achive post-compressed by bzip2 should yield

  : bzip2 compressed data, ...

According shell runs for inspection would then be

  afio -tv NNN.afio.bz2

or

  bunzip2 < NNN.afio.bz2 | afio -tv -

For a combined list of all file paths in the archives i would run

  for i in *.afio.bz2
  do
# One of:
#   afio -tv "$i"
#   bunzip2 < "$i" | afio -tv -
  done >/tmp/all_afio_paths 2>&1

Then study file /tmp/all_afio_paths to learn about the path situation.

If all paths are relative, i.e. with no leading "/", then create a new
directory at a suitable place on the hard disk. Like:

  archive_dir=/mnt/iso
  unpack_dir="$HOME"/all_afio_files

  mkdir "$unpack_dir"
  cd "$unpack_dir"

Then unpack the archive files:

  for i in "$archive_dir"/*.afio.bz2
  do
# One of:
#   afio -ivZ -P bzip2
#   bunzip2 < "$i" | afio -iv -
  done

If there are absolute paths in the afio archives, then you might need chroot
to force the unpacking to your $unpack_dir.

Consider to practive with a single archive file first.
Try to find one which contains no old copies of important files.


Have a nice day :)

Thomas



Re: libreoffice conflict with openoffice

2022-11-06 Thread The Wanderer
On 2022-11-06 at 05:52, local10 wrote:

> Nov 6, 2022, 06:47 by dev@yandex.ru:
> 
>> But if i delete "openoffice.org-unbundled" from libreoffice-common
>> conflict string  Apache OpenOffice install and work fine!
>> 
>> 
>> Maybe libreoffice-common not need "openoffice.org-unbundled" in
>> conflict string?
> 
> Opening a bug at https://www.debian.org/Bugs/ would get you a better
> chance of drawing devs attention to the issue.

FWIW, looking at /usr/share/doc/libreoffice-common/changelog.Debian.gz
and searching for 'unbundled', I find that this conflict was removed at
one point but then re-added back in late 2015, and the reason given for
adding it back in was that the (depended-on) packages
'openoffice*-debian-menus' contained '/usr/bin/soffice', which is
provided as a symlink by libreoffice-common.

It might be worth checking whether this conflicting file path still
exists in the current respective versions of the two package sets. If it
does, the Debian maintainers will almost certainly refuse to remove this
conflict declaration. If it does not, then they'll probably just want to
know what versions of the openoffice* packages do and don't have the
conflicting item.

-- 
   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: libreoffice conflict with openoffice

2022-11-06 Thread local10
Nov 6, 2022, 06:47 by dev@yandex.ru:

> But if i delete "openoffice.org-unbundled" from libreoffice-common conflict 
> string  Apache OpenOffice install and work fine!
>
>
> Maybe libreoffice-common not need "openoffice.org-unbundled" in conflict 
> string?
>


Opening a bug at https://www.debian.org/Bugs/ would get you a better chance of 
drawing devs attention to the issue.

Just out of curiosity, why do you need both Libreoffice and Openoffice 
installed?

Regards,



afio batch operation

2022-11-06 Thread jeremy ardley
I have a CD that was written by mondorescue and it has hundreds of files 
in the form


.afio.bz2.

I can open individual files using Xarchiver and see they are 
individually parts of an old system of mine.


Can someone suggest a simple command line to extract the hundreds of 
files and write/merge them into a single directory tree?


--
Jeremy

libreoffice conflict with openoffice

2022-11-06 Thread dev two
Package: libreoffice-common
Version: 1:7.0.4-4+deb11u3


Hello!

I can not install lLbreOffice from repo and Apache OpenOffice from 
openoffice.org together

Package "libreoffice-common" conflict with openoffice deb packages

In libreoffice-common package
INFO file (debian/control) conflict string contains "openoffice.org-unbundled"

Conflicts: broffice  openoffice.org-unbundled  python3-uno

And Apache OpenOffice deb provide "openoffice.org-unbundled"


But if i delete "openoffice.org-unbundled" from libreoffice-common conflict 
string  Apache OpenOffice install and work fine!


Maybe libreoffice-common not need "openoffice.org-unbundled" in conflict string?



Thank you