Date: Fri, 28 Apr 2000 16:24:22 -0700
Reply-To: kmself@IX.NETCOM.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: kmself@IX.NETCOM.COM
Subject: Re: Save, Save, Save, Save...
In-Reply-To: <no.id>; from frank.ivis@ICES.ON.CA on Fri, Apr 28,
2000 at 01:03:49PM -0400
Content-Type: text/plain; charset=us-ascii
On Fri, Apr 28, 2000 at 01:03:49PM -0400, Frank Ivis wrote:
> On Thu, 27 Apr 2000 22:31:28 -0400, Scott Chapal <schapal@MAIL.JONESCTR.ORG>
> wrote:
>
> >Chuck_Kincaid@TRILOGYUSA.COM (Charles Kincaid) writes:
> >
>
> {SNIP)
>
>
> >> A SAS person at a SUGI told me that one could replace the default SAS
> editor with one of your own choosing. I don't know if they were just
> pulling my leg, but I've never found out how. Has anyone ever heard of
> this?
> >
> >In UNIX:
> >
> >sas -editcmd /usr/bin/vi
> >sas -editcmd /usr/local/bin/emacs
> >
> >Or the inverse - launch SAS from emacs [ESS]:
>
> I've tried the above UNIX command, but it doesn't seem to work. Even if it
> did, wouldn't you still need the SAS program editor to submit the job? Seems
> simpler to just run vi or emacs from UNIX and submit batch jobs to SAS.
You need to use a different version of the editcmd invocation for vi in
an X Windows environment, unless you're using an X-aware vi clone such
as vim.
The full editcmd is specified in the SAS companion for the Unix
environment, and requires invoking a terminal from which to run the
editor in. Something like:
sas -editcmd <terminal> -e /usr/bin/vi
...where <terminal> is your xterm program of choice.
--
Karsten M. Self <kmself@ix.netcom.com> http:/www.netcom.com/~kmself
What part of "Gestalt" don't you understand?
http://gestalt-system.sourceforge.net/
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
|