On Mon, 14 Oct 2024 at 11:12, G.W. Haywood <q...@jubileegroup.co.uk> wrote: > > Hi there, > > On Mon, 14 Oct 2024, yfliu2008 wrote: > > > When using "qemu-system-arm -M virt -nographic" using QEMU v6.2 on > > Ubuntu 22.04, it seems the "Backspace" key doesn't work, are > > there any solutions? > > Bear in mind that most keyboards are programmable, and one man's > backspace is another man's DEL or CTRL-H which is what I'd try first.
Right. '-nographic' is just sending the host terminal input to the guest serial port. Backspace works for me, so the problem is likely either (a) the guest config or (b) the host config (and my first guess would be (a) here). Unfortunately keyboard handling has a lot of different layers of software between your keypress and something actually happening, and with a VM setup there are now two copies of these layers, so it's not easy to say where exactly the problem might be. There used to be Linux HOWTO documents purely on the questions of backspace and delete and how to configure things :-) -- PMM