|
From: Tait <gnu...@t4...> - 2012-03-24 23:22:24
|
Something new as of gp 4.6.0 on Windows is that a tab character, entered into the interactive terminal, expands into a filename. Can this behavior be disabled via some configuration? I often develop files with \-continuations, e.g. plot '-' title "nzrgrdr" \ '-' title "ghlallaghp" \ '-' title "xyzpthrtk" Note the tab-indent on the line continuations. When I 'load' such a file into gnuplot, it works fine, but often in the course of development or helping others, I copy-and-paste these into the interactive terminal. This worked before, but now breaks because the leading tab expands to a filename, which is of course a syntax error. Vim works around issues like this by using paste detection, but the easier solution is probably just to disable filename-expansion. The current situation makes it impossible to interactively type anything containing a tab. For example, print "x y result" even fails because the tab cannot be inserted without turning into a filename. The usual character-escape or ctrl-v quote-literal terminal tricks that would work on *nix do not work on the Windows terminal. |