Thursday, November 24, 2005

starting with dtrace

Notes about setting up dtrace user on a Solaris 10 system: by default, it appears that normal users don't have enough privileges to access dtrace. These privileges are:

* dtrace_user
* dtrace_proc
* dtrace_kernel

and these are described in the privileges(5) man page.

So how do we add these privileges to a user account? According to http://forum.sun.com/thread.jspa?threadID=22787&messageID=73761, it's a matter of editing /etc/user_attr with a set of default privileges.

Friday, November 18, 2005

One hacker's treasure is another hacker's junk

Sun's patch 120289 recently change gnome-terminal's behavior on page up and page down keys. Some people are very happy about this:

http://ptribble.blogspot.com/2005/09/yay-gnome-terminal-fixed.html

Unfortunately, I'm not. *grin*

I do understand why the change was made --- usability matters! --- but for me, the existing behavior was perfectly usable and right: I want those keys to be sent to the terminal. I use those keys all the time in pine, and they don't work anymore.

I'm now trying to figure out how to work with gconf-editor to preserve the old behavior but haven't figured out where things need to change yet. Oh well.

Wednesday, November 16, 2005

Emacs keystroke of the day

I learned two new Emacs keystrokes that will make Scheme coding that much less painful:

C-M-f: forward-sexp
C-M-b: backward-sexp

Tuesday, October 25, 2005

Testing, testing

(define greeting (lambda () (printf "hello world!~%")))
(greeting)