| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

「Linux バックスペースが文字化けしてしまう」の版間の差分

提供: MyMemoWiki
ナビゲーションに移動 検索に移動
(ページの作成:「==Linux バックスペースが文字化けしてしまう== [Linux]{{category 文字化け}} ===stty=== ====割り当ての変更==== *DB2 CLP や Oracle SQL Plus…」)
 
1行目: 1行目:
 
==Linux バックスペースが文字化けしてしまう==
 
==Linux バックスペースが文字化けしてしまう==
[Linux]{{category 文字化け}}
+
[[Linux]]{{category 文字化け}}
  
 
===stty===
 
===stty===
10行目: 10行目:
 
  $ stty -a
 
  $ stty -a
 
  speed 38400 baud; rows 20; columns 112; line = 0;
 
  speed 38400 baud; rows 20; columns 112; line = 0;
  intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>;
+
  intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = &lt;undef&gt;; eol2 = &lt;undef&gt;; swtch = &lt;undef&gt;;
 
  start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
 
  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 -cdtrdsr
 
  -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -cdtrdsr

2020年2月15日 (土) 08:04時点における版

Linux バックスペースが文字化けしてしまう

Linuxテンプレート:Category 文字化け

stty

割り当ての変更

  • DB2 CLP や Oracle SQL Plusなどで、バックスペースが効かない場合
$ stty erase ^H

割り当ての確認

$ stty -a
speed 38400 baud; rows 20; columns 112; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <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 -cdtrdsr
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
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