fsql Frequently Asked Questions - last modified 2000-02-08

Table of Contents

1. What is fsql?
2. Where can I get the latest version of fsql?
3. How do I scroll through my command history?
4. What is this C-p stuff? Why doesn't ESC-k work?
5. I'm having trouble building under Solaris...any tips?

Questions and Answers

1. What is fsql?

fsql is a GNU readline-enabled interface to Oracle that should be much easier to use than the standard sqlplus. A lot of the behavior is modelled after the mysql client program.

2. Where can I get the latest version of fsql?

The latest version should always be available at the fsql web page:

http://www.oopdreams.com/frank/fsql

3. How do I scroll through my command history?

Simply press C-p (Control and p at the same time) to go back a line and C-n to go forward.

4. What is this C-p stuff? Why doesn't ESC-k work?

The default mode of readline is emacs mode. You can enable your familiar vi mode by hitting C-M-j (Control and Alt and j) at the same time. If you would like to make this your default behavior, simply edit (or create) the file .inputrc in your home directory and add the line:

editing-mode vi
See the readline manpage for more information on this.

5. I'm having trouble building under Solaris...any tips?

A few changes must be made before building under Solaris, especially when building with gcc. For notes on this, check the included SOLARIS_NOTES file.