From owner-freebsd-virtualization@FreeBSD.ORG Mon Nov 24 01:09:07 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E79EB66 for ; Mon, 24 Nov 2014 01:09:07 +0000 (UTC) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3E27F32 for ; Mon, 24 Nov 2014 01:09:06 +0000 (UTC) Received: by mail-la0-f41.google.com with SMTP id gf13so6935863lab.28 for ; Sun, 23 Nov 2014 17:09:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=6V2SQQdibTW7lf9U4PdiOzSwTkz+vnSsEwSnhQVLyXA=; b=MOcyk2lZbOG2rwUh8Vf3yGif6kxca57Nyw3WfPS3ocYUz6AjsUt4TfZyf1XyZpDvE1 FKRYCwBsfL0y/WrZc5Ln5t5HB05JzPRM78zWddYyphX/cS3nLMXl/16nRZPUa79JESSr e1/qQR9S7dJJ7W99isjvHGGXSVTmTeO0idxVpAQFQnjbXMH610P0V9f1JER7WczS/HYj cbegje21HLls0tsaGFK5YdtOtEowxsYrQJGzlSQcN4x9VStjKtC6SPm4bdPcbIfguewh JIvCtqeb1EN0mQkngwoVId4st/0tKPcuOR7bY2Eu4ZFXfC4kogR4klMokJV9qGVxUqky v2iQ== MIME-Version: 1.0 X-Received: by 10.152.22.135 with SMTP id d7mr17654904laf.46.1416791345025; Sun, 23 Nov 2014 17:09:05 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.130.168 with HTTP; Sun, 23 Nov 2014 17:09:04 -0800 (PST) Date: Sun, 23 Nov 2014 17:09:04 -0800 X-Google-Sender-Auth: mbaTW8inLGFBIOlBXcmhxuNCIR0 Message-ID: Subject: cu -l /dev/nmdm not setting rows and columns From: Craig Rodrigues To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2014 01:09:07 -0000 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