Attempt to reproduce ctrl-m magic