\goodlinebreak in TeX and LaTeX

I am in 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"

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

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

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


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