rtfm-filemanager 3.32 → 3.35
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 +4 -11
- 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: f0a892c0b31de7364c8aeec3885b9cd5433980dbc7666d298ec9d97e99317e09
|
|
4
|
+
data.tar.gz: e522a3e276571a98bf39dad000374623bc61d0c17a0fdf62568fa2aa904f734f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 775672ef173c569f193cf8f795cc3c385f72c288d0fbc24a6290958a7a7a3eb24f0e67e3a54a54fe7bb56e6162dbbc176c0881635eabd03ab4dbb642b6841dfb
|
|
7
|
+
data.tar.gz: 4fc0c15e5e7c4e1f0172b3c54457c3e04f567dae7369c6ccccb90ad2ba40c4635d45872bfb9acee35098b696e60d0db95a863796e624d96a7727e7ad077f6476
|
data/bin/rtfm
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
# for any damages resulting from its use. Further, I am under no
|
|
15
15
|
# obligation to maintain or extend this software. It is provided
|
|
16
16
|
# on an 'as is' basis without any expressed or implied warranty.
|
|
17
|
-
@version = "3.
|
|
17
|
+
@version = "3.35" # Added number of items tagged
|
|
18
18
|
|
|
19
19
|
# PRELIMINARIES
|
|
20
20
|
@help = <<HELPTEXT
|
|
@@ -396,7 +396,6 @@ def getchr # PROCESS KEY PRESSES
|
|
|
396
396
|
when /[[:print:]]/ then chr = c
|
|
397
397
|
else chr = ""
|
|
398
398
|
end
|
|
399
|
-
#stdin_clear
|
|
400
399
|
return chr
|
|
401
400
|
end
|
|
402
401
|
def main_getkey # GET KEY FROM USER
|
|
@@ -943,12 +942,6 @@ def main_getkey # GET KEY FROM USER
|
|
|
943
942
|
rescue
|
|
944
943
|
end
|
|
945
944
|
end
|
|
946
|
-
def stdin_clear
|
|
947
|
-
begin
|
|
948
|
-
$stdin.getc while $stdin.ready?
|
|
949
|
-
rescue
|
|
950
|
-
end
|
|
951
|
-
end
|
|
952
945
|
def conf_write
|
|
953
946
|
if File.exist?(Dir.home+'/.rtfm.conf')
|
|
954
947
|
conf = File.read(Dir.home+'/.rtfm.conf')
|
|
@@ -1152,10 +1145,10 @@ def open_selected(html = nil) # OPEN SELECTED ITEM (when pressing RIGHT)
|
|
|
1152
1145
|
else
|
|
1153
1146
|
if @runmailcap
|
|
1154
1147
|
#Thread.new { system("run-mailcap #{@selected_safe} 2>/dev/null") }
|
|
1155
|
-
system("run-mailcap #{@selected_safe}
|
|
1148
|
+
system("run-mailcap #{@selected_safe} 2>/dev/null &")
|
|
1156
1149
|
else
|
|
1157
1150
|
#Thread.new { system("xdg-open #{@selected_safe} 2>/dev/null") }
|
|
1158
|
-
system("xdg-open #{@selected_safe}
|
|
1151
|
+
system("xdg-open #{@selected_safe} 2>/dev/null &")
|
|
1159
1152
|
end
|
|
1160
1153
|
end
|
|
1161
1154
|
@break = true
|
|
@@ -1307,7 +1300,7 @@ def marks_info # SHOW MARKS IN RIGHT WINDOW
|
|
|
1307
1300
|
w_r_info(info)
|
|
1308
1301
|
end
|
|
1309
1302
|
def tagged_info # SHOW THE LIST OF TAGGED ITEMS IN @w_r
|
|
1310
|
-
info = "TAGGED
|
|
1303
|
+
info = "TAGGED: (#{@tagged.size} items)\n"
|
|
1311
1304
|
@tagged.empty? ? info += "(None)" : info += @tagged.join("\n")
|
|
1312
1305
|
w_r_info(info)
|
|
1313
1306
|
end
|
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: '3.
|
|
4
|
+
version: '3.35'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Geir Isene
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2025-01-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: curses
|
|
@@ -47,7 +47,7 @@ dependencies:
|
|
|
47
47
|
description: 'A full featured terminal browser with syntax highlighted files, images
|
|
48
48
|
shown in the terminal, videos thumbnailed, etc. You can bookmark and jump around
|
|
49
49
|
easily, delete, rename, copy, symlink and move files. RTFM has a a wide range of
|
|
50
|
-
other features. New in 3.
|
|
50
|
+
other features. New in 3.35: Added number of items tagged.'
|
|
51
51
|
email: g@isene.com
|
|
52
52
|
executables:
|
|
53
53
|
- rtfm
|