Book Contents

Book Index

Next Topic

Home

Command-Line Editing

vsql supports the Readline library for convenient line editing and retrieval. The command history is automatically saved when vsql exits and is reloaded when vsql starts up. Tab-completion is also supported, although the completion logic makes no claim to be an SQL parser. If for some reason you do not like the tab completion, you can turn it off by putting this in a file named .inputrc in your home directory:

$if vsql

set disable-completion on

$endif

(This is not a vsql but a Readline feature. Read its documentation for further details.)