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 | c233980c84e5683082166182f5ddb37dd21cced0 (patch) | |
tree | f8865b642622b0d7cf8e4e6436278fdc28aa4b72 /bin/man | |
parent | Use typedefs uint and byte (diff) | |
download | src-c233980c84e5683082166182f5ddb37dd21cced0.tar.gz src-c233980c84e5683082166182f5ddb37dd21cced0.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 |