Several environment variables can be used to customize the behaviour of the console tool (added to the general Libgda's environment variables):
Upon starting, if the
GDA_SQL_CNCenvironment variable is defined, the console tool will try to open a connection using its contents as connection string.
The external editor used by the .e command is determined by the first value present in the
VISUALenvironment variables (in that order), and defaults to "vi" under Unix and "notepad.exe" under Windows.
The pager used when the data to display is more than one screen is determined by the value of the
PAGERenvironment variable and defaults to "more" if none is defined. The paging feature can be completely disabled if the
When the .graph is run, and if the GraphViz's dot is found, the console tool will convert the graph to a PNG file and display it using the external viewer identified by the contents of the
GDA_SQL_VIEWER_PNGvariable if defined (or convert it to a PDF and display it using the external viewer identified by the contents of the
GDA_SQL_VIEWER_PDFvariable if defined).
The command line history file is defined by the contents of the
GDA_SQL_HISTFILEenvironment variable. If its contents is set to "NO_HISTORY" then no history will be kept.