controm terminql -> controlling terminal;

This commit is contained in:
jmc 2022-10-13 21:37:05 +00:00
parent 35175b853c
commit a398fd9a90
10 changed files with 43 additions and 42 deletions

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ps.1,v 1.128 2022/09/03 15:59:04 jmc Exp $ .\" $OpenBSD: ps.1,v 1.129 2022/10/13 21:37:05 jmc Exp $
.\" $NetBSD: ps.1,v 1.16 1996/03/21 01:36:28 jtc Exp $ .\" $NetBSD: ps.1,v 1.16 1996/03/21 01:36:28 jtc Exp $
.\" .\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994 .\" Copyright (c) 1980, 1990, 1991, 1993, 1994
@ -30,7 +30,7 @@
.\" .\"
.\" @(#)ps.1 8.3 (Berkeley) 4/18/94 .\" @(#)ps.1 8.3 (Berkeley) 4/18/94
.\" .\"
.Dd $Mdocdate: September 3 2022 $ .Dd $Mdocdate: October 13 2022 $
.Dt PS 1 .Dt PS 1
.Os .Os
.Sh NAME .Sh NAME
@ -443,7 +443,8 @@ information:
.Pp .Pp
.Bl -tag -width indent -compact .Bl -tag -width indent -compact
.It + .It +
The process is in the foreground process group of its control terminal. The process is in the foreground process group of its controlling
terminal.
.It \*(Lt .It \*(Lt
The process has a raised CPU The process has a raised CPU
scheduling priority (see scheduling priority (see
@ -508,7 +509,7 @@ Saved GID from a setgid executable.
.It Cm svuid .It Cm svuid
Saved UID from a setuid executable. Saved UID from a setuid executable.
.It Cm tdev .It Cm tdev
Control terminal device number. Controlling terminal device number.
.It Cm tid .It Cm tid
Thread ID. Thread ID.
Used together with Used together with
@ -518,11 +519,11 @@ Alias:
.Cm cputime . .Cm cputime .
Accumulated CPU time, user + system. Accumulated CPU time, user + system.
.It Cm tpgid .It Cm tpgid
Control terminal process group ID. Controlling terminal process group ID.
.\".It trss .\".It trss
.\"Text resident set size, in Kilobytes. .\"Text resident set size, in Kilobytes.
.It Cm tsess .It Cm tsess
Control terminal session pointer. Controlling terminal session pointer.
.It Cm tsiz .It Cm tsiz
Text size, in Kilobytes. Text size, in Kilobytes.
.It Cm tt .It Cm tt
@ -536,7 +537,7 @@ This is followed by a
if the process can no longer reach that if the process can no longer reach that
controlling terminal (i.e. it has been revoked). controlling terminal (i.e. it has been revoked).
.It Cm tty .It Cm tty
Full name of control terminal. Full name of controlling terminal.
.It Cm ucomm .It Cm ucomm
Alias: Alias:
.Cm comm . .Cm comm .

View File

@ -25,9 +25,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: sigvec.3,v 1.36 2022/03/31 17:27:15 naddy Exp $ .\" $OpenBSD: sigvec.3,v 1.37 2022/10/13 21:37:05 jmc Exp $
.\" .\"
.Dd $Mdocdate: March 31 2022 $ .Dd $Mdocdate: October 13 2022 $
.Dt SIGVEC 3 .Dt SIGVEC 3
.Os .Os
.Sh NAME .Sh NAME
@ -243,8 +243,8 @@ with names as in the include file
.It Dv SIGTSTP Ta "stop process" Ta "stop signal generated from keyboard" .It Dv SIGTSTP Ta "stop process" Ta "stop signal generated from keyboard"
.It Dv SIGCONT Ta "discard signal" Ta "continue after stop" .It Dv SIGCONT Ta "discard signal" Ta "continue after stop"
.It Dv SIGCHLD Ta "discard signal" Ta "child status has changed" .It Dv SIGCHLD Ta "discard signal" Ta "child status has changed"
.It Dv SIGTTIN Ta "stop process" Ta "background read attempted from control terminal" .It Dv SIGTTIN Ta "stop process" Ta "background read attempted from controlling terminal"
.It Dv SIGTTOU Ta "stop process" Ta "background write attempted to control terminal" .It Dv SIGTTOU Ta "stop process" Ta "background write attempted to controlling terminal"
.It Dv SIGIO Ta "discard signal" Ta "I/O is possible on a descriptor (see" .It Dv SIGIO Ta "discard signal" Ta "I/O is possible on a descriptor (see"
.Xr fcntl 2 ) .Xr fcntl 2 )
.It Dv SIGXCPU Ta "terminate process" Ta "CPU time limit exceeded (see" .It Dv SIGXCPU Ta "terminate process" Ta "CPU time limit exceeded (see"

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: signal.3,v 1.56 2017/08/01 14:57:02 schwarze Exp $ .\" $OpenBSD: signal.3,v 1.57 2022/10/13 21:37:05 jmc Exp $
.\" .\"
.\" Copyright (c) 1980, 1991, 1993 .\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: August 1 2017 $ .Dd $Mdocdate: October 13 2022 $
.Dt SIGNAL 3 .Dt SIGNAL 3
.Os .Os
.Sh NAME .Sh NAME
@ -76,12 +76,12 @@ typing the
character. character.
.Pp .Pp
Signals are used when a process is stopped because it wishes to access Signals are used when a process is stopped because it wishes to access
its control terminal while in the background (see its controlling terminal while in the background (see
.Xr tty 4 ) . .Xr tty 4 ) .
Signals are optionally generated Signals are optionally generated
when a process resumes after being stopped, when a process resumes after being stopped,
when the status of child processes changes, when the status of child processes changes,
or when input is ready at the control terminal. or when input is ready at the controlling terminal.
Most signals result in the termination of the process receiving them Most signals result in the termination of the process receiving them
if no action if no action
is taken; some signals instead cause the process receiving them is taken; some signals instead cause the process receiving them
@ -120,8 +120,8 @@ These signals are defined in the file
.It Dv SIGTSTP Ta "stop process" Ta "stop signal generated from keyboard" .It Dv SIGTSTP Ta "stop process" Ta "stop signal generated from keyboard"
.It Dv SIGCONT Ta "discard signal" Ta "continue after stop" .It Dv SIGCONT Ta "discard signal" Ta "continue after stop"
.It Dv SIGCHLD Ta "discard signal" Ta "child status has changed" .It Dv SIGCHLD Ta "discard signal" Ta "child status has changed"
.It Dv SIGTTIN Ta "stop process" Ta "background read attempted from control terminal" .It Dv SIGTTIN Ta "stop process" Ta "background read attempted from controlling terminal"
.It Dv SIGTTOU Ta "stop process" Ta "background write attempted to control terminal" .It Dv SIGTTOU Ta "stop process" Ta "background write attempted to controlling terminal"
.It Dv SIGIO Ta "discard signal" Ta "I/O is possible on a descriptor (see" .It Dv SIGIO Ta "discard signal" Ta "I/O is possible on a descriptor (see"
.Xr fcntl 2 ) .Xr fcntl 2 )
.It Dv SIGXCPU Ta "terminate process" Ta "CPU time limit exceeded (see" .It Dv SIGXCPU Ta "terminate process" Ta "CPU time limit exceeded (see"

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: ttyname.3,v 1.19 2013/11/12 05:12:15 deraadt Exp $ .\" $OpenBSD: ttyname.3,v 1.20 2022/10/13 21:37:05 jmc Exp $
.\" .\"
.\" Copyright (c) 1991, 1993 .\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: November 12 2013 $ .Dd $Mdocdate: October 13 2022 $
.Dt TTYNAME 3 .Dt TTYNAME 3
.Os .Os
.Sh NAME .Sh NAME
@ -94,7 +94,8 @@ The maximum length of the terminal name is
.Pp .Pp
The The
.Fn ttyslot .Fn ttyslot
function fetches the current process's control terminal number from the function fetches the current process's controlling terminal number from
the
.Xr ttys 5 .Xr ttys 5
file entry. file entry.
.Sh RETURN VALUES .Sh RETURN VALUES

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: execve.2,v 1.57 2022/09/24 15:21:21 jmc Exp $ .\" $OpenBSD: execve.2,v 1.58 2022/10/13 21:37:05 jmc Exp $
.\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $ .\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $
.\" .\"
.\" Copyright (c) 1980, 1991, 1993 .\" Copyright (c) 1980, 1991, 1993
@ -30,7 +30,7 @@
.\" .\"
.\" @(#)execve.2 8.3 (Berkeley) 1/24/94 .\" @(#)execve.2 8.3 (Berkeley) 1/24/94
.\" .\"
.Dd $Mdocdate: September 24 2022 $ .Dd $Mdocdate: October 13 2022 $
.Dt EXECVE 2 .Dt EXECVE 2
.Os .Os
.Sh NAME .Sh NAME
@ -156,7 +156,7 @@ The process will be started without the new permissions.
The new process also inherits the following attributes from The new process also inherits the following attributes from
the calling process: the calling process:
.Pp .Pp
.Bl -tag -width parent_process_ID -offset indent -compact .Bl -tag -width controlling_terminal -offset indent -compact
.It process ID .It process ID
see see
.Xr getpid 2 .Xr getpid 2
@ -178,7 +178,7 @@ see
.It root directory .It root directory
see see
.Xr chroot 2 .Xr chroot 2
.It control terminal .It controlling terminal
see see
.Xr termios 4 .Xr termios 4
.It resource usages .It resource usages

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: getpgrp.2,v 1.18 2015/09/10 17:55:21 schwarze Exp $ .\" $OpenBSD: getpgrp.2,v 1.19 2022/10/13 21:37:05 jmc Exp $
.\" $NetBSD: getpgrp.2,v 1.8 1995/02/27 12:33:09 cgd Exp $ .\" $NetBSD: getpgrp.2,v 1.8 1995/02/27 12:33:09 cgd Exp $
.\" .\"
.\" Copyright (c) 1983, 1991, 1993 .\" Copyright (c) 1983, 1991, 1993
@ -30,7 +30,7 @@
.\" .\"
.\" @(#)getpgrp.2 8.1 (Berkeley) 6/4/93 .\" @(#)getpgrp.2 8.1 (Berkeley) 6/4/93
.\" .\"
.Dd $Mdocdate: September 10 2015 $ .Dd $Mdocdate: October 13 2022 $
.Dt GETPGRP 2 .Dt GETPGRP 2
.Os .Os
.Sh NAME .Sh NAME
@ -71,8 +71,7 @@ The
.Fn tcgetpgrp .Fn tcgetpgrp
and and
.Fn tcsetpgrp .Fn tcsetpgrp
calls calls are used to get/set the process group of the controlling terminal.
are used to get/set the process group of the control terminal.
.Sh ERRORS .Sh ERRORS
.Fn getpgrp .Fn getpgrp
always succeeds, however always succeeds, however

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: sigaction.2,v 1.76 2022/03/31 17:27:16 naddy Exp $ .\" $OpenBSD: sigaction.2,v 1.77 2022/10/13 21:37:05 jmc Exp $
.\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $ .\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $
.\" .\"
.\" Copyright (c) 1980, 1990, 1993 .\" Copyright (c) 1980, 1990, 1993
@ -30,7 +30,7 @@
.\" .\"
.\" @(#)sigaction.2 8.2 (Berkeley) 4/3/94 .\" @(#)sigaction.2 8.2 (Berkeley) 4/3/94
.\" .\"
.Dd $Mdocdate: March 31 2022 $ .Dd $Mdocdate: October 13 2022 $
.Dt SIGACTION 2 .Dt SIGACTION 2
.Os .Os
.Sh NAME .Sh NAME
@ -327,8 +327,8 @@ with names as in the include file
.It Dv SIGTSTP Ta "stop process" Ta "stop signal generated from keyboard" .It Dv SIGTSTP Ta "stop process" Ta "stop signal generated from keyboard"
.It Dv SIGCONT Ta "discard signal" Ta "continue after stop" .It Dv SIGCONT Ta "discard signal" Ta "continue after stop"
.It Dv SIGCHLD Ta "discard signal" Ta "child status has changed" .It Dv SIGCHLD Ta "discard signal" Ta "child status has changed"
.It Dv SIGTTIN Ta "stop process" Ta "background read attempted from control terminal" .It Dv SIGTTIN Ta "stop process" Ta "background read attempted from controlling terminal"
.It Dv SIGTTOU Ta "stop process" Ta "background write attempted to control terminal" .It Dv SIGTTOU Ta "stop process" Ta "background write attempted to controlling terminal"
.It Dv SIGIO Ta "discard signal" Ta "I/O is possible on a descriptor (see" .It Dv SIGIO Ta "discard signal" Ta "I/O is possible on a descriptor (see"
.Xr fcntl 2 ) .Xr fcntl 2 )
.It Dv SIGXCPU Ta "terminate process" Ta "CPU time limit exceeded (see" .It Dv SIGXCPU Ta "terminate process" Ta "CPU time limit exceeded (see"

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: dump.8,v 1.55 2022/06/02 15:35:55 millert Exp $ .\" $OpenBSD: dump.8,v 1.56 2022/10/13 21:37:05 jmc Exp $
.\" $NetBSD: dump.8,v 1.17 1997/06/05 11:15:06 lukem Exp $ .\" $NetBSD: dump.8,v 1.17 1997/06/05 11:15:06 lukem Exp $
.\" .\"
.\" Copyright (c) 1980, 1991, 1993 .\" Copyright (c) 1980, 1991, 1993
@ -31,7 +31,7 @@
.\" .\"
.\" @(#)dump.8 8.1 (Berkeley) 6/16/93 .\" @(#)dump.8 8.1 (Berkeley) 6/16/93
.\" .\"
.Dd $Mdocdate: June 2 2022 $ .Dd $Mdocdate: October 13 2022 $
.Dt DUMP 8 .Dt DUMP 8
.Os .Os
.Sh NAME .Sh NAME
@ -314,7 +314,7 @@ flag,
.Nm .Nm
interacts with the operator on interacts with the operator on
.Nm dump Ns 's .Nm dump Ns 's
control terminal at times when controlling terminal at times when
.Nm .Nm
can no longer proceed, can no longer proceed,
or if something is grossly wrong. or if something is grossly wrong.

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: pty.4,v 1.25 2018/06/05 16:43:19 anton Exp $ .\" $OpenBSD: pty.4,v 1.26 2022/10/13 21:37:05 jmc Exp $
.\" $NetBSD: pty.4,v 1.4 1998/03/21 03:14:30 fair Exp $ .\" $NetBSD: pty.4,v 1.4 1998/03/21 03:14:30 fair Exp $
.\" .\"
.\" Copyright (c) 1983, 1991, 1993 .\" Copyright (c) 1983, 1991, 1993
@ -30,7 +30,7 @@
.\" .\"
.\" @(#)pty.4 8.2 (Berkeley) 11/30/93 .\" @(#)pty.4 8.2 (Berkeley) 11/30/93
.\" .\"
.Dd $Mdocdate: June 5 2018 $ .Dd $Mdocdate: October 13 2022 $
.Dt PTY 4 .Dt PTY 4
.Os .Os
.Sh NAME .Sh NAME
@ -226,8 +226,8 @@ independent of
.Dv TIOCPKT . .Dv TIOCPKT .
This mode causes input to the pseudo terminal This mode causes input to the pseudo terminal
to be flow controlled and not input edited (regardless of the terminal mode). to be flow controlled and not input edited (regardless of the terminal mode).
Each write to the control terminal produces a record boundary for the process Each write to the controlling terminal produces a record boundary for the
reading the terminal. process reading the terminal.
In normal usage, a write of data is like the data typed as a line In normal usage, a write of data is like the data typed as a line
on the terminal; a write of 0 bytes is like typing an end-of-file on the terminal; a write of 0 bytes is like typing an end-of-file
character. character.

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: tset.1,v 1.23 2022/03/31 17:27:28 naddy Exp $ .\" $OpenBSD: tset.1,v 1.24 2022/10/13 21:37:05 jmc Exp $
.\" .\"
.\" Copyright (c) 1985, 1990, 1993 .\" Copyright (c) 1985, 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -29,7 +29,7 @@
.\" .\"
.\" @(#)tset.1 8.1 (Berkeley) 6/9/93 .\" @(#)tset.1 8.1 (Berkeley) 6/9/93
.\" .\"
.Dd $Mdocdate: March 31 2022 $ .Dd $Mdocdate: October 13 2022 $
.Dt TSET 1 .Dt TSET 1
.Os .Os
.Sh NAME .Sh NAME
@ -275,7 +275,7 @@ and
.Ql \&! .Ql \&!
inverts the sense of the test. inverts the sense of the test.
The baud rate is specified as a number and is compared with the speed The baud rate is specified as a number and is compared with the speed
of the standard error output (which should be the control terminal). of the standard error output (which should be the controlling terminal).
The terminal type is a string. The terminal type is a string.
.Pp .Pp
If the terminal type is not specified on the command line, the If the terminal type is not specified on the command line, the