You are not logged in.

#1 2015-03-22 10:48:55

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

ncursesFM, yet another fm written in C with ncurses library

Hi!
This is my latest little project: as title said, it is a file manager written in C and ncurses.
Why? Because i wanted to get in touch with some new things, and some new libraries. Yes, i know there are alternatives; my fm only wants to be a basic and lightweight thing. But it does have its features; i'll try to name a few:
* 2 tabs support
* iso mount support (fuseiso)
* open files with $editor
* all the basic functions you should expect from a fm (i hope...)
* stats viewing support (size and permissions)
* tabs content is synced
* Basic print support
* Basic search support
* Paste is executed in another thread
* in-program helper message
You should take a look at README from my github repo: https://github.com/FedeDP/ncursesFM/blo … /README.md .
There's a package on AUR (and i hope its PKGBUILD is in acceptable shape): https://aur.archlinux.org/packages/ncursesfm-git/ .
I'll listen carefully to any feature request, suggestion, and code tip smile

EDIT: sorry forgot to mention that IT DOES NOT SUPPORT TERMINAL WINDOW RESIZE. It is meant to be used maximized or from a tty.

Screenshot:
https://raw.githubusercontent.com/FedeD … rsesfm.png

Mod note: converted img to url -- WorMzy

Last edited by WorMzy (2015-05-28 15:49:52)

Offline

#2 2015-05-28 14:30:56

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: ncursesFM, yet another fm written in C with ncurses library

Some news:
* it now supports searching through archived files/folders  (through libarchive)
* it now uses libarchive directly to extract/compress files/folders.
* it now uses recursive copy functions instead of forking and calling "cp -r"
* it now uses libcups directly to print files
* it can now show shasum of files (through openssl/sha.h)
There is surely something more that i forgot to mention here; again, if you're interested have a look at README file in my github repo.

Offline

#3 2015-05-28 15:50:13

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: ncursesFM, yet another fm written in C with ncurses library

Nierro, please don't embed large images in your posts.

https://wiki.archlinux.org/index.php/Fo … s_and_code


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2015-05-28 15:52:08

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: ncursesFM, yet another fm written in C with ncurses library

I'm really sorry.
Thanks!

Offline

#5 2015-05-28 19:14:23

sekret
Member
Registered: 2013-07-22
Posts: 284

Re: ncursesFM, yet another fm written in C with ncurses library

And please test your PKGBUILD before you release it to the AUR. The pkgver() function doesn't work the way you wrote it!

pkgver() {
  cd $_gitname
  printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

That one works!

Offline

#6 2015-05-28 19:17:26

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: ncursesFM, yet another fm written in C with ncurses library

Whoops...thank you very much!

Offline

#7 2015-09-22 08:40:15

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: ncursesFM, yet another fm written in C with ncurses library

Some more news: the project is still alive, and i've been working on some new things.
* Lots of bugfixing
* performance/code improvements
* If executed on a X screen, and xdg-open is found, ncursesFM will open files with xdg-open; else it will open text and blank files with $EDITOR  (config file defined) variable.
* Powermanagement inhibition while processing a job(eg: while pasting a file) to avoid data loss. It relies upon logind (sd-bud API), so it requires a systemd booted system. It is switched off by default.
* Reworked dependencies: libcups, libconfig, libx11 and libsystemd are optional at compile time; if built without them, respective features will be turned off.
* some useless features have been removed (eg: shasum support)
* added support for command line switch (to avoid using libconfig if you don't want to): "--editor=", "--starting_directory=", "--inhibit=".
See README on github for more info.

Every feedback is appreciated smile

Last edited by nierro (2015-09-22 08:41:44)

Offline

#8 2017-02-08 10:33:45

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: ncursesFM, yet another fm written in C with ncurses library

Long time has passed, but i'm still working on it. I have got less time recently, but there is at least an year worth of updates for this post.
I'll try to do a small recap, but there are so many features that i cannot list all. You should read https://github.com/FedeDP/ncursesFM/wik … ng-Started.

* Added github wiki pages
* added i18n support (it, en, de, es_ar), thanks to translators! (new translations are welcome)
* Added a sysinfo stat line (see screenshot below)
* added an helper win that will update its content matching active tab mode
* basic mouse support (scroll/select/change dir...)
* full unicode support
* fast browse mode (start typing your desired filename in current folder to move straight to it)
* 4 different sorting modes
* bookmarks support
* udisks2 monitor. It can automount drives too
* terminal window resize support

And lots more. Give it a try if you're willing to. Let me know if you encounter any bug/if you got any feature request!
Btw please try the -git version.

Here is a screenshot: https://raw.githubusercontent.com/FedeD … rsesFM.png.

Offline

Board footer

Powered by FluxBB