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 (grrrrrr). 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 <funl...@gmail.com> Envoyé : jeudi 8 juin 2023 03:17 À : General list for MSEide+MSEgui <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 <fi...@hotmail.com<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 <funl...@gmail.com<mailto:funl...@gmail.com>> Envoyé : jeudi 8 juin 2023 00:09 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net<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 <funl...@gmail.com<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 <fi...@hotmail.com<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 <funl...@gmail.com<mailto:funl...@gmail.com>> Envoyé : mardi 6 juin 2023 12:29 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net<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 <fi...@hotmail.com<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 <funl...@gmail.com<mailto:funl...@gmail.com>> Envoyé : lundi 5 juin 2023 19:59 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net<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 <funl...@gmail.com<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 <funl...@gmail.com<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 <fi...@hotmail.com<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 <funl...@gmail.com<mailto:funl...@gmail.com>> Envoyé : lundi 5 juin 2023 15:00 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net<mailto:mseide-msegui-talk@lists.sourceforge.net>> 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 <funl...@gmail.com<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 <fi...@hotmail.com<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 <funl...@gmail.com<mailto:funl...@gmail.com>> Envoyé : dimanche 4 juin 2023 16:24 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net<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 <fi...@hotmail.com<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 <funl...@gmail.com<mailto:funl...@gmail.com>> Envoyé : samedi 3 juin 2023 16:56 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net<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 <fi...@hotmail.com<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 <funl...@gmail.com<mailto:funl...@gmail.com>> Envoyé : vendredi 2 juin 2023 23:58 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net<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 <fi...@hotmail.com<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 <funl...@gmail.com<mailto:funl...@gmail.com>> Envoyé : jeudi 1 juin 2023 11:48 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net<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 <fi...@hotmail.com<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 <funl...@gmail.com<mailto:funl...@gmail.com>> Envoyé : mercredi 31 mai 2023 19:50 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net<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 <funl...@gmail.com<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 <funl...@gmail.com<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 <fi...@hotmail.com<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 <funl...@gmail.com<mailto:funl...@gmail.com>> Envoyé : mercredi 31 mai 2023 10:36 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net<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 <funl...@gmail.com<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 <funl...@gmail.com<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 <fi...@hotmail.com<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 <funl...@gmail.com<mailto:funl...@gmail.com>> Envoyé : mardi 30 mai 2023 12:50 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net<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 <fi...@hotmail.com<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 <funl...@gmail.com<mailto:funl...@gmail.com>> Envoyé : lundi 29 mai 2023 12:48 À : General list for MSEide+MSEgui <mseide-msegui-talk@lists.sourceforge.net<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 <fi...@hotmail.com<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 last fixes? Fre;D _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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 -- Vasi -- Vasi _______________________________________________ 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 -- Vasi -- Vasi _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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 -- Vasi _______________________________________________ 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 -- Vasi -- Vasi _______________________________________________ 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 _______________________________________________ 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 -- Vasi _______________________________________________ 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
_______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk