Merge branch 'vendor/GREP'
[dragonfly.git] / bin / notty / notty.1
1 .\"
2 .\" $DragonFly: src/bin/notty/notty.1,v 1.3 2008/06/24 21:13:26 thomas Exp $
3 .Dd May 27, 2008
4 .Dt NOTTY 1
5 .Os
6 .Sh NAME
7 .Nm notty
8 .Nd Execute a program in the background, detached from the controlling terminal
9 .Sh SYNOPSIS
10 .Nm
11 .Op Fl 012
12 .Ar command Ar args ...
13 .Sh DESCRIPTION
14 The
15 .Nm
16 utility will detach the specified command from the controlling terminal,
17 running it in the background.  By default stdin, stdout, and stderr are
18 set to /dev/null.
19 .Pp
20 The following options are available:
21 .Bl -tag -width indent
22 .It Fl 0
23 Leave stdin open.
24 .It Fl 1
25 Leave stdout open.
26 .It Fl 2
27 Leave stderr open.
28 .El
29 .Sh HISTORY
30 The
31 .Nm
32 command was originally written in 1994 by Matthew Dillon to provide
33 a convenient shortcut for detaching programs.