.TH STTY 1 .SH NAME stty \- set terminal options .SH SYNOPSIS .B stty [ option ... ] .SH DESCRIPTION .I stty sets certain I/O options for the terminal open on .I /dev/tty (file descriptor 3). With no argument, it reports the current settings of the options. The options are: .TP 10n .B even allow even parity .PD 0 .TP .B \-even disallow even parity .TP .B odd allow odd parity .TP .B \-odd disallow odd parity .TP .B raw raw mode input (no erase, kill, interrupt, quit, EOT; parity bit passed back) .TP .B \-raw negate raw mode .TP .B cooked same as `\-raw' .TP .B cbreak make each character available to .IR read (2) as received; no erase and kill .TP .B \-cbreak make characters available to .I read only when newline is received .TP .B \-nl allow carriage return for new-line, and output CR-LF for carriage return or new-line .TP .B nl accept only new-line to end lines .TP .B echo echo back every character typed .TP .B \-echo do not echo characters .TP .B lcase map upper case to lower case .TP .B \-lcase do not map case .TP .B \-tabs replace tabs by spaces when printing .TP .B tabs preserve tabs .TP .B ek reset erase and kill characters back to normal # and @ .TP .BI erase \ c\fR set erase character to .I c (initially `#') In this and other character-setting options a `^' may precede .I c to signify .RI control- c. .TP .BI kill \ c\fR set kill character to .I c (initially `@') .TP .BI intr " c" set interrupt character to .I c (initially DEL) .TP .BI quit " c" set quit character to .I c (initially `^\\') .TP .BI stop " c" set stop character to .I c (initially `^S') .TP .BI start " c" set start character to .I c (initially `^Q') .TP .BI eof " c" set `end of file' character to .I c (initially `^D') .TP .BI brk " c" set `line-break' character to .I c (initially undefined) .TP .B cr0 cr1 cr2 cr3 .br select style of delay for carriage return (see .IR ioctl (2)) .TP .B nl0 nl1 nl2 nl3 .br select style of delay for linefeed .TP .B tab0 tab1 tab2 tab3 .br select style of delay for tab .TP .B ff0 ff1 select style of delay for form feed .TP .B bs0 bs1 select style of delay for backspace .TP .B tty33 set all modes suitable for the Teletype Corporation Model 33 terminal. .TP .B tty37 set all modes suitable for the Teletype Corporation Model 37 terminal. .TP .B vt05 set all modes suitable for Digital Equipment Corp. VT05 terminal .TP .B tn300 set all modes suitable for a General Electric TermiNet 300 .TP .B ti700 set all modes suitable for Texas Instruments 700 series terminal .TP .B tek set all modes suitable for Tektronix 4014 terminal .TP .B hup hang up dataphone on last close. .TP .B \-hup do not hang up dataphone on last close. .TP .B 0 hang up phone line immediately .TP .B "50 75 110 134 150 200 300 600 1200 1800 2400 4800 9600 exta extb" .br Set terminal baud rate to the number given, if possible. .PD .SH "SEE ALSO" ttyld(4), ioctl(2), tabs(1)