rtfm-filemanager 7.3.4 → 7.3.5
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.
- checksums.yaml +4 -4
 - data/bin/rtfm +11 -5
 - metadata +3 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: '0986d9364d1723d2b93021033b5a5a8dbf82a2534244803b9b6c1b9a9266e16f'
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 73fec9b1468b4530626e10536e7ec148d815f73d7e35ab89f93cd63ea891f723
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: e14be322318918cd4d9a48244796a86b09ce0bc10ec12f70c40191920386e0d9f54e3d8dc035f2d3f667753c902f984dd90123124b1c9a8eac69d5f17be4b3cd
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 852bf9c6167f4730500502e4dfe1dbc36a069bf18601a4f92f1427854f62e8eaa794950d4afb885f9375ca0805924bb94a2f1cd0d5e050897ac868161d2b276f
         
     | 
    
        data/bin/rtfm
    CHANGED
    
    | 
         @@ -18,7 +18,7 @@ 
     | 
|
| 
       18 
18 
     | 
    
         
             
            #             get a great understanding of the code itself by simply sending
         
     | 
| 
       19 
19 
     | 
    
         
             
            #             or pasting this whole file into you favorite AI for coding with
         
     | 
| 
       20 
20 
     | 
    
         
             
            #             a prompt like this: "Help me understand every part of this code".
         
     | 
| 
       21 
     | 
    
         
            -
            @version    = '7.3. 
     | 
| 
      
 21 
     | 
    
         
            +
            @version    = '7.3.5' # Image clearing for directory navigation
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
       23 
23 
     | 
    
         
             
            # SAVE & STORE TERMINAL {{{1
         
     | 
| 
       24 
24 
     | 
    
         
             
            ORIG_STTY = `stty -g`.chomp
         
     | 
| 
         @@ -1241,10 +1241,11 @@ def move_up # {{{3 
     | 
|
| 
       1241 
1241 
     | 
    
         
             
            end
         
     | 
| 
       1242 
1242 
     | 
    
         | 
| 
       1243 
1243 
     | 
    
         
             
            def move_left # {{{3
         
     | 
| 
      
 1244 
     | 
    
         
            +
              clear_image
         
     | 
| 
       1244 
1245 
     | 
    
         
             
              if @remote_mode
         
     | 
| 
       1245 
1246 
     | 
    
         
             
                # Remote mode - go to parent directory
         
     | 
| 
       1246 
1247 
     | 
    
         
             
                return if @remote_path == '/' || @remote_path == '~'
         
     | 
| 
       1247 
     | 
    
         
            -
             
     | 
| 
      
 1248 
     | 
    
         
            +
             
     | 
| 
       1248 
1249 
     | 
    
         
             
                old_path = @remote_path
         
     | 
| 
       1249 
1250 
     | 
    
         
             
                @remote_path = File.dirname(@remote_path)
         
     | 
| 
       1250 
1251 
     | 
    
         
             
                @remote_files_cache = []  # Clear cache when changing directories
         
     | 
| 
         @@ -1275,11 +1276,12 @@ def move_right # {{{3 
     | 
|
| 
       1275 
1276 
     | 
    
         
             
              if @remote_mode
         
     | 
| 
       1276 
1277 
     | 
    
         
             
                # Remote mode - enter directory or perform action on file
         
     | 
| 
       1277 
1278 
     | 
    
         
             
                return unless @files && @files[@index] && @remote_files_cache[@index]
         
     | 
| 
       1278 
     | 
    
         
            -
             
     | 
| 
      
 1279 
     | 
    
         
            +
             
     | 
| 
       1279 
1280 
     | 
    
         
             
                selected_file = @remote_files_cache[@index]
         
     | 
| 
       1280 
     | 
    
         
            -
             
     | 
| 
      
 1281 
     | 
    
         
            +
             
     | 
| 
       1281 
1282 
     | 
    
         
             
                if selected_file[:type] == 'directory'
         
     | 
| 
       1282 
1283 
     | 
    
         
             
                  # Enter directory
         
     | 
| 
      
 1284 
     | 
    
         
            +
                  clear_image
         
     | 
| 
       1283 
1285 
     | 
    
         
             
                  @remote_path = File.join(@remote_path, selected_file[:name])
         
     | 
| 
       1284 
1286 
     | 
    
         
             
                  @remote_files_cache = []  # Clear cache when changing directories
         
     | 
| 
       1285 
1287 
     | 
    
         
             
                  @index = 0  # Reset selection
         
     | 
| 
         @@ -1290,7 +1292,7 @@ def move_right # {{{3 
     | 
|
| 
       1290 
