我正在使用gnuplot很长一段时间,而且我一直觉得的一个问题是它没有关闭文件名的tab选项卡上的"
。
例如
gnuplot> p 'fo<Tab>
会给我:
gnuplot> p 'fort.10 <cursor here, see the missing '>
虽然我希望有:
gnuplot> p 'fort.10' <cursor here>
我正在使用fedora的rpm,它给出了:
show version long
G N U P L O T
Version 4.6 patchlevel 3 last modified 2013-04-12
Build System: Linux x86_64
Copyright (C) 1986-1993, 1998, 2004, 2007-2013
Thomas Williams, Colin Kelley and many others
gnuplot home: http://www.gnuplot.info
faq, bugs, etc: type "help FAQ"
immediate help: type "help" (plot window: hit 'h')
Compile options:
-READLINE +LIBEDITLINE +HISTORY
-BACKWARDS_COMPATIBILITY +BINARY_DATA
+GD_PNG +GD_JPEG +GD_TTF +GD_GIF +ANIMATION
-USE_CWDRC +X11 +X11_POLYGON +MULTIBYTE +X11_EXTERNAL +USE_MOUSE +HIDDEN3D_QUADTREE
+DATASTRINGS +HISTOGRAMS +OBJECTS +STRINGVARS +MACROS +IMAGE +USER_LINETYPES +STATS
GNUPLOT_DRIVER_DIR = "/usr/libexec/gnuplot/4.6"
GNUPLOT_PS_DIR = "/usr/share/gnuplot/4.6/PostScript"
HELPFILE = "/usr/share/gnuplot/4.6/gnuplot.gih"
编译后
-READLINE +LIBEDITLINE +HISTORY
-BACKWARDS_COMPATIBILITY +BINARY_DATA
+GD_PNG +GD_JPEG +GD_TTF +GD_GIF +ANIMATION
-USE_CWDRC +X11 +X11_POLYGON +MULTIBYTE +X11_EXTERNAL +USE_MOUSE +HIDDEN3D_QUADTREE
+DATASTRINGS +HISTOGRAMS +OBJECTS +STRINGVARS +MACROS +IMAGE +USER_LINETYPES +STATS
GNUPLOT_DRIVER_DIR = "/usr/libexec/gnuplot/4.6"
GNUPLOT_PS_DIR = "/usr/share/gnuplot/4.6/PostScript"
HELPFILE = "/usr/share/gnuplot/4.6/gnuplot.gih"
答案 0 :(得分:2)
这是gnuplot命令行编辑的问题。 Debian的gnuplot二进制文件也是如此。
如果你自己编译gnuplot对libreadline,完成工作正常。这是许可证问题:gnuplot未获得GPL许可,因此禁止分发与其链接的gnuplot二进制文件,请参阅https://lists.debian.org/debian-devel/1998/06/msg01162.html
如果您自己编译gnuplot并将其链接到GNU libreadline,那很好,但是不允许您分发生成的二进制文件。