webvm icon indicating copy to clipboard operation
webvm copied to clipboard

CTRL+C not working

Open gocursor opened this issue 3 years ago • 2 comments

I can not interrupt any running command with CTRL+C.

gocursor avatar Feb 01 '22 22:02 gocursor

Add to this: on Firefox, most anything other than ls, dir, and cd seems to hang the console. Vim, cowsay, npm, nodejs - all hang the console with no way to interrupt.

Edit to update:

I thought it might be a lag issue, so out of curiosity I tried apt update. After half an hour the console is still hanging.

mhnsn avatar Feb 02 '22 03:02 mhnsn

Thanks for the report.

@gocursor: CTRL+C not working is a known issue - it's bound to a signal, SIGINT. Signals are currently not implemented.

@mhnsn: webvm is working (for me) on firefox 96.0.2, for all the examples that are in the page and the commands you listed. WebVM on Firefox takes a bit longer than Chrome, but works nevertheless.

apt instead indeed locks CheerpX and hangs the machine. We are looking into fixing this behaviour. Please note, though, that for the moment WebVM has no network and sudo support, so it won't be possible to install programs even after the hang has been solved.

sere avatar Feb 02 '22 16:02 sere

Ctrl+C is now supported. Try it out on https://webvm.io

alexp-sssup avatar May 23 '23 12:05 alexp-sssup