1292 
     | 
    
         
             
                  show_remote_file_info(selected_file)
         
     | 
| 
       1291 
1293 
     | 
    
         
             
                end
         
     | 
| 
       1292 
1294 
     | 
    
         
             
              else
         
     | 
| 
       1293 
     | 
    
         
            -
                # Local mode
         
     | 
| 
      
 1295 
     | 
    
         
            +
                # Local mode - open_selected will handle directory changes
         
     | 
| 
       1294 
1296 
     | 
    
         
             
                @directory[Dir.pwd] = @index
         
     | 
| 
       1295 
1297 
     | 
    
         
             
                mark_latest
         
     | 
| 
       1296 
1298 
     | 
    
         
             
                open_selected
         
     | 
| 
         @@ -1377,6 +1379,7 @@ def show_marks # {{{3 
     | 
|
| 
       1377 
1379 
     | 
    
         
             
            end
         
     | 
| 
       1378 
1380 
     | 
    
         | 
| 
       1379 
1381 
     | 
    
         
             
            def jump_to_mark # {{{3
         
     | 
| 
      
 1382 
     | 
    
         
            +
              clear_image
         
     | 
| 
       1380 
1383 
     | 
    
         
             
              marks_info
         
     | 
| 
       1381 
1384 
     | 
    
         
             
              m = getchr
         
     | 
| 
       1382 
1385 
     | 
    
         
             
              if m =~ /[\w']/ && @marks[m]
         
     | 
| 
         @@ -1390,6 +1393,7 @@ def jump_to_mark # {{{3 
     | 
|
| 
       1390 
1393 
     | 
    
         
             
            end
         
     | 
| 
       1391 
1394 
     | 
    
         | 
| 
       1392 
1395 
     | 
    
         
             
            def go_home # {{{3
         
     | 
| 
      
 1396 
     | 
    
         
            +
              clear_image
         
     | 
| 
       1393 
1397 
     | 
    
         
             
              if @dual_pane
         
     | 
| 
       1394 
1398 
     | 
    
         
             
                # In dual-pane mode, navigate the active pane to home directory
         
     | 
| 
       1395 
1399 
     | 
    
         
             
                home_dir = Dir.home
         
     | 
| 
         @@ -1434,6 +1438,7 @@ def go_home # {{{3 
     | 
|
| 
       1434 
1438 
     | 
    
         
             
            end
         
     | 
| 
       1435 
1439 
     | 
    
         | 
| 
       1436 
1440 
     | 
    
         
             
            def follow_symlink # {{{3
         
     | 
| 
      
 1441 
     | 
    
         
            +
              clear_image
         
     | 
| 
       1437 
1442 
     | 
    
         
             
              @directory[Dir.pwd] = @index; mark_latest
         
     | 
| 
       1438 
1443 
     | 
    
         
             
              if File.symlink?(@selected)
         
     | 
| 
       1439 
1444 
     | 
    
         
             
                begin
         
     | 
| 
         @@ -5272,6 +5277,7 @@ end 
     | 
|
| 
       5272 
5277 
     | 
    
         
             
            def open_selected(html = nil) # OPEN SELECTED FILE {{{2
         
     | 
| 
       5273 
5278 
     | 
    
         
             
              require 'tmpdir' unless Dir.respond_to?(:tmpdir)
         
     | 
| 
       5274 
5279 
     | 
    
         
             
              if File.directory?(@selected) # Dir? just cd into it
         
     | 
| 
      
 5280 
     | 
    
         
            +
                clear_image
         
     | 
| 
       5275 
5281 
     | 
    
         
             
                mark_latest
         
     | 
| 
       5276 
5282 
     | 
    
         
             
                Dir.chdir(@selected) rescue nil
         
     | 
| 
       5277 
5283 
     | 
    
         
             
                track_directory_access(@selected)
         
     | 
    
        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.3. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 7.3.5
         
     | 
| 
       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- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-11-02 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: rcurses
         
     | 
| 
         @@ -67,7 +67,7 @@ dependencies: 
     | 
|
| 
       67 
67 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       68 
68 
     | 
    
         
             
                    version: '7.4'
         
     | 
| 
       69 
69 
     | 
    
         
             
            description: |-
         
     | 
| 
       70 
     | 
    
         
            -
              RTFM v7.3. 
     | 
| 
      
 70 
     | 
    
         
            +
              RTFM v7.3.5: Image clearing for all directory navigation operations.
         
     | 
| 
       71 
71 
     | 
    
         
             
               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.
         
     | 
| 
       72 
72 
     | 
    
         
             
            email: g@isene.com
         
     | 
| 
       73 
73 
     | 
    
         
             
            executables:
         
     |