rtfm-filemanager 1.3.8 → 1.3.9
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 +3 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da9c8e1fd1f0c686be71e26551d824ec5a7163c63a312b52f0858947c53d9884
|
4
|
+
data.tar.gz: 697e2567e81bece7afba8b466d4d6f803fb631cf410d0c2f2e44112ea88ba813
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4879b5abfa28e6f3023a48e105d20e8009f64ddbcfee3e5e6cb47a84c3fce93f645bd4cee6c6540460ef2539af9b47b21792c8cebd32a7e7dc9960b7cad497fd
|
7
|
+
data.tar.gz: d52ced54337ef56d9e7e666f5139f8f8cc0a4685a2496526572aa76492e984e684d06db37e35598419e537f79d0b70ab0356bab18ef9c51cba14c9adeb473b50
|
data/bin/rtfm
CHANGED
@@ -566,14 +566,14 @@ def main_getkey # GET KEY FROM USER
|
|
566
566
|
uname += `uname -v`.chop + " "
|
567
567
|
uname += `uname -p` + "\n"
|
568
568
|
text = [[253, 1, uname]]
|
569
|
-
mem = `free -h` + "\n"
|
570
|
-
text += [[229, 0, mem]]
|
571
569
|
cpu = "CPUs = " + `nproc`.chop + " "
|
572
570
|
cpuinfo = `lscpu`
|
573
571
|
cpu += cpuinfo[/^.*Model name:\s*(.*)/, 1] + " "
|
574
572
|
cpu += "Max: " + cpuinfo[/^.*CPU max MHz:\s*(.*)/, 1][/(.*),.*/, 1] + "MHz "
|
575
573
|
cpu += "Min: " + cpuinfo[/^.*CPU min MHz:\s*(.*)/, 1][/(.*),.*/, 1] + "MHz\n\n"
|
576
574
|
text += [[154, 0, cpu]]
|
575
|
+
mem = `free -h` + "\n"
|
576
|
+
text += [[229, 0, mem]]
|
577
577
|
ps = `ps -eo comm,pid,user,pcpu,pmem,stat --sort -pcpu,-pmem | head` + "\n"
|
578
578
|
text += [[195, 0, ps]]
|
579
579
|
disk = `df -H | head -8`
|
@@ -581,10 +581,7 @@ def main_getkey # GET KEY FROM USER
|
|
581
581
|
dmesg = "\nDMESG:\n"
|
582
582
|
dmesg += `dmesg | tail -6`
|
583
583
|
text += [[219, 0, dmesg]]
|
584
|
-
|
585
|
-
pager_start
|
586
|
-
pager_show
|
587
|
-
@w_r.update = false
|
584
|
+
w_r_info(ansifix(text))
|
588
585
|
# RIGHT PANE
|
589
586
|
when 'ENTER' # Refresh right pane
|
590
587
|
@w_r.clr # First clear the window, then clear any previously showing image
|
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.3.
|
4
|
+
version: 1.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
@@ -33,7 +33,7 @@ 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.3.
|
36
|
+
other features. New in 1.3.9: Code cleanup and a minor bug fix'
|
37
37
|
email: g@isene.com
|
38
38
|
executables:
|
39
39
|
- rtfm
|