rubyterm 0.2.1 → 0.2.2
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/README.md +32 -14
- data/lib/rubyterm/version.rb +1 -1
- 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: eaf9bef055d78f4fe83be5108bf948285ba3b36df6049dc68b60f97ff5ec2468
|
|
4
|
+
data.tar.gz: aba855f9e0abe0f223fdacd85a84796eb905b254052c14f4515894a62433a467
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fcf76c9027bc5448199736f5faf67fd4bebd592ed3470981f821374ddb85d22c45bab8cb15d289bf0da32c3fc4edb196d02eee6ee14d14457f688cd528a6a22a
|
|
7
|
+
data.tar.gz: e37c492d2661b587f952ce3606eaf08e86e69fe5d07c50799b3bb9540003eb863804488fdcb05205962540ded847fa05edc311bacad0ac2482943bdb77741c22
|
data/README.md
CHANGED
|
@@ -18,6 +18,25 @@ all.
|
|
|
18
18
|
> to contribute, **talk to me first** (vidar@hokstad.com) or fork — I won't
|
|
19
19
|
> promise to merge changes we haven't discussed.
|
|
20
20
|
|
|
21
|
+
## Getting started
|
|
22
|
+
|
|
23
|
+
rubyterm is a **standalone X11 terminal emulator** — like `xterm` or any
|
|
24
|
+
other terminal, but written entirely in Ruby. You run it inside a running X
|
|
25
|
+
session and it opens a window with a shell in it.
|
|
26
|
+
|
|
27
|
+
gem install rubyterm
|
|
28
|
+
|
|
29
|
+
Then, from within an X session (`$DISPLAY` must point at your X server):
|
|
30
|
+
|
|
31
|
+
rubyterm # your $SHELL in a new window
|
|
32
|
+
rubyterm bash -lc htop # ...or run a specific command
|
|
33
|
+
|
|
34
|
+
Launch it however you launch any other terminal — from your window manager's
|
|
35
|
+
menu or a keybinding, from your X startup file, or from an existing terminal.
|
|
36
|
+
|
|
37
|
+
**Tabs?** Not yet — rubyterm is one terminal per window. For multiple
|
|
38
|
+
sessions, open several windows or run `tmux`/`screen` inside it.
|
|
39
|
+
|
|
21
40
|
## Screenshots of Ruby-in-Ruby-in-Ruby-...
|
|
22
41
|
|
|
23
42
|

|
|
@@ -57,32 +76,31 @@ For the full picture and the rationale behind the layering, see:
|
|
|
57
76
|
|
|
58
77
|
## Installation
|
|
59
78
|
|
|
60
|
-
|
|
79
|
+
**From RubyGems** — to use it:
|
|
61
80
|
|
|
62
81
|
```bash
|
|
63
|
-
|
|
82
|
+
gem install rubyterm
|
|
83
|
+
rubyterm # then run it inside an X session
|
|
64
84
|
```
|
|
65
85
|
|
|
66
|
-
|
|
67
|
-
pulled from git. To build against a local checkout instead of the pushed
|
|
68
|
-
branch, set a per-machine local override (kept out of the repo):
|
|
86
|
+
**From source** — to hack on it:
|
|
69
87
|
|
|
70
88
|
```bash
|
|
71
|
-
|
|
72
|
-
bundle
|
|
89
|
+
git clone https://github.com/vidarh/rubyterm && cd rubyterm
|
|
90
|
+
bundle install
|
|
91
|
+
bundle exec rubyterm
|
|
73
92
|
```
|
|
74
93
|
|
|
75
|
-
|
|
94
|
+
[skrift](https://github.com/vidarh/skrift) — the pure-Ruby TrueType/OpenType
|
|
95
|
+
font renderer rubyterm draws its text with — and its companion plugins live in
|
|
96
|
+
one monorepo and are pulled from git. To build against a local checkout, set
|
|
97
|
+
one per-machine override at the monorepo root (kept out of the repo):
|
|
76
98
|
|
|
77
99
|
```bash
|
|
78
|
-
bundle
|
|
79
|
-
bundle
|
|
100
|
+
bundle config set --global disable_local_branch_check true
|
|
101
|
+
bundle config set --global local.skrift /path/to/skrift
|
|
80
102
|
```
|
|
81
103
|
|
|
82
|
-
With some luck you'll get a terminal window. Once the gem (and its
|
|
83
|
-
dependencies) are installed system-wide, the `rubyterm` executable can be
|
|
84
|
-
run directly.
|
|
85
|
-
|
|
86
104
|
## Configuration
|
|
87
105
|
|
|
88
106
|
Configuration is read from `~/.config/rterm/config.toml` (TOML). See
|
data/lib/rubyterm/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubyterm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vidar Hokstad
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 0.0.15
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: 0.0.15
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: skrift
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|