mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
riow(1): mention having to put the rc pipeline into its own script
This commit is contained in:
parent
ff6a0f490a
commit
2734fa8545
1 changed files with 10 additions and 4 deletions
|
@ -7,7 +7,7 @@ riow \- keyboard-controller for rio(1)
|
|||
.I -s label
|
||||
]
|
||||
.SH DESCRIPTION
|
||||
.I riow
|
||||
.I Riow
|
||||
provides keyboard controlling for
|
||||
.IR rio (1)
|
||||
in the manner of
|
||||
|
@ -19,8 +19,7 @@ It does so by working with
|
|||
.I /dev/kbdtap
|
||||
(see \fIrio\fR(4)) and
|
||||
.IR /dev/wsys .
|
||||
|
||||
.I riow
|
||||
.I Riow
|
||||
outputs the current desktop number onto fd 3, which can be used by programs like
|
||||
.IR bar (1).
|
||||
.SS Running
|
||||
|
@ -29,17 +28,24 @@ A minimal example of running
|
|||
with status output to
|
||||
.IR bar (1):
|
||||
.EX
|
||||
#!/bin/rc
|
||||
</dev/kbdtap riow >/dev/kbdtap |[3] bar
|
||||
.EE
|
||||
|
||||
Example of running
|
||||
.I riow
|
||||
with other programs handling input:
|
||||
.EX
|
||||
#!/bin/rc
|
||||
</dev/kbdtap ktrans -G |
|
||||
reform/shortcuts |
|
||||
riow >/dev/kbdtap |[3] bar
|
||||
.EE
|
||||
Both examples assume putting the rc pipeline into a script and executing
|
||||
it with
|
||||
.IR window (1)
|
||||
if they are required to start using
|
||||
.I riostart
|
||||
script.
|
||||
.SS Keyboard shortcuts
|
||||
.TP
|
||||
.B Kmod4+0…9
|
||||
|
|
Loading…
Reference in a new issue