Will Yardley <[EMAIL PROTECTED]> writes: > The patch (to init.c) seems to be: > > Tempdir = safe_strdup ((p = getenv ("TMPDIR")) ? p : "/tmp"); > - Editor = safe_strdup ((p = getenv ("EDITOR")) ? p : "vi"); > + Editor = safe_strdup ((p = getenv ("EDITOR")) ? p : "/usr/bin/editor"); > Visual = safe_strdup ((p = getenv ("VISUAL")) ? p : Editor);
Either I'm blind, or that should obey VISUAL if set, otherwise EDITOR, otherwise /usr/bin/editor.... [installs mutt, tries EDITOR="echo EDITOR" VISUAL="echo VISUAL" mutt [EMAIL PROTECTED] ] Hmm... the Debian unstable package seems to work as expected for me. Sure you don't have something weird in your environment or something? > Alan Shutko <[EMAIL PROTECTED]>: > >> Some programs use VISUAL, some EDITOR, some both... the distinction >> between them has long been lost. > > Perhaps, but EDITOR is supposed to be your line editor, and VISUAL your > full screen editor, or at least that's what I've always been told. Sure. But that distinction hasn't really been meaningful for at least a decade, and people writing programs these days don't necessarily follow it. -- Alan Shutko <[EMAIL PROTECTED]> - I am the rocks. Looking for a developer in St. Louis? http://web.springies.com/~ats/ I got lost in a nursery once. - Richie Ryan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]