Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2014 17:09:04 -0800
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   cu -l /dev/nmdm not setting rows and columns
Message-ID:  <CAG=rPVdfnsNpAOLUbTH2r5gufJDOg_0-yYeGVouOBx6aj0ZObw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVdfnsNpAOLUbTH2r5gufJDOg_0-yYeGVouOBx6aj0ZObw>