Page 1 of 1

Use Textpad for SQLPLUS editor

Posted: Thu Aug 15, 2002 10:36 pm
by Duane
I can define _editor to use writepad or notepad but I cannot seem to get textpad to work as a default editor in sqlplus (to edit the buffer in the afedit.buf file).

Anyone accomplish this? Any ideas?

thanks!

Re: Use Textpad for SQLPLUS editor

Posted: Fri Aug 16, 2002 6:22 am
by Stephen Waldock
I can get it to work, but have to give the full path to the executable.

For me it also needs to be in the old dos style format.
ie. c:\progra~1\textpa~1\textpad.exe

Re: Use Textpad for SQLPLUS editor

Posted: Mon Aug 19, 2002 5:05 pm
by Duane
Thanks!!! That worked!

sql> define _editor="c:\progra~1\textpa~1\textpad.exe"
sql> select user from dual;
...
sql> edit //(starts textpad, opens the afedit.buf file; I associated the .buf extension with plsql syntax. ta da!

thanks!