OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Jochen Schäfer on June 27, 2021, 03:57:34 pm
-
I'm proud to annouce a full featured release of FeatherPad 0.18.0 for OS/2. I started to scratch an itch.
Head over here: https://github.com/josch1710/FeatherPad/releases/tag/v0.18.0-os2 (https://github.com/josch1710/FeatherPad/releases/tag/v0.18.0-os2). There are two binary packages: One is just a zip of the needed files, one is an RPM. For the plain ZIP, you need to install Qt5 and Hunspell. The RPM should pull in the required packages.
Description:
FeatherPad (by Pedram Pourang, a.k.a. Tsu Jan tsujan2000@gmail.com) is a lightweight Qt plain-text editor for Linux. It is independent of any desktop environment and has:
- Drag-and-drop support, including tab detachment and attachment;
- X11 virtual desktop awareness (using tabs on current desktop but opening a new window on another);
- An optionally permanent search-bar with a different search entry for each tab;
- Instant highlighting of found matches when searching;
- A docked window for text replacement;
- Support for showing line numbers and jumping to a specific line;
- Optional selection highlighting;
- Automatic detection of text encoding as far as possible and optional saving with encoding;
- Syntax highlighting for common programming languages;
- Ability to open URLs with appropriate applications;
- Session management;
- Side-pane mode;
- Auto-saving;
- Spell checking with Hunspell;
- Printing;
- Text zooming;
- Appropriate but non-interrupting prompts;
- Haiku OS support (by khallebal at GitHub);
- macOS support (by Pavel Shlyak); and
- Other features that can be found in its settings, on its menus or when it is actually used.
Have fun.
-
Thank you Jochen.
I just installed it (rpm version) and seems to be working fine. I will be trying it further, since it is the first time I'm using it. It looks very good.
Just one thing, the "Help -> About" says it is version 0.19.0.
Regards
-
Martin, you are right. I ported HEAD, but the last release was 0.18.0. I change the release number for the next release.
I still have something to investigate, which doesn't seem to work.
-
Little tip for executing script from FeatherPad: Go to Settings -> Files and there activate "Run executable scripts" and enter the location of your favorite shell, eg. /@unixroot/usr/bin/dash.exe. After that, when you execute a supported script type like python with a shebang, you can run the script by pressing ctrl+e.
I looked up on the other repositories of the FeatherPad author. He also has FeatherNote (notes editor) and Arqiver (archive manager).
Anyone interested in a port of these two applications?
-
I looked up on the other repositories of the FeatherPad author. He also has FeatherNote (notes editor) and Arqiver (archive manager).
Anyone interested in a port of these two applications?
Hi
I saw the screenshots of both and look interesting. I want to test "Arqiver".
Regards
-
Hi
Just some a little issue wiht FeatherPad. I don't know if it is from the program or the WPS.
I created a WPS object called "FeatherPad" on the desktop, and assigned this object the association "Plain Text". When I double click a plain text file (like a txt), it opens FeatherPad but not the .txt file inside the app.
Regards
-
Most likely the application does not recognize a filename as a file to open as command line argument.
You can check that yourself: Execute <appname> <filename> and see if that works.
-
Hi Andreas
If I execute:
featherpad c:\config.sys
It does not open the config.sys file on the app. I guess it is an app limitation then.
Regards
-
It should be able to open any number of files added on the command line. I have to investigate that issue.
-
Hi Andreas
If I execute:
featherpad c:\config.sys
It does not open the config.sys file on the app. I guess it is an app limitation then.
Regards
What does work is
featherpad config.sys
and when I typo-ed confog.sys it even said the file doesn't exist.
What doesn't work is any form of drive letter, w:\config.sys, w:\\config.sys and w:/config.sys all fail. /config.sys and \config.sys succeed as long as I'm on the correct drive, w: in my case.
Seems the problem is the : which *nix uses like we use ;
-
featherpad --help also fails to do anything, the help says it should display all command line options in the terminal.
Interestingly featherpad --help | less makes the terminal disappear, doing the same in fc/2 also makes it disappear but clicking the icon brings it back displaying the command line help piped to less. Piping through tee works better with the window vanishing and then reappearing.
So needs to handle : likely already code for Windows to do that and there's something wrong with the terminal output.
Edit: Killing the less process brings the cmd prompt back
-
Ok, Featherpad tries to open the files by URL scheme. When opening a local file, it works, but not when non-UNIX path names are included. What works for me, is prepending file:, e.g. file:c:\config.sys.
@Dave: The help and version are not shown, because the application is marked as WINDOWAPI, preventing it from displaying something on the console. I created an issue for this in my Github repo.
-
So, I tried some stuff with VIO and such, but I couldn't get it to work.
Do we really need the ability to show the help text on the console?
I could write some readme and install it with the RPM.
-
So, I tried some stuff with VIO and such, but I couldn't get it to work.
Do we really need the ability to show the help text on the console?
I could write some readme and install it with the RPM.
Seems a readme including pointing out the tee or less trick would be fine. People already have to do similar to log messages with some programs such as the Mozilla apps.
It's a pretty short help anyways.
-
I wrote an Readme for OS/2.
Can somebody please check, if is understandable and correct English?
You find it here: https://github.com/josch1710/FeatherPad/blob/master/README_OS2.md
-
I wrote an Readme for OS/2.
Can somebody please check, if is understandable and correct English?
You find it here: https://github.com/josch1710/FeatherPad/blob/master/README_OS2.md
It's mostly correct and understandable except the Unix style paths. Reading it, I would expect featherpad /w:/config.sys to work and it doesn't. The @unixroot is and isn't a valid Unix path, it's more like %UNIXROOT%\config.sys.
Not sure how to state it better, perhaps "Some Unix style paths work using substitution such as @unixroot/config.sys or absolute paths such as \config.sys or /config.sys"
Still doesn't look quite right though
-
Yes, maybe the example is not a good one. My guess is that everything with a forward slash will be recognized as a file URL.
I will test some more and correct the readme.
Thanks Dave
-
Could just replace UNIX type paths with LIBC type paths or simply not mention it.
-
I already updated the readme. The real culprit is only the drive letter. Obviously, QUrl takes that as a protocol designator. I'm thinking about working around it.
Stay tuned.
-
Here ist the new release: https://github.com/josch1710/FeatherPad/releases/tag/0.19.0-os2.
It includes the OS/2 readme and a workaround of the driver letter issue. Now, one doesn't need to prepend the file: scheme.
Also, the RPM now creates a folder and icons for the application and some documentation.
Enjoy
-
Thanks, installed fine with the folder on the desktop.
One problem I see, with both versions, is that it seems to keep one core busy, sometimes spread out to all 4 cores being partially busy. Hate to run it with only one core and even like this, don't want to leave it open. Perhaps only my system with this?
-
Dave, I never monitored the CPU usage. I will look at the problem.
-
Thanks, installed fine with the folder on the desktop.
One problem I see, with both versions, is that it seems to keep one core busy, sometimes spread out to all 4 cores being partially busy. Hate to run it with only one core and even like this, don't want to leave it open. Perhaps only my system with this?
Assuming that other Qt5 apps run ok? There were issues with one of the DLLs from the 2019 release causing excessive CPU usage.....
-
Thanks, installed fine with the folder on the desktop.
One problem I see, with both versions, is that it seems to keep one core busy, sometimes spread out to all 4 cores being partially busy. Hate to run it with only one core and even like this, don't want to leave it open. Perhaps only my system with this?
Assuming that other Qt5 apps run ok? There were issues with one of the DLLs from the 2019 release causing excessive CPU usage.....
Hmm, hearts seems to do the same. This is with all the QT5 dlls from netlabs-rel
-
That was my suspicion, too, after I checked FeatherPad on my Mac.
Nevertheless, has anyone an idea, where the problem is? Is it the message queue?
-
Thanks, installed fine with the folder on the desktop.
One problem I see, with both versions, is that it seems to keep one core busy, sometimes spread out to all 4 cores being partially busy. Hate to run it with only one core and even like this, don't want to leave it open. Perhaps only my system with this?
Assuming that other Qt5 apps run ok? There were issues with one of the DLLs from the 2019 release causing excessive CPU usage.....
Hmm, hearts seems to do the same. This is with all the QT5 dlls from netlabs-rel
From the gImageReader thread - https://github.com/bitwiseworks/qtbase-os2/issues/121 has the fix to QtCore5.dll
Why this hasn't been pushed out as a fix to netlabs-rel is beyond me....
Cheers,
Paul
-
Hmm, seems I had already downloaded that file last November but never installed it. This does fix the CPU issue.
Thanks
-
Well, SDL2 mixer etc are also still in experimental limbo.
Is there anything we can do about it?
-
Well, SDL2 mixer etc are also still in experimental limbo.
Is there anything we can do about it?
Hi
Ask Silvan if he will put them to release
-
And how do we contact Silvan?
-
And how do we contact Silvan?
Email to bww? Or just wait a bit, he scans the fora from time to time and was very responsive in the past. Additionally: It's vacation time.
-
Hi
I ask Silvan yesterday he will do when time permits...
It's done now he told me ...
-
Hi.
I have dropped a new version on Github: https://github.com/josch1710/FeatherPad/releases/tag/v1.0.1-os2 (https://github.com/josch1710/FeatherPad/releases/tag/v1.0.1-os2).
Bye
Jochen
-
I have updated FeatherPad to 1.2.0. You found the new version here: https://github.com/josch1710/FeatherPad/releases/tag/v1.2.0-os2 (https://github.com/josch1710/FeatherPad/releases/tag/v1.2.0-os2).
-
I have build a newer package for FeatherPad version 1.3.2, https://github.com/josch1710/FeatherPad/releases/tag/v1.3.2-os2 (https://github.com/josch1710/FeatherPad/releases/tag/v1.3.2-os2).
-
I have build a package for FeatherPad version 1.4.0, https://github.com/josch1710/FeatherPad/releases/tag/v1.4.0-os2.
-
Thanks Jochen. I will updated it right now.
Regards
-
Hi
I'm just wondering if it can be possible to add the WPS Association attributes (see picture) in some way inside the .rpm package.
Regards
-
I'm a little hazy about how to associate a program with type in WPS. Can you bring me up to speed?
If there is some tool or shell command to do the association, I guess, I can add that to the RPM.
-
Hi Jochen
You got me there. I guess it may be the "ASSOCTYPE (http://www.edm2.com/index.php/Workplace_Shell_Object_Setup_Strings)" property when you create the WPS object (WPProgram?) on the desktop for the EXE file.
Sorry, I'm not an expert on this.
Regards