Escape character

Ján Tomko jtomko at redhat.com
Fri Mar 27 14:27:56 UTC 2020


On a Friday in 2020, Erik Skultety wrote:
>On Fri, Mar 27, 2020 at 01:48:58PM +0000, Daniel P. Berrangé wrote:
>> On Fri, Mar 27, 2020 at 01:45:21PM +0100, Ján Tomko wrote:
>> > On a Friday in 2020, john doe wrote:
>> > > Hi,
>> > >
>> > > I'm trying to understand how to use the escape character '^]' with the
>> > > below command:
>> > >
>> > > virt-install --name=try06 --graphic none --pxe --network bridge=virbr0
>> > > --console pty,target_type=serial
>> > >
>> > > "Starting install...
>> > > Connected to domain try06
>> > > Escape character is ^]"
>> > >
>> > > When I try to do '^]', it does not escape.
>> > >
>> >
>> > This is not a character sequence, '^]' is a way of saying: Ctrl + ]
>>
>> Stop me if i'm being too adventurous here, but perhaps we should
>> change the text to say....

My short adventure to virsh source code lead me to find out that the
escape character is configurable, so it's more than just changing a
text.

>>
>>  Escape character is Ctrl + ]
>
>Well, as we can clearly see, not everyone is familiar with the caret notation.

We could teach the caret notation (at the expense of minimalism):
Escape character is ^] (Ctrl + ])

>So, I definitely support such a change.

The best way to show your support is by sending a patch ;)

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20200327/ca8d2d75/attachment.sig>


More information about the libvirt-users mailing list