diff options
author | June McEnroe <june@causal.agency> | 2018-11-12 23:44:53 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-11-12 23:54:30 -0500 |
commit | 2fd4ca94a4209e2af6329e557f1dd513efe607c8 (patch) | |
tree | 3b41e6469f0272a8e77b98c79f01a4e8cc7f6832 /bin/man | |
parent | Use typedefs uint and byte (diff) | |
download | src-2fd4ca94a4209e2af6329e557f1dd513efe607c8.tar.gz src-2fd4ca94a4209e2af6329e557f1dd513efe607c8.zip |
Clean up and improve dtch
Removed dependency on passwd, instead using HOME and SHELL. Added signal handlers to clean up sockets more reliably and to update the window size.
Diffstat (limited to '')
-rw-r--r-- | bin/man/dtch.1 | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/bin/man/dtch.1 b/bin/man/dtch.1 index ad13c109..dd01c268 100644 --- a/bin/man/dtch.1 +++ b/bin/man/dtch.1 @@ -17,7 +17,11 @@ .Nm spawns the .Ar command -(by default, the user's shell) +.Po +by default, +the value of +.Ev SHELL +.Pc inside a new PTY. It then lends control of the detached PTY to .Nm atch @@ -35,11 +39,17 @@ session with the corresponding 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 . +.Sh ENVIRONMENT +.Bl -tag -width "SHELL" +.It Ev HOME +Location of +.Pa .dtch +directory for UNIX-domain sockets. +.It Ev SHELL +The default command to run, +or +.Pa /bin/sh +if unset. .El . .Sh EXAMPLES |