Windows XP/VistaについてのHOWTO/FAQ集
リンク
目次
エクスプローラ上でフォルダを右クリックして、そこをカレントディレクトリとしてCygwinのbashを起動する(CygTerm+を使用)
- 環境変数PATHにcygwinのbinディレクトリへのパス(例えばc:\cygwin\bin)を追加する。
- レジストリの以下のキーの値を変更する(キーがなければ作成する)
HKEY_CURRENT_USER\Software\Classes\Folder\shell\cygterm\command
"C:\Program Files\teraterm\cygterm.exe" -nocd -v CHERE_INVOKING=yes -s "/bin/bash --login"
CDからISOイメージを作成する
dd if=/dev/scd0 of=some-cd.iso
ここで/dev/scd0は第1のCDドライブを表すデバイスファイル
MeadowからCygwinのMakeなどを呼び出す
以下の行を.emacsに書く(Meadowに付属しているテンプレートdot.emacs.jaのコメント中にも書かれている)
(setq explicit-shell-file-name "bash")
(setq shell-file-name "sh")
(setq shell-command-switch "-c")
デバイスファイルの一覧
擬似デバイスファイル
/dev/random
/dev/urandom
補助記憶装置に対応するデバイスファイル
/dev/st0 \device\tape0, rewind
/dev/nst0 \device\tape0, no-rewind
/dev/st1 \device\tape1
...
/dev/fd0 \device\floppy0
/dev/fd1 \device\floppy1
...
/dev/scd0 \device\cdrom0
/dev/scd1 \device\cdrom1
...
/dev/sr0 \device\cdrom0
/dev/sr1 \device\cdrom1
...
/dev/sda \device\harddisk0\partition0 (whole disk)
/dev/sda1 \device\harddisk0\partition1 (first partition)
...
/dev/sda15 \device\harddisk0\partition15 (fifteenth partition)
/dev/sdb \device\harddisk1\partition0
/dev/sdb1 \device\harddisk1\partition1
[up to]
/dev/sdl \device\harddisk11\partition0
/dev/sdl1 \device\harddisk11\partition1
...
/dev/sdl15 \device\harddisk11\partition15
最終更新:2009年04月22日 12:43