Mon Dec 14 02:34:52 2009 UTC ()
Document "stty insane" properly. Closes PR bin/25024.


(dholland)
diff -r1.36 -r1.37 src/bin/stty/stty.1

cvs diff -r1.36 -r1.37 src/bin/stty/stty.1 (expand / switch to unified diff)

--- src/bin/stty/stty.1 2009/05/13 22:41:43 1.36
+++ src/bin/stty/stty.1 2009/12/14 02:34:52 1.37
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: stty.1,v 1.36 2009/05/13 22:41:43 wiz Exp $ 1.\" $NetBSD: stty.1,v 1.37 2009/12/14 02:34:52 dholland Exp $
2.\" 2.\"
3.\" Copyright (c) 1990, 1993, 1994 3.\" Copyright (c) 1990, 1993, 1994
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
5.\" 5.\"
6.\" This code is derived from software contributed to Berkeley by 6.\" This code is derived from software contributed to Berkeley by
7.\" the Institute of Electrical and Electronics Engineers, Inc. 7.\" the Institute of Electrical and Electronics Engineers, Inc.
8.\" 8.\"
9.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
11.\" are met: 11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright 12.\" 1. Redistributions of source code must retain the above copyright
13.\" notice, this list of conditions and the following disclaimer. 13.\" notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" 2. Redistributions in binary form must reproduce the above copyright
@@ -426,27 +426,29 @@ Disable parenb, and set cs8. @@ -426,27 +426,29 @@ Disable parenb, and set cs8.
426.It Cm \&nl Pq Fl \&nl 426.It Cm \&nl Pq Fl \&nl
427Enable (disable) icrnl. 427Enable (disable) icrnl.
428In addition 428In addition
429-nl unsets inlcr and igncr. 429-nl unsets inlcr and igncr.
430.It Cm ek 430.It Cm ek
431Reset 431Reset
432.Dv ERASE 432.Dv ERASE
433and 433and
434.Dv KILL 434.Dv KILL
435characters back to system defaults. 435characters back to system defaults.
436.It Cm sane 436.It Cm sane
437Resets all modes to reasonable values for interactive terminal use. 437Resets all modes to reasonable values for interactive terminal use.
438.It Cm insane 438.It Cm insane
439Resets all modes to unreasonable values for interactive terminal use. 439Sets all modes to random values, which are very likely
 440.Pq but not guaranteed
 441to be unreasonable for interactive terminal use.
440.It Cm tty 442.It Cm tty
441Set the line discipline to the standard terminal line discipline 443Set the line discipline to the standard terminal line discipline
442.Dv TTYDISC . 444.Dv TTYDISC .
443.It Cm crt Pq Fl crt 445.It Cm crt Pq Fl crt
444Set (disable) all modes suitable for a CRT display device. 446Set (disable) all modes suitable for a CRT display device.
445.It Cm kerninfo Pq Fl kerninfo 447.It Cm kerninfo Pq Fl kerninfo
446Enable (disable) the system generated status line associated with 448Enable (disable) the system generated status line associated with
447processing a 449processing a
448.Dv STATUS 450.Dv STATUS
449character (usually set to ^T). 451character (usually set to ^T).
450The status line consists of the 452The status line consists of the
451system load average, the current command name, its process ID, the 453system load average, the current command name, its process ID, the
452event the process is waiting on (or the status of the process), the user 454event the process is waiting on (or the status of the process), the user