Re: [MSEide-MSEgui-talk] Components Palette

2023-06-04 Thread Fred van Stappen
Hello Med.

Are you talking about the Zeos components?
If you compile mseide, you need to add this parameter: "-dmse_with_zeoslib" at 
compilation to have the Zeos components installed in mseide palette.

If you use mseide binary from last release, Zeos components are added: 
https://github.com/mse-org/mseide-msegui/releases/tag/5.8.0

Fre;D


De : mohamed hamza 
Envoyé : dimanche 4 juin 2023 17:50
À : General list for MSEide+MSEgui 
Objet : [MSEide-MSEgui-talk] Components Palette

Hi Fred,

Components Palette are not the same between MseIde and ideU.
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] New release?

2023-06-04 Thread Fred van Stappen
Hello Vasi and everybody.

OK done.  All seems fixed, graphic, directory and file access, error at closing.
Tested also memory leak for mseide and ideU: 0 memory leak. (with last commit).

Ready to be tested!

It was a nice battle.

Fre;D


De : vasi vasi 
Envoyé : dimanche 4 juin 2023 16:24
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Wow! Amazing job man! Ha ha!
Congratulations! You checked one more operating system for msegui and ideU!

On Sun, Jun 4, 2023 at 5:49 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi.

OK the fully workable solution found!
readdir_r() is in the pocked (ok last commit ).

https://github.com/mse-org/mseide-msegui/assets/3421249/a8180cc9-e65f-4a05-a2c1-e9de4b3e160a

https://github.com/mse-org/mseide-msegui/assets/3421249/813bd25c-5f93-4130-8bb2-9249f19e89da

Yep!

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 3 juin 2023 16:56
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

I intend to use that as well... one day we might find a fully workable 
solution...

On Sat, Jun 3, 2023 at 2:40 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

ideU compiles and works ok.
https://github.com/mse-org/mseide-msegui/assets/3421249/1d68e8bb-1fa0-40e2-9849-52fc534bda16

Of course the file-dialog does not work but if you write the complete path of a 
project, it loads and you can use the ide.

So there is only that readdir_r() method that makes shadow, I hope that some 
light will appear...

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : vendredi 2 juin 2023 23:58
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Thank you Fred, your effort is greatly appreciated! I am happy with what you 
did already!
Thank you again!

On Fri, Jun 2, 2023 at 11:49 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi.

I did spent some white night and black afternoon but I am blocked with one 
method that does not work as expected.

It is function "sys_readdirstream(var stream: dirstreamty; var info: 
fileinfoty): boolean"  in /kernel/linux/msesysintf.pas.
With Linux and FreeBSD, after the function 
"readdir64_r(pdir(d.dir),@dirent,@po1) = 0" the dirent.d_name is correct but 
there is nothing with OpenBSD.

Note that with OpenBSD it is "readdir_r" method that is used from libc and the 
"dirent" record was adapted like in OpenBSD manual.

So, to resume, all is working apart for components that use  
"sys_readdirstream()" method, for example the filedialog component.

I did try also with last fpc 3.3.1 compiled from trunk, without better result.

I have to admit that, sadly, I did not find the solution.

Fre;D

;-(


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : jeudi 1 juin 2023 11:48
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

I will test it in around one hour, and keep you posted.

On Thu, Jun 1, 2023 at 3:40 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-..._re hello Vasi.

Yep, on OpenBSD, mseide compiles, links and ... run!

Last commit should do the trick.

Here sceenshot ( the last for tonight ):
https://github.com/mse-org/mseide-msegui/assets/3421249/3ff71e23-396a-472a-a34e-083a37284cab

Fre;D

De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mercredi 31 mai 2023 19:50
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

* meant to say /etc as destination for the doas.conf file...

On Wed, May 31, 2023 at 8:48 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
There is no binary compatibility between FreeBSD and OpenBSD... none of  the 
*BSDs are compatible.
Lazarus gets compiled from sources using the fpc from OpenBSD repos...
To get root access, your user must be member of wheel and control groups. 
Instead of sudo, you use doas.
To activate doas, you have to create a doas.conf in /et with the following 
content (a single line):

permit persist :wheel

I doubt you will solve it, it is too much work. Right now, I am ok with 
Lazarus. Thank you Fred, is not an emergency. OpenBSD as an workstation is 
extremely restrictive and kinda slow compared to even FreeBSD, not talking 
about linux. THank you again but I will advise not to pursue it further.

The most annoying thing for me is that I am unable to run apps compiled in 
clang that uses GLFW library... lots of crashes... raylib and nanovg graphic 
libraries that uses GL are a no-no :(   I had more success in FreeBSD and 
NetBSD overall.

Re: [MSEide-MSEgui-talk] Components Palette

2023-06-04 Thread Fred van Stappen
Hello Med.

To add a custom component in palette (from Martin readme.md):

  *   Create a register unit for your components (see 
'apps/myide/regmycomps.pas' for an example).
  *   Enter the unitname followed by a comma ('myregunit,' if your regunitfile 
is 'myregunit.pas') in a file named 'regcomponents.inc'.
  *   Build the IDE with -dmorecomponents as option.

So, for ideU add in uses section of /ideU/src/main.pas the unit of your 
reg-component and add the name of the component in /ideU/src/regcomponents.inc.
Compile with -dmorecomponents parameter.

I hope it helps.

Fre;D




De : mohamed hamza 
Envoyé : dimanche 4 juin 2023 18:06
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] Components Palette

No. I mean that my components are not shown in the palette.

De : Fred van Stappen 
Envoyé : dimanche 4 juin 2023 16:02
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] Components Palette

Hello Med.

Are you talking about the Zeos components?
If you compile mseide, you need to add this parameter: "-dmse_with_zeoslib" at 
compilation to have the Zeos components installed in mseide palette.

If you use mseide binary from last release, Zeos components are added: 
https://github.com/mse-org/mseide-msegui/releases/tag/5.8.0

Fre;D


De : mohamed hamza 
Envoyé : dimanche 4 juin 2023 17:50
À : General list for MSEide+MSEgui 
Objet : [MSEide-MSEgui-talk] Components Palette

Hi Fred,

Components Palette are not the same between MseIde and ideU.
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] New release?

2023-06-07 Thread Fred van Stappen
Hello Vasi.

So happy that it works for you (and to finish the fight)!
Of course it could be that some problems appear but after deed test of mseide 
and ideU, I dont find one.

For DragonFly, my biggest problem is that I cannot make the keyboard work with 
Xorg.
After boot the keyboard and mouse work but after run startx, mouse is still 
working but not the keyboard.
So I cannot test fpc gui applications.

I did try many, many things, lot of surf in internet but no solution to make 
the keyboard work.
I did try with VMWare and VitrualBox on Linux but always same result with Xorg, 
no keyboard.
I even try on Windows and VMWare but no way, no keyboard.

Maybe I will find a trick but now I must give up (before to become totally 
crazy).

Thanks Vasi for your tests and encouragment.

Fre;D



De : vasi vasi 
Envoyé : jeudi 8 juin 2023 00:09
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Hi Fred,
Tested my project, all errors reported are gone (one was a false error, caused 
by my wrong logic).
So, for now, all good!
Great job, man! In such a short time, you made it OpenBSD compatible!
Congratulations again!

I'll report if there are more problems. I'll play with it more, as I have also 
some C-language projects that I have to test (raylib C library has problems as 
it depends of a github development version of glfw that is not yet ported to 
OpenBSD so I need to adapt raylib to use freeglut, but not a pascal problem, 
unless I start writing it in pascal instead) ... but I'm tempted to jump on 
NetBSD... maybe no need to rush yet as I don't have space for virtual machines, 
and that means to wipe OpenBSD to make room for the other...
Oh well, I'm glad msegui is here now, as it deserves to be.

On Wed, Jun 7, 2023 at 11:02 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Thank you Fred, can't wait to test it in my project!

On Wed, Jun 7, 2023 at 7:50 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi.

In last commit, attributes of files are fixed when using copyfile().
And so the backup files too.



Fre;D

De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mardi 6 juin 2023 12:29
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Another thing... mseide editor saves a backup for the current file you edit, 
right? But messes up the attributes of the file (if not intended):
It sets the Owner's access to none, the Group's access to none and the Others' 
access to none but sets the executable attribute for Others.

Screenshots are here: 
https://drive.google.com/drive/folders/1qISDiI373EwRxTrx4a51dSMVGGSqw_qi?usp=drive_link

for both subjects, in case the previous message (with the symlink to folder 
missing from combobox folder list) is held for moderation...


On Mon, Jun 5, 2023 at 11:34 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:

Hello Vasi.

> Ok, really quick, the symlinks to folders do not appear in the list of 
> comboboxes that show lists of folders
Hum, I dont catch something because here the file-listbox works, with icons for 
all folders.
https://github.com/mse-org/mseide-msegui/assets/3421249/168a4814-21c2-46fe-b257-4f7f1dceaf98

> And once you create a new folder the app can't find it to refresh its list of 
> folders...  -
Re-hum also this one works here. But sure I miss something once again.
Anyway in last commit was defined class_bridge to use classes.pas from fpc 
instead of mclasses.pas.
Like needed for compiling BGRABimap application.  Maybe it will help.

> - DragonFlyBSD (preffered as a file and database server but with great 
> performance also in graphics)
> - NetBSD (used on old and odd equipment but also in Universities - one of my 
> favorite along DragonFlyBSD).

OK, sold, I will see if I can find time*energy for those too. ;-)

Many thanks Vasi for all those clear explanation.

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : lundi 5 juin 2023 19:59
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Look at BSD as a last standing fortress, if Linux will fall to the 
Corporations... And by that I mean completely controlled by them. Or look at 
BSD like investing in your retirement plan. And I'm done :)

On Mon, Jun 5, 2023 at 8:41 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Now, about the differences between FreeBSD and OpenBSD. The first thing that 
jumps at you is the difference in performance which is in FreeBSD's favor. 
FreeBSD has a better support for SMP than OpenBSD. But it is more vulnerable in 
terms of security. There is HardenedBSD which is a port of FreeBSD but with 
hardened kernel. On top of HardenedBSD, is built a great firewall named pfSense 
(these three are binar

Re: [MSEide-MSEgui-talk] New release?

2023-06-05 Thread Fred van Stappen
Re hello Vasi.

Because the only way I have (for the moment) to download files is via "git 
clone", I can create a new github project with some test applications.
So you are welcome to show me some test aplications that have problems and I 
will add it.

A other way should be that you show me some problem-demos from 
https://github.com/mse-org/mseuniverse
I can do a "git clone" of it and test the applications with problems.

But cool, there is no hurry and summer is coming.



Fre;D


De : vasi vasi 
Envoyé : lundi 5 juin 2023 15:00
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Hi Fred,

There are a few more problems regarding folders, but I won't tell you until you 
have some more time for this, is not an emergency, I'm also working on other 
projects...

Plus, a message, about an access violation that does not visibly affect the 
functionality of mseide...

On Sun, Jun 4, 2023 at 9:08 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Thank you Fred, I will check it this night!

On Sun, Jun 4, 2023 at 9:06 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi and everybody.

OK done.  All seems fixed, graphic, directory and file access, error at closing.
Tested also memory leak for mseide and ideU: 0 memory leak. (with last commit).

Ready to be tested!

It was a nice battle.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : dimanche 4 juin 2023 16:24
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Wow! Amazing job man! Ha ha!
Congratulations! You checked one more operating system for msegui and ideU!

On Sun, Jun 4, 2023 at 5:49 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi.

OK the fully workable solution found!
readdir_r() is in the pocked (ok last commit ).

https://github.com/mse-org/mseide-msegui/assets/3421249/a8180cc9-e65f-4a05-a2c1-e9de4b3e160a

https://github.com/mse-org/mseide-msegui/assets/3421249/813bd25c-5f93-4130-8bb2-9249f19e89da

Yep!

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 3 juin 2023 16:56
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

I intend to use that as well... one day we might find a fully workable 
solution...

On Sat, Jun 3, 2023 at 2:40 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

ideU compiles and works ok.
https://github.com/mse-org/mseide-msegui/assets/3421249/1d68e8bb-1fa0-40e2-9849-52fc534bda16

Of course the file-dialog does not work but if you write the complete path of a 
project, it loads and you can use the ide.

So there is only that readdir_r() method that makes shadow, I hope that some 
light will appear...

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : vendredi 2 juin 2023 23:58
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Thank you Fred, your effort is greatly appreciated! I am happy with what you 
did already!
Thank you again!

On Fri, Jun 2, 2023 at 11:49 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi.

I did spent some white night and black afternoon but I am blocked with one 
method that does not work as expected.

It is function "sys_readdirstream(var stream: dirstreamty; var info: 
fileinfoty): boolean"  in /kernel/linux/msesysintf.pas.
With Linux and FreeBSD, after the function 
"readdir64_r(pdir(d.dir),@dirent,@po1) = 0" the dirent.d_name is correct but 
there is nothing with OpenBSD.

Note that with OpenBSD it is "readdir_r" method that is used from libc and the 
"dirent" record was adapted like in OpenBSD manual.

So, to resume, all is working apart for components that use  
"sys_readdirstream()" method, for example the filedialog component.

I did try also with last fpc 3.3.1 compiled from trunk, without better result.

I have to admit that, sadly, I did not find the solution.

Fre;D

