Home » SQL & PL/SQL » SQL & PL/SQL » EditPlus
EditPlus [message #36931] Fri, 04 January 2002 06:38 Go to next message
Marc
Messages: 26
Registered: August 1999
Junior Member
how can I make EditPlus be my default editor in Oracle SQL Plus? i.e. I type "edit" at the prompt and Edit Plus opens up instead of NOTEPAD!
Thanks

----------------------------------------------------------------------
Re: EditPlus [message #36932 is a reply to message #36931] Fri, 04 January 2002 07:19 Go to previous messageGo to next message
Jon
Messages: 483
Registered: May 2001
Senior Member
From the manual...
You can specify which editor will be invoked by defining the SQL*Plus _editor variable. This variable can be set in glogin.sql, login.sql, or entered during a SQL*Plus session.

For example, to set the default editor to vi, enter:

define_editor=vi

----------------------------------------------------------------------
Re: EditPlus [message #36951 is a reply to message #36931] Mon, 07 January 2002 06:14 Go to previous messageGo to next message
Jon
Messages: 483
Registered: May 2001
Senior Member
I do the following and it works fine. Are you fully qualifying?

define _editor="c:Program FilesWindows NTAccessorieswordpad.exe"
Re: EditPlus [message #36964 is a reply to message #36951] Mon, 07 January 2002 12:45 Go to previous message
Marc
Messages: 26
Registered: August 1999
Junior Member
Works fine now. :)

Put the statement in the login.sql file and works like a charm!

Thanks Jon.
Previous Topic: Multiple Record Sets?
Next Topic: Re: Use result from function in a Anonymous Block
Goto Forum:
  


Current Time: Fri Apr 19 11:38:32 CDT 2024