From oracle-l-bounce@freelists.org Mon Jul 5 14:10:11 2004 Return-Path: Received: from air189.startdedicated.com (root@localhost) by orafaq.com (8.11.6/8.11.6) with ESMTP id i65J9tK25189 for ; Mon, 5 Jul 2004 14:10:05 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i65J9Z625166 for ; Mon, 5 Jul 2004 14:09:55 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 092BF72C5BC; Mon, 5 Jul 2004 13:51:16 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17474-42; Mon, 5 Jul 2004 13:51:15 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id DF06072C55B; Mon, 5 Jul 2004 13:51:14 -0500 (EST) Received: with ECARTIS (v1.0.0; list oracle-l); Mon, 05 Jul 2004 13:49:45 -0500 (EST) X-Original-To: oracle-l@freelists.org Delivered-To: oracle-l@freelists.org Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 3A11A72C1F6 for ; Mon, 5 Jul 2004 13:49:45 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17385-07 for ; Mon, 5 Jul 2004 13:49:45 -0500 (EST) Received: from mail.porta.net (mail.porta.net [216.250.209.14]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E0DBE72C201 for ; Mon, 5 Jul 2004 13:49:41 -0500 (EST) Received: from pavilion ([130.2.16.134]) by mail.porta.net (8.11.7+Sun/8.11.6) with ESMTP id i65JC0s10768 for ; Mon, 5 Jul 2004 14:12:00 -0500 (GMT+5) Message-Id: <200407051912.i65JC0s10768@mail.porta.net> From: "GBA_DBA" To: Subject: RE: using vim as SQL*Plus editor on Windows Date: Mon, 5 Jul 2004 14:11:58 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: Thread-Index: AcRikHfss3pw3eUvQqivLmF+Pnv6AgAMxR9Q Importance: High X-Virus-Scanned: by amavisd-new at freelists.org X-archive-position: 4455 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: galo.balda@gye.on.net.ec Precedence: normal Reply-To: oracle-l@freelists.org X-list: oracle-l X-Virus-Scanned: by amavisd-new at freelists.org Thank you both Lyubomir and Lex for your replies. I installed Vim 6.3 and now works using vim or gvim. Regards GBA -----Mensaje original----- De: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] En nombre de Lex de Haan Enviado el: Lunes, 05 de Julio de 2004 13:08 Para: Oracle-L@Freelists. Org Asunto: using vim as SQL*Plus editor on Windows Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I remember a recent thread about the above topic, where the issue was that all changed made in the editor were not reflected in the SQL buffer in SQL*Plus. I think I know why: if you define the _EDITOR as gvim, and you use the EDIT command from SQL*Plus, SQL*Plus first launches a DOS command box and from there the GUI vim window -- but then the DOS box is immediately closed, so SQL*Plus thinks the editing session is over. Just watch the SQL*Plus window: the "SQL>" prompt comes back, while it shouldn't -- it should wait until your editing session is over. the solution: don't use gvim, but use "regular" vim instead: SQL> DEFINE _EDITOR='vim -c "set filetype=sql"' works like a charm, including nice SQL-sensitive coloring... (I am using vim6.3, oracle10g, Windows XP) Kind regards, Lex. --------------------------------------------- visit my website at http://www.naturaljoin.nl --------------------------------------------- -- Binary/unsupported file stripped by Ecartis -- -- Type: text/x-vcard -- File: Lex de Haan.vcf ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html ----------------------------------------------------------------- ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------