;-(


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : jeudi 1 juin 2023 11:48
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

I will test it in around one hour, and keep you posted.

On Thu, Jun 1, 2023 at 3:40 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-..._re hello Vasi.

Yep, on OpenBSD, mseide compiles, links and ... run!

Last commit should do the trick.

Here sceenshot ( the last for tonight ):
https://github.com/mse-org/mseide-msegui/assets/3421249/3ff71e23-396a-472a-a34e-083a37284cab

Fre;D

De : vasi vasi mailto:funl...@gmail.com>>

Re: [MSEide-MSEgui-talk] New release?

2023-06-05 Thread Fred van Stappen
Hello Vasi.

Ha, ok, I did only test mseide and ideU ( but i agree not deeply ).
With my VMware, I am not able to use usb stick, luckily git clone is working.
But I did not find a way to upload files, with internet it refuses.
So if one day we have a working OpenBSD mseide/ideU, maybe you could 
upload/save on usb those releases after compiling on your system (if you can 
upload or save to usb stick, of course).

Maybe, because we are still hot, could you give the errors you get and with 
what program?
I am also hyper busy but I prefer to know was it wrong now to be ready to fix 
when I find time.

Note too that there are very few infos about OpenBSD, so it is not so easy to 
find solution.
By the way what are the advantage of OpenBSD vs FreeBSD ?

Thanks.

Fre;D



De : vasi vasi 
Envoyé : lundi 5 juin 2023 15:00
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Hi Fred,

There are a few more problems regarding folders, but I won't tell you until you 
have some more time for this, is not an emergency, I'm also working on other 
projects...

Plus, a message, about an access violation that does not visibly affect the 
functionality of mseide...

On Sun, Jun 4, 2023 at 9:08 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Thank you Fred, I will check it this night!

On Sun, Jun 4, 2023 at 9:06 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi and everybody.

OK done.  All seems fixed, graphic, directory and file access, error at closing.
Tested also memory leak for mseide and ideU: 0 memory leak. (with last commit).

Ready to be tested!

It was a nice battle.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : dimanche 4 juin 2023 16:24
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Wow! Amazing job man! Ha ha!
Congratulations! You checked one more operating system for msegui and ideU!

On Sun, Jun 4, 2023 at 5:49 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi.

OK the fully workable solution found!
readdir_r() is in the pocked (ok last commit ).

https://github.com/mse-org/mseide-msegui/assets/3421249/a8180cc9-e65f-4a05-a2c1-e9de4b3e160a

https://github.com/mse-org/mseide-msegui/assets/3421249/813bd25c-5f93-4130-8bb2-9249f19e89da

Yep!

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : samedi 3 juin 2023 16:56
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

I intend to use that as well... one day we might find a fully workable 
solution...

On Sat, Jun 3, 2023 at 2:40 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

ideU compiles and works ok.
https://github.com/mse-org/mseide-msegui/assets/3421249/1d68e8bb-1fa0-40e2-9849-52fc534bda16

Of course the file-dialog does not work but if you write the complete path of a 
project, it loads and you can use the ide.

So there is only that readdir_r() method that makes shadow, I hope that some 
light will appear...

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : vendredi 2 juin 2023 23:58
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Thank you Fred, your effort is greatly appreciated! I am happy with what you 
did already!
Thank you again!

On Fri, Jun 2, 2023 at 11:49 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi.

I did spent some white night and black afternoon but I am blocked with one 
method that does not work as expected.

It is function "sys_readdirstream(var stream: dirstreamty; var info: 
fileinfoty): boolean"  in /kernel/linux/msesysintf.pas.
With Linux and FreeBSD, after the function 
"readdir64_r(pdir(d.dir),@dirent,@po1) = 0" the dirent.d_name is correct but 
there is nothing with OpenBSD.

Note that with OpenBSD it is "readdir_r" method that is used from libc and the 
"dirent" record was adapted like in OpenBSD manual.

So, to resume, all is working apart for components that use  
"sys_readdirstream()" method, for example the filedialog component.

I did try also with last fpc 3.3.1 compiled from trunk, without better result.

I have to admit that, sadly, I did not find the solution.

Fre;D

;-(


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : jeudi 1 juin 2023 11:48
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

I will test it in around one hour, and keep you posted.

On Thu, Jun 1, 2023 at 3:40 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-..._re hello Vasi.


Re: [MSEide-MSEgui-talk] New release?

2023-06-06 Thread Fred van Stappen
Hello Vasi.

Ha, ok, I see, indeed there was problem with the symlinks.
It is fixed in last commit.

Screeshots:

https://github.com/mse-org/mseide-msegui/assets/3421249/3c84c256-6c85-4c59-8ea8-42750d11d929

https://github.com/mse-org/mseide-msegui/assets/3421249/067c81f0-0625-4f27-93ff-d5ff9c728290

For the problem with file-permission of the backup file, strange indeed.
Did you check if it does the same when saving the files of the project?
I will jump into this asap.

Fre;D


De : vasi vasi 
Envoyé : mardi 6 juin 2023 11:38
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Oops, sent themail with image attached and now is held on moderation ... now, 
the message again, with link to my google driver for the image attachement... 
Message was:


In my home folder, I have a symlink to /usr/local (where gcc-none-eabi is 
installed) named gcc-arm. This symlink does not appear in the list of folders 
of my combobox... image attached. In image, the Midnight Commander shows the 
symlink gcc-arm, and in msegui app does not appear, although, if full path is 
specified, things are working.

https://drive.google.com/file/d/13Ko1ZeRvK6FGc0NPWIDdDHfP7iLU17EL/view?usp=drive_link



On Tue, Jun 6, 2023 at 10:50 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
In my home folder, I have a symlink to /usr/local (where gcc-none-eabi is 
installed) named gcc-arm. This symlink does not appear in the list of folders 
of my combobox... image attached. In image, the Midnight Commander shows the 
symlink gcc-arm, and in msegui app does not appear, although, if full path is 
specified, things are working.



On Mon, Jun 5, 2023 at 11:34 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:

Hello Vasi.

> Ok, really quick, the symlinks to folders do not appear in the list of 
> comboboxes that show lists of folders
Hum, I dont catch something because here the file-listbox works, with icons for 
all folders.
https://github.com/mse-org/mseide-msegui/assets/3421249/168a4814-21c2-46fe-b257-4f7f1dceaf98

> And once you create a new folder the app can't find it to refresh its list of 
> folders...  -
Re-hum also this one works here. But sure I miss something once again.
Anyway in last commit was defined class_bridge to use classes.pas from fpc 
instead of mclasses.pas.
Like needed for compiling BGRABimap application.  Maybe it will help.

> - DragonFlyBSD (preffered as a file and database server but with great 
> performance also in graphics)
> - NetBSD (used on old and odd equipment but also in Universities - one of my 
> favorite along DragonFlyBSD).

OK, sold, I will see if I can find time*energy for those too. ;-)

Many thanks Vasi for all those clear explanation.

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : lundi 5 juin 2023 19:59
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Look at BSD as a last standing fortress, if Linux will fall to the 
Corporations... And by that I mean completely controlled by them. Or look at 
BSD like investing in your retirement plan. And I'm done :)

On Mon, Jun 5, 2023 at 8:41 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Now, about the differences between FreeBSD and OpenBSD. The first thing that 
jumps at you is the difference in performance which is in FreeBSD's favor. 
FreeBSD has a better support for SMP than OpenBSD. But it is more vulnerable in 
terms of security. There is HardenedBSD which is a port of FreeBSD but with 
hardened kernel. On top of HardenedBSD, is built a great firewall named pfSense 
(these three are binary compatible) - excellent, in my opinion. Another early 
port of FreeBSD happened to be DragonFlyBSD, which is now his worthy rival, 
both in terms of SMP and file system. DragonFlyBSD has a file system as secure 
as Ext4 or XFS but with features similar to ZFS and its target is to make ZFS 
obsolete. Is no longer binary compatible with FreeBSD

But back to OpenBSD, it is the most secure operating system in the world, with 
all defaults oriented to security. I think from their developers we have 
OpenSSH... They are pioneering in security stuff. And I think it evolved from 
NetBSD which NetBSD is known for its amazing portability...  But they are no 
longer binary compatible.

To sum, There are 4 main BSD operating systems:
- FreeBSD (with derivatives as HardenedBSD and pfSense and NomadBSD; It is 
considered good at everything, better than all, but bloated, insecure)
- DragonFlyBSD (preffered as a file and database server but with great 
performance also in graphics)
- OpenBSD (also firewall oriented but preferred by many as a secure workstation)
- NetBSD (used on old and odd equipment but also in Universities - one of my 
favorite along DragonFlyBSD).

With their own specific but not binary compatibility between them. Th

Re: [MSEide-MSEgui-talk] New release?

2023-06-05 Thread Fred van Stappen

Hello Vasi.

> Ok, really quick, the symlinks to folders do not appear in the list of 
> comboboxes that show lists of folders
Hum, I dont catch something because here the file-listbox works, with icons for 
all folders.
https://github.com/mse-org/mseide-msegui/assets/3421249/168a4814-21c2-46fe-b257-4f7f1dceaf98

> And once you create a new folder the app can't find it to refresh its list of 
> folders...  -
Re-hum also this one works here. But sure I miss something once again.
Anyway in last commit was defined class_bridge to use classes.pas from fpc 
instead of mclasses.pas.
Like needed for compiling BGRABimap application.  Maybe it will help.

> - DragonFlyBSD (preffered as a file and database server but with great 
> performance also in graphics)
> - NetBSD (used on old and odd equipment but also in Universities - one of my 
> favorite along DragonFlyBSD).

OK, sold, I will see if I can find time*energy for those too. ;-)

Many thanks Vasi for all those clear explanation.

Fre;D



De : vasi vasi 
Envoyé : lundi 5 juin 2023 19:59
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Look at BSD as a last standing fortress, if Linux will fall to the 
Corporations... And by that I mean completely controlled by them. Or look at 
BSD like investing in your retirement plan. And I'm done :)

On Mon, Jun 5, 2023 at 8:41 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Now, about the differences between FreeBSD and OpenBSD. The first thing that 
jumps at you is the difference in performance which is in FreeBSD's favor. 
FreeBSD has a better support for SMP than OpenBSD. But it is more vulnerable in 
terms of security. There is HardenedBSD which is a port of FreeBSD but with 
hardened kernel. On top of HardenedBSD, is built a great firewall named pfSense 
(these three are binary compatible) - excellent, in my opinion. Another early 
port of FreeBSD happened to be DragonFlyBSD, which is now his worthy rival, 
both in terms of SMP and file system. DragonFlyBSD has a file system as secure 
as Ext4 or XFS but with features similar to ZFS and its target is to make ZFS 
obsolete. Is no longer binary compatible with FreeBSD

But back to OpenBSD, it is the most secure operating system in the world, with 
all defaults oriented to security. I think from their developers we have 
OpenSSH... They are pioneering in security stuff. And I think it evolved from 
NetBSD which NetBSD is known for its amazing portability...  But they are no 
longer binary compatible.

To sum, There are 4 main BSD operating systems:
- FreeBSD (with derivatives as HardenedBSD and pfSense and NomadBSD; It is 
considered good at everything, better than all, but bloated, insecure)
- DragonFlyBSD (preffered as a file and database server but with great 
performance also in graphics)
- OpenBSD (also firewall oriented but preferred by many as a secure workstation)
- NetBSD (used on old and odd equipment but also in Universities - one of my 
favorite along DragonFlyBSD).

With their own specific but not binary compatibility between them. There are 
more, but these are the main reference.

When you develop a Linux app and say that it is crossplatform, and works on 
BSD, you refer  to the fact that your app can compile and run on all these four 
BSDs. All have fpc ported to them, thanks to the fpc team Lazarus compiles 
also ok.

Of course, there is more to say for each of them, but I'm not the qualified  
person to do that...
Hopefully, I did not confuse you even more... :P

On Mon, Jun 5, 2023 at 8:06 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Ok, really quick, the symlinks to folders do not appear in the list of 
comboboxes that show lists of folders - from memory. I am now on another 
computer...

And once you create a new folder the app can't find it to refresh its list of 
folders...  - this one I did not studied it in depth... It will see it after a 
restart but I will describe it better with another occasion...

It is about a project that I started under Linux and there works ok. It uses 
the components from the palette, nothing new created.  I will try to make a 
demo, and create a repository for you but when time permits.

On Mon, Jun 5, 2023 at 5:47 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re hello Vasi.

Because the only way I have (for the moment) to download files is via "git 
clone", I can create a new github project with some test applications.
So you are welcome to show me some test aplications that have problems and I 
will add it.

A other way should be that you show me some problem-demos from 
https://github.com/mse-org/mseuniverse
I can do a "git clone" of it and test the applications with problems.

But cool, there is no hurry and summer is coming.



Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : lundi 5 juin 2023 15:00
À : General lis

Re: [MSEide-MSEgui-talk] New release?

2023-06-06 Thread Fred van Stappen
Hello Vasi.

In last commit, attributes of files are fixed when using copyfile().
And so the backup files too.



Fre;D

De : vasi vasi 
Envoyé : mardi 6 juin 2023 12:29
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Another thing... mseide editor saves a backup for the current file you edit, 
right? But messes up the attributes of the file (if not intended):
It sets the Owner's access to none, the Group's access to none and the Others' 
access to none but sets the executable attribute for Others.

Screenshots are here: 
https://drive.google.com/drive/folders/1qISDiI373EwRxTrx4a51dSMVGGSqw_qi?usp=drive_link

for both subjects, in case the previous message (with the symlink to folder 
missing from combobox folder list) is held for moderation...


On Mon, Jun 5, 2023 at 11:34 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:

Hello Vasi.

> Ok, really quick, the symlinks to folders do not appear in the list of 
> comboboxes that show lists of folders
Hum, I dont catch something because here the file-listbox works, with icons for 
all folders.
https://github.com/mse-org/mseide-msegui/assets/3421249/168a4814-21c2-46fe-b257-4f7f1dceaf98

