> The `e` response to TeX's error prompt causes the system default editor to start up at the current line of the current file. The environment variable `TEXEDIT` can be used to change the editor used.
Debian changes the default to `sensible-editor`, which looks up `VISUAL` and `EDITOR`. But by default `TEXEDIT` is vi.