summary refs log tree commit diff
path: root/bin/man1/dtch.1
blob: e27713e1ca14f352a57f93b4a079e4df4d11aac1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.Dd August 12, 2019
.Dt DTCH 1
.Os
.
.Sh NAME
.Nm dtch
.Nd detached sessions
.
.Sh SYNOPSIS
.Nm
.Op Fl s
.Ar name
.Op Ar command ...
.Nm
.Fl a
.Ar name
.
.Sh DESCRIPTION
.Nm
spawns a
.Ar command
in a detachable session.
If no
.Ar command
is given,
the value of
.Ev SHELL
is used.
The
.Nm
process
should be run as a background job
or with
.Xr nohup 1 .
.
.Pp
To attach to an existing session,
pass the
.Fl a
flag.
To detach from the session,
type
.Ic ^Q .
.
.Pp
The arguments are as follows:
.Bl -tag -width Ds
.It Fl a
Attach to an existing session.
.It Fl s
Sink the output of
.Ar command
while detached.
.El
.
.Sh FILES
.Bl -tag -width Ds
.It Pa ~/.dtch
Directory of UNIX-domain sockets
for each session.
.El
.
.Sh EXAMPLES
.Bd -literal -offset indent
dtch foo vim &
dtch -a foo
.Ed
'> 2019-12-19Remove READMEJune McEnroe 2019-12-15Update git URLsJune McEnroe 2019-08-05Add buymeacoffee linkJune McEnroe Can't hurt, I guess? I don't expect to get anything... 2019-07-27Use braces in MakefileJune McEnroe 2019-07-08Remove NetHack from indexJune McEnroe 2019-04-08Don't install rc.kfcgi eitherJune McEnroe 2019-03-28Remove rc.kfcgiJune McEnroe I sent a better version of it to the port maintainer and it is now in the ports tree. 2019-01-16Reformat index.html with explore linkJune McEnroe 2019-01-16Return false from keydown handler in exploreJune McEnroe 2019-01-08Draw lines to tile edgeJune McEnroe 2019-01-08Factor out default pathsJune McEnroe 2019-01-08Remove incorrect default coordinatesJune McEnroe 2019-01-07Set img src when explore fragment changesJune McEnroe 2019-01-07Compress PNG data in imageJune McEnroe kcgi never enables compression for FastCGI. 2019-01-07madvise MADV_NOCORE in imageJune McEnroe 2019-01-07Add license notice to explore JavaScriptJune McEnroe 2019-01-07Add Q/Home binding in exploreJune McEnroe 2019-01-07Fix explore image URLJune McEnroe 2019-01-07Add HOME button, ssh link, AGPL notice to exploreJune McEnroe 2019-01-06Add meta viewport to exploreJune McEnroe 2019-01-06Set background and max-width in exploreJune McEnroe 2019-01-06Swallow writes after the connection is closedJune McEnroe It was not okay. 2019-01-06Handle KCGI_HUPJune McEnroe I hope it's okay that I keep writing to the fwopen stream after streamWrite returns -1. 2019-01-06Install html filesJune McEnroe