> And once you create a new folder the app can't find it to refresh its list of 
> folders...  -
Re-hum also this one works here. But sure I miss something once again.
Anyway in last commit was defined class_bridge to use classes.pas from fpc 
instead of mclasses.pas.
Like needed for compiling BGRABimap application.  Maybe it will help.

> - DragonFlyBSD (preffered as a file and database server but with great 
> performance also in graphics)
> - NetBSD (used on old and odd equipment but also in Universities - one of my 
> favorite along DragonFlyBSD).

OK, sold, I will see if I can find time*energy for those too. ;-)

Many thanks Vasi for all those clear explanation.

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : lundi 5 juin 2023 19:59
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Look at BSD as a last standing fortress, if Linux will fall to the 
Corporations... And by that I mean completely controlled by them. Or look at 
BSD like investing in your retirement plan. And I'm done :)

On Mon, Jun 5, 2023 at 8:41 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Now, about the differences between FreeBSD and OpenBSD. The first thing that 
jumps at you is the difference in performance which is in FreeBSD's favor. 
FreeBSD has a better support for SMP than OpenBSD. But it is more vulnerable in 
terms of security. There is HardenedBSD which is a port of FreeBSD but with 
hardened kernel. On top of HardenedBSD, is built a great firewall named pfSense 
(these three are binary compatible) - excellent, in my opinion. Another early 
port of FreeBSD happened to be DragonFlyBSD, which is now his worthy rival, 
both in terms of SMP and file system. DragonFlyBSD has a file system as secure 
as Ext4 or XFS but with features similar to ZFS and its target is to make ZFS 
obsolete. Is no longer binary compatible with FreeBSD

But back to OpenBSD, it is the most secure operating system in the world, with 
all defaults oriented to security. I think from their developers we have 
OpenSSH... They are pioneering in security stuff. And I think it evolved from 
NetBSD which NetBSD is known for its amazing portability...  But they are no 
longer binary compatible.

To sum, There are 4 main BSD operating systems:
- FreeBSD (with derivatives as HardenedBSD and pfSense and NomadBSD; It is 
considered good at everything, better than all, but bloated, insecure)
- DragonFlyBSD (preffered as a file and database server but with great 
performance also in graphics)
- OpenBSD (also firewall oriented but preferred by many as a secure workstation)
- NetBSD (used on old and odd equipment but also in Universities - one of my 
favorite along DragonFlyBSD).

With their own specific but not binary compatibility between them. There are 
more, but these are the main reference.

When you develop a Linux app and say that it is crossplatform, and works on 
BSD, you refer  to the fact that your app can compile and run on all these four 
BSDs. All have fpc ported to them, thanks to the fpc team Lazarus compiles 
also ok.

Of course, there is more to say for each of them, but I'm not the qualified  
person to do that...
Hopefully, I did not confuse you even more... :P

On Mon, Jun 5, 2023 at 8:06 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Ok, really quick, the symlinks to folders do not appear in the list of 
comboboxes that show lists of folders - from memory. I am now on another 
computer...

And once you create a new folder the app can't find it to refresh its list of 
folders...  - this one I did not studied it in depth... It will see it after a 
resta

Re: [MSEide-MSEgui-talk] New release?

2023-06-10 Thread Fred van Stappen
Re-hello Vasi.

Ooops, sorry I did only read your first line, I did not see there was a follow.

About the reboots, I my case, for testing msegui, I needed lot of reboot!

This because at beginning, nothing was working and when finally the compilation 
was ok, running the ide crashed the system.
So boot needed but, because of the "su" bug (that I did not know), I could not 
login after boot and must reinstall all the system.
 And retesting the mseide binary after some change (and using the "su" with 
Xorg console) still crash, so reboot, without working login, --> reinstall the 
os, retest, recrash, reinstall, retest, recrash, ... untill I found the guitly: 
"su" in Xorg console.

Now it is ok, if I have a crash, I can reboot without the need to reinstall all 
because I use "su" in shell-terminal of the system.

Fre;D


De : vasi vasi 
Envoyé : dimanche 11 juin 2023 01:22
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Actually, won't help to create a user as part of wheel group, having admin 
rights and using just sudo or doas? Can'r wait to install it... Last time, I 
did not had such problems... but it was a different computer...

Thanks for the movie, Fred.

On Sun, Jun 11, 2023 at 1:13 AM Sieghard via mseide-msegui-talk 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
 wrote:
Hello Fred,

you wrote on Sat, 10 Jun 2023 17:37:44 +:

> Note that with NetBSD using the "su" command in a Xorg terminal will
> destroy the pam config (for login+password). And you will not be able to
> login anymore (and must reinstall all the system).

Ihat's a really _very_ bad thing...

> So for all the things you need a root access, terminate the Xorg session
> to come back to terminal-no-gui, login as normal user, then use the "su"
> command to do the things that need root access.

Does NetBSD's Xorg NOT have the LeftAlt-Ctrl-F hot key function to
switch to a text mode console? Or is that just disabled by default, as
many Linux Xorg/Gooey^WGUI installations do it by now, somewhere setting
a "ServerFlags" section 'Option "DontVTSwitch""true"'?

(There's a program, "chvt", that can do the switch too, but that requires
root rights to be used, so it's useless here.)

Creating a "/etc/X11/xorg.conf" file with just the contents
"Section "ServerFlags"
Option  "DontVTSwitch""true"
 EndSection"
_might_ suffice, but it may neccessary to also include a line like
'   Option  "ServerLayout" "X.org Configured"'
for Xorg to accept it.

Be sure to scan Xorg's log file (Xorg.0.log) whether it had the intended
effect or just rose a warning or an error. Read the Xorg man page!

> Or do this after boot, before to run "startx" command.

You do not want to (re)boot a Unix for maintenance purposes only! Do you?

(Ooops, THAT was looong-winded thread!)

--
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---




___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] New release?

2023-06-10 Thread Fred van Stappen
Hello Vasi.

Thanks for the thanks!

This video helps me a lot to install NetBSD + xfce4:

https://www.youtube.com/watch?v=VMC3fIj5IVQ=1353s

Note that with NetBSD using the "su" command in a Xorg terminal will destroy 
the pam config (for login+password).
And you will not be able to login anymore (and must reinstall all the system).

So for all the things you need a root access, terminate the Xorg session to 
come back to terminal-no-gui, login as normal user, then use the "su" command 
to do the things that need root access.

Or do this after boot, before to run "startx" command.

I hope you will have less problems than me for making NetBSD + Xorg work.

Good luck.

Fre;D



De : vasi vasi 
Envoyé : samedi 10 juin 2023 18:03
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

That might mean next week! I'll keep you posted.

On Sat, Jun 10, 2023 at 7:00 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Thank you very much Fred, I will save this and try with the first occasion!

On Sat, Jun 10, 2023 at 5:13 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

Hups, in previous post the code for symlinks was not ok, here the good:

After installation of Xorg, make those symlinks in console (with root access):

ln -s /usr/X11R7/lib/libX11.so.7.0  /usr/lib/libX11.so
ln -s /usr/X11R7/lib/libX11.so.7.0  /usr/lib/libX11.so.7

ln -s /usr/X11R7/lib/libfontconfig.so.2.3  /usr/lib/libfontconfig.so
ln -s /usr/X11R7/lib/libfontconfig.so.2.3  /usr/lib/libfontconfig.so.2

ln -s /usr/pkg/lib/libiconv.so.2.5.1  /usr/lib/libiconv.so
ln -s /usr/pkg/lib/libiconv.so.2.5.1  /usr/lib/libiconv.so.2


________
De : Fred van Stappen mailto:fi...@hotmail.com>>
Envoyé : samedi 10 juin 2023 15:59
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Hello Vasi.

With last commit, mseide-msegui for NetBSD is working.
https://github.com/mse-org/mseide-msegui/assets/3421249/cfd179e9-3098-4604-af6a-8d64b54fb22c

With mseide all (seems) to work, icons of menu are not shown, NetBSD uses his 
own libX11.so.7 (! the last official and forever X11 lib is libX11.so.6) and 
they change some atoms name (grr).
I have to find their changes (but very, very few doc, I think I must study 
their X11 code).

Anyway, when you are ready to install NetBSD, to make fpc run (because there 
are no fpc package in NetBSD repository):

Download the binary of fpc for NetBSD from here:
https://sourceforge.net/projects/freepascal/files/NetBSD/3.2.2/

After installation of Xorg, make those symlinks in console (with root access):

ln -s /usr/X11R7/lib/libX11.so.7.0  /usr/lib/lib/libX11.so
ln -s /usr/X11R7/lib/libX11.so.7.0  /usr/lib/lib/libX11.so.7

ln -s /usr/X11R7/lib/libfontconfig.so.2.3  /usr/lib/libfontconfig.so
ln -s /usr/X11R7/lib/libfontconfig.so.2.3  /usr/lib/libfontconfig.so.2

ln -s /usr/pkg/lib/libiconv.so.2.5.1  /usr/lib/libiconv.so
ln -s /usr/pkg/lib/libiconv.so.2.5.1  /usr/lib/libiconv.so.2

Voila.

Good luck (with lot of courage and cups of coffee).

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : jeudi 8 juin 2023 03:17
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Ha ha, don't worry about DragonFlyBSD, I have the same problems in X where both 
mouse and keyboard do not work. Lets exclude it for now. I had NetBSD working 
well on an old laptop, I expect it to work. But no rush.

On Thu, Jun 8, 2023 at 2:48 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi.

So happy that it works for you (and to finish the fight)!
Of course it could be that some problems appear but after deed test of mseide 
and ideU, I dont find one.

For DragonFly, my biggest problem is that I cannot make the keyboard work with 
Xorg.
After boot the keyboard and mouse work but after run startx, mouse is still 
working but not the keyboard.
So I cannot test fpc gui applications.

I did try many, many things, lot of surf in internet but no solution to make 
the keyboard work.
I did try with VMWare and VitrualBox on Linux but always same result with Xorg, 
no keyboard.
I even try on Windows and VMWare but no way, no keyboard.

Maybe I will find a trick but now I must give up (before to become totally 
crazy).

Thanks Vasi for your tests and encouragment.

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : jeudi 8 juin 2023 00:09
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Hi Fred,
Tested my project, all errors reported are gone (one was a false error, caused 
by my wrong logic).
So, for now, all good!
Great job, man! In such a short time, y

Re: [MSEide-MSEgui-talk] New release?

2023-06-10 Thread Fred van Stappen
Yes, of course, you need to create a user and may add it in the wheel group but 
if you load Xorg after login as "simple" user (it is not recommended to run X11 
as root), when you are in Xorg, using the xcfe4 terminal and using the "su" 
command, it will corrupt the pad-login files.

After (many) search on the internet it appears that it is a bug and the best 
way to use "su" for "simple" user is via the shell of the system, not the 
terminal of a Xorg session.

But you know the caprice of IT, maybe on your Xorg system, after "su" you will 
not have problems.

Fre;D


De : vasi vasi 
Envoyé : dimanche 11 juin 2023 01:22
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Actually, won't help to create a user as part of wheel group, having admin 
rights and using just sudo or doas? Can'r wait to install it... Last time, I 
did not had such problems... but it was a different computer...

Thanks for the movie, Fred.

On Sun, Jun 11, 2023 at 1:13 AM Sieghard via mseide-msegui-talk 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
 wrote:
Hello Fred,

you wrote on Sat, 10 Jun 2023 17:37:44 +:

> Note that with NetBSD using the "su" command in a Xorg terminal will
> destroy the pam config (for login+password). And you will not be able to
> login anymore (and must reinstall all the system).

Ihat's a really _very_ bad thing...

> So for all the things you need a root access, terminate the Xorg session
> to come back to terminal-no-gui, login as normal user, then use the "su"
> command to do the things that need root access.

Does NetBSD's Xorg NOT have the LeftAlt-Ctrl-F hot key function to
switch to a text mode console? Or is that just disabled by default, as
many Linux Xorg/Gooey^WGUI installations do it by now, somewhere setting
a "ServerFlags" section 'Option "DontVTSwitch""true"'?

(There's a program, "chvt", that can do the switch too, but that requires
root rights to be used, so it's useless here.)

Creating a "/etc/X11/xorg.conf" file with just the contents
"Section "ServerFlags"
Option  "DontVTSwitch""true"
 EndSection"
_might_ suffice, but it may neccessary to also include a line like
'   Option  "ServerLayout" "X.org Configured"'
for Xorg to accept it.

Be sure to scan Xorg's log file (Xorg.0.log) whether it had the intended
effect or just rose a warning or an error. Read the Xorg man page!

> Or do this after boot, before to run "startx" command.

You do not want to (re)boot a Unix for maintenance purposes only! Do you?

(Ooops, THAT was looong-winded thread!)

--
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---




___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] New release?

2023-06-10 Thread Fred van Stappen
Hello Vasi.

With last commit, mseide-msegui for NetBSD is working.
https://github.com/mse-org/mseide-msegui/assets/3421249/cfd179e9-3098-4604-af6a-8d64b54fb22c

With mseide all (seems) to work, icons of menu are not shown, NetBSD uses his 
own libX11.so.7 (! the last official and forever X11 lib is libX11.so.6) and 
they change some atoms name (grr).
I have to find their changes (but very, very few doc, I think I must study 
their X11 code).

Anyway, when you are ready to install NetBSD, to make fpc run (because there 
are no fpc package in NetBSD repository):

Download the binary of fpc for NetBSD from here:
https://sourceforge.net/projects/freepascal/files/NetBSD/3.2.2/

After installation of Xorg, make those symlinks in console (with root access):

ln -s /usr/X11R7/lib/libX11.so.7.0  /usr/lib/lib/libX11.so
ln -s /usr/X11R7/lib/libX11.so.7.0  /usr/lib/lib/libX11.so.7

