2008年8月30日土曜日

SELinux

/etc/selinux/config

6行目をSELINUX=disabled

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

ESCシーケンス

ESC [y; xH カーソルを(y、x)位置に移動。
BASICのLocate の働き。Turbo-Cの gotoxy と同じ働き
ESC [nA カーソルをn行アップ
ESC [nB カーソルをn行ダウン
ESC [0J カーソル位置から最終行の右端までをクリア
ESC [1J 先頭行の左端からカーソル位置までをクリア
ESC [2J 画面消去 BASICの Cls と同じ働き
ESC [2K カーソルのある行をクリア
ESC [>5h カーソル非表示
ESC [>5l カーソル表示
ESC [s カーソル位置と表示文字の属性をセーブ
ESC [u ESC [sでセーブした内容にカーソルを戻す
ESC [ps;..........;ps m 表示文字の属性を指定。psの値の意味は下
0 既定値       1 高輝度    2 縦線
4 下線        5 点滅      7 反転
30 黒        18、34 青    17、31 赤
19、35 紫     20、32 緑    22、36 水色
21、33 黄色    23、37 白   40 黒反転
44 青反転      41 赤反転    45 紫反転
42 緑反転      46 水色反転  43 黄色反転
47 白反転