Random Noise

November 8, 2007

How to get Terminal.app’s Page Up/Down keys to work correctly

Filed under: Geeky Stuff, Mac OS X — seth @ 12:45 pm

It would be really nice if Terminal.app’s Page Up and Page Down worked as expected.  That is, the keystroke is passed onto the remote host.  The following also sets up Shift-Page Up/Down to scroll the buffer.  Here’s how to set it up:

  • Open “Window Settings” under the Terminal menu.
  • Delete any existing entries for “page up”, “page down”, “shift page up”, “shift page down”.
  • Add a new entry for “page down”, no modifier.  Put the cursor in the input box and press the escape key.  (This will put in “\033″.)  Then add “[6~”.
  • Add a new entry for “page up”, no modifier:  “\033[5~”.
  • Add a new entry for “page down”, set shift as the modifier:  “scroll to next page in buffer”
  • Add a new entry for “page up”, set shift as the modifier:  “scroll to previous page in buffer”
  • Click the “Use settings as default” button so this will stick for all sessions.

That’s it!  Now page up/down are passed to the remote host, and you can scroll through the buffer with shift-page up/down.

August 1, 2007

Night Blooming Cereus

Filed under: Misc — seth @ 8:55 am

Yay!  Our night blooming cereus bloomed in July.  I took photographs every 90 seconds, and compiled them into a movie.  The movie represents about 50 minutes of real time.  Enjoy.

Night Blooming Cereus video

February 26, 2007

WMUD “Now Playing” Widget

Filed under: Mac OS X, News, WMUD Widget — seth @ 10:23 am

I’ve just put together a little OS X Dashboard widget to see what is currently playing on WMUD

Check it out

February 6, 2007

A Toast to the Lassies

Filed under: Misc — seth @ 1:05 pm

Here is my Toast to the Lassies from Burns Night 2007:

I have never seen a more beautiful sight
than all of the lassies sitting here tonight.

We are thrilled to have this wonderful meal
Especially when the lassies get dressed up as part of the deal.

Your beauty and style is second to none
And we hope your dresses will soon be undone.

We have showered and shaved and cleaned up quite right
in the hopes that you find us a tasty sight

We know you like us in our kilts and fair
You will have to ponder what we are wearing under there!

To be worthy of your beauty is our goal
Around you we need a lot of self control!

You are sisters and daughters and wives and mothers
We are thrilled to have you as our lovers

So Men, stand with me and lift your glasses
As we toast to our beautiful bonnie lasses!

February 2, 2007

Mounts and OS X

Filed under: Geeky Stuff, Mac OS X, Misc — seth @ 10:53 am
The /etc/fstab file seems to be completely ignored is OS X. Everything is handled by the NetInfo Manager, which is a confusing and dangerous beast. To edit the fstab, first you need to dump the existing:

nidump fstab . > /tmp/fstab

Now, edit /tmp/fstab to your liking. To load it back in:

sudo niload fstab . < /tmp/fstab

When attempting to mount the device, you have to specify the full path to the node.

November 17, 2006

WTF Spam?

Filed under: Spam — seth @ 12:22 pm

This is a piece of spam that I received today. It made it through SpamAssassin by only 0.1 points. How did the SA Bayes filter even know this was spam?? What are they trying to sell me? (Are there hidden subliminal messages?)

Is this really spam?

October 30, 2006

Welcome

Filed under: Misc — seth @ 10:25 am

Welcome!  This is going to be a place for random things that I want to share!

Powered by WordPress