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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -14
  3. data/lib/rubyterm/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b689e43998c1e63f2cd607d3200aeb67d7cf49d6a1ce685ab532ea525132b41c
4
- data.tar.gz: a6b2201c362d87c3114762e30cc55a2b90af4bd3d7ceec2fe4b14beaabc61d72
3
+ metadata.gz: eaf9bef055d78f4fe83be5108bf948285ba3b36df6049dc68b60f97ff5ec2468
4
+ data.tar.gz: aba855f9e0abe0f223fdacd85a84796eb905b254052c14f4515894a62433a467
5
5
  SHA512:
6
- metadata.gz: 005e2010106589917df481c5ae217959114a8f80a7ce5787855dab5ef9ed69fa14b9c840781899e609e0d795f39f022fe60ff46448960dd0f2a713dc00c4a2f4
7
- data.tar.gz: e6182b8a2b492e41777386c0a2cc8626d3e5195a89b14b6e46639cb5e5f7e1baa2abde4b1a135bba08004f78a5077075dcebf089b790cf9fcd27296ec011031a
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
  ![Rubyterm](docs/2026-06-15_18-40_1.png)
@@ -57,32 +76,31 @@ For the full picture and the rationale behind the layering, see:
57
76
 
58
77
  ## Installation
59
78
 
60
- Dependencies are managed with Bundler.
79
+ **From RubyGems** to use it:
61
80
 
62
81
  ```bash
63
- bundle install
82
+ gem install rubyterm
83
+ rubyterm # then run it inside an X session
64
84
  ```
65
85
 
66
- `skrift` and `skrift-x11` are developed alongside this project and are
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
- bundle config set --global local.skrift /path/to/skrift
72
- bundle config set --global local.skrift-x11 /path/to/skrift-x11
89
+ git clone https://github.com/vidarh/rubyterm && cd rubyterm
90
+ bundle install
91
+ bundle exec rubyterm
73
92
  ```
74
93
 
75
- ## Running
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 exec rubyterm # start a terminal running your $SHELL
79
- bundle exec rubyterm bash -lc htop # ...or run a specific command
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class RubyTerm
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
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.1
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: '0'
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: '0'
26
+ version: 0.0.15
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: skrift
29
29
  requirement: !ruby/object:Gem::Requirement