\goodlinebreak in TeX and LaTeX

I am great need of keeping long words set in teletype fonts on the same line of output in both TeX and LaTeX documents. Neither TeX nor LaTeX breaks the line ahead of teletype text when horizontal boxes overflow. The command \allowbreak exists in Plain TeX, and maybe it even existed in Basic TeX back in the late ’70s. Sadly that command doesn’t do what I want. Maybe I’m missing something vital. Continue reading \goodlinebreak in TeX and LaTeX

Configuring X.org on FreeBSD guests running in VirtualBox

Configuring X11 is more or less a dark art, and you must almost be a wizard of the Slytherine House to get modern X.org 1.14.7 working on a FreeBSD guest in VirtualBox.

Nonetheless, through lots of experimentation this evening, have I finally arrived at this configuration file:

Section "InputClass"
  Identifier      "Keyboard Defaults"
  Driver          "keyboard"
  MatchIsKeyboard "on"
  Option          "XkbLayout" "no"
EndSection

Section "InputClass"
  Identifier      "Mouse Defaults"
  Driver          "mouse"
  MatchIsPointer  "on"
EndSection

Section "InputDevice"
  Identifier      "Mouse0"
  Driver          "vboxmouse"
  Option          "CorePointer" "on"
EndSection

Somehow, you need both the InputClass and the InputDevice sections to get the mouse working as it did in previous versions of X.org. The option CorePointer is also key to the success.

Not only have I achieved Norwegian keyboard layout, the mouse sends its events to the X Server, and the mouse cursor is able to leave the FreeBSD guest whenever I want.

Maybe I’m the next Voldemort afterall. :P

ATEN/ALTUSEN KN2132 and SLAAC

Today at work, we received an ATEN/ALTUSEN KN2132 KVM switch. Unlike our previous KVM switch, this model has IPv6 capability.

Sadly, version 1.8.174 of the firmware contains an annoying bug. If you want to use SLAAC, then the firmware neglects to invert the universal/local bit while transforming the MAC-48 address to a modified EUI-64 format interface identifier. Continue reading ATEN/ALTUSEN KN2132 and SLAAC

Someone having fun at the end of the week?

For those of us subscribed to the freebsd-mobile mailling list, some of the more recent postings are both alarming and hilarious, at the expense of George Neville-Neil, a well-known name in the circles of ACM and FreeBSD.

See, in received order, messages 1, 2, 3, and 4.

I’m sure more will follow. LinkedIn will hopefully be able to stop this nonsense. It’s a sad example of identity theft, and more of that sort is regrettably on the rise.

Yet another technical oriented blog, more or less