sttyコマンド
【説明】
端末ラインの設定を変更・表示する際に使用します。
引き数無しで実行された場合、 stty は転送レート (baud rate)、ライン制御番号 (linediscipline number:
サポートされているシステムの場合)、および ‘stty sane’ の設 定か ら変更された行設定 (line settings) を表示する。デフォルトでは、モードの取得と設定は標準入力に接続されている端末に対して行われる
(しかし --file も見よ)。stty は以下をオプション以外の引き数とみなし、対応する端末制御を変更する。機能 の前の [-] は、 ‘-’
を前置することによってその機能を無効にできることを意味している。一部の引き数は POSIX 準拠でない拡張機能を利用しているので、すべてのシステム
で有効とは限らない。
【構文】
stty [オプション] [セッティング]
例 端末の現在のすべての設定を人間に読める形式で出力する。
[root@localhost ~]# stty -a
speed 38400 baud; rows 35; columns 90; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O;
min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc
-ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl
echoke |
|
スポンサードリンク
|