use EDITOR environment variable when available