Thread: RE: MACRO

Started: 2006-06-16 16:36:53
Last activity: 2006-06-16 21:32:59
Topics: SAC Help
Stanton, Megan
2006-06-16 16:36:53
I also found the setmacro command did not work. However I do know where
SAC looks for the macros so I just put them in there myself. The only
difference in this directory location for you would be the first two
directories in my location. So mine looks like this
/home/sacv100/sac/aux/macros. Put the macros in the macros directory and
make sure they are executable. Also just typing m is shorthand for
macro. Saves a few key strokes.

HTH,
Megan

-----Original Message-----
From: sac-help-bounces<at>iris.washington.edu
[sac-help-bounces<at>iris.washington.edu] On Behalf Of
feigelso<at>rohan.sdsu.edu
Sent: Thursday, June 15, 2006 3:16 PM
To: sac-help<at>iris.washington.edu
Subject: [SAC-HELP] MACRO

Sac-help,

I made a small MACRO file using TextEdit. I put this into my directory
that has saved my practice problems when using SAC (/usr/local/bin). I
saved this small MACRO file as practice. In SAC I typed:

SAC>MACRO practice

It then says that the MACRO file is not found. I tried the SETMACRO
command but was given the same thing. Does anyone know what I'm doing
wrong?

Thanks for your help,

Leah


_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help



  • Brian Savage
    2006-06-16 21:32:59
    Megan

    The setmacro command works fine for me.

    The macro command looks first in the current directory, then the
    directories defined by setmacro, and finally in the macros directory
    like /usr/local/sac/aux/macros.

    Could you provide the version of sac you are using and the command
    sequence you tried, so we can track down this problem.

    Cheers,
    Brian


    Stanton, Megan wrote:
    I also found the setmacro command did not work. However I do know where
    SAC looks for the macros so I just put them in there myself. The only
    difference in this directory location for you would be the first two
    directories in my location. So mine looks like this
    /home/sacv100/sac/aux/macros. Put the macros in the macros directory and
    make sure they are executable. Also just typing m is shorthand for
    macro. Saves a few key strokes.

    HTH,
    Megan

    -----Original Message-----
    From: sac-help-bounces<at>iris.washington.edu
    [sac-help-bounces<at>iris.washington.edu] On Behalf Of
    feigelso<at>rohan.sdsu.edu
    Sent: Thursday, June 15, 2006 3:16 PM
    To: sac-help<at>iris.washington.edu
    Subject: [SAC-HELP] MACRO

    Sac-help,

    I made a small MACRO file using TextEdit. I put this into my directory
    that has saved my practice problems when using SAC (/usr/local/bin). I
    saved this small MACRO file as practice. In SAC I typed:

    SAC>MACRO practice

    It then says that the MACRO file is not found. I tried the SETMACRO
    command but was given the same thing. Does anyone know what I'm doing
    wrong?

    Thanks for your help,

    Leah


    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


09:02:34 v.01697673