print "no editor found\n" unless defined $ENV{EDITOR} or defined $ENV{VISUAL};