Howdy, SQLplus has an "autostart" script which should be executed during every sqlplus startup: "When SQL*Plus starts up, it looks for a global login script called glogin.sql in the $ORACLE_HOME/sqlplus/admin directory. If found, this script will be executed. " http://www.orafaq.com/wiki/SQL*Plus_FAQ The oracle-instantclient-sqlplus package comes with the file /usr/lib64/oracle/10.2.0.3/client/lib/glogin.sql the path should be correct because ORACLE_HOME is set to /usr/lib64/oracle/10.2.0.3/client from /etc/profile.csh. But it won't be executed :/ Instead if the glogin.sql is in the directory /usr/lib64/oracle/10.2.0.3/client/sqlplus/admin/ it will be executed during every startup. Reproducible: Always Steps to Reproduce: 1. echo "set pagesize 5" >> /usr/lib64/oracle/10.2.0.3/client/lib/glogin.sql 2. start sqlplus execute an select statement 3. ln -s /usr/lib64/oracle/10.2.0.3/client/lib/glogin.sql /usr/lib/oracle/10.2.0.3/client/sqlplus/admin/ 4. start sqlplus execute an select statement (PAGESIZE 5 should put headings after every 2 results from select) Actual Results: nothing Expected Results: execution of glogin.sql
Fixed in CVS.