rtfm-filemanager 7.0.14 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -10
  3. data/bin/rtfm +8 -0
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e573fe0886eb3f338836fbf751fa2d24f4bb0ccdd6f8441dcfa8fb11e787a3c3
4
- data.tar.gz: 433cc84863d13ca956e0332f497b53a607f21204b95bcb4bccaabb9896523afc
3
+ metadata.gz: df66c4e6ca08bab9851409bf047f49bb1fe76aeb14fa0daca85f32f3ee46d01c
4
+ data.tar.gz: 66f604c96c5b8c6152eabaec35b6e34fe957f4991f2a9f7fd564f304c3afd647
5
5
  SHA512:
6
- metadata.gz: '0785c69d762d6612833b71f8b86325dd042b9739481ca72f58f7593749f5e8f09baa7adc70bebb8af7139436c4a1004b8b3b41dc0db2844835b75fcaea8e9995'
7
- data.tar.gz: 32b6814c2ff6d0370f979896f457c92fa721d3961473a538cd97d4fa3a66f3f00edf30884927bcf94d8863c89118416d6fb82b78af559e80cbd97b3c94cf7cd3
6
+ metadata.gz: 6de938ff5ac1176cd3d09700bc9940f04c72202f7636d68be1bddc121299d1ec4ae7aa0577bd72beaee7c5b5383b79ae522cdc633452c88c911a40a4d697ebf6
7
+ data.tar.gz: 95c9d6f9b0de87bde2c881ae2f52002f1fbfa86f4b31400d54073a3366ea83601314adefa754c5fd833fd155033af4c8ab3c0816990fa90ba020be2d436361bc
data/README.md CHANGED
@@ -2,16 +2,15 @@
2
2
 
