Dell dimension 9150にFreeBSD6.1-Releaseを導入 モニター:DellE196FP bootonlyのISOイメージを焼いてきて、CDで起動しinstallはftp経由で行なっ た。特に問題無くOSはinstall終了。 Xの起動 何もしないと起動しないので、/etc/X11/xorg.confを以下のように編集した (現状では警告出るので、いくつかの行を消す必要あり) Section "ServerLayout" # Identifier "Builtin Default Layout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Generic Mouse" EndSection Section "Files" FontPath "/usr/share/fonts/truetype/kochi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/encodings" FontPath "/usr/X11R6/lib/X11/fonts/utils" FontPath "/usr/X11R6/lib/X11/fonts/TrueType" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/etc/X11/fonts/100dpi" FontPath "/etc/X11/fonts/75dpi" FontPath "/etc/X11/fonts/misc" FontPath "/etc/X11/fonts/Speedo" FontPath "/etc/X11/fonts/Type1" EndSection Section "Module" Load "bitmap" Load "dbe" Load "ddc" Load "extmod" Load "glx" Load "int10" Load "record" # Load "speedo" Load "type1" Load "vbe" # Load "v4l" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Generic Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/sysmouse" # Option "Protocol" "ImPS/2" Option "Protocol" "auto" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" # Identifier "Dell2405FPW" Identifier "DellE196FP" Option "TargetRefresh" "75.0" # HorizSync 35.0 - 120.0 # VertRefresh 55.0 - 100.0 # Option "DPMS" # Modeline "1920x1200" 162 1920 1984 2176 2480 1200 1201 1204 1250 #+hsync +vsync EndSection #Section "Device" # Identifier "NX66256DP" # Driver "nv" #EndSection Section "Device" Identifier "Builtin Default vesa Device 0" Driver "vesa" Option "MonitorLayout" "CRT,LFP" Screen 0 EndSection Section "Screen" Identifier "Default Screen" # Device "NX66256DP" Device "Builtin Default vesa Device 0" # Monitor "Dell2405FPW" Monitor "DellE196FP" DefaultDepth 24 SubSection "Display" Depth 8 Modes "1920x1200" "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubSection SubSection "Display" Depth 15 Modes "1920x1200" "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubSection SubSection "Display" Depth 16 Modes "1920x1200" "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubSection SubSection "Display" Depth 24 Modes "1920x1200" "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubSection EndSection X起動時の警告メッセージ "ttyがinsecure"なる警告が出る。この場合はrootになって > chown root:wheel /usr/X11R6/bin/luit > chmod 04711 /usr/X11R6/bin/luit とするとO.K. ssh 他のマシンからXを飛ばすのには > ssh -X -Y machine名 としないといけない。 日本語環境の設定 emacs21ではskkを使用 portsから、ports/japanese/ddskkとports/editors/apelを >make install clean すると、emacs21も自動でinstallされた。 kterm/Firefox/openoffice.org2/tgifではkinput2-FreeWnnを使用 portsからFreeWnn-Serverとkinput2-canna+FreeWnnをinstall (以下の設定でemacsでkinput2も使用できている) tgifを除き、kinput2のon/offはshift+spc tgifは、onがctrl+spcでoffがshift+spc; 但し、フォントをRyumin/Gothicの どちらかにしておくこと wnn(jserver)が起動時に立ち上がらないので、手動で立ち上げる。 rootになって > /usr/local/bin/Wnn4/jserver もしくは/etc/rc/confに以下を追加すると起動と同時に立ち上がる。 wnn_enable="YES" ~/.cshrc に以下の行を追加 setenv LC_ALL ja_JP.eucJP setenv LANG ja_JP.eucJP setenv XMODIFIERS @im=kinput2 setenv JSERVER localhost ~/.Xresources は以下 KTerm*VT100*Translations: #override \ Shiftspace: begin-conversion(_JAPANESE_CONVERSION) KTerm*inputMethod: kinput2 KTerm*openIm: true KTerm*allowSendEvents true Kinput2*IMProtocol.locales: ja_JP.eucJP Firefox*VT100*Translations: #override \ Shiftspace: begin-conversion(_JAPANESE_CONVERSION) Firefox*inputMethod: kinput2 Firefox*allowSendEvents true ~/.xinitrc は以下 (twnの起動の前にkinput2を起動すること) xrdb -load ~/.Xresources kinput2 -wnn +ximp -ccdef /usr/X11R6/lib/X11/ccdef/ccdef.kinput2.egg & #kterm -km euc -sb & twm& exec xterm -geometry 80x23+0+0 -name login Intel Fortran for linux (非商用) ports/lang/ifcでmakeすると、エラーエッセージと共にダウンロード先のアド レスを教えてくれるので、そこからダウンロード。 この時、レジスターしておくと、licenceファイルをメールで送ってくれる。 (FreeBSDのportsでは、少し古いバージョンのものを取ってこないといけない みたい。linux用の最新版を直接installしようとしたが、失敗した。) ダウンロードしたソース(tar + gz)をports/distfilesに置き、 make install clean する。 ライセンスファイルを指示通り、 /usr/local/intel_fc_80/licences/ に置く。 また、ifortは /usr/local/intel_fc_80/bin/ の下なので、パスを通しておく。 その他のApplications Firefox portsからinstallすると起動時にエラーメッセージの嵐。 sysinstallを使って、package installすると何の問題も無し。 Openoffice.org2 sysinstallを使って、package installすると何の問題も無し。 makejvf /usr/ports/japanese/makejvfをinstallすると、LaTeXから作った日本語がき れい。