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