Author Topic: FeatherPad for OS/2  (Read 22432 times)

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +27/-0
    • View Profile
FeatherPad for OS/2
« 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. 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.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4710
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: FeatherPad for OS/2
« Reply #1 on: June 27, 2021, 06:57:39 pm »
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
« Last Edit: June 27, 2021, 07:00:58 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +27/-0
    • View Profile
Re: FeatherPad for OS/2
« Reply #2 on: June 27, 2021, 07:58:15 pm »
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.

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +27/-0
    • View Profile
Re: FeatherPad for OS/2
« Reply #3 on: June 28, 2021, 10:15:40 am »
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?

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4710
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: FeatherPad for OS/2
« Reply #4 on: June 28, 2021, 02:30:39 pm »
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
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4710
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: FeatherPad for OS/2
« Reply #5 on: July 06, 2021, 04:06:25 pm »
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
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Andreas Schnellbacher

  • Hero Member
  • *****
  • Posts: 827
  • Karma: +14/-0
    • View Profile
Re: FeatherPad for OS/2
« Reply #6 on: July 06, 2021, 04:51:54 pm »
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.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4710
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: FeatherPad for OS/2
« Reply #7 on: July 06, 2021, 06:21:24 pm »
Hi Andreas

If I execute:
Code: [Select]
featherpad c:\config.sysIt does not open the config.sys file on the app. I guess it is an app limitation then.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +27/-0
    • View Profile
Re: FeatherPad for OS/2
« Reply #8 on: July 06, 2021, 07:02:06 pm »
It should be able to open any number of files added on the command line. I have to investigate that issue.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4786
  • Karma: +99/-1
    • View Profile
Re: FeatherPad for OS/2
« Reply #9 on: July 06, 2021, 11:34:40 pm »
Hi Andreas

If I execute:
Code: [Select]
featherpad c:\config.sysIt does not open the config.sys file on the app. I guess it is an app limitation then.

Regards

What does work is
Code: [Select]
featherpad config.sysand 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 ;

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4786
  • Karma: +99/-1
    • View Profile
Re: FeatherPad for OS/2
« Reply #10 on: July 06, 2021, 11:39:14 pm »
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
« Last Edit: July 06, 2021, 11:46:52 pm by Dave Yeo »

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +27/-0
    • View Profile
Re: FeatherPad for OS/2
« Reply #11 on: July 07, 2021, 12:40:59 pm »
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.

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +27/-0
    • View Profile
Re: FeatherPad for OS/2
« Reply #12 on: July 08, 2021, 04:53:50 pm »
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.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4786
  • Karma: +99/-1
    • View Profile
Re: FeatherPad for OS/2
« Reply #13 on: July 08, 2021, 05:32:06 pm »
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.

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +27/-0
    • View Profile
Re: FeatherPad for OS/2
« Reply #14 on: July 09, 2021, 08:48:27 am »
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