I also believe these were the original semantics, but they are difficult to get around in a modern environment. Also of course this assumes that the user is even using xterm. Perhaps there should be something like
SNOTES_TERMINAL="xterm -e" And, if SNOTES_TERMINAL is defined, it is put under wordsplitting and used (no arrays if we want to be POSIXly correct). Chris On 5 February 2013 09:09, Charlie Kester <corky1...@comcast.net> wrote: > On 02/04/2013 13:09, markus schnalke wrote: > >> >> On my system VISUAL is set to `vi', which is a common situation. >> Your code assumes that VISUAL contains a graphical editor. >> > > I'm not sure, but I think the semantics when this variable > first began to be used was to distinguish a full-screen editor > like vi (or emacs) from a line editor like ed. > > If so, you're quite correct in saying that there's no implication > that it refers to a GUI. > >