I am new to SAPDB and used to Linux shell and MySQL command line. I wondered if there where a way to get some kind of completion, scroll throught commandline history, move backward and forward inside of commandline ? I did not find any configuration file to do this for dbmcli.
Because the GNU readline library is pure GPL and we licence SAP DB to SAP customers under a different licence, it is not possible for us to build our tools with this library (although we received a patch which will enable this feature for anyone compiling SAP DB).
But: - http://www.gnu.org/directory/sysadmin/conf/uniread.html
There exists also a Python script to execute SQL in a terminal window:
1. download the Python extensions (ftp://ftp.sap.com/pub/sapdb/bin/linux/sapdb-python-linux-i386-7.4.03.12a.tgz) and add them to $PYTHONPATH
2. add <dependent path>/lib/python1.5 to $PYTHONPATH (or copy the file optlib.py in that directory to a directory in $PYTHONPATH)
3. python <dependent path>/bin/ireport.py -h
should get you started
Daniel Dittmar
-- Daniel Dittmar SAP DB, SAP Labs Berlin [EMAIL PROTECTED] http://www.sapdb.org
_______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
