Comments (2)
Done!
Back when hunter used scope for previews I actually disabled previews for tar archives, because they're really slow to generate and worse, atool and I noticed even bsdtar, spawn child processes that don't get killed when their main process gets the SIGTERM/SIGKILL signal, so in a directory with many archives it was easily possible to spawn dozens of processes, all extracting the archives and thrashing the system to a halt.
I improved the subprocess tracker/killer by making use of process groups. That seems to nicely fix the problem with the left over processes.
I also made bsdtar the default previewer, since it's likely the most widely installed since it's part of libarchive, with 7z/atool as fallbacks. Since bsdtar's default column order is pretty much the opposite of what you would want in hunter (file names are on the right side and can easily get cut off) I hacked up a simple parser/rewriter along the way to make it fit in better.
At some point I want to make it possible to actually browse archives seamlessly, like they're just directories, including full r/w access. But that's for another time.
Anyway, let me know if there's anything broken. Oh, and if you didn't manually edit any previewers you can just delete ~/.config/hunter/previewers
and it will update everything to the latest version.
from hunter.
BTW, you can update your config with with by running hunter -u
now. If you have made any modifications however, it would overwrite them. But you can also just delete the previewer script in ~.config/hunter/previewers/definitions/archive
. hunter will then re-add the missing file automatically (this is also new).
from hunter.
Related Issues (20)
- Files size decimals
- Hunter not indexing in vim/nvim :terminal
- Feature proposal: using xattr to tag files with querying and such.
- Colors/themeing
- please do a release
- How to open files? HOT 2
- Another file manager named hunter ? HOT 2
- compilation failure due to libsixel custom build command HOT 1
- Autodetect sixel support with escape codes
- mv, cp, rm selected files
- No method named remove_item HOT 7
- Error occures while compiling from Arch AUR repository HOT 1
- Fatal issue has happened. My heart was broken due to this project closure... HOT 6
- provide a brew package
- MacOS build fail HOT 3
- Upgrade dependencies to the new version
- Compile under Rust stable HOT 1
- Compile under Rust stable HOT 1
- Build from cargo fails
- Is this project dead? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hunter.