• [Cool Calendar Terminal Trick]

    If you’re comfortable with the terminal, try out the following cool BSD-like trick on your OS X machine:

    more /usr/share/calendar/calendar.* | grep `date +”%m/%d”`

    Suddenly, you have your own “This Day in History.” It gives a synopsis, for the day, of important events — holidays, famous birthdays, etc. Today’s output wasn’t that inspiring, but who knows what tomorrow will bring!

    05/26 Jim Pirzyk <pirzyk@FreeBSD.org> born in Chicago, Illinois, United States, 1968
    05/26 Congress sets first immigration quotas, 1924
    05/26 Al Jolson born, 1886

  • [X11 Xghghg!hfgdg!!!]

    I was trying to get X11 launching applications from the department’s Solaris server again. As before, I couldn’t immediately get it to work because of “magic cookie” authentication issues. I reviewed my previous notes which pointed to an article at MacWrite.com which might have helped before, but it was suddenly unavailable. The WayBack machine to the rescue. As soon as I had edited my /etc/ssh_config file to include the following information, I was good to go again:

    Ciphers blowfish-cbc, aes128-cbc, 3des-cbc, blowfish-cbc, cast128-cbc, arcfour, aes192-cbc, aes256-cbc
    Compression yes
    ForwardX11 yes
    Protocol 2,1
    RhostsAuthentication no
    RSAAuthentication no
    UseRsh no

    Note: It may be necessary to take out the extra spaces between items in the Ciphers list.

    That, of course, assumed I had already had an entry in my ~/.cshrc file to the effect of:

    setenv DISPLAY :0.0

    Then, I can simply use a variant of the following to, for example, launch dtterm:

    ssh -X eingang@machine_name.com /usr/dt/bin/dtterm

    MATLAB, unfortunately, doesn’t seem to work at all. It used to generate all kinds of font errors looking for various Sun fonts, but it did launch. Now it launches with all the font errors (see sample below), shows the graphical about box and then we’re in the command line environment instead of the GUI development environment.

    Font specified in font.properties not found [ urw itc zapfdingbats medium r normal * %d * * p * sun fontspecific]
    Font specified in font.properties not found [ urw itc zapfdingbats medium r normal * %d * * p * sun fontspecific]

    Note: All the ‘-’ characters appearing inbetween [] above have been changed to spaces to render better in HTML.

    I’ve mailed the Mac technical support person to see if they have any ideas as to why it no longer works and how it might be possible to fix the font errors.