summary refs log tree commit diff
path: root/bin/man/dtch.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-11 22:08:54 -0400
committerJune McEnroe <june@causal.agency>2018-09-11 22:08:54 -0400
commit324026700184917040f360aced5995856eea838f (patch)
tree648db1074e9b7d573fc2d56710711b9bf1eaa0c0 /bin/man/dtch.1
parentRewrite gfx.7 and render plaintext README (diff)
downloadsrc-324026700184917040f360aced5995856eea838f.tar.gz
src-324026700184917040f360aced5995856eea838f.zip
Move bin man pages to bin/man
Diffstat (limited to 'bin/man/dtch.1')
-rw-r--r--bin/man/dtch.154
1 files changed, 54 insertions, 0 deletions
diff --git a/bin/man/dtch.1 b/bin/man/dtch.1
new file mode 100644
index 00000000..ad13c109
--- /dev/null
+++ b/bin/man/dtch.1
@@ -0,0 +1,54 @@
+.Dd September 7, 2018
+.Dt DTCH 1
+.Os "Causal Agency"
+.
+.Sh NAME
+.Nm dtch ,
+.Nm atch
+.Nd detached sessions
+.
+.Sh SYNOPSIS
+.Nm
+.Op Ar name Op Ar command ...
+.Nm atch
+.Op Ar name
+.
+.Sh DESCRIPTION
+.Nm
+spawns the
+.Ar command
+(by default, the user's shell)
+inside a new PTY.
+It then lends control of the detached PTY to
+.Nm atch
+over a UNIX-domain socket.
+.Nm
+should be run as a background job or with
+.Xr nohup 1 .
+.
+.Pp
+.Nm atch
+attaches to the
+.Nm
+session with the corresponding
+.Ar name .
+To detach from a session, type
+.Ic ^Q .
+.
+.Sh FILES
+.Bl -tag
+.It Pa ~/.dtch/ Ns Ar name
+UNIX-domain socket for the session
+.Ar name .
+.El
+.
+.Sh EXAMPLES
+.Bd -literal -offset indent
+dtch foo vim &
+atch foo
+.Ed
+.
+.Sh SEE ALSO
+.Xr nohup 1 ,
+.Xr screen 1 ,
+.Xr forkpty 3
-12 17:06:23 -0500'>2021-01-12Add htagml exampleJune McEnroe 2021-01-12Use mandoc and htagml for bin htmlJune McEnroe 2021-01-12Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe 2021-01-09Add c -t flag to print expression typeJune McEnroe 2021-01-05Update taglineJune McEnroe