Sudo uses the setuid bit or whatever, so it still has access to the user's environment variables and whatnot. So figuring out which editor to run shouldn't be an issue.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: