You are not logged in.
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
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
@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
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
Always good to see new ncurses filemanagers, good luck!
ᶘ ᵒᴥᵒᶅ
Offline
I'll definitely follow your development. But ranger is hardly replacable here, I just like it too much.
Offline
Fair enough Army. Carry on Ranging
Offline
Looks good!
bladdo / mil / Miles
userbound.com - blog and projects
Offline
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
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...
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
@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
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 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!
Will follow development on this one, for sure.
Last edited by Onyros (2012-07-10 17:54:08)
Offline
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
@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
@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
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
Offline
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
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
Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org
Offline
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
Now possible to create and delete directories. Directory deletion is not recursive and at the moment must be empty to be deleted.
Offline
Package has been created. https://aur.archlinux.org/packages.php?ID=60782
Offline
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
PKGBUILD has been updated.
Color listing now available. The color.conf file should help you get started.
Offline
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
I have to catch up with these new features
Keep up the great work!
Offline
I have to catch up with these new features
Keep up the great work!
Seems like the gzip operation is not quite working. Need to take a closer look. It's taring only.
Offline
New PKGBUILD uploaded.
File compression finally working, at least from my end. libtar and gzip required as dependencies.
Offline