From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 19 05:53:35 2014 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B5C1961 for ; Sun, 19 Oct 2014 05:53:35 +0000 (UTC) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F20EEBFC for ; Sun, 19 Oct 2014 05:53:34 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 3CC4E1534E7 for ; Sun, 19 Oct 2014 07:53:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3Xyv4z0w2pf9; Sun, 19 Oct 2014 07:53:14 +0200 (CEST) Received: from [192.168.10.9] (vaio [192.168.10.9]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id DE4B6153AA6 for ; Sun, 19 Oct 2014 00:39:32 +0200 (CEST) Message-ID: <5442EC24.5090101@digiware.nl> Date: Sun, 19 Oct 2014 00:39:32 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: hackers@freebsd.org Subject: tip has -n and cu not Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2014 05:53:35 -0000 Hi, is there any particular reason why tip has the -n flag to disable escape handeling, but cu does not? Reason for the question: Looking for a way to get external access to bhyve consoles connected to /dev/nmdmXXXA. I'd like to use cu as "shell" to make it possible to give user access to a /dev/nmdmXXXB port thru ssh. And this is the only thing that user is able to do.... And without the -n flag, cu allows all kinds of nasty escape tricks. --WjW