xref: /dragonfly/bin/notty/notty.1 (revision 36a3d1d6)
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
14The
15.Nm
16utility will detach the specified command from the controlling terminal,
17running it in the background.  By default stdin, stdout, and stderr are
18set to /dev/null.
19.Pp
20The following options are available:
21.Bl -tag -width indent
22.It Fl 0
23Leave stdin open.
24.It Fl 1
25Leave stdout open.
26.It Fl 2
27Leave stderr open.
28.El
29.Sh HISTORY
30The
31.Nm
32command was originally written in 1994 by Matthew Dillon to provide
33a convenient shortcut for detaching programs.
34