1.\" $OpenBSD: ttyflags.8,v 1.11 2007/05/31 19:19:48 jmc Exp $ 2.\" $NetBSD: ttyflags.8,v 1.2 1995/03/18 15:01:22 cgd Exp $ 3.\" 4.\" Copyright (c) 1994 Christopher G. Demetriou 5.\" All rights reserved. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions 9.\" are met: 10.\" 1. Redistributions of source code must retain the above copyright 11.\" notice, this list of conditions and the following disclaimer. 12.\" 2. Redistributions in binary form must reproduce the above copyright 13.\" notice, this list of conditions and the following disclaimer in the 14.\" documentation and/or other materials provided with the distribution. 15.\" 3. All advertising materials mentioning features or use of this software 16.\" must display the following acknowledgement: 17.\" This product includes software developed by Christopher G. Demetriou. 18.\" 3. The name of the author may not be used to endorse or promote products 19.\" derived from this software without specific prior written permission 20.\" 21.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 22.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 23.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 24.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 25.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31.\" 32.Dd $Mdocdate: May 31 2007 $ 33.Dt TTYFLAGS 8 34.Os 35.Sh NAME 36.Nm ttyflags 37.Nd set device-specific flags for terminals 38.Sh SYNOPSIS 39.Nm ttyflags 40.Op Fl pv 41.Op Fl a | Ar tty ... 42.Sh DESCRIPTION 43.Nm 44sets the device-specific flags for terminals, based on the flags 45found on the terminal's line in 46.Pa /etc/ttys . 47.Pp 48The options are as follows: 49.Bl -tag -width Ds 50.It Fl a 51Set the flags for all terminals in 52.Pa /etc/ttys . 53.It Fl p 54Print out flag information about each terminal, instead of setting 55anything. 56.It Fl v 57Be verbose about what the terminal's flags will be set to. 58.El 59.Pp 60The 61.Ar tty 62arguments are optional, but must not be specified if the 63.Fl a 64flag is used. 65If specified, the 66.Ar tty 67arguments should be the base names of 68the ttys, as found in 69.Pa /etc/ttys . 70.Sh FILES 71.Bl -tag -width /etc/ttys -compact 72.It Pa /etc/ttys 73.El 74.Sh SEE ALSO 75.Xr getttyent 3 , 76.Xr ttys 5 77.Sh HISTORY 78The 79.Nm 80utility appeared in 81.Nx 0.9a . 82.Sh BUGS 83The conditions on which to report an error are ill-defined. 84.Nm 85tries to report all significant errors, perhaps going over-board 86at times. 87