ln -s /usr/X11R7/lib/libfontconfig.so.2.3  /usr/lib/libfontconfig.so
ln -s /usr/X11R7/lib/libfontconfig.so.2.3  /usr/lib/libfontconfig.so.2

ln -s /usr/pkg/lib/libiconv.so.2.5.1  /usr/lib/libiconv.so
ln -s /usr/pkg/lib/libiconv.so.2.5.1  /usr/lib/libiconv.so.2

Voila.

Good luck (with lot of courage and cups of coffee).

Fre;D



De : vasi vasi 
Envoyé : jeudi 8 juin 2023 03:17
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Ha ha, don't worry about DragonFlyBSD, I have the same problems in X where both 
mouse and keyboard do not work. Lets exclude it for now. I had NetBSD working 
well on an old laptop, I expect it to work. But no rush.

On Thu, Jun 8, 2023 at 2:48 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi.

So happy that it works for you (and to finish the fight)!
Of course it could be that some problems appear but after deed test of mseide 
and ideU, I dont find one.

For DragonFly, my biggest problem is that I cannot make the keyboard work with 
Xorg.
After boot the keyboard and mouse work but after run startx, mouse is still 
working but not the keyboard.
So I cannot test fpc gui applications.

I did try many, many things, lot of surf in internet but no solution to make 
the keyboard work.
I did try with VMWare and VitrualBox on Linux but always same result with Xorg, 
no keyboard.
I even try on Windows and VMWare but no way, no keyboard.

Maybe I will find a trick but now I must give up (before to become totally 
crazy).

Thanks Vasi for your tests and encouragment.

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : jeudi 8 juin 2023 00:09
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Hi Fred,
Tested my project, all errors reported are gone (one was a false error, caused 
by my wrong logic).
So, for now, all good!
Great job, man! In such a short time, you made it OpenBSD compatible!
Congratulations again!

I'll report if there are more problems. I'll play with it more, as I have also 
some C-language projects that I have to test (raylib C library has problems as 
it depends of a github development version of glfw that is not yet ported to 
OpenBSD so I need to adapt raylib to use freeglut, but not a pascal problem, 
unless I start writing it in pascal instead) ... but I'm tempted to jump on 
NetBSD... maybe no need to rush yet as I don't have space for virtual machines, 
and that means to wipe OpenBSD to make room for the other...
Oh well, I'm glad msegui is here now, as it deserves to be.

On Wed, Jun 7, 2023 at 11:02 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Thank you Fred, can't wait to test it in my project!

On Wed, Jun 7, 2023 at 7:50 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi.

In last commit, attributes of files are fixed when using copyfile().
And so the backup files too.



Fre;D

De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mardi 6 juin 2023 12:29
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Another thing... mseide editor saves a backup for the current file you edit, 
right? But messes up the attributes of the file (if not intended):
It sets the Owner's access to none, the Group's access to none and the Others' 
access to none but sets the executable attribute for Others.

Screenshots are here: 
https://drive.google.com/drive/folders/1qISDiI373EwRxTrx4a51dSMVGGSqw_qi?usp=drive_link

for both subjects, in case the previous message (with the symlink to folder 
missing from combobox folder list) is held for moderation...


On Mon, Jun 5, 2023 at 11:34 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:

Hello Vasi.

> Ok, really quick, the symlinks to folders do not appear in the list of 
> comboboxes that show lists of folders
Hum, I dont catch something because here the file-listbox works, w

Re: [MSEide-MSEgui-talk] New release?

2023-06-10 Thread Fred van Stappen
Re-hello Vasi.

Hups, in previous post the code for symlinks was not ok, here the good:

After installation of Xorg, make those symlinks in console (with root access):

ln -s /usr/X11R7/lib/libX11.so.7.0  /usr/lib/libX11.so
ln -s /usr/X11R7/lib/libX11.so.7.0  /usr/lib/libX11.so.7

ln -s /usr/X11R7/lib/libfontconfig.so.2.3  /usr/lib/libfontconfig.so
ln -s /usr/X11R7/lib/libfontconfig.so.2.3  /usr/lib/libfontconfig.so.2

ln -s /usr/pkg/lib/libiconv.so.2.5.1  /usr/lib/libiconv.so
ln -s /usr/pkg/lib/libiconv.so.2.5.1  /usr/lib/libiconv.so.2



De : Fred van Stappen 
Envoyé : samedi 10 juin 2023 15:59
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Hello Vasi.

With last commit, mseide-msegui for NetBSD is working.
https://github.com/mse-org/mseide-msegui/assets/3421249/cfd179e9-3098-4604-af6a-8d64b54fb22c

With mseide all (seems) to work, icons of menu are not shown, NetBSD uses his 
own libX11.so.7 (! the last official and forever X11 lib is libX11.so.6) and 
they change some atoms name (grr).
I have to find their changes (but very, very few doc, I think I must study 
their X11 code).

Anyway, when you are ready to install NetBSD, to make fpc run (because there 
are no fpc package in NetBSD repository):

Download the binary of fpc for NetBSD from here:
https://sourceforge.net/projects/freepascal/files/NetBSD/3.2.2/

After installation of Xorg, make those symlinks in console (with root access):

ln -s /usr/X11R7/lib/libX11.so.7.0  /usr/lib/lib/libX11.so
ln -s /usr/X11R7/lib/libX11.so.7.0  /usr/lib/lib/libX11.so.7

ln -s /usr/X11R7/lib/libfontconfig.so.2.3  /usr/lib/libfontconfig.so
ln -s /usr/X11R7/lib/libfontconfig.so.2.3  /usr/lib/libfontconfig.so.2

ln -s /usr/pkg/lib/libiconv.so.2.5.1  /usr/lib/libiconv.so
ln -s /usr/pkg/lib/libiconv.so.2.5.1  /usr/lib/libiconv.so.2

Voila.

Good luck (with lot of courage and cups of coffee).

Fre;D



De : vasi vasi 
Envoyé : jeudi 8 juin 2023 03:17
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Ha ha, don't worry about DragonFlyBSD, I have the same problems in X where both 
mouse and keyboard do not work. Lets exclude it for now. I had NetBSD working 
well on an old laptop, I expect it to work. But no rush.

On Thu, Jun 8, 2023 at 2:48 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi.

So happy that it works for you (and to finish the fight)!
Of course it could be that some problems appear but after deed test of mseide 
and ideU, I dont find one.

For DragonFly, my biggest problem is that I cannot make the keyboard work with 
Xorg.
After boot the keyboard and mouse work but after run startx, mouse is still 
working but not the keyboard.
So I cannot test fpc gui applications.

I did try many, many things, lot of surf in internet but no solution to make 
the keyboard work.
I did try with VMWare and VitrualBox on Linux but always same result with Xorg, 
no keyboard.
I even try on Windows and VMWare but no way, no keyboard.

Maybe I will find a trick but now I must give up (before to become totally 
crazy).

Thanks Vasi for your tests and encouragment.

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : jeudi 8 juin 2023 00:09
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Hi Fred,
Tested my project, all errors reported are gone (one was a false error, caused 
by my wrong logic).
So, for now, all good!
Great job, man! In such a short time, you made it OpenBSD compatible!
Congratulations again!

I'll report if there are more problems. I'll play with it more, as I have also 
some C-language projects that I have to test (raylib C library has problems as 
it depends of a github development version of glfw that is not yet ported to 
OpenBSD so I need to adapt raylib to use freeglut, but not a pascal problem, 
unless I start writing it in pascal instead) ... but I'm tempted to jump on 
NetBSD... maybe no need to rush yet as I don't have space for virtual machines, 
and that means to wipe OpenBSD to make room for the other...
Oh well, I'm glad msegui is here now, as it deserves to be.

On Wed, Jun 7, 2023 at 11:02 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Thank you Fred, can't wait to test it in my project!

On Wed, Jun 7, 2023 at 7:50 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi.

In last commit, attributes of files are fixed when using copyfile().
And so the backup files too.



Fre;D

De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mardi 6 juin 2023 12:29
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Another thing... mseide editor saves a backup for the current file you edit, 
right? But messes up the attribu

Re: [MSEide-MSEgui-talk] New release?

2023-06-11 Thread Fred van Stappen
Hello Vasi.

Indeed, there are no icons in xfce4 menus.
I think you get something there.

I did try to have the icons shown but did not find a option for that.

Maybe related with the not shown icons of mseide.

If you try the last commit of mseide-msegui, you should compile the mseide and 
run it.
There are 2 things that are not working (maybe more but I did not see).


  1.  The icons are not shown for menu and in the debugger form.
  2.  When you pass with the mouse on a menu with icons, there is a message in 
console from where you run mseide: "a X11 atom is not recognized".

Maybe both are related.

Sadly I have to take a break in msegui exploration this week, lt of things 
to do.

I hope you will have luck and that you will find the guilties.
When I am more free, I will jump back into it.

For DragonFly, till now I did not find a solution to make the keyboard work in 
a Xorg session and so did not try yet msegui on DragonFly.

Good luck.

Fre;D



De : vasi vasi 
Envoyé : dimanche 11 juin 2023 15:13
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Fred, your xfce4 shows icons in menus?

On Sun, Jun 11, 2023 at 5:49 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

Ooops, sorry I did only read your first line, I did not see there was a follow.

About the reboots, I my case, for testing msegui, I needed lot of reboot!

This because at beginning, nothing was working and when finally the compilation 
was ok, running the ide crashed the system.
So boot needed but, because of the "su" bug (that I did not know), I could not 
login after boot and must reinstall all the system.
 And retesting the mseide binary after some change (and using the "su" with 
Xorg console) still crash, so reboot, without working login, --> reinstall the 
os, retest, recrash, reinstall, retest, recrash, ... untill I found the guitly: 
"su" in Xorg console.

Now it is ok, if I have a crash, I can reboot without the need to reinstall all 
because I use "su" in shell-terminal of the system.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : dimanche 11 juin 2023 01:22
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Actually, won't help to create a user as part of wheel group, having admin 
rights and using just sudo or doas? Can'r wait to install it... Last time, I 
did not had such problems... but it was a different computer...

Thanks for the movie, Fred.

On Sun, Jun 11, 2023 at 1:13 AM Sieghard via mseide-msegui-talk 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
 wrote:
Hello Fred,

you wrote on Sat, 10 Jun 2023 17:37:44 +:

> Note that with NetBSD using the "su" command in a Xorg terminal will
> destroy the pam config (for login+password). And you will not be able to
> login anymore (and must reinstall all the system).

Ihat's a really _very_ bad thing...

> So for all the things you need a root access, terminate the Xorg session
> to come back to terminal-no-gui, login as normal user, then use the "su"
> command to do the things that need root access.

Does NetBSD's Xorg NOT have the LeftAlt-Ctrl-F hot key function to
switch to a text mode console? Or is that just disabled by default, as
many Linux Xorg/Gooey^WGUI installations do it by now, somewhere setting
a "ServerFlags" section 'Option "DontVTSwitch""true"'?

