Re: "ed" command in SQL*Plus: how to change the editor
From: L. Scott Johnson <sjohnson_at_math.scarolina.edu>
Date: 10 Nov 1994 13:14:17 GMT
Message-ID: <39t6b9$t34_at_redwood.cs.scarolina.edu>
Date: 10 Nov 1994 13:14:17 GMT
Message-ID: <39t6b9$t34_at_redwood.cs.scarolina.edu>
cracraft_at_quaker-oats.ai.mit.edu (Stuart Cracraft) writes:
>How do I change the Oracle default editor for all users
>used by the "ed" command in SQL*Plus to "emacs -nw".
You can't, directly.
We use a shell script "sp" to start sqlplus anyhow, and can easily insert
a global login.sql file there:
#!/bin/sh # # sp - start sqlplus with a login environmentsqlplus $1 _at_$ORACLE_HOME/glogin $HOME
REM GLOGIN - global login for all users
SET PAGESIZE 66
DEFINE _EDITOR = emacs -nw
START &1/.login.sql
Received on Thu Nov 10 1994 - 14:14:17 CET