BSD Mg editor