rtfm-filemanager 1.1.2 → 1.1.3

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rtfm +29 -0
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05b1d3258e389aa9843dbbd4698a16c64698da22250878935c9842da08fa21a8
4
- data.tar.gz: 775037d16c27631f6f8145a00e90cabb7f722a08d42a829fbcc2f92cfed2a120
3
+ metadata.gz: 70f123f2abca157dc8fa91a606931fb9330b2e403c5ae0d53701d50a4b4fe166
4
+ data.tar.gz: '09a55763181a6c227bde17b50f917bc42a7bbada0e12d585f9bd570185e7a066'
5
5
  SHA512:
6
- metadata.gz: 86a9ad8bafaeb6adab0a18ab2c7270dfee7c89fc79ad5fc13f86ea74541b62ca1716ad5e2b9335238e38f26b1e48159d1c3a97b185cdce7cec1e3aa89f154eb9
7
- data.tar.gz: 5a4859572f2a083669f52377fe9b4174c92614a5a5e79b0ef01ed6336c5f81117ee836f28c584c480801bea6caeac13de3757ec99eaf8612ff58001d8db2396c
6
+ metadata.gz: 2bdf4db3d9c6cdac1eff9b62781e02a74e7e482f919deed5fa4dbb2e2ca7dd53444509a5d66242d6c551146bde0db25939b962173f52a38920dbe6ff874b92bc
7
+ data.tar.gz: d6a0e33cb6d6b2dd6a4700a85cef2f0beb3988503a86f47c1c0bad832472b694fa21b1ae25c2571b2368d5b4e6e3841f2a41068654dcb8779c18b9fe31f11b6f
data/bin/rtfm CHANGED
@@ -88,6 +88,35 @@ ADDITINAL COMMANDS
88
88
 
89
89
  COPYRIGHT: Geir Isene, 2020-1. No rights reserved. See http://isene.com for more.
90
90
  HELPTEXT
91
+
92
+ @firstrun = <<FIRSTRUN
93
+
94
+ Welcome to RTFM - the Ruby Terminal File Manager. This help text is shown on the first run.
95
+ To benefit fully from all the features, you need to install some auxilliary software.
96
+ On Ubuntu Linux you would use "apt install":
97
+
98
+ Basic requirments is "x11-utils" and "xdotool": apt install x11-utils xdotool
99
+ Syntax highlighting of text uses "bat": apt install bat
100
+ Viewing PDFs uses "pdftotext": apt install poppler-utils
101
+ Viewing LibreOffice docs uses "odt2txt": apt install odt2txt
102
+ Viewing MS docx uses "docx2txt": apt install docx2txt
103
+ Viewing MS pptx uses "unzip": apt install unzip
104
+ Viewing MS xlsx uses "ssconvert": apt install gnumeric
105
+ Viewing MS doc/xls/ppt uses "catdoc, xls2csv and catppt": apt install catdoc
106
+ Viewing Images uses "w3m and ImageMagick": apt install w3m imagemagick
107
+ Viewing Video thumbnails uses "ffmpegthumbnailer" apt install ffmpegthumbnailer
108
+
109
+ FIRSTRUN
110
+
111
+ unless File.exist?(Dir.home+'/.rtfm.conf')
112
+ puts @firstrun
113
+ puts "... hit ENTER to show the RTFM help text."
114
+ STDIN.gets
115
+ puts @help
116
+ puts "\n... hit ENTER to start RTFM. Enjoy :-)"
117
+ STDIN.gets
118
+ end
119
+
91
120
  begin # BASIC SETUP
92
121
  require 'fileutils'
93
122
  require 'io/console'
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: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-24 00:00:00.000000000 Z
11
+ date: 2021-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curses
@@ -30,10 +30,10 @@ dependencies:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.3.2
33
- description: RTFM lets you browse directories and view the content of directories
34
- and files. Files are syntax highlighted, images are shown in the terminal, videos
35
- are thumbnailed, etc. You can bookmark and jump around easily, delete, rename, copy,
36
- symlink and move files. RTFM has a a wide range of other features.
33
+ description: A full featured terminal browser with syntax highlighted files, images
34
+ shown in the terminal, videos thumbnailed, etc. You can bookmark and jump around
35
+ easily, delete, rename, copy, symlink and move files. RTFM has a a wide range of
36
+ other features.
37
37
  email: g@isene.com
38
38
  executables:
39
39
  - rtfm