tty.1 (c3aac50f284c6cca5b4f2eb46aaa13812cb8b630) | tty.1 (e8937ba00998cca6f259b3fdf32a7f7a38bc26ec) |
---|---|
1.\" Copyright (c) 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the Institute of Electrical and Electronics Engineers, Inc. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 51 unchanged lines hidden (view full) --- 60when this option is specified. 61The 62.Fl s 63option is deprecated in favor of the 64.Dq Li "test -t 0" 65command. 66.El 67.Pp | 1.\" Copyright (c) 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the Institute of Electrical and Electronics Engineers, Inc. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 51 unchanged lines hidden (view full) --- 60when this option is specified. 61The 62.Fl s 63option is deprecated in favor of the 64.Dq Li "test -t 0" 65command. 66.El 67.Pp |
68.Nm Tty | 68The 69.Nm 70utility |
69exits 0 if the standard input is a terminal, 1 if the standard input is 70not a terminal, and >1 if an error occurs. 71.Sh SEE ALSO 72.Xr test 1 , 73.Xr ttyname 3 74.Sh STANDARDS 75The 76.Nm 77utility is expected to be 78.St -p1003.2 79compatible. 80.Sh HISTORY 81A 82.Nm 83command appeared in 84.At v1 . | 71exits 0 if the standard input is a terminal, 1 if the standard input is 72not a terminal, and >1 if an error occurs. 73.Sh SEE ALSO 74.Xr test 1 , 75.Xr ttyname 3 76.Sh STANDARDS 77The 78.Nm 79utility is expected to be 80.St -p1003.2 81compatible. 82.Sh HISTORY 83A 84.Nm 85command appeared in 86.At v1 . |