Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2013 09:56:55 +0200
From:      joris dedieu <joris.dedieu@gmail.com>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: Bhyve "Exit Console" keyboard shortcut?
Message-ID:  <CAPd55qBj-k3UjexwyADNS8ma-JWkNEs71g7DOBSWWqVB8xX7XA@mail.gmail.com>
In-Reply-To: <CAF6rxgnVUiU8s9zMWFDi-boW8Xaag4Z%2B%2Bjh0DHy0m-Aia1D3dQ@mail.gmail.com>
References:  <525738C1.7040401@gmail.com> <5257399A.7020002@freebsd.org> <52575197.4010600@gmail.com> <52575310.8010502@freebsd.org> <CAF6rxgnVUiU8s9zMWFDi-boW8Xaag4Z%2B%2Bjh0DHy0m-Aia1D3dQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2013/10/11 Eitan Adler <lists@eitanadler.com>:
> On Thu, Oct 10, 2013 at 9:23 PM, Peter Grehan <grehan@freebsd.org> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPd55qBj-k3UjexwyADNS8ma-JWkNEs71g7DOBSWWqVB8xX7XA>