tags 549202 confirmed pending #pending upload thanks On Thu, Oct 01, 2009 at 01:35:38PM +0100, Wookey wrote: > On a debian system mc should fall back to use 'sensible-editor' or > 'editor', when $EDITOR is not set, thus respecting the alternatives mechansim.
Hello, thanks for your bug report. I quite agree with you. This issue will be fixed in the next upload. patch attached. best regards Denis Briand
Description: Use sensible-editor to edit files Bug-Debian: http://bugs.debian.org/549202 Author: Denis Briand <de...@narcan.fr> Index: mc-4.7.0-pre3/src/util.h =================================================================== --- mc-4.7.0-pre3.orig/src/util.h 2009-10-02 23:01:32.000000000 +0200 +++ mc-4.7.0-pre3/src/util.h 2009-10-02 23:01:53.000000000 +0200 @@ -228,7 +228,7 @@ #define PATH_ENV_SEP ':' #define TMPDIR_DEFAULT "/tmp" #define SCRIPT_SUFFIX "" -#define get_default_editor() "vi" +#define get_default_editor() "sensible-editor" #define OS_SORT_CASE_SENSITIVE_DEFAULT 1 #define STRCOMP strcmp #define STRNCOMP strncmp
signature.asc
Description: Digital signature