Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Some questions about installing on Linux

Re: Some questions about installing on Linux

From: Erik Nielsen <nielsen_at_gcg.com>
Date: Fri, 23 Jul 1999 16:57:32 -0500
Message-ID: <3798E54C.30CC8D69@gcg.com>


I can only answer some of these questions...

> 2. How can I press the UP arrow to show previous commands at the SQL>
> prompt? When I press UP, it shows ^[[A.

I don't think sqlplus supports this on any OS, but I'm kind of new to Oracle. You can type "l"<enter> to list the comands you've typed in so far. Look at the oracle documentation for all of the line editing commands (it's similar to how ex or ed work).

> 5. A UNIX question. Every time I logon to UNIX either as root or oracle
> or me, ~/.profile is not run automatically (shell is bash). So I have
> to manually ". .profile" every time I open a terminal window.

bash reads .bashrc, so either put the contents of .profile in .bashrc or do a:

. .profile

in your .bashrc file.

> 3. My stty is set correctly at shell prompt but not in SQL*Plus. Every
> time I get into SQL*Plus, I have to type "host stty erase ^H" to use
> Backspace to delete.

add a "host stty erase ^H" to your $ORACLE_HOME/sqlplus/admin/glogin.sql file. This gets run whenever anyone runs sqlplus on the computer.  

Erik Received on Fri Jul 23 1999 - 16:57:32 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US