From owner-freebsd-virtualization@FreeBSD.ORG Fri Oct 11 07:56:58 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 11115A01 for ; Fri, 11 Oct 2013 07:56:58 +0000 (UTC) (envelope-from joris.dedieu@gmail.com) Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8FF412EE4 for ; Fri, 11 Oct 2013 07:56:57 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id eh20so2994586lab.4 for ; Fri, 11 Oct 2013 00:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XxWNtXc566xL07YoQS5Dq2vEfrMs1A9aiDoXh8j7T9c=; b=lhYxsC6gUnXaZxkTlCV3wq33AhJ7lSpn9z/Ww+rW522WQ9HNwF5DTRfzw5sn3zV/E8 A8bBv4gW9IP0qV2yO77biPDD68HgvVntr1hyddsn3ihUj5Cu1PVpPR8WcFxQkPUFg0Kx m+09v4KWSs/XZ3o/qZKPVl9IPqGbwRPplp2hX9kQgdEv61SNnvZ2Hn0kpIWzArNGPh5/ YYPqOhFyn68Q1uMup+k7ZsBJbZ6jfY3b1symOsfpuW4xjLawAp99ppJoRsPazbaxe6da L62KrwIuSJ/Inff1W2vzllGOqAD9t0+h5ovn7PGhnd/yC/4nZmZqKxsUXNma3QiEQoWi AsAw== MIME-Version: 1.0 X-Received: by 10.112.154.70 with SMTP id vm6mr15301022lbb.1.1381478215224; Fri, 11 Oct 2013 00:56:55 -0700 (PDT) Received: by 10.114.22.99 with HTTP; Fri, 11 Oct 2013 00:56:55 -0700 (PDT) In-Reply-To: References: <525738C1.7040401@gmail.com> <5257399A.7020002@freebsd.org> <52575197.4010600@gmail.com> <52575310.8010502@freebsd.org> Date: Fri, 11 Oct 2013 09:56:55 +0200 Message-ID: Subject: Re: Bhyve "Exit Console" keyboard shortcut? From: joris dedieu To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Oct 2013 07:56:58 -0000 2013/10/11 Eitan Adler : > On Thu, Oct 10, 2013 at 9:23 PM, Peter Grehan wrote: >>>> One way to get around this is to start bhyve under tmux/screen. >>> >>> >>> Its what I've been doing for now, but even in tmux one might want to >>> exit the console similar to with we do with Xen. >> >> >> I quite like how Xen does it. bhyve will hopefully have something similar >> soon. > > For the clueless, how does Xen do it? xenconsole works exactily like a serial console client (with termios(4)). If the main loop intercepts an escape sequence, it restores the term. By default this sequence is the same as telnet (^]). See : http://xenbits.xen.org/gitweb/?p=xen.git;a=tree;f=tools/console/daemon;h=cfd2f772a53ec2c71b07d9358441cedbb252b24c;hb=HEAD Joris > > > > -- > Eitan Adler > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"