CATEGORII DOCUMENTE |
Asp | Autocad | C | Dot net | Excel | Fox pro | Html | Java |
Linux | Mathcad | Photoshop | Php | Sql | Visual studio | Windows | Xml |
stty |
stty [options] [modes] Set terminal I/O options for the current standard input device. Without options, stty reports the terminal settings that differ from those set by running stty sane, where a ^ indicates the Ctrl key and ^` indicates a null value. Most modes can be negated using an optional - (shown in brackets). The corresponding description is also shown in brackets. Some arguments use non-POSIX extensions; these are marked with a *. Options-a, --all Report all option settings. -g Report settings in hex. Control modesn Set terminal baud rate to n (e.g., 2400). [-]clocal [Enable] disable modem control. [-]cread [Disable] enable the receiver. csbits Set character size to bits, which must be 5, 6, 7, or 8. [-]cstopb [1] 2 stop bits per character. [-]hup [Do not] hang up connection on last close. [-]hupcl Same as previous. ispeed n Set terminal input baud rate to n. ospeed n Set terminal output baud rate to n. [-]parenb [Disable] enable parity generation and detection. [-]parodd Use [even] odd parity. [-]crtscts* [Disable]enable RTS/CTS handshaking. Flow control modesThe following flow control modes are available by combining the ortsfl, ctsflow, and rtsflow flags:
Input modes[-]brkint [Do not] signal INTR on break. [-]icrnl [Do not] map CR to NL on input. [-]ignbrk [Do not] ignore break on input. [-]igncr [Do not] ignore CR on input. [-]ignpar [Do not] ignore parity errors. [-]inlcr [Do not] map NL to CR on input. [-]inpck [Disable] enable input parity checking. [-]istrip [Do not] strip input characters to 7 bits. [-]iuclc* [Do not] map uppercase to lowercase on input. [-]ixany* Allow [XON] any character to restart output. [-]ixoff [-]tandem [Do not] send START/STOP characters when queue is nearly empty/full. [-]ixon [Disable] enable START/STOP output control. [-]parmrk [Do not] mark parity errors. [-]imaxbel* When input buffer is too full to accept a new character, [flush the input buffer] beep without flushing the input buffer. Output modesbsn Select style of delay for backspaces (0 or 1). crn Select style of delay for carriage returns (0-3). ffn Select style of delay for formfeeds (0 or 1). nln Select style of delay for linefeeds (0 or 1). tabn Select style of delay for horizontal tabs (0-3). vtn Select style of delay for vertical tabs (0 or 1). [-]ocrnl* [Do not] map CR to NL on output. [-]ofdel* Set fill character to [NULL] DEL. [-]ofill* Delay output with [timing] fill characters. [-]olcuc* [Do not] map lowercase to uppercase on output. [-]onlcr* [Do not] map NL to CR-NL on output. [-]onlret* On the terminal, NL performs [does not perform] the CR function. [-]onocr* Do not [do] output CRs at column 0. [-]opost [Do not] postprocess output. Local modes[-]echo [Do not] echo every character typed. [-]echoe, [-]crterase [Do not] echo ERASE character as BS-space-BS string. [-]echok [Do not] echo NL after KILL character. [-]echonl [Do not] echo NL. [-]icanon [Disable] enable canonical input (ERASE, KILL, WERASE, and RPRINT processing). [-]iexten [Disable] enable extended functions for input data. [-]isig [Disable] enable checking of characters against INTR, SUSPEND, and QUIT. [-]noflsh [Enable] disable flush after INTR or QUIT. [-]tostop* [Do not] send SIGTTOU when background processes write to the terminal. [-]xcase* [Do not] change case on local output. [-]echoprt, [-]prterase* When erasing characters, echo them backward, enclosed in and /. [-]echoctl. [-]ctlecho* Do not echo control characters literally. Use hat notation (e.g., ^Z). [-]echoke [-]crtkill* Erase characters as specified by the echoprt and echoe settings (default is echoctl and echok settings). Control assignmentsctrl-char c Set control character to c. ctrl-char is dsusp (flush input and then send stop), eof, eol, eol2 (alternate end-of-line), erase, intr, lnext (treat next character literally), kill, rprnt (redraw line), quit, start, stop, susp, swtch, or werase (erase previous word). c can be a literal control character, a character in hat notation (e.g., ^Z), in hex (must begin with 0x), in octal (must begin with 0), or in decimal. Disable the control character with values of ^- or undef. min n Set the minimum number of characters that will satisfy a read until the time value has expired when -icanon is set. time n Set the number of tenths of a second before reads time out if the min number of characters have not been read when -icanon is set. line i Set line discipline to i (1-126). Combination modescooked Same as -raw. [-]evenp [-]parity Same as [-]parenb and cs[8]7. [-]parity Same as [-]parenb and cs[8]7. ek Reset ERASE and KILL characters to Ctrl-h and Ctrl-u, their defaults. [-]lcase [Un] set xcase, iuclc, and olcuc. [-]LCASE Same as [-]lcase. [-]nl [Un] set icrnl and onlcr. -nl also unsets inlcr, igncr, ocrnl, and onlret, icrnl, onlcr. [-]oddp Same as [-]parenb, [-]parodd, and cs7[8]. [-]raw [Disable] enable raw input and output (no ERASE, KILL, INTR, QUIT, EOT, SWITCH, or output postprocessing). sane Reset all modes to reasonable values. [-]tabs* [Expand to spaces] preserve output tabs. [-]cbreak Same as -icanon. [-]pass8 Same as -parenb -istrip cs8. [-]litout Same as -parenb -istrip cs8. [-]decctlq* Same as -ixany. crt Same as echoe echoctl echoke. dec Same as echoe echoctl
echoke -ixany. Additionally, set INTERRUPT to ^C, ERASE to Special settingsispeed speed Specify input speed. ospeed speed Specify output speed. rows rows* Specify number of rows. cols columns, columns columns* Specify number of columns. size* Display current row and column settings. line discipline* Specify line discipline. speed Display terminal speed. |
Politica de confidentialitate | Termeni si conditii de utilizare |
Vizualizari: 1181
Importanta:
Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved