summaryrefslogtreecommitdiff
path: root/share/man/man1/nerve.1
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-18 03:08:58 -0400
committerIan Moffett <ian@osmora.org>2025-07-18 03:08:58 -0400
commit031217715fdd68556ffab79e9b898d9f8f80f035 (patch)
tree819b266a2f626f5c09921dc6919ff62fce691f57 /share/man/man1/nerve.1
parent96580ab98fdc1eee2b93f7ad021f70f7cb746d10 (diff)
usr: nerve: Add 'peek' verb to nerve(1)expt
While poking at a nerve can be very useful, there are times where we need to peek at them to see their current state. This commit introduces the 'peek' verb to do exactly that. Here is how one may peek at the console features: -- [chloe::osmora]~ nerve peek consfeat ansi_esc=1 show_curs=1 -- Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'share/man/man1/nerve.1')
-rw-r--r--share/man/man1/nerve.118
1 files changed, 17 insertions, 1 deletions
diff --git a/share/man/man1/nerve.1 b/share/man/man1/nerve.1
index e15a9fd..8f2d19e 100644
--- a/share/man/man1/nerve.1
+++ b/share/man/man1/nerve.1
@@ -34,7 +34,9 @@ nerve <verb> [ .. payload for pokes ..]
verb 'poke': Poke a nerve
-nerve ending 'consattr': Console attributes <x, y>
+verb 'peek': Peek at a nerve
+
+nerve ending 'consattr': Console attributes
nerve ending 'consfeat': Console features
@@ -53,5 +55,19 @@ nerve poke consattr 0 0
verb nerve [x] [y]
.Ed
+A nerve may also be peeked at by using the 'peek' verb. Here is an example of the usage
+of this verb:
+
+.Bd -literal
+nerve peek consfeat
+ / /
+ verb nerve
+
+output:
+ ansi_esc=1
+ show_curs=0
+ ...
+.Ed
+
.Sh AUTHORS
.An Ian Moffett Aq Mt ian@osmora.org