Terminal capability "cm" required

Software

After configuring a PVHVM FreeBSD guest with serial console access, using vim resulted in:

E437: terminal capability "cm" required

The Xen PVHVM tutorial uses this for /etc/ttys

ttyu0 "/usr/libexec/getty std.115200 dialup on secure

Using a more “modern”, capable console resolves this. For example:

ttyu0 "/usr/libexec/getty std.115200 vt100 on secure

Or theoretically for some colour:

ttyu0 "/usr/libexec/getty std.115200 vt102 on secure

As I’ve mentioned previously, now I want a DEC console.

Author bio and support

Me!

Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.