Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You are capable of planning your future.


comp / comp.os.linux.misc / Re: memory managment and (its) protection under Linux

SubjectAuthor
* memory managment and (its) protection under LinuxMarioCCCP
+* Re: memory managment and (its) protection under LinuxLawrence D'Oliveiro
|`* Re: memory managment and (its) protection under Linux186282@ud0s4.net
| `* Re: memory managment and (its) protection under LinuxLawrence D'Oliveiro
|  `* Re: memory managment and (its) protection under Linux186282@ud0s4.net
|   `* Re: memory managment and (its) protection under LinuxLawrence D'Oliveiro
|    `* Re: memory managment and (its) protection under LinuxMarioCCCP
|     +* Re: memory managment and (its) protection under Linux186282@ud0s4.net
|     |`* Re: memory managment and (its) protection under LinuxMarioCCCP
|     | +* Re: memory managment and (its) protection under LinuxLawrence D'Oliveiro
|     | |`* Re: memory managment and (its) protection under LinuxMarioCCCP
|     | | +* Re: memory managment and (its) protection under LinuxRich
|     | | |`* Re: memory managment and (its) protection under Linux186282@ud0s4.net
|     | | | +* Re: memory managment and (its) protection under LinuxCharlie Gibbs
|     | | | |+* Re: memory managment and (its) protection under LinuxMarioCCCP
|     | | | ||`* Re: memory managment and (its) protection under LinuxLawrence D'Oliveiro
|     | | | || `* Re: memory managment and (its) protection under LinuxMarioCCCP
|     | | | ||  `* Re: memory managment and (its) protection under LinuxLawrence D'Oliveiro
|     | | | ||   `- Re: memory managment and (its) protection under LinuxMarioCCCP
|     | | | |`* Re: memory managment and (its) protection under LinuxLawrence D'Oliveiro
|     | | | | `- Re: memory managment and (its) protection under Linux186282@ud0s4.net
|     | | | `- Re: memory managment and (its) protection under LinuxLawrence D'Oliveiro
|     | | `- Re: memory managment and (its) protection under LinuxLawrence D'Oliveiro
|     | `- Re: memory managment and (its) protection under Linux186282@ud0s4.net
|     +- Re: memory managment and (its) protection under LinuxLawrence D'Oliveiro
|     `- Re: memory managment and (its) protection under LinuxBobbie Sellers
+* Re: memory managment and (its) protection under LinuxThe Natural Philosopher
|`* Re: memory managment and (its) protection under Linux186282@ud0s4.net
| `* Re: memory managment and (its) protection under LinuxThe Natural Philosopher
|  +* Re: memory managment and (its) protection under Linuxcandycanearter07
|  |`* Re: memory managment and (its) protection under LinuxThe Natural Philosopher
|  | +* Re: memory managment and (its) protection under LinuxMarioCCCP
|  | |+* Re: memory managment and (its) protection under LinuxRich
|  | ||`- Re: memory managment and (its) protection under LinuxMarioCCCP
|  | |`- Re: memory managment and (its) protection under LinuxLawrence D'Oliveiro
|  | `- Re: memory managment and (its) protection under LinuxLawrence D'Oliveiro
|  `- Re: memory managment and (its) protection under LinuxDavid De La Harpe Golden
+* Re: memory managment and (its) protection under LinuxAnssi Saari
|`- Re: memory managment and (its) protection under LinuxMarioCCCP
+* Re: memory managment and (its) protection under LinuxRichard Kettlewell
|`- Re: memory managment and (its) protection under LinuxMarioCCCP
`* Re: memory managment and (its) protection under LinuxRichard Kettlewell
 `- Re: memory managment and (its) protection under LinuxMarioCCCP

Pages:12
Subject: memory managment and (its) protection under Linux
From: MarioCCCP
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Tue, 20 Aug 2024 13:09 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCCCP)
Newsgroups: comp.os.linux.misc
Subject: memory managment and (its) protection under Linux
Date: Tue, 20 Aug 2024 15:09:03 +0200
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <va24hg$3cdd8$1@dont-email.me>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 20 Aug 2024 15:09:10 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3bdf79ea25ab0d7ac72b987702e57d84";
logging-data="3552680"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NrkteSyGogSN+Sillbzep"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:L+8mBmoValD4nWbK0c8xHP6giu0=
Content-Language: en-GB, it-IT
View all headers

partially OT : programming task
Scenario : Debian Bookworm, XFCE4
Very often GUI programs show their results in the form of
ListBoxes, whose content is mainly textual semantically, but
very often cannot be copied/pasted as text and neither is
easy to export as text. I have one case in FreeFileSync,
that shows lists of files upwards of 500'000 items, and
other deduplicators programs.
I am having a general curiosity about this problem in linux.
Can a root user access, in read only mode, to memory
associated to another (plain user mode) process ? Or the
outcome is invariably a seg_fault ? Has a root user the
right to inquire the memory of non root programs ? I am not
speaking about disk files, but specifically in physical memory
Those gui programs must be storing long list of strings in
memory somewhere.
The first question is : is it there any way to escalate
read-only access to memory assigned to other programs ?
If the answer is, YES, then the problems evolves to
is it there a way to query the system (X server ? Who else
?) what is the topmost (active desktop, foreground)
graphical element at given mouse coordinates ? Are list
boxes standard enough to be accessed in a fairly portable
way disregarding the many different graphic engines (QT, GTK
or else) and DM (I have XFCE, but there are plenty of), so
to locate the strings arrays ? I can guess many frameworks
could implement internally listboxes in different ways and
debugging would be hard ! But the first thing to be
clarified is : I need some handle to memory allocated to it
in read only mode. Only then I could think to attemptively
elucidate the internal structure of the object. I am
assuming to not have any source code of the program or of
the underlying framwork.
If I had the code itself, it would be much simpler to extend
it, obviously, and to add a menu item with an ExportList cmq.
Tnx for any suggestion about the memory management and
protection under linux kernel.

--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Subject: Re: memory managment and (its) protection under Linux
From: The Natural Philosop
Newsgroups: comp.os.linux.misc
Organization: A little, after lunch
Date: Tue, 20 Aug 2024 18:27 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Tue, 20 Aug 2024 19:27:34 +0100
Organization: A little, after lunch
Lines: 34
Message-ID: <va2n6n$3fs69$1@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 20 Aug 2024 20:27:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7d62e1d7640089b7a0e6ec5422b3d8b0";
logging-data="3666121"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+fBxNorPMabrZLpBoS95UfYjT0KNPmzL8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:0l3fCQ5CLLZTKZPKJdT+8PkOo5M=
Content-Language: en-GB
In-Reply-To: <va24hg$3cdd8$1@dont-email.me>
View all headers

On 20/08/2024 14:09, MarioCCCP wrote:
>
> partially OT : programming task
> Scenario : Debian Bookworm, XFCE4
> Very often GUI programs show their results in the form of ListBoxes,
> whose content is mainly textual semantically, but very often cannot be
> copied/pasted as text and neither is easy to export as text. I have one
> case in FreeFileSync, that shows lists of files upwards of 500'000
> items, and other deduplicators programs.
> I am having a general curiosity about this problem in linux.
> Can a root user access, in read only mode, to memory associated to
> another (plain user mode) process ? Or the outcome is invariably a
> seg_fault ? Has a root user the right to inquire the memory of non root
> programs ?
I believe not.
In such cases it is usual to write a daemon to handle *all* requests.

I am not speaking about disk files, but specifically in
> physical memory

Well thereby hangs a tale. In fact i deliberately created a RAMDISK in
one application purely to handle communications between synchronous
processes.

One process writes it, others may read

--
"And if the blind lead the blind, both shall fall into the ditch".

Gospel of St. Mathew 15:14

Subject: Re: memory managment and (its) protection under Linux
From: Richard Kettlewell
Newsgroups: comp.os.linux.misc
Organization: terraraq NNTP server
Date: Tue, 20 Aug 2024 20:53 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Tue, 20 Aug 2024 21:53:12 +0100
Organization: terraraq NNTP server
Message-ID: <wwvttfeudaf.fsf@LkoBDZeT.terraraq.uk>
References: <va24hg$3cdd8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="39771"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:pDBftG66n9lAkZe6gW/fhB643jU=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
View all headers

MarioCCCP <NoliMihiFrangereMentulam@libero.it> writes:
> Can a root user access, in read only mode, to memory associated to
> another (plain user mode) process ? Or the outcome is invariably a
> seg_fault ? Has a root user the right to inquire the memory of non
> root programs ? I am not speaking about disk files, but specifically
> in physical memory

Yes, root can access the memory image of non-root processes, for example
by reading from /proc/<pid>/mem, or using the ptrace syscall.

--
https://www.greenend.org.uk/rjk/

Subject: Re: memory managment and (its) protection under Linux
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 01:28 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Wed, 21 Aug 2024 01:28:14 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <va3fre$3iue9$9@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 21 Aug 2024 03:28:14 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="b7054728ccecf746f3a261c5985019ab";
logging-data="3766729"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/wb14q2ySgvoHIQyKOnJFY"
User-Agent: Pan/0.159 (Vovchansk; )
Cancel-Lock: sha1:by5lbrFfsNs1BK9qv80IaJthdG4=
View all headers

On Tue, 20 Aug 2024 15:09:03 +0200, MarioCCCP wrote:

> partially OT : programming task Scenario : Debian Bookworm, XFCE4 Very
> often GUI programs show their results in the form of ListBoxes, whose
> content is mainly textual semantically, but very often cannot be
> copied/pasted as text and neither is easy to export as text. I have one
> case in FreeFileSync, that shows lists of files upwards of 500'000
> items, and other deduplicators programs.

Short answer: you are doing it wrong.

Remember, GUIs are not designed to be automated. If you want to extract a
large list of filenames as output from one program to feed into another,
you do it from the command line.

Subject: Re: memory managment and (its) protection under Linux
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: vector apex
Date: Wed, 21 Aug 2024 03:46 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-2.nntp.ord.giganews.com!border-4.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 21 Aug 2024 03:46:07 +0000
Subject: Re: memory managment and (its) protection under Linux
Newsgroups: comp.os.linux.misc
References: <va24hg$3cdd8$1@dont-email.me> <va3fre$3iue9$9@dont-email.me>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: vector apex
Date: Tue, 20 Aug 2024 23:46:07 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <va3fre$3iue9$9@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <0RCdnVp-qYRi_1j7nZ2dnZfqn_qdnZ2d@earthlink.com>
Lines: 23
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-EzJU/cZmWkK0IVQa2G5ZDZXKpJlQoAfKh0XHuQhYmwDwVRu2ktdS6AA1GTGKKFKITV+jVwzimCcp2lT!RAjhJo8g6VEfJch1v/MYyJf3UyBoxzVTKcwIDffTra++jkFPmZrOeKZDXBFbIMcuReRD375uiDLe!ACuOtat4zM8mkfyA/KTL
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 8/20/24 9:28 PM, Lawrence D'Oliveiro wrote:
> On Tue, 20 Aug 2024 15:09:03 +0200, MarioCCCP wrote:
>
>> partially OT : programming task Scenario : Debian Bookworm, XFCE4 Very
>> often GUI programs show their results in the form of ListBoxes, whose
>> content is mainly textual semantically, but very often cannot be
>> copied/pasted as text and neither is easy to export as text. I have one
>> case in FreeFileSync, that shows lists of files upwards of 500'000
>> items, and other deduplicators programs.
>
> Short answer: you are doing it wrong.
>
> Remember, GUIs are not designed to be automated. If you want to extract a
> large list of filenames as output from one program to feed into another,
> you do it from the command line.

But most users come from Win - and shriek and run
hide in the shower stall at the appearance of a
command prompt :-)

Basically, yer GUI app either does, or does not,
support cut-n-paste and that's that.

Subject: Re: memory managment and (its) protection under Linux
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: vector apex
Date: Wed, 21 Aug 2024 04:11 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-3.nntp.ord.giganews.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 21 Aug 2024 04:11:30 +0000
Subject: Re: memory managment and (its) protection under Linux
Newsgroups: comp.os.linux.misc
References: <va24hg$3cdd8$1@dont-email.me> <va2n6n$3fs69$1@dont-email.me>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: vector apex
Date: Wed, 21 Aug 2024 00:11:30 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <va2n6n$3fs69$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <1SGdnStv4NVv9Vj7nZ2dnZfqn_udnZ2d@earthlink.com>
Lines: 65
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-6dDeXTO8PTW1MJY23spdfwGICHI/dnyHW/yozHTCykYthM9qdtL9TFaKKqJCHdsUA7x1LBmNzyFADy7!/LKUoSx5REiG1t/fc/gr/7ME83gwkA18qbTEw7eMZNIhv0Di8X5xwxE4nn6dRaqreB9PJCfsZjYq!DNioB1Ua3j06iUO1E7rF
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 8/20/24 2:27 PM, The Natural Philosopher wrote:
> On 20/08/2024 14:09, MarioCCCP wrote:
>>
>> partially OT : programming task
>> Scenario : Debian Bookworm, XFCE4
>> Very often GUI programs show their results in the form of ListBoxes,
>> whose content is mainly textual semantically, but very often cannot be
>> copied/pasted as text and neither is easy to export as text. I have
>> one case in FreeFileSync, that shows lists of files upwards of 500'000
>> items, and other deduplicators programs.
>> I am having a general curiosity about this problem in linux.
>> Can a root user access, in read only mode, to memory associated to
>> another (plain user mode) process ? Or the outcome is invariably a
>> seg_fault ? Has a root user the right to inquire the memory of non
>> root programs ?
> I believe not.
> In such cases it is usual to write a daemon to handle *all* requests.
>
>  I am not speaking about disk files, but specifically in
>> physical memory
>
> Well thereby hangs a tale. In fact i deliberately created a RAMDISK in
> one application purely to handle communications between synchronous
> processes.
>
> One process writes it, others may read

In many Linux distros now, /tmp is a de-facto
ramdisk - all disappears on reboot. IF you have
the space in your / partition then you need not
specifically create a NEW ramdisk to achieve the
effect.

I've done it both ways over the years.

Also look into "pipes". They've been useful at
times (but a bit less flexible than the on-'disk'
file approach). Wrote a nice little bi-di multi-
user socket server using pipes (in Python and
then 'C') so the 'parent' could convey a few
important lists to the 'child' and vice-versa.

Pipes basically ARE temporary in-ram files, but
managed more automatically and systematically by
the language/system library routines.

In this case the server COULD actually send commands
and info autonomously to the client so, I guess,
in a sense they were both clients AND servers.
Still have the code - might be interesting to refine
it a little more. Pushing "status" info to the clients
as needed is the best use IMHO ... "User X is sending
you a 'friend' request ..."

There are lots of client/server demos on the net,
from the stupidest blocking send-wait kind to the
high-traffic pre-forked/threaded variety. NOT hard
to expand them into something good. Great fun.

At current, I think "pre-threaded" holds the speed
record ... the server creates like a dozen images
of its important stuff at start-up so they're ready
and waiting and can then increase from there as needed.
It's maybe the most 'complicated', but not to the point
of being incomprehensible levitating-guru-only.

Subject: Re: memory managment and (its) protection under Linux
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 05:17 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Wed, 21 Aug 2024 05:17:15 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <va3t8r$3ofmp$1@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me> <va3fre$3iue9$9@dont-email.me>
<0RCdnVp-qYRi_1j7nZ2dnZfqn_qdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 21 Aug 2024 07:17:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="b7054728ccecf746f3a261c5985019ab";
logging-data="3948249"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+C+lNuBS9k18HaeL8s62l1"
User-Agent: Pan/0.159 (Vovchansk; )
Cancel-Lock: sha1:pnmhpTxC7zQLmbfTHI2JoaamQMg=
View all headers

On Tue, 20 Aug 2024 23:46:07 -0400, 186282@ud0s4.net wrote:

> Basically, yer GUI app either does, or does not, support cut-n-paste
> and that's that.

GUI apps do not typically support copy/paste of GUI actions or widget
settings.

Subject: Re: memory managment and (its) protection under Linux
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: vector apex
Date: Wed, 21 Aug 2024 05:46 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-4.nntp.ord.giganews.com!nntp.giganews.com!local-3.nntp.ord.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 21 Aug 2024 05:46:04 +0000
Subject: Re: memory managment and (its) protection under Linux
Newsgroups: comp.os.linux.misc
References: <va24hg$3cdd8$1@dont-email.me> <va3fre$3iue9$9@dont-email.me>
<0RCdnVp-qYRi_1j7nZ2dnZfqn_qdnZ2d@earthlink.com>
<va3t8r$3ofmp$1@dont-email.me>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: vector apex
Date: Wed, 21 Aug 2024 01:46:04 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <va3t8r$3ofmp$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <LZqdnaQPYdWB4lj7nZ2dnZfqn_adnZ2d@earthlink.com>
Lines: 25
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-UDHWnf1G8GUvj/oW/jRwW7K2o5tK5eysJ7NGWRnasUkS2KikHROr/346MQbUEmaeZj3V+Hrv7KMym7g!uf7jK2GHlVSvKeUVdvWoSIDo9b15YHLqMFCqfdsePOnqH1Iw2n+l4of+mQIs4CYhiTR/qIXpEmsu!IdOP0cKIcHGNAVFwWN7x
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 8/21/24 1:17 AM, Lawrence D'Oliveiro wrote:
> On Tue, 20 Aug 2024 23:46:07 -0400, 186282@ud0s4.net wrote:
>
>> Basically, yer GUI app either does, or does not, support cut-n-paste
>> and that's that.
>
> GUI apps do not typically support copy/paste of GUI actions or widget
> settings.

Quite correct.

Supporting that requires a LOT more effort.

Few bother.

But don't forget the later gens allergy to
command prompts ... they just WON'T cope.
Linux/Unix/Whatever will NOT be in their
future - which is tragic.

Hmmmm ... a GUI solution to common GUI issues ?

At least for some 'common apps' what the GUI
shows CAN be kinda parsed-out or even just
brute-force img-2-text ...

Subject: Re: memory managment and (its) protection under Linux
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 06:48 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Wed, 21 Aug 2024 06:48:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <va42jc$3p75s$3@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me> <va3fre$3iue9$9@dont-email.me>
<0RCdnVp-qYRi_1j7nZ2dnZfqn_qdnZ2d@earthlink.com>
<va3t8r$3ofmp$1@dont-email.me>
<LZqdnaQPYdWB4lj7nZ2dnZfqn_adnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 21 Aug 2024 08:48:13 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="b7054728ccecf746f3a261c5985019ab";
logging-data="3972284"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19azdyYwVgjiK+btOAXLsAA"
User-Agent: Pan/0.159 (Vovchansk; )
Cancel-Lock: sha1:5Y8g/WTlWo2bpANrECs64HwMC6E=
View all headers

On Wed, 21 Aug 2024 01:46:04 -0400, 186282@ud0s4.net wrote:

> On 8/21/24 1:17 AM, Lawrence D'Oliveiro wrote:
>
>> On Tue, 20 Aug 2024 23:46:07 -0400, 186282@ud0s4.net wrote:
>>
>>> Basically, yer GUI app either does, or does not, support cut-n-paste
>>> and that's that.
>>
>> GUI apps do not typically support copy/paste of GUI actions or widget
>> settings.
>
> Supporting that requires a LOT more effort.

It can never be made to work efficiently or reliably.

> But don't forget the later gens allergy to command prompts ... they
> just WON'T cope.

Microsoft and Apple have spent years, decades, conditioning their users to
be allergic to the command line.

Gee, that’s too bad.

Subject: Re: memory managment and (its) protection under Linux
From: The Natural Philosop
Newsgroups: comp.os.linux.misc
Organization: A little, after lunch
Date: Wed, 21 Aug 2024 09:56 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Wed, 21 Aug 2024 10:56:37 +0100
Organization: A little, after lunch
Lines: 44
Message-ID: <va4dkl$3qlqh$1@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me> <va2n6n$3fs69$1@dont-email.me>
<1SGdnStv4NVv9Vj7nZ2dnZfqn_udnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 21 Aug 2024 11:56:37 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7665d9bddf1aa89590fd90bf28892d4c";
logging-data="4020049"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19my81zokJb8WPGJcV/pKzNBnDeIY+yMAU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:tso2qeoymns40PXQbg5egI3m4Kc=
In-Reply-To: <1SGdnStv4NVv9Vj7nZ2dnZfqn_udnZ2d@earthlink.com>
Content-Language: en-GB
View all headers

On 21/08/2024 05:11, 186282@ud0s4.net wrote:
> On 8/20/24 2:27 PM, The Natural Philosopher wrote:
>> On 20/08/2024 14:09, MarioCCCP wrote:
>>>
>>> partially OT : programming task
>>> Scenario : Debian Bookworm, XFCE4
>>> Very often GUI programs show their results in the form of ListBoxes,
>>> whose content is mainly textual semantically, but very often cannot
>>> be copied/pasted as text and neither is easy to export as text. I
>>> have one case in FreeFileSync, that shows lists of files upwards of
>>> 500'000 items, and other deduplicators programs.
>>> I am having a general curiosity about this problem in linux.
>>> Can a root user access, in read only mode, to memory associated to
>>> another (plain user mode) process ? Or the outcome is invariably a
>>> seg_fault ? Has a root user the right to inquire the memory of non
>>> root programs ?
>> I believe not.
>> In such cases it is usual to write a daemon to handle *all* requests.
>>
>>   I am not speaking about disk files, but specifically in
>>> physical memory
>>
>> Well thereby hangs a tale. In fact i deliberately created a RAMDISK in
>> one application purely to handle communications between synchronous
>> processes.
>>
>> One process writes it, others may read
>
>   In many Linux distros now, /tmp is a de-facto
>   ramdisk - all disappears on reboot. IF you have
>   the space in your / partition then you need not
>   specifically create a NEW ramdisk to achieve the
>   effect.
>
Not /tmp oddly, but various other stuff like /run is, yes.

--
For every complex problem there is an answer that is clear, simple, and
wrong.

H.L.Mencken

Subject: Re: memory managment and (its) protection under Linux
From: Richard Kettlewell
Newsgroups: comp.os.linux.misc
Organization: terraraq NNTP server
Date: Wed, 21 Aug 2024 18:00 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.gegeweb.eu!gegeweb.org!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Wed, 21 Aug 2024 19:00:52 +0100
Organization: terraraq NNTP server
Message-ID: <wwvjzg9rc17.fsf@LkoBDZeT.terraraq.uk>
References: <va24hg$3cdd8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="57873"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:AWKZR2Ot/+NZ59YO2JhnX9nm/Q4=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
View all headers

MarioCCCP <NoliMihiFrangereMentulam@libero.it> writes:
> If the answer is, YES, then the problems evolves to
> is it there a way to query the system (X server ? Who else ?) what is
> the topmost (active desktop, foreground) graphical element at given
> mouse coordinates ? Are list boxes standard enough to be accessed in a
> fairly portable way disregarding the many different graphic engines
> (QT, GTK or else) and DM (I have XFCE, but there are plenty of), so to
> locate the strings arrays ?

In terms of in-memory representation, no, they are totally different.

One way to programmatically interact with a GUI application from
‘outside’ is via Accesibility APIs.
https://fedoramagazine.org/automation-through-accessibility/ is an
example. I’ve no idea how standardized this is between different GUI
toolkits.

--
https://www.greenend.org.uk/rjk/

Subject: Re: memory managment and (its) protection under Linux
From: MarioCCCP
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Thu, 22 Aug 2024 01:11 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCCCP)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Thu, 22 Aug 2024 03:11:28 +0200
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <va6380$2gvp$1@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me>
<wwvttfeudaf.fsf@LkoBDZeT.terraraq.uk>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 22 Aug 2024 03:11:29 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="dc89c0743f11cfefab155af3f32f7e04";
logging-data="82937"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19dnZi9ids9kyz6Kl1vAC6E"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:CTApY7Y/dL0dE3sxtfnmPRTL4FI=
Content-Language: en-GB, it-IT
In-Reply-To: <wwvttfeudaf.fsf@LkoBDZeT.terraraq.uk>
View all headers

On 20/08/24 22:53, Richard Kettlewell wrote:
> MarioCCCP <NoliMihiFrangereMentulam@libero.it> writes:
>> Can a root user access, in read only mode, to memory associated to
>> another (plain user mode) process ? Or the outcome is invariably a
>> seg_fault ? Has a root user the right to inquire the memory of non
>> root programs ? I am not speaking about disk files, but specifically
>> in physical memory
>
> Yes, root can access the memory image of non-root processes, for example
> by reading from /proc/<pid>/mem, or using the ptrace syscall.
>

tnx a lot, I will make research about these suggestions

--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Subject: Re: memory managment and (its) protection under Linux
From: MarioCCCP
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Thu, 22 Aug 2024 01:15 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCCCP)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Thu, 22 Aug 2024 03:15:55 +0200
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <va63gc$2gvp$2@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me> <va3fre$3iue9$9@dont-email.me>
<0RCdnVp-qYRi_1j7nZ2dnZfqn_qdnZ2d@earthlink.com>
<va3t8r$3ofmp$1@dont-email.me>
<LZqdnaQPYdWB4lj7nZ2dnZfqn_adnZ2d@earthlink.com>
<va42jc$3p75s$3@dont-email.me>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Thu, 22 Aug 2024 03:15:59 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="dc89c0743f11cfefab155af3f32f7e04";
logging-data="82937"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19LbSYgfTreCZKIrqM+sl51"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:8ukq0kD/R6h/AcwpI+4cMmtp8Pg=
Content-Language: en-GB, it-IT
In-Reply-To: <va42jc$3p75s$3@dont-email.me>
View all headers

On 21/08/24 08:48, Lawrence D'Oliveiro wrote:
> On Wed, 21 Aug 2024 01:46:04 -0400, 186282@ud0s4.net wrote:
>
>> On 8/21/24 1:17 AM, Lawrence D'Oliveiro wrote:
>>
>>> On Tue, 20 Aug 2024 23:46:07 -0400, 186282@ud0s4.net wrote:
>>>
>>>> Basically, yer GUI app either does, or does not, support cut-n-paste
>>>> and that's that.
>>>
>>> GUI apps do not typically support copy/paste of GUI actions or widget
>>> settings.
>>
>> Supporting that requires a LOT more effort.
>
> It can never be made to work efficiently or reliably.
>
>> But don't forget the later gens allergy to command prompts ... they
>> just WON'T cope.
>
> Microsoft and Apple have spent years, decades, conditioning their users to
> be allergic to the command line.
I don't agree with this point of view.
bidimensional / graphical interfaces, touch and pointers,
are intrinsically easier and more intuitive for MOST humans
(not saying users, but unformatted future users).
We are evolutionary projected to work like that. Some firms
have chosen to follow the users preference in this case.
Amiga had one of the first gui interface, and is universally
considered a precursor
>
> Gee, that’s too bad.
--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Subject: Re: memory managment and (its) protection under Linux
From: MarioCCCP
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Thu, 22 Aug 2024 01:16 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCCCP)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Thu, 22 Aug 2024 03:16:36 +0200
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <va63hl$2gvp$3@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me>
<wwvjzg9rc17.fsf@LkoBDZeT.terraraq.uk>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Thu, 22 Aug 2024 03:16:46 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="dc89c0743f11cfefab155af3f32f7e04";
logging-data="82937"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xpgFrDdBBwYedoGYqiX5d"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:dB2fGsmP+PdkGeTN/Ki/Mcm/D0I=
Content-Language: en-GB, it-IT
In-Reply-To: <wwvjzg9rc17.fsf@LkoBDZeT.terraraq.uk>
View all headers

On 21/08/24 20:00, Richard Kettlewell wrote:
> MarioCCCP <NoliMihiFrangereMentulam@libero.it> writes:
>> If the answer is, YES, then the problems evolves to
>> is it there a way to query the system (X server ? Who else ?) what is
>> the topmost (active desktop, foreground) graphical element at given
>> mouse coordinates ? Are list boxes standard enough to be accessed in a
>> fairly portable way disregarding the many different graphic engines
>> (QT, GTK or else) and DM (I have XFCE, but there are plenty of), so to
>> locate the strings arrays ?
>
> In terms of in-memory representation, no, they are totally different.
>
> One way to programmatically interact with a GUI application from
> ‘outside’ is via Accesibility APIs.
> https://fedoramagazine.org/automation-through-accessibility/ is an
> example. I’ve no idea how standardized this is between different GUI
> toolkits.
>
Tnx again !!!
--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Subject: Re: memory managment and (its) protection under Linux
From: Bobbie Sellers
Newsgroups: comp.os.linux.misc
Organization: none at all
Date: Thu, 22 Aug 2024 03:31 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: blissInSanFrancisco@mouse-potato.com (Bobbie Sellers)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Wed, 21 Aug 2024 20:31:34 -0700
Organization: none at all
Lines: 59
Message-ID: <va6bem$79q5$1@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me> <va3fre$3iue9$9@dont-email.me>
<0RCdnVp-qYRi_1j7nZ2dnZfqn_qdnZ2d@earthlink.com>
<va3t8r$3ofmp$1@dont-email.me>
<LZqdnaQPYdWB4lj7nZ2dnZfqn_adnZ2d@earthlink.com>
<va42jc$3p75s$3@dont-email.me> <va63gc$2gvp$2@dont-email.me>
Reply-To: blissInSanFrancisco@mouse-potato.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Aug 2024 05:31:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="23b98e3fdf5c675539e267346717fa3c";
logging-data="239429"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/Rht6uvgeWzqsriFuvGLz"
User-Agent: Betterbird (Linux)
Cancel-Lock: sha1:TjBZe0d9jMmvtVILJslyJ2Dji9k=
Content-Language: en-US
In-Reply-To: <va63gc$2gvp$2@dont-email.me>
View all headers

On 8/21/24 18:15, MarioCCCP wrote:
> On 21/08/24 08:48, Lawrence D'Oliveiro wrote:
>> On Wed, 21 Aug 2024 01:46:04 -0400, 186282@ud0s4.net wrote:
>>
>>> On 8/21/24 1:17 AM, Lawrence D'Oliveiro wrote:
>>>
>>>> On Tue, 20 Aug 2024 23:46:07 -0400, 186282@ud0s4.net wrote:
>>>>
>>>>> Basically, yer GUI app either does, or does not, support cut-n-paste
>>>>> and that's that.
>>>>
>>>> GUI apps do not typically support copy/paste of GUI actions or widget
>>>> settings.
>>>
>>> Supporting that requires a LOT more effort.
>>
>> It can never be made to work efficiently or reliably.
>>
>>> But don't forget the later gens allergy to command prompts ... they
>>> just WON'T cope.
>>
>> Microsoft and Apple have spent years, decades, conditioning their
>> users to
>> be allergic to the command line.
>
> I don't agree with this point of view.
> bidimensional / graphical interfaces, touch and pointers, are
> intrinsically easier and more intuitive for MOST humans (not saying
> users, but unformatted future users).
> We are evolutionary projected to work like that. Some firms have chosen
> to follow the users preference in this case.
> Amiga had one of the first gui interface, and is universally considered
> a precursor
>
>>
>> Gee, that’s too bad.
>
I dunno why you figure it is bad. I had several Amigas computers at
one time or another and AmigaOS not only had a
GUI bur a Cli much like bash. I learned to use both and
used to format and copy multiple floppies from the Comand Line
interface. I used to run a system before I got my 2nd hard
drive from a Ram disk. First hard drive was a functional so
I paid in 1998 or so $346 US for my first working SCSI drive.
Took it up to 3.4 GB SCSI with a 68060 at a whole,
screaming but not overheaing, 50 MHz ub nt Amiga 2000b wutg
a video card and a scan doubler sho that i could work in
VGA.
Now AmigaOS lacked Memory Management because it had
been dropped in favor of the 68000 cpu which made the
machine much cheaper to produce.

Now I do not like the terminal but I spent 40 minutes
in it yesterday and finally got my audio back working.

bliss- Dell Precision 7730- PCLOS 2024.08- Linux 6.6.47- Plasma 5.27.11
now at 87 YOA as never before.
--
b l i s s - S F 4 e v e r at D S L E x t r e m e dot com

Subject: Re: memory managment and (its) protection under Linux
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Thu, 22 Aug 2024 04:39 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Thu, 22 Aug 2024 04:39:10 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <va6fde$8t8g$1@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me> <va3fre$3iue9$9@dont-email.me>
<0RCdnVp-qYRi_1j7nZ2dnZfqn_qdnZ2d@earthlink.com>
<va3t8r$3ofmp$1@dont-email.me>
<LZqdnaQPYdWB4lj7nZ2dnZfqn_adnZ2d@earthlink.com>
<va42jc$3p75s$3@dont-email.me> <va63gc$2gvp$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Aug 2024 06:39:10 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="121cecafcfd9e311c6d841fd8b3330b2";
logging-data="292112"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+41fuJLxrpIdoRCwYr4GOH"
User-Agent: Pan/0.159 (Vovchansk; )
Cancel-Lock: sha1:tA2VIh9h0lRx40lx+JWfUchcLP0=
View all headers

On Thu, 22 Aug 2024 03:15:55 +0200, MarioCCCP wrote:

> bidimensional / graphical interfaces, touch and pointers, are
> intrinsically easier and more intuitive for MOST humans (not saying
> users, but unformatted future users).

Sure they are. But they won’t do what you want to do in this case.

Subject: Re: memory managment and (its) protection under Linux
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: vector apex
Date: Thu, 22 Aug 2024 07:19 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-3.nntp.ord.giganews.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 22 Aug 2024 07:19:29 +0000
Subject: Re: memory managment and (its) protection under Linux
Newsgroups: comp.os.linux.misc
References: <va24hg$3cdd8$1@dont-email.me> <va3fre$3iue9$9@dont-email.me>
<0RCdnVp-qYRi_1j7nZ2dnZfqn_qdnZ2d@earthlink.com>
<va3t8r$3ofmp$1@dont-email.me>
<LZqdnaQPYdWB4lj7nZ2dnZfqn_adnZ2d@earthlink.com>
<va42jc$3p75s$3@dont-email.me> <va63gc$2gvp$2@dont-email.me>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: vector apex
Date: Thu, 22 Aug 2024 03:19:29 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <va63gc$2gvp$2@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <sAudnZDJ37Qce1v7nZ2dnZfqn_ednZ2d@earthlink.com>
Lines: 69
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-96Wdf6ZFfFbyd1nNZ+LiKYzxt/wdag+rHtPGxnRuNecoUTXGQ8v5SxglDmZbjidCitz9fbwcwelWXfQ!Pn71EJG2OqKYdW06INirvXmRckxcAUzq7RT0E5AiRVtO7YCJC3sSuUhaVPbJWqKh9PokCcwaDm4h!mwcq80umZRKrGbQG0ve+
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 8/21/24 9:15 PM, MarioCCCP wrote:
> On 21/08/24 08:48, Lawrence D'Oliveiro wrote:
>> On Wed, 21 Aug 2024 01:46:04 -0400, 186282@ud0s4.net wrote:
>>
>>> On 8/21/24 1:17 AM, Lawrence D'Oliveiro wrote:
>>>
>>>> On Tue, 20 Aug 2024 23:46:07 -0400, 186282@ud0s4.net wrote:
>>>>
>>>>> Basically, yer GUI app either does, or does not, support cut-n-paste
>>>>> and that's that.
>>>>
>>>> GUI apps do not typically support copy/paste of GUI actions or widget
>>>> settings.
>>>
>>> Supporting that requires a LOT more effort.
>>
>> It can never be made to work efficiently or reliably.
>>
>>> But don't forget the later gens allergy to command prompts ... they
>>> just WON'T cope.
>>
>> Microsoft and Apple have spent years, decades, conditioning their
>> users to
>> be allergic to the command line.
>
> I don't agree with this point of view.
> bidimensional / graphical interfaces, touch and pointers, are
> intrinsically easier and more intuitive for MOST humans (not saying
> users, but unformatted future users).
> We are evolutionary projected to work like that. Some firms have chosen
> to follow the users preference in this case.
> Amiga had one of the first gui interface, and is universally considered
> a precursor

Hey, I don't disagree that GUIs are very NICE interfaces.
They're a LOT easier than the 'terminal' stuff I so
keenly remember. That's why they exist. It's why we
have telephones and TV rather than just Morse code.

But there are just some things they don't DO well.

Also, GUIs just can't provide the level of detailed
control you can get from most command-line utils.

M$, when absolutely needed, will provide cut-n-paste
stuff to enter in a command terminal. Otherwise ...

Joe/Jane User don't WANT to be "computer experts",
maybe just CAN'T. They just want stuff that's easy
to use and attractive.

There's an old joke about the professor who writes
some ten-line leader of super-complex math on the
old chalk-board and then says "So, OBVIOUSLY ..."

THAT is kinda how it is for 99 percent of computer
users. They can't/won't GET it - ever.

I can see this both ways. The 'real users' are in a
much better position, but they will always be the
very significant minority. Both factions 'deserve'
and need to use PCs. HOW to make it work for the
other 99 percent ???

GUIs for 'system stuff' need to be vastly IMPROVED.
GOTTA be able to get at the low-level stuff in a
way Joe/Jane can cope with.

SO far - even with Win - NOT EVEN CLOSE.

Subject: Re: memory managment and (its) protection under Linux
From: Anssi Saari
Newsgroups: comp.os.linux.misc
Organization: An impatient and LOUD arachnid
Date: Thu, 22 Aug 2024 08:16 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anssi.saari@usenet.mail.kapsi.fi (Anssi Saari)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Thu, 22 Aug 2024 11:16:17 +0300
Organization: An impatient and LOUD arachnid
Lines: 12
Message-ID: <sm0r0ahrmzy.fsf@lakka.kapsi.fi>
References: <va24hg$3cdd8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Thu, 22 Aug 2024 10:16:17 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9a03cdc5c6bfb03ac0f5a1b6b52736ef";
logging-data="400641"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18E0Vgl68eQFOcGpKpOqhO5"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:/lQG3EFKsKTUxn6msHybzKrkgQo=
sha1:RSdtTFbttlX0aIINSsunof8utwU=
View all headers

MarioCCCP <NoliMihiFrangereMentulam@libero.it> writes:

> partially OT : programming task
> Scenario : Debian Bookworm, XFCE4
> Very often GUI programs show their results in the form of ListBoxes,
> whose content is mainly textual semantically, but very often cannot be
> copied/pasted as text and neither is easy to export as text. I have
> one case in FreeFileSync, that shows lists of files upwards of 500'000
> items, and other deduplicators programs.

I'm not sure what exactly is the problem you're having. You want to copy
500,000 file names out of FreeFileSync? But why?

Subject: Re: memory managment and (its) protection under Linux
From: candycanearter07
Newsgroups: comp.os.linux.misc
Organization: the-candyden-of-code
Date: Thu, 22 Aug 2024 20:10 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Thu, 22 Aug 2024 20:10:03 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 42
Message-ID: <slrnvcf68t.td1s.candycanearter07@candydeb.host.invalid>
References: <va24hg$3cdd8$1@dont-email.me> <va2n6n$3fs69$1@dont-email.me>
<1SGdnStv4NVv9Vj7nZ2dnZfqn_udnZ2d@earthlink.com>
<va4dkl$3qlqh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Aug 2024 22:10:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="faa1a301eb098e6b485aa6999a60c76e";
logging-data="602745"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Ti7OUBOTQYKpHxZ8xHWLNklXnCbz544e7iVOLLJSQaQ=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:ciXrSZzWJEazGtMOzP3fZ2WMukg=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

The Natural Philosopher <tnp@invalid.invalid> wrote at 09:56 this Wednesday (GMT):
> On 21/08/2024 05:11, 186282@ud0s4.net wrote:
>> On 8/20/24 2:27 PM, The Natural Philosopher wrote:
>>> On 20/08/2024 14:09, MarioCCCP wrote:
>>>>
>>>> partially OT : programming task
>>>> Scenario : Debian Bookworm, XFCE4
>>>> Very often GUI programs show their results in the form of ListBoxes,
>>>> whose content is mainly textual semantically, but very often cannot
>>>> be copied/pasted as text and neither is easy to export as text. I
>>>> have one case in FreeFileSync, that shows lists of files upwards of
>>>> 500'000 items, and other deduplicators programs.
>>>> I am having a general curiosity about this problem in linux.
>>>> Can a root user access, in read only mode, to memory associated to
>>>> another (plain user mode) process ? Or the outcome is invariably a
>>>> seg_fault ? Has a root user the right to inquire the memory of non
>>>> root programs ?
>>> I believe not.
>>> In such cases it is usual to write a daemon to handle *all* requests.
>>>
>>>   I am not speaking about disk files, but specifically in
>>>> physical memory
>>>
>>> Well thereby hangs a tale. In fact i deliberately created a RAMDISK in
>>> one application purely to handle communications between synchronous
>>> processes.
>>>
>>> One process writes it, others may read
>>
>>   In many Linux distros now, /tmp is a de-facto
>>   ramdisk - all disappears on reboot. IF you have
>>   the space in your / partition then you need not
>>   specifically create a NEW ramdisk to achieve the
>>   effect.
>>
> Not /tmp oddly, but various other stuff like /run is, yes.

Even if it's not a ramdisk by default, you could still easily set it up
as one in your fstab
--
user <candycane> is generated from /dev/urandom

Subject: Re: memory managment and (its) protection under Linux
From: The Natural Philosop
Newsgroups: comp.os.linux.misc
Organization: A little, after lunch
Date: Fri, 23 Aug 2024 09:11 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Fri, 23 Aug 2024 10:11:44 +0100
Organization: A little, after lunch
Lines: 51
Message-ID: <va9joh$s0gf$1@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me> <va2n6n$3fs69$1@dont-email.me>
<1SGdnStv4NVv9Vj7nZ2dnZfqn_udnZ2d@earthlink.com>
<va4dkl$3qlqh$1@dont-email.me>
<slrnvcf68t.td1s.candycanearter07@candydeb.host.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 23 Aug 2024 11:11:45 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="830a9b0a58bf929beb28992de599aaf9";
logging-data="918031"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18YxNX5Cnpi1bBEYwoFOnNswYIK/iW28Lo="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:cMs/J/lL9vH8ZV0CExoawLL04vI=
In-Reply-To: <slrnvcf68t.td1s.candycanearter07@candydeb.host.invalid>
Content-Language: en-GB
View all headers

On 22/08/2024 21:10, candycanearter07 wrote:
> The Natural Philosopher <tnp@invalid.invalid> wrote at 09:56 this Wednesday (GMT):
>> On 21/08/2024 05:11, 186282@ud0s4.net wrote:
>>> On 8/20/24 2:27 PM, The Natural Philosopher wrote:
>>>> On 20/08/2024 14:09, MarioCCCP wrote:
>>>>>
>>>>> partially OT : programming task
>>>>> Scenario : Debian Bookworm, XFCE4
>>>>> Very often GUI programs show their results in the form of ListBoxes,
>>>>> whose content is mainly textual semantically, but very often cannot
>>>>> be copied/pasted as text and neither is easy to export as text. I
>>>>> have one case in FreeFileSync, that shows lists of files upwards of
>>>>> 500'000 items, and other deduplicators programs.
>>>>> I am having a general curiosity about this problem in linux.
>>>>> Can a root user access, in read only mode, to memory associated to
>>>>> another (plain user mode) process ? Or the outcome is invariably a
>>>>> seg_fault ? Has a root user the right to inquire the memory of non
>>>>> root programs ?
>>>> I believe not.
>>>> In such cases it is usual to write a daemon to handle *all* requests.
>>>>
>>>>   I am not speaking about disk files, but specifically in
>>>>> physical memory
>>>>
>>>> Well thereby hangs a tale. In fact i deliberately created a RAMDISK in
>>>> one application purely to handle communications between synchronous
>>>> processes.
>>>>
>>>> One process writes it, others may read
>>>
>>>   In many Linux distros now, /tmp is a de-facto
>>>   ramdisk - all disappears on reboot. IF you have
>>>   the space in your / partition then you need not
>>>   specifically create a NEW ramdisk to achieve the
>>>   effect.
>>>
>> Not /tmp oddly, but various other stuff like /run is, yes.
>
>
> Even if it's not a ramdisk by default, you could still easily set it up
> as one in your fstab

Indeed. But unwilling to disturb stuff that already was working fine, I
created mine under /volatile, to remind me it would vanish on reboot.

--
"Nature does not give up the winter because people dislike the cold."

― Confucius

Subject: Re: memory managment and (its) protection under Linux
From: David De La Harpe Go
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 23 Aug 2024 13:42 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david@harpegolden.net (David De La Harpe Golden)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Fri, 23 Aug 2024 14:42:02 +0100
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <vaa3jd$u84m$1@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me> <va2n6n$3fs69$1@dont-email.me>
<1SGdnStv4NVv9Vj7nZ2dnZfqn_udnZ2d@earthlink.com>
<va4dkl$3qlqh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 23 Aug 2024 15:42:05 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="60fa41b7fc0ee9f03b16df57e7733ba7";
logging-data="991382"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fh2tPApIloGmWouOK4ZquMe0u6XDSbZVihWG2K+jXbQ=="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:EN/xIrSeRyY9HoLq2xOLWed0k5k=
In-Reply-To: <va4dkl$3qlqh$1@dont-email.me>
Content-Language: en-US
View all headers

On 21/08/2024 10:56, The Natural Philosopher wrote:
> On 21/08/2024 05:11, 186282@ud0s4.net wrote:
>>
>>    In many Linux distros now, /tmp is a de-facto
>>    ramdisk - all disappears on reboot. IF you have
>>    the space in your / partition then you need not
>>    specifically create a NEW ramdisk to achieve the
>>    effect.
>>
> Not /tmp oddly, but various other stuff like /run is, yes.
>

Well, currently just varies distro to distro what the defaults are. e.g.

Debian 12 stable ("bookworm") and various Debian downstreams are still
on-disk /tmp by default (of course you can already put it in ram if you
want to).

However, was recentish (May/Jun 2024) news that future Debian 13
("trixie") will move to tmpfs (ram) /tmp by default [1][2]. Can expect
it to propagate to Debian downstream Ubuntu etc. too [3].

It's already been changed to use the systemd tmp.mount [4] for tmpfs
(ram) /tmp in debian unstable ("sid") [5]

[1] https://lwn.net/Articles/975565/
[2]
https://www.reddit.com/r/debian/comments/1d8swux/debian_13_is_changing_the_tmp_behavior/
[3] https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1870585
[4] https://github.com/systemd/systemd/blob/main/units/tmp.mount

[5]
https://metadata.ftp-master.debian.org/changelogs//main/s/systemd/systemd_256.5-1_changelog

> -- Luca Boccassi <bluca@debian.org> Tue, 28 May 2024 12:11:36 +0100
>
> systemd (256~rc3-3) unstable; urgency=medium
> [...]
> * Make /tmp/ a tmpfs by default. Restore the upstream default
> and make /tmp/ a tmpfs. Can be overridden with: touch
> /etc/systemd/system/tmp.mount or: systemctl mask tmp.mount
>

Subject: Re: memory managment and (its) protection under Linux
From: MarioCCCP
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 23 Aug 2024 17:27 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCCCP)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Fri, 23 Aug 2024 19:27:05 +0200
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <vaagp9$1034d$2@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me> <va2n6n$3fs69$1@dont-email.me>
<1SGdnStv4NVv9Vj7nZ2dnZfqn_udnZ2d@earthlink.com>
<va4dkl$3qlqh$1@dont-email.me>
<slrnvcf68t.td1s.candycanearter07@candydeb.host.invalid>
<va9joh$s0gf$1@dont-email.me>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Fri, 23 Aug 2024 19:27:06 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1c3742765b28fdf3ea66917a56ccdf40";
logging-data="1051789"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DZUq5mxs4cNDd5/FAXtSO"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Dh8hT5gzqA+vpAzl+wNGYelxWcI=
Content-Language: en-GB, it-IT
In-Reply-To: <va9joh$s0gf$1@dont-email.me>
View all headers

On 23/08/24 11:11, The Natural Philosopher wrote:
> On 22/08/2024 21:10, candycanearter07 wrote:
>> The Natural Philosopher <tnp@invalid.invalid> wrote at
>> 09:56 this Wednesday (GMT):
>>> On 21/08/2024 05:11, 186282@ud0s4.net wrote:
>>>> On 8/20/24 2:27 PM, The Natural Philosopher wrote:
>>>>> On 20/08/2024 14:09, MarioCCCP wrote:
>>>>>>

the thread proceded on its own, but I was not asking about
how to chose a way to share anything at my will : I was
asking about how to "spy" upon AN EXISTING SW that very
likely uses RAM (whether or not it uses also disk caching I
dunno, even it is possible). I'd like to read its RAM, not
to search for cached info (named whatsoever).

>>>>>> partially OT : programming task
>>>>>> Scenario : Debian Bookworm, XFCE4
>>>>>> Very often GUI programs show their results in the form
>>>>>> of ListBoxes,
>>>>>> whose content is mainly textual semantically, but very
>>>>>> often cannot
>>>>>> be copied/pasted as text and neither is easy to export
>>>>>> as text. I
>>>>>> have one case in FreeFileSync, that shows lists of
>>>>>> files upwards of
>>>>>> 500'000 items, and other deduplicators programs.
>>>>>> I am having a general curiosity about this problem in
>>>>>> linux.
>>>>>> Can a root user access, in read only mode, to memory
>>>>>> associated to
>>>>>> another (plain user mode) process ? Or the outcome is
>>>>>> invariably a
>>>>>> seg_fault ? Has a root user the right to inquire the
>>>>>> memory of non
>>>>>> root programs ?
>>>>> I believe not.
>>>>> In such cases it is usual to write a daemon to handle
>>>>> *all* requests.
>>>>>
>>>>>    I am not speaking about disk files, but specifically in
>>>>>> physical memory
>>>>>
>>>>> Well thereby hangs a tale. In fact i deliberately
>>>>> created a RAMDISK in
>>>>> one application purely to handle communications between
>>>>> synchronous
>>>>> processes.
>>>>>
>>>>> One process writes it, others may read
>>>>
>>>>     In many Linux distros now, /tmp is a de-facto
>>>>     ramdisk - all disappears on reboot. IF you have
>>>>     the space in your / partition then you need not
>>>>     specifically create a NEW ramdisk to achieve the
>>>>     effect.
>>>>
>>> Not /tmp oddly, but various other stuff like /run is, yes.
>>
>>
>> Even if it's not a ramdisk by default, you could still
>> easily set it up
>> as one in your fstab
>
> Indeed. But unwilling to disturb stuff that already was
> working fine, I created mine under /volatile, to remind me
> it would vanish on reboot.
>
>
--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Subject: Re: memory managment and (its) protection under Linux
From: MarioCCCP
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 23 Aug 2024 17:35 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCCCP)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Fri, 23 Aug 2024 19:35:26 +0200
Organization: A noiseless patient Spider
Lines: 73
Message-ID: <vaah8u$1034d$3@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me> <va3fre$3iue9$9@dont-email.me>
<0RCdnVp-qYRi_1j7nZ2dnZfqn_qdnZ2d@earthlink.com>
<va3t8r$3ofmp$1@dont-email.me>
<LZqdnaQPYdWB4lj7nZ2dnZfqn_adnZ2d@earthlink.com>
<va42jc$3p75s$3@dont-email.me> <va63gc$2gvp$2@dont-email.me>
<sAudnZDJ37Qce1v7nZ2dnZfqn_ednZ2d@earthlink.com>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
Injection-Date: Fri, 23 Aug 2024 19:35:27 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1c3742765b28fdf3ea66917a56ccdf40";
logging-data="1051789"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/htOJIiKxojiGQuA68Zwg7"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:PVa8oYx5+3e5jCA5m4NSeJmJLmI=
In-Reply-To: <sAudnZDJ37Qce1v7nZ2dnZfqn_ednZ2d@earthlink.com>
Content-Language: en-GB, it-IT
View all headers

On 22/08/24 09:19, 186282@ud0s4.net wrote:
> On 8/21/24 9:15 PM, MarioCCCP wrote:
>> On 21/08/24 08:48, Lawrence D'Oliveiro wrote:
>>> On Wed, 21 Aug 2024 01:46:04 -0400, 186282@ud0s4.net wrote:
>>>
>>>> On 8/21/24 1:17 AM, Lawrence D'Oliveiro wrote:
>>>>
>>>>> On Tue, 20 Aug 2024 23:46:07 -0400, 186282@ud0s4.net
>>>>> wrote:
>>>>>
>>>>>> Basically, yer GUI app either does, or does not,
>>>>>> support cut-n-paste
>>>>>> and that's that.
>>>>>
>>>>> GUI apps do not typically support copy/paste of GUI
>>>>> actions or widget
>>>>> settings.
>>>>
>>>> Supporting that requires a LOT more effort.
>>>
>>> It can never be made to work efficiently or reliably.
>>>
>>>> But don't forget the later gens allergy to command
>>>> prompts ... they
>>>> just WON'T cope.
>>>
>>> Microsoft and Apple have spent years, decades,
>>> conditioning their users to
>>> be allergic to the command line.
>>
>> I don't agree with this point of view.
>> bidimensional / graphical interfaces, touch and pointers,
>> are intrinsically easier and more intuitive for MOST
>> humans (not saying users, but unformatted future users).
>> We are evolutionary projected to work like that. Some
>> firms have chosen to follow the users preference in this
>> case.
>> Amiga had one of the first gui interface, and is
>> universally considered a precursor
>
>   Hey, I don't disagree that GUIs are very NICE interfaces.
>   They're a LOT easier than the 'terminal' stuff I so
>   keenly remember. That's why they exist. It's why we
>   have telephones and TV rather than just Morse code.
>
>   But there are just some things they don't DO well.
FreeFileSync is a GUI program that does so well what it does
that I am willing to attach some extern piece of SW to
"extend" it further, in this case.
Meanwhile I am also writing from scratch some SW in Gambas
that would do what I lack in FreeFileSync (without the
ambition of being as much as general and versatile).
Gambas is, by chance, a GUI IDE :D
FreeFileSync is much faster in scanning and stat-ing
millions of files, not to say comparing timestamps.

>
>   Also, GUIs just can't provide the level of detailed
>   control you can get from most command-line utils.
that is surely true, but such level of control is out of my
capacity. If I absolutely need to control bits, I put hands
at Gambas or QT creator, bottom up.
Bash is really difficult to me. I have tried many times to
understand it, but I failed. So it's useless to complain
about this : i try more familiar approaches (I am well
accustomed with C and Basic, but in this case, requiring
unusual features, I lack the knowledge of the SYSTEM in itself).
>
>   M$, when absolutely needed, will provide cut-n-paste
>   stuff to enter in a command terminal. Otherwise ...
>
>   Joe/Jane User don't WANT to be "computer experts",
>   maybe just CAN'T. They just want stuff that's easy
>   to use and attractive.
>
>   There's an old joke about the professor who writes
>   some ten-line leader of super-complex math on the
>   old chalk-board and then says "So, OBVIOUSLY ..."
>
>   THAT is kinda how it is for 99 percent of computer
>   users. They can't/won't GET it - ever.
>
>   I can see this both ways. The 'real users' are in a
>   much better position, but they will always be the
>   very significant minority. Both factions 'deserve'
>   and need to use PCs. HOW to make it work for the
>   other 99 percent ???
>
>   GUIs for 'system stuff' need to be vastly IMPROVED.
>   GOTTA be able to get at the low-level stuff in a
>   way Joe/Jane can cope with.
>
>   SO far - even with Win - NOT EVEN CLOSE.
--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Subject: Re: memory managment and (its) protection under Linux
From: MarioCCCP
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 23 Aug 2024 17:38 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: NoliMihiFrangereMentulam@libero.it (MarioCCCP)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Fri, 23 Aug 2024 19:38:17 +0200
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <vaahe9$1034d$4@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me> <sm0r0ahrmzy.fsf@lakka.kapsi.fi>
Reply-To: MarioCCCP@CCCP.MIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 23 Aug 2024 19:38:18 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1c3742765b28fdf3ea66917a56ccdf40";
logging-data="1051789"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GyxgAzc46Ui7i2ZL1+eJO"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:3X3Iquzo95pO7PwrC9yk9Lza8/E=
In-Reply-To: <sm0r0ahrmzy.fsf@lakka.kapsi.fi>
Content-Language: en-GB, it-IT
View all headers

On 22/08/24 10:16, Anssi Saari wrote:
> MarioCCCP <NoliMihiFrangereMentulam@libero.it> writes:
>
>> partially OT : programming task
>> Scenario : Debian Bookworm, XFCE4
>> Very often GUI programs show their results in the form of ListBoxes,
>> whose content is mainly textual semantically, but very often cannot be
>> copied/pasted as text and neither is easy to export as text. I have
>> one case in FreeFileSync, that shows lists of files upwards of 500'000
>> items, and other deduplicators programs.
>
> I'm not sure what exactly is the problem you're having. You want to copy
> 500,000 file names out of FreeFileSync? But why?

to revise / analyze the results externally, also to save log
of errors and mangle them to compile scripts that would try
to resolve such errors (i.g. with higher privileges).

Also from deduplicators, very smart in finding duplicates,
I'd prefer to import the lists of candidates in extern
software written by myself (extending the options : ig.
instead to delete the copies, enable MOVING them elsewhere,
renaming with criteria, compressing, hardlinking and so).

--
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
MarioCPPP

Subject: Re: memory managment and (its) protection under Linux
From: Rich
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 23 Aug 2024 21:35 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: comp.os.linux.misc
Subject: Re: memory managment and (its) protection under Linux
Date: Fri, 23 Aug 2024 21:35:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <vaavb3$127g9$1@dont-email.me>
References: <va24hg$3cdd8$1@dont-email.me> <va2n6n$3fs69$1@dont-email.me> <1SGdnStv4NVv9Vj7nZ2dnZfqn_udnZ2d@earthlink.com> <va4dkl$3qlqh$1@dont-email.me> <slrnvcf68t.td1s.candycanearter07@candydeb.host.invalid> <va9joh$s0gf$1@dont-email.me> <vaagp9$1034d$2@dont-email.me>
Injection-Date: Fri, 23 Aug 2024 23:35:32 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ff44607c31d642431d45ced47300a242";
logging-data="1121801"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194D178Xi0NxMcAigkVlTzO"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:TkGPfMq43KyhYdsi3VXoEz+ZjwU=
View all headers

MarioCCCP <NoliMihiFrangereMentulam@libero.it> wrote:
> On 23/08/24 11:11, The Natural Philosopher wrote:
>> On 22/08/2024 21:10, candycanearter07 wrote:
>>> The Natural Philosopher <tnp@invalid.invalid> wrote at
>>> 09:56 this Wednesday (GMT):
>>>> On 21/08/2024 05:11, 186282@ud0s4.net wrote:
>>>>> On 8/20/24 2:27 PM, The Natural Philosopher wrote:
>>>>>> On 20/08/2024 14:09, MarioCCCP wrote:
>>>>>>>
>
> the thread proceded on its own, but I was not asking about
> how to chose a way to share anything at my will : I was
> asking about how to "spy" upon AN EXISTING SW that very
> likely uses RAM (whether or not it uses also disk caching I
> dunno, even it is possible). I'd like to read its RAM, not
> to search for cached info (named whatsoever).

We certianly can't stop you, but as at least one commenter indicated,
you are trying go at it the "wrong way". If you want a list of files,
use a proper tool (i.e., the 'find' command) to get a list of files.

But if you want to continue, feel free to do so, but you'll be falling
down a very deep rabbit hole within which you'll find multiple mazes of
twisty passages.

Pages:12

rocksolid light 0.9.8
clearnet tor