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

Home -> Community -> Usenet -> c.d.o.tools -> Re: editing a sql statement on Linux

Re: editing a sql statement on Linux

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Tue, 20 Feb 2001 05:37:45 +0100
Message-ID: <t93t10hnavl4a6@beta-news.demon.nl>

verify whether you can use vi correctly outside sqlplus, you may not have your TERM env var set properly. This will cause vi not to start screen mode. If that's resolved, in sqlplus use
define _editor = /usr/bin/vi
should the ed command to start vi.
If you don't do that the ed editor is started.

Hth,

Sybrand Bakker, Oracle DBA

"john t kelly" <jtkelly_at_usadatanet.net> wrote in message news:3a91e00d$1_1_at_news5.newsfeeds.com...
> I cant seem to edit a sql statement when I run sqlplus on Linux (6.2)
 using
> either 8.1.6 or 8.1.7
> when I type edit I get a garbled line usually a ? mark. Q usually gets me
> back to the SQL Prompt.
> I am using konsole. I have tried setting my editor to vi but no change.
> Any ideas?
>
> Rgds,
> JOhn
>
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 80,000 Newsgroups - 16 Different Servers! =-----
Received on Mon Feb 19 2001 - 22:37:45 CST

Original text of this message

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