(There's a program, "chvt", that can do the switch too, but that requires
root rights to be used, so it's useless here.)

Creating a "/etc/X11/xorg.conf" file with just the contents
"Section "ServerFlags"
Option  "DontVTSwitch""true"
 EndSection"
_might_ suffice, but it may neccessary to also include a line like
'   Option  "ServerLayout" "X.org Configured"'
for Xorg to accept it.

Be sure to scan Xorg's log file (Xorg.0.log) whether it had the intended
effect or just rose a warning or an error. Read the Xorg man page!

> Or do this after boot, before to run "startx" command.

You do not want to (re)boot a Unix for maintenance purposes only! Do you?

(Ooops, THAT was looong-winded thread!)

--
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---




___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


--
Vasi

Re: [MSEide-MSEgui-talk] New release?

2023-06-11 Thread Fred van Stappen
Maybe it is the _mfm.pas that is not completely compatible?

I will try (asap) to create a simple new project directly on NetBSD using 
mseide-pre-alpha, add a button with a icon and see if it is show there.


De : vasi vasi 
Envoyé : dimanche 11 juin 2023 19:53
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Yeah, we are back to gtk and its connection to xlib...

On Sun, Jun 11, 2023 at 8:44 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

OK, I found the option in xfce4 to show the icons in menu.

But, sadly, the icons in mseide-menu are still not shown.
So it seems not to be related.

Fre;D

De : Fred van Stappen mailto:fi...@hotmail.com>>
Envoyé : dimanche 11 juin 2023 19:03
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Hello Vasi.

Indeed, there are no icons in xfce4 menus.
I think you get something there.

I did try to have the icons shown but did not find a option for that.

Maybe related with the not shown icons of mseide.

If you try the last commit of mseide-msegui, you should compile the mseide and 
run it.
There are 2 things that are not working (maybe more but I did not see).


  1.  The icons are not shown for menu and in the debugger form.
  2.  When you pass with the mouse on a menu with icons, there is a message in 
console from where you run mseide: "a X11 atom is not recognized".

Maybe both are related.

Sadly I have to take a break in msegui exploration this week, lt of things 
to do.

I hope you will have luck and that you will find the guilties.
When I am more free, I will jump back into it.

For DragonFly, till now I did not find a solution to make the keyboard work in 
a Xorg session and so did not try yet msegui on DragonFly.

Good luck.

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : dimanche 11 juin 2023 15:13
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Fred, your xfce4 shows icons in menus?

On Sun, Jun 11, 2023 at 5:49 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

Ooops, sorry I did only read your first line, I did not see there was a follow.

About the reboots, I my case, for testing msegui, I needed lot of reboot!

This because at beginning, nothing was working and when finally the compilation 
was ok, running the ide crashed the system.
So boot needed but, because of the "su" bug (that I did not know), I could not 
login after boot and must reinstall all the system.
 And retesting the mseide binary after some change (and using the "su" with 
Xorg console) still crash, so reboot, without working login, --> reinstall the 
os, retest, recrash, reinstall, retest, recrash, ... untill I found the guitly: 
"su" in Xorg console.

Now it is ok, if I have a crash, I can reboot without the need to reinstall all 
because I use "su" in shell-terminal of the system.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : dimanche 11 juin 2023 01:22
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Actually, won't help to create a user as part of wheel group, having admin 
rights and using just sudo or doas? Can'r wait to install it... Last time, I 
did not had such problems... but it was a different computer...

Thanks for the movie, Fred.

On Sun, Jun 11, 2023 at 1:13 AM Sieghard via mseide-msegui-talk 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
 wrote:
Hello Fred,

you wrote on Sat, 10 Jun 2023 17:37:44 +:

> Note that with NetBSD using the "su" command in a Xorg terminal will
> destroy the pam config (for login+password). And you will not be able to
> login anymore (and must reinstall all the system).

Ihat's a really _very_ bad thing...

> So for all the things you need a root access, terminate the Xorg session
> to come back to terminal-no-gui, login as normal user, then use the "su"
> command to do the things that need root access.

Does NetBSD's Xorg NOT have the LeftAlt-Ctrl-F hot key function to
switch to a text mode console? Or is that just disabled by default, as
many Linux Xorg/Gooey^WGUI installations do it by now, somewhere setting
a "ServerFlags" section 'Option "DontVTSwitch""true"'?

(There's a program, "chvt", that can do the switch too, but that requires
root rights to be used, so it's useless here.)

Creating a "/etc/X11/xorg.conf" file with just the contents
"Section "ServerFlags"
Option  "DontVTSwitch""true"
 EndSect

Re: [MSEide-MSEgui-talk] New release?

2023-06-11 Thread Fred van Stappen
I fear that it will be needed.


De : vasi vasi 
Envoyé : dimanche 11 juin 2023 19:53
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Yeah, we are back to gtk and its connection to xlib...

On Sun, Jun 11, 2023 at 8:44 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

OK, I found the option in xfce4 to show the icons in menu.

But, sadly, the icons in mseide-menu are still not shown.
So it seems not to be related.

Fre;D

De : Fred van Stappen mailto:fi...@hotmail.com>>
Envoyé : dimanche 11 juin 2023 19:03
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Hello Vasi.

Indeed, there are no icons in xfce4 menus.
I think you get something there.

I did try to have the icons shown but did not find a option for that.

Maybe related with the not shown icons of mseide.

If you try the last commit of mseide-msegui, you should compile the mseide and 
run it.
There are 2 things that are not working (maybe more but I did not see).


  1.  The icons are not shown for menu and in the debugger form.
  2.  When you pass with the mouse on a menu with icons, there is a message in 
console from where you run mseide: "a X11 atom is not recognized".

Maybe both are related.

Sadly I have to take a break in msegui exploration this week, lt of things 
to do.

I hope you will have luck and that you will find the guilties.
When I am more free, I will jump back into it.

For DragonFly, till now I did not find a solution to make the keyboard work in 
a Xorg session and so did not try yet msegui on DragonFly.

Good luck.

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : dimanche 11 juin 2023 15:13
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Fred, your xfce4 shows icons in menus?

On Sun, Jun 11, 2023 at 5:49 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

Ooops, sorry I did only read your first line, I did not see there was a follow.

About the reboots, I my case, for testing msegui, I needed lot of reboot!

This because at beginning, nothing was working and when finally the compilation 
was ok, running the ide crashed the system.
So boot needed but, because of the "su" bug (that I did not know), I could not 
login after boot and must reinstall all the system.
 And retesting the mseide binary after some change (and using the "su" with 
Xorg console) still crash, so reboot, without working login, --> reinstall the 
os, retest, recrash, reinstall, retest, recrash, ... untill I found the guitly: 
"su" in Xorg console.

Now it is ok, if I have a crash, I can reboot without the need to reinstall all 
because I use "su" in shell-terminal of the system.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : dimanche 11 juin 2023 01:22
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Actually, won't help to create a user as part of wheel group, having admin 
rights and using just sudo or doas? Can'r wait to install it... Last time, I 
did not had such problems... but it was a different computer...

Thanks for the movie, Fred.

On Sun, Jun 11, 2023 at 1:13 AM Sieghard via mseide-msegui-talk 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
 wrote:
Hello Fred,

you wrote on Sat, 10 Jun 2023 17:37:44 +:

> Note that with NetBSD using the "su" command in a Xorg terminal will
> destroy the pam config (for login+password). And you will not be able to
> login anymore (and must reinstall all the system).

Ihat's a really _very_ bad thing...

> So for all the things you need a root access, terminate the Xorg session
> to come back to terminal-no-gui, login as normal user, then use the "su"
> command to do the things that need root access.

Does NetBSD's Xorg NOT have the LeftAlt-Ctrl-F hot key function to
switch to a text mode console? Or is that just disabled by default, as
many Linux Xorg/Gooey^WGUI installations do it by now, somewhere setting
a "ServerFlags" section 'Option "DontVTSwitch""true"'?

(There's a program, "chvt", that can do the switch too, but that requires
root rights to be used, so it's useless here.)

Creating a "/etc/X11/xorg.conf" file with just the contents
"Section "ServerFlags"
Option  "DontVTSwitch""true"
 EndSection"
_might_ suffice, but it may neccessary to also include a line like
'   Option  "ServerLayout" "X.org Configured"'
for Xorg to accept

Re: [MSEide-MSEgui-talk] New release?

2023-06-11 Thread Fred van Stappen
OK, I created a new project directly in NetBSD using mseide-pre-alpha, with a 
button and a image on his face.
Compiled and run.
And there the button has his ico-image:
https://github.com/mse-org/mseide-msegui/assets/3421249/ec05ff42-2058-4c2f-9c39-746d9ac4d462
And no more cry when passing with mouse on the button about invalid atom.

Hum, hum, hum.

So could it be that the _mfm.pas gives problem and maybe oblige, for all 
imported image, to re-do-it when compiling a project in NetBSD?

Anyway I have to stop for the moment this exploration.
Yes, it is not a combat out-of-the-box, but sure we will win.

Fre;D



De : vasi vasi 
Envoyé : dimanche 11 juin 2023 19:53
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Yeah, we are back to gtk and its connection to xlib...

On Sun, Jun 11, 2023 at 8:44 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

OK, I found the option in xfce4 to show the icons in menu.

But, sadly, the icons in mseide-menu are still not shown.
So it seems not to be related.

Fre;D

De : Fred van Stappen mailto:fi...@hotmail.com>>
Envoyé : dimanche 11 juin 2023 19:03
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Hello Vasi.

Indeed, there are no icons in xfce4 menus.
I think you get something there.

I did try to have the icons shown but did not find a option for that.

Maybe related with the not shown icons of mseide.

If you try the last commit of mseide-msegui, you should compile the mseide and 
run it.
There are 2 things that are not working (maybe more but I did not see).


  1.  The icons are not shown for menu and in the debugger form.
  2.  When you pass with the mouse on a menu with icons, there is a message in 
console from where you run mseide: "a X11 atom is not recognized".

Maybe both are related.

Sadly I have to take a break in msegui exploration this week, lt of things 
to do.

I hope you will have luck and that you will find the guilties.
When I am more free, I will jump back into it.

For DragonFly, till now I did not find a solution to make the keyboard work in 
a Xorg session and so did not try yet msegui on DragonFly.

Good luck.

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : dimanche 11 juin 2023 15:13
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Fred, your xfce4 shows icons in menus?

On Sun, Jun 11, 2023 at 5:49 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

Ooops, sorry I did only read your first line, I did not see there was a follow.

About the reboots, I my case, for testing msegui, I needed lot of reboot!

This because at beginning, nothing was working and when finally the compilation 
was ok, running the ide crashed the system.
So boot needed but, because of the "su" bug (that I did not know), I could not 
login after boot and must reinstall all the system.
 And retesting the mseide binary after some change (and using the "su" with 
Xorg console) still crash, so reboot, without working login, --> reinstall the 
os, retest, recrash, reinstall, retest, recrash, ... untill I found the guitly: 
"su" in Xorg console.

Now it is ok, if I have a crash, I can reboot without the need to reinstall all 
because I use "su" in shell-terminal of the system.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : dimanche 11 juin 2023 01:22
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Actually, won't help to create a user as part of wheel group, having admin 
rights and using just sudo or doas? Can'r wait to install it... Last time, I 
did not had such problems... but it was a different computer...

Thanks for the movie, Fred.

On Sun, Jun 11, 2023 at 1:13 AM Sieghard via mseide-msegui-talk 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
 wrote:
Hello Fred,

you wrote on Sat, 10 Jun 2023 17:37:44 +:

> Note that with NetBSD using the "su" command in a Xorg terminal will
> destroy the pam config (for login+password). And you will not be able to
> login anymore (and must reinstall all the system).

Ihat's a really _very_ bad thing...

> So for all the things you need a root access, terminate the Xorg session
> to come back to terminal-no-gui, login as normal user, then use the "su"
> command to do the things that need root access.

Does NetBSD's Xorg NOT have the LeftAlt-Ctrl-F hot key function to
switch to a text mode console? Or is that just disabled by default, as
many Linux Xorg/Gooey^WGUI installations do it by now, somewhere setting
a

Re: [MSEide-MSEgui-talk] New release?

2023-06-11 Thread Fred van Stappen
Ooops, in previous post, the screenshot was without the run, here the good one.
In the terminal, no more cry of X11 for bad atom.

https://github.com/mse-org/mseide-msegui/assets/3421249/73bae81e-f28c-4790-b26c-5f408a9a2975

Note too that file access via the file-dialog is not yet perfect, for creating 
the project I have to write the full path + name, playing with the 
directory-icons was not ok.

So, to resume, still some work but it will be possible to terminate the combat.

Fre;D

De : Fred van Stappen 
Envoyé : dimanche 11 juin 2023 20:53
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

OK, I created a new project directly in NetBSD using mseide-pre-alpha, with a 
button and a image on his face.
Compiled and run.
And there the button has his ico-image:
https://github.com/mse-org/mseide-msegui/assets/3421249/ec05ff42-2058-4c2f-9c39-746d9ac4d462
And no more cry when passing with mouse on the button about invalid atom.

Hum, hum, hum.

So could it be that the _mfm.pas gives problem and maybe oblige, for all 
imported image, to re-do-it when compiling a project in NetBSD?

Anyway I have to stop for the moment this exploration.
Yes, it is not a combat out-of-the-box, but sure we will win.

Fre;D



De : vasi vasi 
Envoyé : dimanche 11 juin 2023 19:53
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Yeah, we are back to gtk and its connection to xlib...

On Sun, Jun 11, 2023 at 8:44 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

OK, I found the option in xfce4 to show the icons in menu.

But, sadly, the icons in mseide-menu are still not shown.
So it seems not to be related.

Fre;D

De : Fred van Stappen mailto:fi...@hotmail.com>>
Envoyé : dimanche 11 juin 2023 19:03
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Hello Vasi.

Indeed, there are no icons in xfce4 menus.
I think you get something there.

I did try to have the icons shown but did not find a option for that.

Maybe related with the not shown icons of mseide.

If you try the last commit of mseide-msegui, you should compile the mseide and 
run it.
There are 2 things that are not working (maybe more but I did not see).


  1.  The icons are not shown for menu and in the debugger form.
  2.  When you pass with the mouse on a menu with icons, there is a message in 
console from where you run mseide: "a X11 atom is not recognized".

Maybe both are related.

Sadly I have to take a break in msegui exploration this week, lt of things 
to do.

I hope you will have luck and that you will find the guilties.
When I am more free, I will jump back into it.

For DragonFly, till now I did not find a solution to make the keyboard work in 
a Xorg session and so did not try yet msegui on DragonFly.

Good luck.

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : dimanche 11 juin 2023 15:13
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Fred, your xfce4 shows icons in menus?

On Sun, Jun 11, 2023 at 5:49 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

Ooops, sorry I did only read your first line, I did not see there was a follow.

About the reboots, I my case, for testing msegui, I needed lot of reboot!

This because at beginning, nothing was working and when finally the compilation 
was ok, running the ide crashed the system.
So boot needed but, because of the "su" bug (that I did not know), I could not 
login after boot and must reinstall all the system.
 And retesting the mseide binary after some change (and using the "su" with 
Xorg console) still crash, so reboot, without working login, --> reinstall the 
os, retest, recrash, reinstall, retest, recrash, ... untill I found the guitly: 
"su" in Xorg console.

Now it is ok, if I have a crash, I can reboot without the need to reinstall all 
because I use "su" in shell-terminal of the system.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : dimanche 11 juin 2023 01:22
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Actually, won't help to create a user as part of wheel group, having admin 
rights and using just sudo or doas? Can'r wait to install it... Last time, I 
did not had such problems... but it was a different computer...

Thanks for the movie, Fred.

On Sun, Jun 11, 2023 at 1:13 AM Sieghard via mseide-msegui-talk 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
 wrote:
Hello Fred,

you wrote on Sat, 10 Jun 2023 17:37:44 +:

> Note that wit

Re: [MSEide-MSEgui-talk] New release?

2023-06-11 Thread Fred van Stappen
Allez, the very last for tonight.

I found the guilty of the icons and images not show and the error message of 
corrupt X11 atom.
It is the image property bmo_graymask.
And in all the mseide project all images or images list have "bmo_graymask = 
true".
When setting bmo_graymask := false for all image and image-list the icon and 
image are ok.

 
https://github.com/mse-org/mseide-msegui/assets/3421249/3452e988-1504-44df-a9e9-84ecdf65806a

By the way, I never understood that property "bmo_graymask", setting it to true 
or false dont change anything on other os.

It is a excellent news because fighting with X11 is a other story.

So, perfect, the icons and images problems are solved.
I will clean all the code, set bmo_graymask := false for eveybody and do the 
commit tonight.

Only remains the access to directory in file dialog that resists.
But not for longtime (but not for tonight).

Fre;D

________
De : Fred van Stappen 
Envoyé : dimanche 11 juin 2023 21:06
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Ooops, in previous post, the screenshot was without the run, here the good one.
In the terminal, no more cry of X11 for bad atom.

https://github.com/mse-org/mseide-msegui/assets/3421249/73bae81e-f28c-4790-b26c-5f408a9a2975

Note too that file access via the file-dialog is not yet perfect, for creating 
the project I have to write the full path + name, playing with the 
directory-icons was not ok.

So, to resume, still some work but it will be possible to terminate the combat.

Fre;D
________
De : Fred van Stappen 
Envoyé : dimanche 11 juin 2023 20:53
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

OK, I created a new project directly in NetBSD using mseide-pre-alpha, with a 
button and a image on his face.
Compiled and run.
And there the button has his ico-image:
https://github.com/mse-org/mseide-msegui/assets/3421249/ec05ff42-2058-4c2f-9c39-746d9ac4d462
And no more cry when passing with mouse on the button about invalid atom.

Hum, hum, hum.

So could it be that the _mfm.pas gives problem and maybe oblige, for all 
imported image, to re-do-it when compiling a project in NetBSD?

Anyway I have to stop for the moment this exploration.
Yes, it is not a combat out-of-the-box, but sure we will win.

Fre;D



De : vasi vasi 
Envoyé : dimanche 11 juin 2023 19:53
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Yeah, we are back to gtk and its connection to xlib...

On Sun, Jun 11, 2023 at 8:44 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

OK, I found the option in xfce4 to show the icons in menu.

But, sadly, the icons in mseide-menu are still not shown.
So it seems not to be related.

Fre;D
________
De : Fred van Stappen mailto:fi...@hotmail.com>>
Envoyé : dimanche 11 juin 2023 19:03
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Hello Vasi.

Indeed, there are no icons in xfce4 menus.
I think you get something there.

I did try to have the icons shown but did not find a option for that.

Maybe related with the not shown icons of mseide.

If you try the last commit of mseide-msegui, you should compile the mseide and 
run it.
There are 2 things that are not working (maybe more but I did not see).


  1.  The icons are not shown for menu and in the debugger form.
  2.  When you pass with the mouse on a menu with icons, there is a message in 
console from where you run mseide: "a X11 atom is not recognized".

Maybe both are related.

Sadly I have to take a break in msegui exploration this week, lt of things 
to do.

I hope you will have luck and that you will find the guilties.
When I am more free, I will jump back into it.

For DragonFly, till now I did not find a solution to make the keyboard work in 
a Xorg session and so did not try yet msegui on DragonFly.

Good luck.

Fre;D



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : dimanche 11 juin 2023 15:13
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Fred, your xfce4 shows icons in menus?

On Sun, Jun 11, 2023 at 5:49 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

Ooops, sorry I did only read your first line, I did not see there was a follow.

About the reboots, I my case, for testing msegui, I needed lot of reboot!

This because at beginning, nothing was working and when finally the compilation 
was ok, running the ide crashed the system.
So boot needed but, because of the "su" bug (that I did not know), I could not 
login after boot and must reinstall all the system.
 And retesting the mseide binary after some change (an

Re: [MSEide-MSEgui-talk] New release?

2023-06-11 Thread Fred van Stappen
Re-hello Vasi.

OK, I found the option in xfce4 to show the icons in menu.

But, sadly, the icons in mseide-menu are still not shown.
So it seems not to be related.

Fre;D

De : Fred van Stappen 
Envoyé : dimanche 11 juin 2023 19:03
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Hello Vasi.

Indeed, there are no icons in xfce4 menus.
I think you get something there.

I did try to have the icons shown but did not find a option for that.

Maybe related with the not shown icons of mseide.

If you try the last commit of mseide-msegui, you should compile the mseide and 
run it.
There are 2 things that are not working (maybe more but I did not see).


  1.  The icons are not shown for menu and in the debugger form.
  2.  When you pass with the mouse on a menu with icons, there is a message in 
console from where you run mseide: "a X11 atom is not recognized".

Maybe both are related.

Sadly I have to take a break in msegui exploration this week, lt of things 
to do.

I hope you will have luck and that you will find the guilties.
When I am more free, I will jump back into it.

For DragonFly, till now I did not find a solution to make the keyboard work in 
a Xorg session and so did not try yet msegui on DragonFly.

Good luck.

Fre;D



De : vasi vasi 
Envoyé : dimanche 11 juin 2023 15:13
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Fred, your xfce4 shows icons in menus?

On Sun, Jun 11, 2023 at 5:49 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

Ooops, sorry I did only read your first line, I did not see there was a follow.

About the reboots, I my case, for testing msegui, I needed lot of reboot!

This because at beginning, nothing was working and when finally the compilation 
was ok, running the ide crashed the system.
So boot needed but, because of the "su" bug (that I did not know), I could not 
login after boot and must reinstall all the system.
 And retesting the mseide binary after some change (and using the "su" with 
Xorg console) still crash, so reboot, without working login, --> reinstall the 
os, retest, recrash, reinstall, retest, recrash, ... untill I found the guitly: 
"su" in Xorg console.

Now it is ok, if I have a crash, I can reboot without the need to reinstall all 
because I use "su" in shell-terminal of the system.

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : dimanche 11 juin 2023 01:22
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Actually, won't help to create a user as part of wheel group, having admin 
rights and using just sudo or doas? Can'r wait to install it... Last time, I 
did not had such problems... but it was a different computer...

Thanks for the movie, Fred.

On Sun, Jun 11, 2023 at 1:13 AM Sieghard via mseide-msegui-talk 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
 wrote:
Hello Fred,

you wrote on Sat, 10 Jun 2023 17:37:44 +:

> Note that with NetBSD using the "su" command in a Xorg terminal will
> destroy the pam config (for login+password). And you will not be able to
> login anymore (and must reinstall all the system).

Ihat's a really _very_ bad thing...

> So for all the things you need a root access, terminate the Xorg session
> to come back to terminal-no-gui, login as normal user, then use the "su"
> command to do the things that need root access.

Does NetBSD's Xorg NOT have the LeftAlt-Ctrl-F hot key function to
switch to a text mode console? Or is that just disabled by default, as
many Linux Xorg/Gooey^WGUI installations do it by now, somewhere setting
a "ServerFlags" section 'Option "DontVTSwitch""true"'?

(There's a program, "chvt", that can do the switch too, but that requires
root rights to be used, so it's useless here.)

Creating a "/etc/X11/xorg.conf" file with just the contents
"Section "ServerFlags"
Option  "DontVTSwitch""true"
 EndSection"
_might_ suffice, but it may neccessary to also include a line like
'   Option  "ServerLayout" "X.org Configured"'
for Xorg to accept it.

Be sure to scan Xorg's log file (Xorg.0.log) whether it had the intended
effect or just rose a warning or an error. Read the Xorg man page!

> Or do this after boot, before to run "startx" command.

You do not want to (re)boot a Unix for maintenance purposes only! Do you?

(Ooops, THAT was looong-winded thread!)

--
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit fr

Re: [MSEide-MSEgui-talk] New release?

2023-05-31 Thread Fred van Stappen
Hello Vasi

OK, OpenBSD + Xcfe4 + fpc installed.

I have try to compile mseide.
Indeed, some errors at linking:

msecwstring.pas --> undefined reference to __error, iconv, iconv_open, 
iconv_close.
mselibc.pas --> undefined reference to __error
msesysintf1.pas --> undefined reference to __error

Hum, not lot of errors, maybe doable, have to check the equivalent in OpenBSD.

I will see if I can find energy for this.
;
Fred

De : vasi vasi 
Envoyé : mercredi 31 mai 2023 19:50
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

* meant to say /etc as destination for the doas.conf file...

On Wed, May 31, 2023 at 8:48 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
There is no binary compatibility between FreeBSD and OpenBSD... none of  the 
*BSDs are compatible.
Lazarus gets compiled from sources using the fpc from OpenBSD repos...
To get root access, your user must be member of wheel and control groups. 
Instead of sudo, you use doas.
To activate doas, you have to create a doas.conf in /et with the following 
content (a single line):

permit persist :wheel

I doubt you will solve it, it is too much work. Right now, I am ok with 
Lazarus. Thank you Fred, is not an emergency. OpenBSD as an workstation is 
extremely restrictive and kinda slow compared to even FreeBSD, not talking 
about linux. THank you again but I will advise not to pursue it further.

The most annoying thing for me is that I am unable to run apps compiled in 
clang that uses GLFW library... lots of crashes... raylib and nanovg graphic 
libraries that uses GL are a no-no :(   I had more success in FreeBSD and 
NetBSD overall...


On Wed, May 31, 2023 at 8:30 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Hi Fred,
fpc is included in OpenBSD repository...
you look for it with pkg_info -Q fpc
and install it with pkg_add fpc
but you have to install also the other units...
But I think sourceforge has packages for 3.2.2 for OpenBSD?

On Wed, May 31, 2023 at 7:55 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-re hello Vasi.
Do you know from where to download a fpc OpenBSD release?
I only found fpc install release for FreeBSD (or maybe the release of fpc 
FreeBSD works for OpenBSD) ?

Thanks.



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mercredi 31 mai 2023 10:36
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Ok, I tried mseide first, it compiles msegui ok but fails at linking...
It says there are undefined references to "__error" and "iconv" in 
msecwstring.pas, mselibc.pas and msesysintf1.pas

Probably OpenBSD not a valid target?

On Wed, May 31, 2023 at 10:42 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Actually, I will try to figure it from your compilation command of uide from 
your repository, I'll keep you posted...

On Wed, May 31, 2023 at 10:23 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Thank you Fred, my problem with mseide-msegui is as follows:
I run OpenBSD 7.3 on one of my laptops (where is fpc 3.2.2 but no Lazarus) and 
I would like to have a makefile or a script that assures the compilation of the 
msegui units, required to create mseide executable. Once done, probably I will 
be able to compile also your ide...

Of course, I will download your ide for the other operating systems if is 
portable as you say - I can't say no to that!
Thank you again!

On Tue, May 30, 2023 at 6:23 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Thanks Vasi vasi!

By the way there is a new release of ideU: 
https://github.com/fredvs/ideU/releases/

In the assets there are also the "PacPas" releases that include all needed: fpc 
compiler, gdb debugger, source of msegui, fpgui and bgrabitmap.
No need to config anything, just download the release, unzip it and use it.
You may also install it on a usb stick and compile your project using ideU from 
the usb stick, out-of-the-box.

Without, of course, any conflict with already other fpc installed.

Fre;D

De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mardi 30 mai 2023 12:50
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Thank you Fred, much appreciated!

On Tue, May 30, 2023 at 12:37 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi vasi and everybody!

OK, new very stable release: 
https://github.com/mse-org/mseide-msegui/releases/tag/5.8.0

Enjoy!

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : lundi 29 mai 2023 12:48
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Yes, always good to have the fixed version! Thank you!

On Sun, May 28, 2023 at 10:24 

Re: [MSEide-MSEgui-talk] New release?

2023-05-31 Thread Fred van Stappen
Hello Vasi.

In last commit of mseide-msegui is fixed linking with OpenBSD.

I did try to compile mseide and now it is ok, it compiles and link.

But it crash at running.

;-(

Fre;D

De : vasi vasi 
Envoyé : mercredi 31 mai 2023 19:50
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

* meant to say /etc as destination for the doas.conf file...

On Wed, May 31, 2023 at 8:48 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
There is no binary compatibility between FreeBSD and OpenBSD... none of  the 
*BSDs are compatible.
Lazarus gets compiled from sources using the fpc from OpenBSD repos...
To get root access, your user must be member of wheel and control groups. 
Instead of sudo, you use doas.
To activate doas, you have to create a doas.conf in /et with the following 
content (a single line):

permit persist :wheel

I doubt you will solve it, it is too much work. Right now, I am ok with 
Lazarus. Thank you Fred, is not an emergency. OpenBSD as an workstation is 
extremely restrictive and kinda slow compared to even FreeBSD, not talking 
about linux. THank you again but I will advise not to pursue it further.

The most annoying thing for me is that I am unable to run apps compiled in 
clang that uses GLFW library... lots of crashes... raylib and nanovg graphic 
libraries that uses GL are a no-no :(   I had more success in FreeBSD and 
NetBSD overall...


On Wed, May 31, 2023 at 8:30 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Hi Fred,
fpc is included in OpenBSD repository...
you look for it with pkg_info -Q fpc
and install it with pkg_add fpc
but you have to install also the other units...
But I think sourceforge has packages for 3.2.2 for OpenBSD?

On Wed, May 31, 2023 at 7:55 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-re hello Vasi.
Do you know from where to download a fpc OpenBSD release?
I only found fpc install release for FreeBSD (or maybe the release of fpc 
FreeBSD works for OpenBSD) ?

Thanks.



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mercredi 31 mai 2023 10:36
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Ok, I tried mseide first, it compiles msegui ok but fails at linking...
It says there are undefined references to "__error" and "iconv" in 
msecwstring.pas, mselibc.pas and msesysintf1.pas

Probably OpenBSD not a valid target?

On Wed, May 31, 2023 at 10:42 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Actually, I will try to figure it from your compilation command of uide from 
your repository, I'll keep you posted...

On Wed, May 31, 2023 at 10:23 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Thank you Fred, my problem with mseide-msegui is as follows:
I run OpenBSD 7.3 on one of my laptops (where is fpc 3.2.2 but no Lazarus) and 
I would like to have a makefile or a script that assures the compilation of the 
msegui units, required to create mseide executable. Once done, probably I will 
be able to compile also your ide...

Of course, I will download your ide for the other operating systems if is 
portable as you say - I can't say no to that!
Thank you again!

On Tue, May 30, 2023 at 6:23 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Thanks Vasi vasi!

By the way there is a new release of ideU: 
https://github.com/fredvs/ideU/releases/

In the assets there are also the "PacPas" releases that include all needed: fpc 
compiler, gdb debugger, source of msegui, fpgui and bgrabitmap.
No need to config anything, just download the release, unzip it and use it.
You may also install it on a usb stick and compile your project using ideU from 
the usb stick, out-of-the-box.

Without, of course, any conflict with already other fpc installed.

Fre;D

De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mardi 30 mai 2023 12:50
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Thank you Fred, much appreciated!

On Tue, May 30, 2023 at 12:37 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi vasi and everybody!

OK, new very stable release: 
https://github.com/mse-org/mseide-msegui/releases/tag/5.8.0

Enjoy!

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : lundi 29 mai 2023 12:48
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Yes, always good to have the fixed version! Thank you!

On Sun, May 28, 2023 at 10:24 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello everybody.

Thanks to Sieghard, Jonas and LagProgramming there was many fixes from last 
release.
What do you think to do a new release 5.8.0 with all the

Re: [MSEide-MSEgui-talk] New release?

2023-05-31 Thread Fred van Stappen
Re-re hello Vasi.

OK, debugged mseide on OpenBSD and it seems to have problem with iconv library.
I have to investigate deeper ( of course if you have a idea, welcome ...  )

Here screenshot of the thing:
https://github.com/mse-org/mseide-msegui/assets/3421249/cfd0edc9-6e1a-46a0-aeec-fc5a63eab82c

Fre;D


De : vasi vasi 
Envoyé : mercredi 31 mai 2023 19:50
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

* meant to say /etc as destination for the doas.conf file...

On Wed, May 31, 2023 at 8:48 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
There is no binary compatibility between FreeBSD and OpenBSD... none of  the 
*BSDs are compatible.
Lazarus gets compiled from sources using the fpc from OpenBSD repos...
To get root access, your user must be member of wheel and control groups. 
Instead of sudo, you use doas.
To activate doas, you have to create a doas.conf in /et with the following 
content (a single line):

permit persist :wheel

I doubt you will solve it, it is too much work. Right now, I am ok with 
Lazarus. Thank you Fred, is not an emergency. OpenBSD as an workstation is 
extremely restrictive and kinda slow compared to even FreeBSD, not talking 
about linux. THank you again but I will advise not to pursue it further.

The most annoying thing for me is that I am unable to run apps compiled in 
clang that uses GLFW library... lots of crashes... raylib and nanovg graphic 
libraries that uses GL are a no-no :(   I had more success in FreeBSD and 
NetBSD overall...


On Wed, May 31, 2023 at 8:30 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Hi Fred,
fpc is included in OpenBSD repository...
you look for it with pkg_info -Q fpc
and install it with pkg_add fpc
but you have to install also the other units...
But I think sourceforge has packages for 3.2.2 for OpenBSD?

On Wed, May 31, 2023 at 7:55 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-re hello Vasi.
Do you know from where to download a fpc OpenBSD release?
I only found fpc install release for FreeBSD (or maybe the release of fpc 
FreeBSD works for OpenBSD) ?

Thanks.



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mercredi 31 mai 2023 10:36
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Ok, I tried mseide first, it compiles msegui ok but fails at linking...
It says there are undefined references to "__error" and "iconv" in 
msecwstring.pas, mselibc.pas and msesysintf1.pas

Probably OpenBSD not a valid target?

On Wed, May 31, 2023 at 10:42 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Actually, I will try to figure it from your compilation command of uide from 
your repository, I'll keep you posted...

On Wed, May 31, 2023 at 10:23 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Thank you Fred, my problem with mseide-msegui is as follows:
I run OpenBSD 7.3 on one of my laptops (where is fpc 3.2.2 but no Lazarus) and 
I would like to have a makefile or a script that assures the compilation of the 
msegui units, required to create mseide executable. Once done, probably I will 
be able to compile also your ide...

Of course, I will download your ide for the other operating systems if is 
portable as you say - I can't say no to that!
Thank you again!

On Tue, May 30, 2023 at 6:23 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Thanks Vasi vasi!

By the way there is a new release of ideU: 
https://github.com/fredvs/ideU/releases/

In the assets there are also the "PacPas" releases that include all needed: fpc 
compiler, gdb debugger, source of msegui, fpgui and bgrabitmap.
No need to config anything, just download the release, unzip it and use it.
You may also install it on a usb stick and compile your project using ideU from 
the usb stick, out-of-the-box.

Without, of course, any conflict with already other fpc installed.

Fre;D

De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mardi 30 mai 2023 12:50
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Thank you Fred, much appreciated!

On Tue, May 30, 2023 at 12:37 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi vasi and everybody!

OK, new very stable release: 
https://github.com/mse-org/mseide-msegui/releases/tag/5.8.0

Enjoy!

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : lundi 29 mai 2023 12:48
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Yes, always good to have the fixed version! Thank you!

On Sun, May 28, 2023 at 10:24 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello everybody.

Thanks to Siegh

Re: [MSEide-MSEgui-talk] New release?

2023-05-31 Thread Fred van Stappen
Re-re-re hello Vasi.

Here the result of compil+link:
https://github.com/mse-org/mseide-msegui/assets/3421249/4750a48e-a861-4af4-b258-eb014c4a2a96

OK, I stop for tonight.

Fre;D

De : vasi vasi 
Envoyé : mercredi 31 mai 2023 19:50
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

* meant to say /etc as destination for the doas.conf file...

On Wed, May 31, 2023 at 8:48 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
There is no binary compatibility between FreeBSD and OpenBSD... none of  the 
*BSDs are compatible.
Lazarus gets compiled from sources using the fpc from OpenBSD repos...
To get root access, your user must be member of wheel and control groups. 
Instead of sudo, you use doas.
To activate doas, you have to create a doas.conf in /et with the following 
content (a single line):

permit persist :wheel

I doubt you will solve it, it is too much work. Right now, I am ok with 
Lazarus. Thank you Fred, is not an emergency. OpenBSD as an workstation is 
extremely restrictive and kinda slow compared to even FreeBSD, not talking 
about linux. THank you again but I will advise not to pursue it further.

The most annoying thing for me is that I am unable to run apps compiled in 
clang that uses GLFW library... lots of crashes... raylib and nanovg graphic 
libraries that uses GL are a no-no :(   I had more success in FreeBSD and 
NetBSD overall...


On Wed, May 31, 2023 at 8:30 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Hi Fred,
fpc is included in OpenBSD repository...
you look for it with pkg_info -Q fpc
and install it with pkg_add fpc
but you have to install also the other units...
But I think sourceforge has packages for 3.2.2 for OpenBSD?

On Wed, May 31, 2023 at 7:55 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-re hello Vasi.
Do you know from where to download a fpc OpenBSD release?
I only found fpc install release for FreeBSD (or maybe the release of fpc 
FreeBSD works for OpenBSD) ?

Thanks.



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mercredi 31 mai 2023 10:36
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Ok, I tried mseide first, it compiles msegui ok but fails at linking...
It says there are undefined references to "__error" and "iconv" in 
msecwstring.pas, mselibc.pas and msesysintf1.pas

Probably OpenBSD not a valid target?

On Wed, May 31, 2023 at 10:42 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Actually, I will try to figure it from your compilation command of uide from 
your repository, I'll keep you posted...

On Wed, May 31, 2023 at 10:23 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Thank you Fred, my problem with mseide-msegui is as follows:
I run OpenBSD 7.3 on one of my laptops (where is fpc 3.2.2 but no Lazarus) and 
I would like to have a makefile or a script that assures the compilation of the 
msegui units, required to create mseide executable. Once done, probably I will 
be able to compile also your ide...

Of course, I will download your ide for the other operating systems if is 
portable as you say - I can't say no to that!
Thank you again!

On Tue, May 30, 2023 at 6:23 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Thanks Vasi vasi!

By the way there is a new release of ideU: 
https://github.com/fredvs/ideU/releases/

In the assets there are also the "PacPas" releases that include all needed: fpc 
compiler, gdb debugger, source of msegui, fpgui and bgrabitmap.
No need to config anything, just download the release, unzip it and use it.
You may also install it on a usb stick and compile your project using ideU from 
the usb stick, out-of-the-box.

Without, of course, any conflict with already other fpc installed.

Fre;D

De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mardi 30 mai 2023 12:50
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Thank you Fred, much appreciated!

On Tue, May 30, 2023 at 12:37 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi vasi and everybody!

OK, new very stable release: 
https://github.com/mse-org/mseide-msegui/releases/tag/5.8.0

Enjoy!

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : lundi 29 mai 2023 12:48
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Yes, always good to have the fixed version! Thank you!

On Sun, May 28, 2023 at 10:24 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello everybody.

Thanks to Sieghard, Jonas and LagProgramming there was many fixes from last 
release.
What do you think to do a new release 5.8.0 with all the

Re: [MSEide-MSEgui-talk] New release?

2023-06-01 Thread Fred van Stappen
Thanks Vasi!

But there is still problem with the access to files, like with the file-dialogs.

It needs some more white nights...

Fre;D

De : vasi vasi 
Envoyé : jeudi 1 juin 2023 11:33
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Wow Fred! I was quick to give up! Man, you are fantastic, there is no thank you 
enough to pay your efforts!
God bless!

On Thu, Jun 1, 2023 at 3:40 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-..._re hello Vasi.

Yep, on OpenBSD, mseide compiles, links and ... run!

Last commit should do the trick.

Here sceenshot ( the last for tonight ):
https://github.com/mse-org/mseide-msegui/assets/3421249/3ff71e23-396a-472a-a34e-083a37284cab

Fre;D

De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mercredi 31 mai 2023 19:50
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

* meant to say /etc as destination for the doas.conf file...

On Wed, May 31, 2023 at 8:48 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
There is no binary compatibility between FreeBSD and OpenBSD... none of  the 
*BSDs are compatible.
Lazarus gets compiled from sources using the fpc from OpenBSD repos...
To get root access, your user must be member of wheel and control groups. 
Instead of sudo, you use doas.
To activate doas, you have to create a doas.conf in /et with the following 
content (a single line):

permit persist :wheel

I doubt you will solve it, it is too much work. Right now, I am ok with 
Lazarus. Thank you Fred, is not an emergency. OpenBSD as an workstation is 
extremely restrictive and kinda slow compared to even FreeBSD, not talking 
about linux. THank you again but I will advise not to pursue it further.

The most annoying thing for me is that I am unable to run apps compiled in 
clang that uses GLFW library... lots of crashes... raylib and nanovg graphic 
libraries that uses GL are a no-no :(   I had more success in FreeBSD and 
NetBSD overall...


On Wed, May 31, 2023 at 8:30 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Hi Fred,
fpc is included in OpenBSD repository...
you look for it with pkg_info -Q fpc
and install it with pkg_add fpc
but you have to install also the other units...
But I think sourceforge has packages for 3.2.2 for OpenBSD?

On Wed, May 31, 2023 at 7:55 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-re hello Vasi.
Do you know from where to download a fpc OpenBSD release?
I only found fpc install release for FreeBSD (or maybe the release of fpc 
FreeBSD works for OpenBSD) ?

Thanks.



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mercredi 31 mai 2023 10:36
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Ok, I tried mseide first, it compiles msegui ok but fails at linking...
It says there are undefined references to "__error" and "iconv" in 
msecwstring.pas, mselibc.pas and msesysintf1.pas

Probably OpenBSD not a valid target?

On Wed, May 31, 2023 at 10:42 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Actually, I will try to figure it from your compilation command of uide from 
your repository, I'll keep you posted...

On Wed, May 31, 2023 at 10:23 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Thank you Fred, my problem with mseide-msegui is as follows:
I run OpenBSD 7.3 on one of my laptops (where is fpc 3.2.2 but no Lazarus) and 
I would like to have a makefile or a script that assures the compilation of the 
msegui units, required to create mseide executable. Once done, probably I will 
be able to compile also your ide...

Of course, I will download your ide for the other operating systems if is 
portable as you say - I can't say no to that!
Thank you again!

On Tue, May 30, 2023 at 6:23 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Thanks Vasi vasi!

By the way there is a new release of ideU: 
https://github.com/fredvs/ideU/releases/

In the assets there are also the "PacPas" releases that include all needed: fpc 
compiler, gdb debugger, source of msegui, fpgui and bgrabitmap.
No need to config anything, just download the release, unzip it and use it.
You may also install it on a usb stick and compile your project using ideU from 
the usb stick, out-of-the-box.

Without, of course, any conflict with already other fpc installed.

Fre;D

De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mardi 30 mai 2023 12:50
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Thank you Fred, much appreciated!

On Tue, May 30, 2023 at 12:37 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi vasi and everybody!

OK, new very stable release

Re: [MSEide-MSEgui-talk] New release?

2023-06-03 Thread Fred van Stappen
Hello Vasi.

OK the fully workable solution found!
readdir_r() is in the pocked (ok last commit ).

https://github.com/mse-org/mseide-msegui/assets/3421249/a8180cc9-e65f-4a05-a2c1-e9de4b3e160a

https://github.com/mse-org/mseide-msegui/assets/3421249/813bd25c-5f93-4130-8bb2-9249f19e89da

Yep!

Fre;D



De : vasi vasi 
Envoyé : samedi 3 juin 2023 16:56
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

I intend to use that as well... one day we might find a fully workable 
solution...

On Sat, Jun 3, 2023 at 2:40 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-hello Vasi.

ideU compiles and works ok.
https://github.com/mse-org/mseide-msegui/assets/3421249/1d68e8bb-1fa0-40e2-9849-52fc534bda16

Of course the file-dialog does not work but if you write the complete path of a 
project, it loads and you can use the ide.

So there is only that readdir_r() method that makes shadow, I hope that some 
light will appear...

Fre;D


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : vendredi 2 juin 2023 23:58
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Thank you Fred, your effort is greatly appreciated! I am happy with what you 
did already!
Thank you again!

On Fri, Jun 2, 2023 at 11:49 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Hello Vasi.

I did spent some white night and black afternoon but I am blocked with one 
method that does not work as expected.

It is function "sys_readdirstream(var stream: dirstreamty; var info: 
fileinfoty): boolean"  in /kernel/linux/msesysintf.pas.
With Linux and FreeBSD, after the function 
"readdir64_r(pdir(d.dir),@dirent,@po1) = 0" the dirent.d_name is correct but 
there is nothing with OpenBSD.

Note that with OpenBSD it is "readdir_r" method that is used from libc and the 
"dirent" record was adapted like in OpenBSD manual.

So, to resume, all is working apart for components that use  
"sys_readdirstream()" method, for example the filedialog component.

I did try also with last fpc 3.3.1 compiled from trunk, without better result.

I have to admit that, sadly, I did not find the solution.

Fre;D

;-(


De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : jeudi 1 juin 2023 11:48
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

I will test it in around one hour, and keep you posted.

On Thu, Jun 1, 2023 at 3:40 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-..._re hello Vasi.

Yep, on OpenBSD, mseide compiles, links and ... run!

Last commit should do the trick.

Here sceenshot ( the last for tonight ):
https://github.com/mse-org/mseide-msegui/assets/3421249/3ff71e23-396a-472a-a34e-083a37284cab

Fre;D

De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : mercredi 31 mai 2023 19:50
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

* meant to say /etc as destination for the doas.conf file...

On Wed, May 31, 2023 at 8:48 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
There is no binary compatibility between FreeBSD and OpenBSD... none of  the 
*BSDs are compatible.
Lazarus gets compiled from sources using the fpc from OpenBSD repos...
To get root access, your user must be member of wheel and control groups. 
Instead of sudo, you use doas.
To activate doas, you have to create a doas.conf in /et with the following 
content (a single line):

permit persist :wheel

I doubt you will solve it, it is too much work. Right now, I am ok with 
Lazarus. Thank you Fred, is not an emergency. OpenBSD as an workstation is 
extremely restrictive and kinda slow compared to even FreeBSD, not talking 
about linux. THank you again but I will advise not to pursue it further.

The most annoying thing for me is that I am unable to run apps compiled in 
clang that uses GLFW library... lots of crashes... raylib and nanovg graphic 
libraries that uses GL are a no-no :(   I had more success in FreeBSD and 
NetBSD overall...


On Wed, May 31, 2023 at 8:30 PM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Hi Fred,
fpc is included in OpenBSD repository...
you look for it with pkg_info -Q fpc
and install it with pkg_add fpc
but you have to install also the other units...
But I think sourceforge has packages for 3.2.2 for OpenBSD?

On Wed, May 31, 2023 at 7:55 PM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Re-re hello Vasi.
Do you know from where to download a fpc OpenBSD release?
I only found fpc install release for FreeBSD (or maybe the release of fpc 
FreeBSD works for OpenBSD) ?

Thanks.



De : vasi vasi mailto:funl...@gmail.com>>
Envoyé : merc

Re: [MSEide-MSEgui-talk] Note at compile time FPC ver 3.2.2

2023-07-25 Thread Fred van Stappen
Hello Med.

>frmbasepage.pas(98,6)

Hum, sorry but I do not find frmbasepage.pas in MSEgui source.

Where is it?


De : mohamed hamza 
Envoyé : mardi 25 juillet 2023 18:55
À : General list for MSEide+MSEgui 
Objet : [MSEide-MSEgui-talk] Note at compile time FPC ver 3.2.2

Hello ,

  I got this note:

  frmbasepage.pas(98,6) Note: Call to subroutine "operator :=(const 
source:Currency):Variant;" marked as inline is not  inlined.

begin
nC:=StrToCurr(avalue);
tcustomdataedit(sender).getinterface(idbeditfieldlink,intf1);
with intf1.getfieldlink() do oField:=dataset.fieldByname(fieldname);
line  98  if nC<>oField.value then

.

iS IT POSSIBLE TO CLEAN THAT.

MED.
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] New release?

2023-06-12 Thread Fred van Stappen
Hello Vasi.

Yep, I finally managed to tame the directory access.
Now, with last commit, all (should) works perfectly, included mseide, no more 
perpetual loop at run, nor crash and file-dialogs are working ok.

NetBSD was not easy to tame, mainly because of missing or wrong doc.
For example, https://man.netbsd.org/dirent.3
The declaration of

 uint16_td_namlen;


is wrong, it should be uint8_t and make the things not work, changing to uint8 
fix it.

Also there is a bug with readdir_r(), sometime it never reach to the end of the 
directory and does a perpetual loop.

I use now readdir(), this one is ok.

It was a hard battle but we win.

Cheers.

Fre;D


De : vasi vasi 
Envoyé : lundi 12 juin 2023 17:36
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

NetBSD is in full transition to clang but it cannot give up on gcc also, so, 
there are two different linkers with different configurations and expectations. 
With resulted programs that cannot find their shared libs so is a total mess... 
Hopefully, NetBSD 10 will ease things... But not only the BSD world, Linux 
also... there are efforts towards clang...

Until then, even for C programs there are problems... Because I don't know 
other way, I had to copy-symlink all libraries from X11R7 to /usr/lib, not only 
six of them (thanks for the pointer)... I'm pretty sure there is a right way to 
do it?  A manual or something (it wasn't this mess a few years back...)

For example for lockf () function, (if I remember correctly, because I am now 
on the linux laptop) you get errors and if you look at the man manual, things 
are like in linux, but it ends up that you really must change the value of one 
parameter the way compiler suggest it... In the end, raylib 4.0 compiles and 
runs ok but the timing is wrong because of incompatibilities with the timer 
functions that are yet to be solved... A nice graphical library that we have a 
pascal translation for. At least, in OpenBSD didn't worked at all (mouse 
problems in glfw library)...  We really need some pointers from the developers 
and the porting team... Typhoon Relational Database needed also some 
interventions... Because, asking users to do what we do is a no-no... But at 
least, things are working...

Otherwise, NetBSD snappier for me than OpenBSD... Your pointers were helpful. I 
had an X11 freeze trying mseide but I switched to the console and killed the 
X... No system crash, and I activated the journaling for the file system, just 
to be sure is recoverable... It works better than in OpenBSD...

So, it seems that NetBSD requires the most work from the three of them... but I 
expect dflyBSD to be as easier as FreeBSD (if we make mouse and keyboard to 
work on X)...

On Mon, Jun 12, 2023 at 6:18 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Excellent progress!
I also lost the night configuring NetBSD, setting the firewall, installing 
apps... now is up and running, just to make those X11 symlinks. Also having 
some difficulties in compiling a C library, but not mseide related...

On Mon, Jun 12, 2023 at 12:22 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Allez, the very last for tonight.

I found the guilty of the icons and images not show and the error message of 
corrupt X11 atom.
It is the image property bmo_graymask.
And in all the mseide project all images or images list have "bmo_graymask = 
true".
When setting bmo_graymask := false for all image and image-list the icon and 
image are ok.

 
https://github.com/mse-org/mseide-msegui/assets/3421249/3452e988-1504-44df-a9e9-84ecdf65806a

By the way, I never understood that property "bmo_graymask", setting it to true 
or false dont change anything on other os.

It is a excellent news because fighting with X11 is a other story.

So, perfect, the icons and images problems are solved.
I will clean all the code, set bmo_graymask := false for eveybody and do the 
commit tonight.

Only remains the access to directory in file dialog that resists.
But not for longtime (but not for tonight).

Fre;D

____________
De : Fred van Stappen mailto:fi...@hotmail.com>>
Envoyé : dimanche 11 juin 2023 21:06
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Ooops, in previous post, the screenshot was without the run, here the good one.
In the terminal, no more cry of X11 for bad atom.

https://github.com/mse-org/mseide-msegui/assets/3421249/73bae81e-f28c-4790-b26c-5f408a9a2975

Note too that file access via the file-dialog is not yet perfect, for creating 
the project I have to write the full path + name, playing with the 
directory-icons was not ok.

So, to resume, still some work but it will be possible to terminate the combat.

Fre;D
________
De : Fred van Stappen mailto:fi...@hotmail.com>>
Envoyé : dimanche 11 

Re: [MSEide-MSEgui-talk] New release?

2023-06-12 Thread Fred van Stappen
Re-hello Vasi.

Note that you need to run the application via console, strangely if you 2Xclick 
on the binary, the application run then freeze.
I did try for other binaries (not fpc binaries) and it is the same.
Maybe a protection feature (or a bug).

Fre;D



De : Fred van Stappen 
Envoyé : lundi 12 juin 2023 19:57
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

Hello Vasi.

Yep, I finally managed to tame the directory access.
Now, with last commit, all (should) works perfectly, included mseide, no more 
perpetual loop at run, nor crash and file-dialogs are working ok.

NetBSD was not easy to tame, mainly because of missing or wrong doc.
For example, https://man.netbsd.org/dirent.3
The declaration of

 uint16_td_namlen;


is wrong, it should be uint8_t and make the things not work, changing to uint8 
fix it.

Also there is a bug with readdir_r(), sometime it never reach to the end of the 
directory and does a perpetual loop.

I use now readdir(), this one is ok.

It was a hard battle but we win.

Cheers.

Fre;D


De : vasi vasi 
Envoyé : lundi 12 juin 2023 17:36
À : General list for MSEide+MSEgui 
Objet : Re: [MSEide-MSEgui-talk] New release?

NetBSD is in full transition to clang but it cannot give up on gcc also, so, 
there are two different linkers with different configurations and expectations. 
With resulted programs that cannot find their shared libs so is a total mess... 
Hopefully, NetBSD 10 will ease things... But not only the BSD world, Linux 
also... there are efforts towards clang...

Until then, even for C programs there are problems... Because I don't know 
other way, I had to copy-symlink all libraries from X11R7 to /usr/lib, not only 
six of them (thanks for the pointer)... I'm pretty sure there is a right way to 
do it?  A manual or something (it wasn't this mess a few years back...)

For example for lockf () function, (if I remember correctly, because I am now 
on the linux laptop) you get errors and if you look at the man manual, things 
are like in linux, but it ends up that you really must change the value of one 
parameter the way compiler suggest it... In the end, raylib 4.0 compiles and 
runs ok but the timing is wrong because of incompatibilities with the timer 
functions that are yet to be solved... A nice graphical library that we have a 
pascal translation for. At least, in OpenBSD didn't worked at all (mouse 
problems in glfw library)...  We really need some pointers from the developers 
and the porting team... Typhoon Relational Database needed also some 
interventions... Because, asking users to do what we do is a no-no... But at 
least, things are working...

Otherwise, NetBSD snappier for me than OpenBSD... Your pointers were helpful. I 
had an X11 freeze trying mseide but I switched to the console and killed the 
X... No system crash, and I activated the journaling for the file system, just 
to be sure is recoverable... It works better than in OpenBSD...

So, it seems that NetBSD requires the most work from the three of them... but I 
expect dflyBSD to be as easier as FreeBSD (if we make mouse and keyboard to 
work on X)...

On Mon, Jun 12, 2023 at 6:18 AM vasi vasi 
mailto:funl...@gmail.com>> wrote:
Excellent progress!
I also lost the night configuring NetBSD, setting the firewall, installing 
apps... now is up and running, just to make those X11 symlinks. Also having 
some difficulties in compiling a C library, but not mseide related...

On Mon, Jun 12, 2023 at 12:22 AM Fred van Stappen 
mailto:fi...@hotmail.com>> wrote:
Allez, the very last for tonight.

I found the guilty of the icons and images not show and the error message of 
corrupt X11 atom.
It is the image property bmo_graymask.
And in all the mseide project all images or images list have "bmo_graymask = 
true".
When setting bmo_graymask := false for all image and image-list the icon and 
image are ok.

 
https://github.com/mse-org/mseide-msegui/assets/3421249/3452e988-1504-44df-a9e9-84ecdf65806a

By the way, I never understood that property "bmo_graymask", setting it to true 
or false dont change anything on other os.

It is a excellent news because fighting with X11 is a other story.

So, perfect, the icons and images problems are solved.
I will clean all the code, set bmo_graymask := false for eveybody and do the 
commit tonight.

Only remains the access to directory in file dialog that resists.
But not for longtime (but not for tonight).

Fre;D

____________
De : Fred van Stappen mailto:fi...@hotmail.com>>
Envoyé : dimanche 11 juin 2023 21:06
À : General list for MSEide+MSEgui 
mailto:mseide-msegui-talk@lists.sourceforge.net>>
Objet : Re: [MSEide-MSEgui-talk] New release?

Ooops, in previous post, the screenshot was without the run, here the good one.
In the terminal, no more cry of X11 for bad atom.

https://github.com/mse-org/mseide-m

<    6   7   8   9   10   11