I wrote:
> Another data point: also happens with vncviewer so must be a server-side
> bug (probably vncterm).

Nope, it's even lower down the stack than that. Same thing on a direct 
connection to the console pty from dom0 (e.g. using "screen /dev/pts/<X>" or xl 
console <domid>"

If I strace agetty in the guest VM while typing "jj@" (which shows a line 
deletion when the @ is pressed) I see:

[root@localhost ~]# ps axfwww | grep agetty
6859 hvc0     Ss+    0:00 /sbin/agetty hvc0 115200 9600 linux
[root@localhost ~]# strace -p 6859
Process 6859 attached - interrupt to quit
read(0, "j", 1)                         = 1
write(1, "j", 1)                        = 1
read(0, "j", 1)                         = 1
write(1, "j", 1)                        = 1
read(0, "@", 1)                         = 1
write(1, "\10 \10", 3)                  = 3
write(1, "\10 \10", 3)                  = 3

so it looks like agetty is interpreting the "@" as being part of an escape 
sequence.

@Graham - doe you guest VMs use agetty?

Cheers,
James


_______________________________________________
Xen-api mailing list
[email protected]
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to