|
|
1.1 ! root 1: .TH STTY 1 ! 2: .CT 1 comm_term ! 3: .SH NAME ! 4: stty \- set terminal options ! 5: .SH SYNOPSIS ! 6: .B stty ! 7: [ ! 8: .I option ... ! 9: ] ! 10: .SH DESCRIPTION ! 11: .I Stty ! 12: sets certain I/O options for the terminal open on ! 13: .F /dev/tty ! 14: (file descriptor 3). ! 15: With no argument, it reports the current settings of the options. ! 16: The options are: ! 17: .TP 10n ! 18: .B even ! 19: Allow even parity. ! 20: .PD 0 ! 21: .TP ! 22: .B -even ! 23: Disallow even parity. ! 24: .TP ! 25: .B odd ! 26: Allow odd parity. ! 27: .TP ! 28: .B -odd ! 29: Disallow odd parity. ! 30: .TP ! 31: .B raw ! 32: Raw mode input: ! 33: no erase, kill, interrupt, quit, EOT; ! 34: parity bit passed to processes. ! 35: .TP ! 36: .B -raw ! 37: Turn off raw mode. ! 38: .TP ! 39: .B 8bit ! 40: Eight-bit mode: ! 41: don't strip parity in the device driver. ! 42: .TP ! 43: .B -8bit ! 44: Turn off eight-bit mode. ! 45: .TP ! 46: .B cooked ! 47: Same as ! 48: .LR -raw . ! 49: .TP ! 50: .B cbreak ! 51: Make each character available to ! 52: .IR read (2) ! 53: as received; no erase and kill. ! 54: .TP ! 55: .B -cbreak ! 56: Make characters available to ! 57: .I read ! 58: only when newline is received. ! 59: .TP ! 60: .B -nl ! 61: Allow carriage return for new-line, ! 62: and output CR-LF for carriage return or new-line. ! 63: .TP ! 64: .B nl ! 65: Accept only new-line to end lines. ! 66: .TP ! 67: .B echo ! 68: Echo back every character typed. ! 69: .TP ! 70: .B -echo ! 71: Turn off echo. ! 72: .TP ! 73: .B lcase ! 74: Map upper case to lower case. ! 75: .TP ! 76: .B -lcase ! 77: Preserve case. ! 78: .TP ! 79: .B -tabs ! 80: Replace tabs by spaces when printing. ! 81: .TP ! 82: .B tabs ! 83: Preserve tabs. ! 84: .TP ! 85: .B ek ! 86: Reset erase and kill characters to traditional backspace ! 87: .BR @ . ! 88: .TP ! 89: .BI erase \ c ! 90: Set erase character to ! 91: .I c ! 92: (initially backspace). ! 93: In this and other character-setting options ! 94: a ! 95: .L ^ ! 96: may precede ! 97: .I c ! 98: to signify ! 99: .RI control- c. ! 100: .TP ! 101: .BI kill \ c ! 102: Set kill character to ! 103: .I c ! 104: (initially ! 105: .BR @ ). ! 106: .TP ! 107: .BI intr " c" ! 108: Set interrupt character to ! 109: .I c ! 110: (initially DEL). ! 111: .TP ! 112: .BI quit " c" ! 113: Set quit character to ! 114: .I c ! 115: (initially ! 116: .RB control- \e ). ! 117: .TP ! 118: .BI stop " c" ! 119: Set stop character to ! 120: .I c ! 121: (initially ! 122: .RB control- S ). ! 123: .TP ! 124: .BI start " c" ! 125: Set start character to ! 126: .I c ! 127: (initially ! 128: .RB control- Q ). ! 129: .TP ! 130: .BI eof " c" ! 131: Set `end of file' character to ! 132: .I c ! 133: (initially ! 134: .RB control- D ). ! 135: .TP ! 136: .BI brk " c" ! 137: Set `line-break' character to ! 138: .I c ! 139: (initially undefined). ! 140: .TP ! 141: .B cr0 cr1 cr2 cr3 ! 142: .br ! 143: Select style of delay for carriage return; see ! 144: .IR ioctl (2). ! 145: .TP ! 146: .B nl0 nl1 nl2 nl3 ! 147: .br ! 148: Select style of delay for linefeed. ! 149: .TP ! 150: .B tab0 tab1 tab2 tab3 ! 151: .br ! 152: Select style of delay for tab. ! 153: .TP ! 154: .B ff0 ff1 ! 155: Select style of delay for form feed. ! 156: .TP ! 157: .B bs0 bs1 ! 158: Select style of delay for backspace. ! 159: .TP ! 160: .B hup ! 161: Hang up on last close. ! 162: .TP ! 163: .B 0 ! 164: Hang up immediately. ! 165: .TP ! 166: .B "50 75 110 134 150 200 300 600 1200 1800 2400 4800 9600 exta extb" ! 167: .br ! 168: Set terminal baud rate to the number given, if possible. ! 169: .TP ! 170: .B old ! 171: Arrange to use normal teletype line discipline, ! 172: .IR ttyld (4). ! 173: .TP ! 174: .B old! ! 175: Force normal teletype line discipline, ! 176: even if no teletype driver was present. ! 177: .TP ! 178: .B notty ! 179: Remove the top-level teletype driver. ! 180: .PD ! 181: .SH "SEE ALSO" ! 182: .IR ttyld (4), ! 183: .IR ioctl (2), ! 184: .IR tabs (1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.