Mac

iTerm

Mac

iTermが遅いことに初めて気がついた。最近、emacs -nw を使い始めたんだけど、異常に遅くてブルー。こことここを見たんだけど、scrollback bufferのサイズの指定方法がよくわからない。Terminal.appに戻るべきか・・・

Static linking of user binaries is not supported on Mac OS X

Mac

http://developer.apple.com/qa/qa2001/qa1118.html Darwinは、static linkをサポートしてないらしい。だから、-lcrt0.o できないのか。

Universal Binary プログラミングガイドの紹介

Mac

http://developer.apple.com/ja/documentation/MacOSX/Conceptual/universal_binary/universal_binary_intro/chapter_1_section_1.html メモ。

volfs

Mac

via macosx-jp。HFS+を使っていると、Unix的なパーミッションを無視して、ファイルにアクセスできた(過去形)ってことらしい。 http://developer.apple.com/ja/qa/qa2001/qa1113.html http://ngp-mac.com/kumarin/index.php?p=560

Bypassing the Mac OS X GUI

Mac

http://hacks.oreilly.com/pub/h/348 Mac OS X を GUIなしで起動させる方法。

regcomp

regcompの使い方。 http://sometime.minidns.net/~ccgi/posix_regex.html http://www.sip.eee.yamaguchi-u.ac.jp/kou/regex.html

Apple switches to Intel

Mac

port-macppcとかruby-talkを斜め読みしているとAppleがIntelに乗り換えるという話が。元ネタはこのあたりか。 http://headlines.yahoo.co.jp/hl?a=20050604-00000001-cnet-sci Search | com.com

nameser.h

Tigerで、BIND 8互換のヘッダが必要な場合は、-DBIND_8_COMPAT。pkgsrcの場合は、Makefile に CFLAGS.Darwin+= -DBIND_8_COMPATすればよい。

error: invalid storage class for function

Mac OS X 10.4.1に付属の gcc 4.0.0では関数の内部でプロトタイプ宣言できないようだ。