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

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


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
# cu -l /dev/nmdm0B

Inside the VM which is FreeBSD 10.1:

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

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.



More information about the freebsd-virtualization mailing list