sensible-editor, sensible-pager and sensible-browser
make sensible decisions on which editor, pager, and web browser to call,
respectively. Programs in Debian can use these scripts
as their default editor, pager, or web browser or emulate their behavior.
Documentation of the EDITOR, VISUAL, PAGER, and BROWSER variables in
for changing a user's default editor