You are not logged in.

#1 2012-07-09 03:01:49

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Introducing NFFM - Nothing Fancy File Manager

An ncurses file manager written in C.  I thought a file manager was a good topic for learning some C and ncurses.  So I came up with NFFM.  It is work in progress...

More details here https://github.com/mariostg/nffm/blob/master/README
And the required nothing fancy screenshot http://mariostg.github.com/nffm
Package:https://aur.archlinux.org/packages.php?ID=60782

Last edited by marxav (2012-08-17 14:53:26)

Offline

#2 2012-07-09 11:16:06

Onyros
Member
From: Lisbon, Portugal
Registered: 2007-10-11
Posts: 295

Re: Introducing NFFM - Nothing Fancy File Manager

Looks inspired by Ranger - which is a good thing. Especially so if it's lighter, and I already like some of the defaults. I'll test drive it and give you some feedback later on.

Offline

#3 2012-07-09 14:49:16

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Introducing NFFM - Nothing Fancy File Manager

@Onyros
I guess that would be rather a coincidence as I seldomly use Ranger.  But it is a poplular one and of course I have it installed.  So I will take this as a compliment smile
As I said, it is rather a prototype at a very early stage.  I think it as less than 1500 lines overall.
Anyway, let me know.

Offline

#4 2012-07-09 15:27:25

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Introducing NFFM - Nothing Fancy File Manager

Always good to see new ncurses filemanagers, good luck!


ᶘ ᵒᴥᵒᶅ

Offline

#5 2012-07-09 18:48:08

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Introducing NFFM - Nothing Fancy File Manager

I'll definitely follow your development. But ranger is hardly replacable here, I just like it too much.

Offline

#6 2012-07-09 20:12:16

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Introducing NFFM - Nothing Fancy File Manager

Fair enough Army.  Carry on Ranging smile

Offline

#7 2012-07-10 13:04:11

bladdo
Member
From: Blacksburg, VA
Registered: 2008-05-05
Posts: 111
Website

Re: Introducing NFFM - Nothing Fancy File Manager

Looks good!


bladdo / mil / Miles
userbound.com - blog and projects

Offline

#8 2012-07-10 17:07:11

Doomcide
Member
Registered: 2011-08-22
Posts: 221

Re: Introducing NFFM - Nothing Fancy File Manager

Will keep track of this project for sure, ranger is kind of slow and python-ish for me and provides a lot of stuff I don't need.

Offline

#9 2012-07-10 17:37:50

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,474
Website

Re: Introducing NFFM - Nothing Fancy File Manager

This certainly looks interesting. Whilst Ranger currently does the job for me, this could turn into a nice replacement. I think I use roughly 5% of Ranger's features, so... tongue

Curious though, on the README you list some of the things that it currently does and things you want to implement. I didn't see anything about making new files and/or folders, is this on the todo list? At a quick glance, that's all I'd miss out for now. Also, would it be possible to 'theme' NFFM? It would be awesome if you could somehow make it read ~/.dir_colors, but making a theme match that shouldn't be too hard either.

Good luck!


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#10 2012-07-10 17:53:42

Onyros
Member
From: Lisbon, Portugal
Registered: 2007-10-11
Posts: 295

Re: Introducing NFFM - Nothing Fancy File Manager

marxav wrote:

@Onyros
I guess that would be rather a coincidence as I seldomly use Ranger.  But it is a poplular one and of course I have it installed.  So I will take this as a compliment smile
As I said, it is rather a prototype at a very early stage.  I think it as less than 1500 lines overall.
Anyway, let me know.

It was indeed a compliment smile I'm with Unia, I use little of all ranger's potential, and nffm is much lighter and faster (being C instead of python definitely helps). I tried it on the Raspberry Pi, because ranger is slow there and was impressed. Actually ranger is slower than PCManFM on the Pi, which was suprising.

For now, I expect it to be buggy, there are a few things that make it segfault - pressing lowercase "L" when on an empty folder, for instance - and the colours, oh gods, the colours! Please let us theme the thing! tongue

Will follow development on this one, for sure.

Last edited by Onyros (2012-07-10 17:54:08)

Offline

#11 2012-07-10 18:02:55

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,474
Website

Re: Introducing NFFM - Nothing Fancy File Manager

Also, it'd be nice to be able to configure this at compiletime, as for example sxiv and dwm do with config.h


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#12 2012-07-10 21:13:58

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Introducing NFFM - Nothing Fancy File Manager

@bladdo, Doomcide, thanks.

@Unia thanks.
README updated.  File/folder creation will of course eventually be implemented.  Sooner then later I hope.
About theming... No promises.  Yes I know the yellow is ugly...  File coloring is in the todo jar.
About config.h, there is a limited number of stuff in it at this time, but you can change what's in it to suite your preferences.   I tried to keep vim binding pattern where possible.

@Onyros
If Y read you correctly, you tried NFFM on Raspberry Pi?
Yep it is buggy.  But now that I know there are some interested people, I will try to be more vigilent lol.
I will look at that lowercase "L" issue.  Colors, yes again I know...

Offline

#13 2012-07-11 00:25:16

Onyros
Member
From: Lisbon, Portugal
Registered: 2007-10-11
Posts: 295

Re: Introducing NFFM - Nothing Fancy File Manager

marxav wrote:

@Onyros
If Y read you correctly, you tried NFFM on Raspberry Pi?
Yep it is buggy.  But now that I know there are some interested people, I will try to be more vigilent lol.
I will look at that lowercase "L" issue.  Colors, yes again I know...

Yes, Sir, you read it correctly. It compiles and works very fast on the Pi, so it'll be much appreciated there. It's quite a bit faster than ranger.

Offline

#14 2012-07-11 00:31:12

theGunslinger
Member
Registered: 2011-05-20
Posts: 299

Re: Introducing NFFM - Nothing Fancy File Manager

I'm interested in this too, as said before ranger tends to take up more resources than some gui managers. So this guy is exactly what I was looking for, keep up the good work and someone should package this already smile

Offline

#15 2012-07-11 00:38:03

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Introducing NFFM - Nothing Fancy File Manager

Onyros wrote:

Yes, Sir, you read it correctly. It compiles and works very fast on the Pi, so it'll be much appreciated there. It's quite a bit faster than ranger.

Good then.  The lowercase "L" issue has been solved by the way.

Offline

#16 2012-07-11 07:58:28

msx
Member
From: solar.system/earth/ar/bue/mdp
Registered: 2010-08-08
Posts: 184
Website

Re: Introducing NFFM - Nothing Fancy File Manager

Good job, a feather-light but featureful terminal file browser is allways a good tool to keep at hand.
I'm too a Ranger fan (despite its Vi[m]-likeness ¬¬) so is nice to see another project in the same direction. I'll keep up an eye on NFFM smile


Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org

Offline

#17 2012-07-11 21:20:06

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Introducing NFFM - Nothing Fancy File Manager

Thanks msx.

Create file ability has been added.  Default shortcut key is 'c'.  You must be in the file pane to create the file and the file is created in the current directory.

Offline

#18 2012-07-12 21:00:36

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Introducing NFFM - Nothing Fancy File Manager

Now possible to create and delete directories.  Directory deletion is not recursive and at the moment must be empty to be deleted.

Offline

#19 2012-07-15 01:31:42

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Introducing NFFM - Nothing Fancy File Manager

Package has been created.   https://aur.archlinux.org/packages.php?ID=60782

Offline

#20 2012-07-18 11:32:02

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Introducing NFFM - Nothing Fancy File Manager

Well, I hope to be able to commit colored listing by file extension within the next couple of days.

I could not figure out how I could combine dircolors with the RGB of ncurses init_color().  So I implemented my own way.  There will be a color configuration file  (colors.conf) with entries like txt;500;500;500;0 that reads like file extension; red; green; blue; not used yet.  The not used yet could be bold, reverse video, I haven`t decided yet.  One little problem I have is that when I exit from nffm back to terminal, by bash prompt colors are changed.

Offline

#21 2012-07-18 22:39:07

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Introducing NFFM - Nothing Fancy File Manager

PKGBUILD has been updated.
Color listing now available.  The color.conf file should help you get started.

Offline

#22 2012-07-22 15:20:22

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Introducing NFFM - Nothing Fancy File Manager

Added 'z' command to tar+gzip marked files.  I guess that makes tar and gzip optional dependencies.  The tar.gz archive is created in the current folder.

Offline

#23 2012-07-23 01:57:20

Onyros
Member
From: Lisbon, Portugal
Registered: 2007-10-11
Posts: 295

Re: Introducing NFFM - Nothing Fancy File Manager

I have to catch up with these new features smile

Keep up the great work!

Offline

#24 2012-07-23 21:08:29

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Introducing NFFM - Nothing Fancy File Manager

Onyros wrote:

I have to catch up with these new features smile
Keep up the great work!

big_smile  Seems like the gzip operation is not quite working.  Need to take a closer look.  It's taring only.

Offline

#25 2012-07-26 20:48:04

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Introducing NFFM - Nothing Fancy File Manager

New PKGBUILD uploaded.
File compression finally working, at least from my end.  libtar and gzip required as dependencies.

Offline

Board footer

Powered by FluxBB