3
3
  ![Ruby](https://img.shields.io/badge/language-Ruby-red) [![Gem Version](https://badge.fury.io/rb/rtfm-filemanager.svg)](https://badge.fury.io/rb/rtfm-filemanager) ![Unlicense](https://img.shields.io/badge/license-Unlicense-green) ![Stay Amazing](https://img.shields.io/badge/Stay-Amazing-important)
4
4
 
5
- ## Version 6.0
5
+ ## Version 7.1
6
6
 
7
- Version 6.0 introduces comprehensive remote directory browsing capabilities and enhanced user experience improvements:
7
+ Version 7.1 adds comprehensive compressed archive viewing capabilities:
8
8
 
9
- - **Remote SSH/SFTP browsing** with seamless navigation and file operations
10
- - **SSH shell integration** for interactive remote sessions
11
- - **Enhanced help system** with color-coded sections and aligned formatting
12
- - **SSH connection comments** for better organization (user@host # comment)
13
- - **Comprehensive undo system** for file operations with safety checks
14
- - **Performance optimizations** and code cleanup for improved stability
9
+ - **Archive preview** for .zip, .tar, .gz, .tgz, .bz2, .tbz, .tbz2, .xz, .txz, .rar, .7z files
10
+ - **Smart fallback** for compressed archives vs standalone compressed files
11
+ - **Seamless integration** with existing preview system
12
+
13
+ Version 6.0 introduced comprehensive remote directory browsing capabilities and enhanced user experience improvements including remote SSH/SFTP browsing, SSH shell integration, enhanced help system, and comprehensive undo system.
15
14
 
16
15
  Version 5 was a complete rewrite using [rcurses](https://github.com/isene/rcurses) as the underlying library, providing stability, higher quality code and extensive features including optional trash bin, advanced OpenAI integrations, plugin architectures for keybindings, user defined features and file viewers.
17
16
 
@@ -168,11 +167,14 @@ MS xlsx | `ssconvert` | `apt install gn
168
167
  MS doc/xls/ppt | `catdoc`, `xls2csv` and `catppt` | `apt install catdoc`
169
168
  Images | `w3m` and `ImageMagick` | `apt install w3m imagemagick`
170
169
  Video (thumbnails) | `ffmpegthumbnailer` | `apt install ffmpegthumbnailer`
170
+ Compressed archives | `unzip`, `tar`, `gzip`, `bzip2`, `xz` | `apt install unzip tar gzip bzip2 xz-utils`
171
+ RAR archives | `unrar` | `apt install unrar`
172
+ 7-Zip archives | `7z` | `apt install p7zip-full`
171
173
 
172
174
  Install rtfm from scratch with all of the above on Ubuntu:
173
175
  ```
174
176
  sudo apt update
175
- sudo apt install ruby-full git libncurses-dev x11-utils xdotool bat pandoc poppler-utils odt2txt docx2txt unzip gnumeric catdoc w3m imagemagick ffmpegthumbnailer
177
+ sudo apt install ruby-full git libncurses-dev x11-utils xdotool bat pandoc poppler-utils odt2txt docx2txt unzip gnumeric catdoc w3m imagemagick ffmpegthumbnailer tar gzip bzip2 xz-utils unrar p7zip-full
176
178
  sudo gem install rcurses
177
179
  git clone https://github.com/isene/RTFM
178
180
  cd RTFM
@@ -181,7 +183,7 @@ sudo cp rtfm /usr/bin/
181
183
  Or with a simpler gem install:
182
184
  ```
183
185
  sudo apt update
184
- sudo apt install ruby-full git libncurses-dev x11-utils xdotool bat pandoc poppler-utils odt2txt docx2txt unzip gnumeric catdoc w3m imagemagick ffmpegthumbnailer
186
+ sudo apt install ruby-full git libncurses-dev x11-utils xdotool bat pandoc poppler-utils odt2txt docx2txt unzip gnumeric catdoc w3m imagemagick ffmpegthumbnailer tar gzip bzip2 xz-utils unrar p7zip-full
185
187
  gem install rtfm-filemanager
186
188
  ```
187
189
 
data/bin/rtfm CHANGED
@@ -839,6 +839,14 @@ preview_specs = {
839
839
  'doc' => "catdoc @s 2>/dev/null",
840
840
  'xls' => "xls2csv @s 2>/dev/null",
841
841
  'ppt' => "catppt @s 2>/dev/null",
842
+ # compressed archives
843
+ 'zip' => "unzip -l @s",
844
+ 'tar' => "tar -tvf @s",
845
+ 'gz, tgz' => "tar -tzvf @s 2>/dev/null || gunzip -l @s 2>/dev/null",
846
+ 'bz2, tbz, tbz2' => "tar -tjvf @s 2>/dev/null || bzip2 -l @s 2>/dev/null",
847
+ 'xz, txz' => "tar -tJvf @s 2>/dev/null || xz -l @s 2>/dev/null",
848
+ 'rar' => "unrar l @s 2>/dev/null",
849
+ '7z' => "7z l @s 2>/dev/null",
842
850
  # images ⇒ nil => call showimage
843
851
  'png, jpg, jpeg, bmp, gif, webp, tif, tiff, svg' => nil,
844
852
  # video ⇒ nil, but detected via pattern below
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtfm-filemanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.14
4
+ version: 7.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-26 00:00:00.000000000 Z
11
+ date: 2025-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rcurses
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '7.4'
55
55
  description: |-
56
- RTFM v7.0.14: Fixed regex error when using '*' to mark all files with C-T. Now properly converts '*' to '.*' regex pattern.
56
+ RTFM v7.1.0: Added comprehensive compressed archive viewing for .zip, .tar, .gz, .tgz, .bz2, .tbz, .tbz2, .xz, .txz, .rar, .7z files with smart fallback handling.
57
57
  A full featured terminal browser with syntax highlighted files, images shown in the terminal, videos thumbnailed, etc. Features include remote SSH/SFTP browsing, interactive SSH shell, comprehensive undo system, bookmarks, and much more. You can bookmark and jump around easily, delete, rename, copy, symlink and move files. RTFM is one of the most feature-packed terminal file managers.
58
58
  email: g@isene.com
59
59
  executables: