summaryrefslogtreecommitdiff
path: root/static/v10/man9/lsh.9
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
commit711594636704defae873be1a355a292505585afd (patch)
tree59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man9/lsh.9
parent3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff)
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man9/lsh.9')
-rw-r--r--static/v10/man9/lsh.932
1 files changed, 32 insertions, 0 deletions
diff --git a/static/v10/man9/lsh.9 b/static/v10/man9/lsh.9
new file mode 100644
index 00000000..6f72f88f
--- /dev/null
+++ b/static/v10/man9/lsh.9
@@ -0,0 +1,32 @@
+.TH LSH 9.9
+.SH NAME
+lsh \- create layers and run shell commands
+.SH SYNOPSIS
+.B lsh
+[<file] [>file]
+.br
+.SH DESCRIPTION
+.I Lsh
+runs under
+.IR mpx (1)
+and reproduces a specified setup of layers.
+Each line of the standard input is of the form:
+.IP
+x0 y0 x1 y1 shell-command
+.PP
+For each line
+.I Lsh
+creates a layer whose diagonal spans the points
+.RI ( x0,y0 )
+and
+.RI ( x1, y1 ),
+where (0,0) is the upper left corner of the screen and (800,1024) is the
+lower right.
+If a shell-command is given, it is executed in that layer.
+.PP
+The standard output gives the coordinates of each layer that already exists and
+its downloaded object file, if any.
+This provides coordinates for an input script to duplicate
+a handmade setup.
+.SH BUGS
+Standard input cannot be the keyboard.