rtfm-filemanager 1.6.4 → 1.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rtfm +5 -16
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe94f89cc11a4df40689a0bf80b2f0a04a4dc458a2d25193310e6b03b2ce78e0
|
4
|
+
data.tar.gz: 350b8285c94cc939380b47f00eaccacc96c13d7d849ac9ecd649a5fdf9590c85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ac190ef31f8524d9677468d28e40d28719d4099865dcf69e13a88e8225ee9e8259be7c354a580f0951faa40acefa4e8e2b495041b29ac4fd6345a475a514bf5
|
7
|
+
data.tar.gz: ff6782fe6820db8a2e283b5b1fba0f9fc45b2c17a7cbddc6fb4e2bad4278e7f0d607e9f6305a594f0a828ecc0247e2cb39d9cfe99d53aa9d8d41f29b61f6a58d
|
data/bin/rtfm
CHANGED
@@ -242,7 +242,7 @@ def getchr # PROCESS KEY PRESSES
|
|
242
242
|
# Note: Curses.getch blanks out @w_t
|
243
243
|
# @w_l.getch makes Curses::KEY_DOWN etc not work
|
244
244
|
# Therefore resorting to the generic method
|
245
|
-
c = STDIN.getch(min: 0, time:
|
245
|
+
c = STDIN.getch(min: 0, time: 3)
|
246
246
|
case c
|
247
247
|
when "\e" # ANSI escape sequences
|
248
248
|
case $stdin.getc
|
@@ -324,7 +324,6 @@ def main_getkey # GET KEY FROM USER
|
|
324
324
|
@directory[Dir.pwd] = @selected # Store this directory before leaving
|
325
325
|
@marks["'"] = Dir.pwd
|
326
326
|
open_selected()
|
327
|
-
@change_tag = true
|
328
327
|
@w_r.update = true
|
329
328
|
@w_b.update = true
|
330
329
|
when 'x' # Force open with file opener (used to open HTML files in browser)
|
@@ -332,7 +331,6 @@ def main_getkey # GET KEY FROM USER
|
|
332
331
|
@directory[Dir.pwd] = @selected # Store this directory before leaving
|
333
332
|
@marks["'"] = Dir.pwd
|
334
333
|
open_selected(true)
|
335
|
-
@change_tag = true
|
336
334
|
@w_r.update = true
|
337
335
|
@w_b.update = true
|
338
336
|
when 'PgDOWN'
|
@@ -399,7 +397,6 @@ def main_getkey # GET KEY FROM USER
|
|
399
397
|
Dir.chdir
|
400
398
|
@w_r.update = true
|
401
399
|
@w_b.update = true
|
402
|
-
@change_tag = true
|
403
400
|
when 'f' # Follow symlink
|
404
401
|
@directory[Dir.pwd] = @selected # Store this directory before leaving
|
405
402
|
@marks["'"] = Dir.pwd
|
@@ -444,7 +441,6 @@ def main_getkey # GET KEY FROM USER
|
|
444
441
|
@index += 1
|
445
442
|
@w_r.update = true
|
446
443
|
@w_b.update = true
|
447
|
-
@change_tag = true
|
448
444
|
when 'C-T' # Tag items matching a pettern
|
449
445
|
@w_b.nohistory = true
|
450
446
|
@tag = w_b_getstr("~ ", "")
|
@@ -465,17 +461,14 @@ def main_getkey # GET KEY FROM USER
|
|
465
461
|
copy_move_link("copy")
|
466
462
|
@w_r.update = true
|
467
463
|
@w_b.update = true
|
468
|
-
@change_tag = true
|
469
464
|
when 'P' # Move tagged items here
|
470
465
|
copy_move_link("move")
|
471
466
|
@w_r.update = true
|
472
467
|
@w_b.update = true
|
473
|
-
@change_tag = true
|
474
468
|
when 's' # Create symlink to tagged items here
|
475
469
|
copy_move_link("link")
|
476
470
|
@w_r.update = true
|
477
471
|
@w_b.update = true
|
478
|
-
@change_tag = true
|
479
472
|
when 'd' # Delete items tagged and @selected
|
480
473
|
tagged_info
|
481
474
|
w_b_info(" Delete selected and tagged? (press 'd' again to delete)")
|
@@ -504,7 +497,6 @@ def main_getkey # GET KEY FROM USER
|
|
504
497
|
@lsall == "" ? @lsall = "-a" : @lsall = ""
|
505
498
|
@w_r.update = true
|
506
499
|
@w_b.update = true
|
507
|
-
@change_tag = true
|
508
500
|
when 'l' # Show long info for all items
|
509
501
|
@lslong = !@lslong
|
510
502
|
@w_r.update = true
|
@@ -526,7 +518,6 @@ def main_getkey # GET KEY FROM USER
|
|
526
518
|
end
|
527
519
|
@w_r.update = true
|
528
520
|
@orderchange = true
|
529
|
-
@change_tag = true
|
530
521
|
when 'i' # Invert the order/sorting of directory views
|
531
522
|
case @lsinvert
|
532
523
|
when ""
|
@@ -538,7 +529,6 @@ def main_getkey # GET KEY FROM USER
|
|
538
529
|
end
|
539
530
|
@w_r.update = true
|
540
531
|
@orderchange = true
|
541
|
-
@change_tag = true
|
542
532
|
when 'O' # Show the Ordering in the bottom window (the full ls command)
|
543
533
|
w_b_info(" Full 'ls' command: ls <@s> #{@lsbase} #{@lsall} #{@lsorder} #{@lsinvert} #{@lsuser}")
|
544
534
|
when 'G' # Git status for selected item or current dir
|
@@ -1304,7 +1294,6 @@ def w_b_exec(cmd) # EXECUTE COMMAND FROM @W_B
|
|
1304
1294
|
pager_show
|
1305
1295
|
@w_r.update = false
|
1306
1296
|
end
|
1307
|
-
@change_tag = true
|
1308
1297
|
}
|
1309
1298
|
rescue
|
1310
1299
|
w_b_info(" Failed to execute command (#{cmd})")
|
@@ -1349,7 +1338,7 @@ loop do # OUTER LOOP - CATCHING REFRESHES VIA 'r'
|
|
1349
1338
|
@w_r.update = false
|
1350
1339
|
end
|
1351
1340
|
@change = true
|
1352
|
-
@change_tag = true
|
1341
|
+
@change_tag = true # For future need to force @change
|
1353
1342
|
loop do # INNER, CORE LOOP
|
1354
1343
|
begin # Jump to home dir if current dir is externally removed
|
1355
1344
|
Dir.pwd
|
@@ -1390,10 +1379,10 @@ loop do # OUTER LOOP - CATCHING REFRESHES VIA 'r'
|
|
1390
1379
|
system("printf \"\033]0;RTFM: #{Dir.pwd}\007\"") # Set Window title to path
|
1391
1380
|
# Top window (info line)
|
1392
1381
|
w_t_info
|
1393
|
-
@w_l.setpos(0,0)
|
1394
|
-
list_dir(true)
|
1395
|
-
@w_l.refresh
|
1396
1382
|
end
|
1383
|
+
@w_l.setpos(0,0)
|
1384
|
+
list_dir(true)
|
1385
|
+
@w_l.refresh
|
1397
1386
|
# Bottom window (command line) Before @w_r to avoid image dropping out on startup
|
1398
1387
|
w_b_info(nil) if @w_b.update
|
1399
1388
|
# Left and right windows (browser & content viewer)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtfm-filemanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
@@ -33,7 +33,8 @@ dependencies:
|
|
33
33
|
description: 'A full featured terminal browser with syntax highlighted files, images
|
34
34
|
shown in the terminal, videos thumbnailed, etc. You can bookmark and jump around
|
35
35
|
easily, delete, rename, copy, symlink and move files. RTFM has a a wide range of
|
36
|
-
other features. New in 1.6.
|
36
|
+
other features. New in 1.6.5: Reverted to always listing dir in left panel, every
|
37
|
+
3 sec.'
|
37
38
|
email: g@isene.com
|
38
39
|
executables:
|
39
40
|
- rtfm
|