cu -l /dev/nmdm not setting rows and columns

Craig Rodrigues rodrigc at FreeBSD.org
Mon Nov 24 01:09:07 UTC 2014


Hi,

I am configuring bhyve VM's with serial consoles directing
to /dev/nmdm[n].
I am using cu -l /dev/nmdm[n]B to connect to the
console.  However, cu does not properly set the value
of the rows and columns of my screen.

For example, before connecting:

# stty -a
speed 9600 baud; 30 rows; 91 columns;
# echo $TERM
xterm
# cu -l /dev/nmdm0B

Inside the VM which is FreeBSD 10.1:

# stty -a
speed 9600 baud; 0 rows; 0 columns;
# echo $TERM
dialup

Any idea how I can fix this?  The console inside the VM
is quite unusable when it does not have the correct
rows/colums set.

Thanks.

--
Craig


More information about the freebsd-virtualization mailing list