commit: Use a better, more portable approach to the shift-F11 problem.