OpenBSD 使い物にしよう

結構使い物になってきた。
後は .emacs.el 使いまわすために bitmap-mule, bbdb, Web ブラウザくらいか。。。

設定ファイル

samba.conf
ports で build したファイルを Micro$oft GatesOS に持ってくるためだけだから非推奨設定だよ!!!

      • /etc/samba/smb.conf.orig Sun Jul 15 10:34:05 2007
      1. /etc/samba/smb.con Sun Jul 15 11:00:49 2007

@@ -268,4 +268,12 @@
; printable = no
; create mask = 0765

  1. [root]
  2. path = /
  3. browseable = yes
  4. writable = yes
  5. force user = root
  6. force group = wheel
  7. map to guest = root
  8. guest ok = yes


xorg.conf 日本語使えないとダメだしね


@@ -7,6 +7,13 @@
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"

  1. FontPath "/usr/local/share/ghostscript/fonts/"
  2. FontPath "/usr/local/lib/X11/fonts/ipa"
  3. FontPath "/usr/local/lib/X11/fonts/sazanami"
  4. FontPath "/usr/local/lib/X11/fonts/ja/"
  5. FontPath "/usr/local/lib/X11/fonts/opentype/"
  6. FontPath "/usr/local/lib/X11/fonts/freefont/"
  7. FontPath "/usr/local/lib/X11/fonts/sharp/"

FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"


fstab やっぱ softdep 無いと遅すぎ(笑) あと swap ってこれでいいの?


      • /etc/fstab.orig Thu Jul 12 04:50:03 2007
      1. /etc/fstab Thu Jul 12 17:32:43 2007

@@ -1 +1,2 @@

  • /dev/wd0a / ffs rw 1 1
  1. /dev/wd0a / ffs rw,softdep 1 1
  2. /dev/wd0b none swap sw 0 0


rc.conf.local やっぱ jfbterm とか使えないから X Window System 必須(XDM)


      • /etc/rc.conf.local.orig Thu Jul 12 05:05:18 2007
      1. /etc/rc.conf.local Sun Jul 15 18:52:51 2007

@@ -1 +1,4 @@

  • ntpd_flags= # enabled during install
  1. ntpd_flags="" # enabled during install
  2. apmd_flags="-q"
  3. xdm_flags=""
  4. hotplugd_flags=""


sysctl.conf いろいろ設定


      • /etc/sysctl.conf.orig Thu Jul 12 05:06:54 2007
      1. /etc/sysctl.conf Sun Jul 15 18:53:20 2007

@@ -27,9 +27,9 @@
#net.inet.ip.mtudisc=0 # 0=disable tcp mtu discovery
#kern.usercrypto=0 # 0=disable userland use of /dev/crypto
#kern.splassert=2 # 2=enable with verbose error messages

  • #machdep.apmwarn=10 # battery % when apm status messages enabled
  • #machdep.kbdreset=1 # permit zkbd(4) power key to do a nice halt
  • #machdep.maxspeed=520 # set change maximum processor speed
  1. machdep.apmwarn=10 # 電池が残り 10% になるとお知らせ
  2. machdep.kbdreset=1 # On/Off をいい感じにする
  3. machdep.maxspeed=520 # クロックアップ

#machdep.lidsuspend=1 # closing the lid will suspend machine

  • #hw.setperf=0 # 0=slowest speed, 100=fastest speed
  • machdep.ztsscale=212,3667,220,3851 # see ztsscale(8)
  1. hw.setperf=100 # 高速モード
  2. machdep.ztsscale=187.3652.229.3847 # 結構シビアな任天堂DS


wsconsctl.conf ディスプレイの明るさとかね


      • /etc/wsconsctl.conf.orig Sun Mar 11 10:32:28 2007
      1. /etc/wsconsctl.conf Sun Jul 15 17:43:03 2007

@@ -8,3 +8,4 @@
#display.vblank=on # enable vertical sync blank for screen burner
#display.screen_off=60000 # set screen burner timeout to 60 seconds
#display.msact=off # disable screen unburn w/ mouse

  1. display.brightness=40 # 液晶の明るさ


.profile CVSup なために


      • /root/.profile.orig Sun Mar 11 10:32:32 2007
      1. /root/.profile Thu Jul 12 14:37:41 2007

@@ -11,3 +11,7 @@
if [ -x /usr/bin/tset ]; then
eval `/usr/bin/tset -sQ \?$TERM`
fi

  1. PKG_PATH=ftp://ftp.jaist.ac.jp/pub/OpenBSD/4.1/packages/arm/
  2. export PKG_PATH
  3. CVS_RSH=/usr/bin/ssh
  4. export CVS_RSH


インストール済みパッケージ

apr-1.2.7
apr-util-1.2.7
autoconf-2.13p0
autoconf-2.59p1
bzip2-1.0.4
colorls-3.9
curl-7.16.0
db-4.2.52p11
emacs-21.4p2
emacs-el-21.4
emacs-leim-21.4
expat-2.0.0
fetchmail-6.3.6
freetype-1.3.1p3
gdbm-1.8.3p0
gettext-0.14.6
ghostscript-fonts-8.11
gmake-3.80p1
gnupg-1.4.6
guile-1.6.7p2
ja-Wnn-4.2p3
ja-Wnndict-4.2p0
ja-fonts-funet-19911117
ja-fonts-gnu-1.2
ja-groff-1.10_0.99
ja-kinput2-3.0
ja-kterm-6.2.0p2
ja-less-3.32pl2.48
jasper-1.701.0p1
jbigkit-1.6p1
jpeg-6bp3
konqueror-20060121p0
lcms-1.15
libiconv-1.9.2p3
libltdl-1.5.22p1
libmng-1.0.9p1
libtool-1.5.22p7
libungif-4.1.4p0
libxml-2.6.26p0
magicpoint-1.11bp5
metaauto-0.7
mew-5.2
neon-0.26.2
netpbm-10.26.38
openmotif-2.1.30.5p2
p5-SVN-1.4.3
pcre-6.4p1
png-1.2.14p0
popt-1.7p0
py-libxml-2.6.26p1
py-subversion-1.4.3
python-2.4.4p1
qt3-mt-3.7p0
rdesktop-1.5.0
ruby-1.8.5p6
ruby-gdbm-1.8.5p3
ruby-iconv-1.8.5p3
ruby-subversion-1.4.3p0
ruby-tk-1.8.5p3
samba-3.0.24-main
sazanami-ttf-20040629
subversion-1.4.3p1
swig-1.3.24p4
t1lib-5.1.0p0
tcl-8.4.7p5
tcsh-6.14.00p1
tiff-3.8.2p0
tk-8.4.7p1
unzip-5.52
xpdf-3.01p1
zip-2.32