specifying alternate cdsplotinit?

Discussion in 'Cadence' started by danmc, May 25, 2007.

  1. danmc

    danmc Guest

    Is there a skill command or an environment variable that would let me
    specify a completely alternate location for a cdsplotinit file?
    Additionally, is there a way to add one more directory to
    the .cdsplotinit search path?

    I'm wanting a way to make sure a certain plotter is defined for the
    purposes of a particular script but can't touch the system cdsplotinit
    and don't want to mess with users $HOME/.cdsplotinit.

    Thanks
    -Dan
     
    danmc, May 25, 2007
    #1
  2. danmc

    Guest Guest

    Yes, the CDSPLOTINIT environment variable. Unfortuantely it does not seem
    to be in cdsdoc, but the description is available on sourcelink. Just search
    for cdsplotinit, and the first hit is "DF2: How to point to the .cdsplotinit
    file, other than the default paths?".

    Here's a short answer I found in a question PCR:

    --------------
    Loads plotter initialization file(s) specified by the user's environment
    variable CDSPLOTINIT. CDSPLOTINIT is a list of paths to .cdsplotinit
    files separated by colons. Here is an example:
    CDSPLOTINIT=/mnt/share/global:/usr/share/group:/home/foo/myplotters

    In the example the last path is a file called myplotters in /home/foo
    and it is loaded instead of /home/foo/myplotters/.cdsplotinit
    because it is a file not a directory.
    This will add a little bit of flexability to the whole configuration
    process.
    After processing the list in the environment variable the one at
    $HOME/.cdsplotinit is loaded as a catch-all.

    If the enviroment variable CDSPLOTINIT is not set then the default is
    to load the configuration files in the original order i.e. to load
    <cdsroot>/plot/.cdsplotinit then ./.cdsplotinit and finally
    $HOME/.cdsplotinit
    ------------------------

    -Pete Zakel
    ()

    "Tut! Tut!" cried Sherlock Holmes. "You must act, man, or you are lost.
    Nothing but energy can save you. This is no time for despair."

    -A. Conan Doyle
     
    Guest, May 26, 2007
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.