As alluded to in another comment, how about your favourite CLI editor accessed via SSH. There are a few web-based SSH clients out there, such as Ajaxterm, Anyterm, WebShell, GotoSSH, etc.
These are acceptable, but there's enough keystroke lag that using it for coding gets pretty annoying. Editing files locally fixes the most important latency issues.