forked from pool/util-linux
26 lines
601 B
Groff
26 lines
601 B
Groff
|
.\" Rick Sladkey <jrs@world.std.com>
|
||
|
.\" In the public domain.
|
||
|
.\" Path modifications by faith@cs.unc.edu
|
||
|
.TH SETCTSID 8 "12 April 1999" "Linux 2.2" "Linux Programmer's Manual"
|
||
|
.SH NAME
|
||
|
setctsid \- run a program in a new session and tty
|
||
|
.SH SYNOPSIS
|
||
|
.B setctsid
|
||
|
.RB [ -f ]
|
||
|
.I /dev/<tty>
|
||
|
.I program
|
||
|
.RB [ args... ]
|
||
|
.SH DESCRIPTION
|
||
|
.B setctsid
|
||
|
runs a program in a new session with a new controlling terminal
|
||
|
.IR /dev/<tty> .
|
||
|
The
|
||
|
.B -f
|
||
|
option causes
|
||
|
.B setctsid
|
||
|
to run the program in a new process.
|
||
|
.SH "SEE ALSO"
|
||
|
.BR setsid (2)
|
||
|
.SH AUTHORS
|
||
|
Rick Sladkey <jrs@world.std.com>, Werner Fink <werner@suse.de>
|