I 'm in Ubuntu 12.04 but I'm using it with crouton in a Chromebook, the terminal emulator it uses is UXTerm but it seems that it doesn't have any editor installed - gedit, nano and pico are all absent.
Because I messed up the sources.list I can't install any text editor through apt-get and therefore I can't fix the sources.list.