忍者ブログ

[PR]

2025年04月22日 ()
×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

console key repeat speed

2008年08月01日 (freebsd)

command

% kbdcontrol -r fast      # key repeat fast
% kbdcontrol -r normal    # key repeat normal
% kbdcontrol -r slow      # key repeat slow

note

/etc/rc.confkeyrate="fast"と記述していれば起動時に有効になる.

cf.
% man kbdcontrol
PR

mount usb flash memory

2008年08月01日 (freebsd)

command

# mount -t msdosfs /dev/da1s1 /mnt    # mount
# mount_msdosfs /dev/da1s1 /mnt       # mount
# umount /mnt                         # unmount

note

cf.
% man mount
% man umount
% man mount_msdosfs

locale

2008年08月01日 (freebsd)
環境変数説明
LANG全てのlocaleの一括設定,LC_*によってオーバーライドされる
LC_COLLATE文字列のソート順
LC_CTYPE文字エンコーディング
LC_MESSAGESメッセージ
LC_MONETARY通貨単位
LC_NUMERIC数値単位
LC_TIME日付,時刻
LC_ALL全てのlocaleの一括設定,LC_*を全てオーバーライドする

note

利用可能な全てのロケールを一覧表示するには以下のようにする.
% locale -a

console bell on/off

2008年08月01日 (freebsd)

command

# sysctl -w hw.syscons.bell=0    # bell off
# sysctl -w hw.syscons.bell=1    # bell on

note

settermコマンドはFreeBSDでは使用不可
cf. 
% man sysctl

code test

2008年07月30日 (未選択)
code test

code test

#include<stdio.h>

int main(int argc,char *argv[])
{
    printf("hello world\n");

    return(0);
}