[SAC-HELP] Initialization macro
Arthur Snoke
snokeja at vt.edu
Mon Jun 1 04:58:33 PDT 2009
In the README file, the absolute path is set for the init.m file. Try using the
absolute path and see if it finds your init.m.
Do you have a directory ${SACHOME}/macro? If so, try
alias sac '${SACHOME}/sac ${SACHOME}/macro/init.m'
I think your 'SETMACRO sac/macro' command requires that SAC is already running
before it will be recognized.
Shahar Kadmiel ??? ?????? wrote:
> Hi,
>
> I am trying to run an initialization macro as sac starts up.
> I have created an init.m macro file in the /sac/macro directory and I am
> able to run it from within sac by executing the following two commands:
>
> SETMACRO sac/macro
> MACRO init.m
>
> I tried aliasing sac like this:
>
> alias sac='sac sac/macro/init.m'
>
> but it doesn't work and I don't think that it should but this is what it
> says to do in the README file for SAC so I tried.
>
> How do I make something run as I call up sac?
>
> Thanks
>
> Shahar
More information about the sac-help
mailing list