delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2012/12/12/14:33:45

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.theimps.com
X-Spam-Level:
X-Spam-Status: No, score=-100.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT
shortcircuit=ham autolearn=disabled version=3.3.1
From: Peter TB Brett <peter AT peter-b DOT co DOT uk>
To: geda-help AT delorie DOT com
Subject: Re: [geda-help] Dirt Dumb Level..
Date: Wed, 12 Dec 2012 19:33:12 +0000
Message-ID: <1763693.MV8q8EB28b@harrington.peter-b.co.uk>
Organization: Surrey Space Centre
X-Face: $N}{5?\D>xr}zi]BChHp)X[G,\Z"lc+zdwps1*EiY,{!&t+x49]lIKpn`*U4cV~^-4|lNw 2T9+3y AT -cV}7TSB[F8'Cglfe#b6BrI.^AI-7|$;O AT d6Ons!`h0\{-I/U6D]8v=P
User-Agent: KMail/4.9.3 (Linux/3.6.9-2.fc17.x86_64; KDE/4.9.3; x86_64; ; )
In-Reply-To: <1355254388.14812.95.camel@hoho6.chidig.com>
References: <1355205873 DOT 14812 DOT 39 DOT camel AT hoho6 DOT chidig DOT com> <CAGde_xMGc-P=ZaE63hq0QefnjbAxHPS+sNo=+GxC+xAjye-6eA AT mail DOT gmail DOT com> <1355254388 DOT 14812 DOT 95 DOT camel AT hoho6 DOT chidig DOT com>
MIME-Version: 1.0
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--nextPart2960481.b3PI6PtKes
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"

On Tuesday 11 December 2012 13:33:08 you wrote:
> On Tue, 2012-12-11 at 15:35 +0100, Svenn Are Bjerkem wrote:
> > On 11 December 2012 15:05, Bob Gustafson <bobgus AT rcn DOT com> wrote:
> > > Cool - thanks much.
> > > 
> > > One needs to get one's head around Guile before approaching gEDA..
> > > 
> > > Perhaps a mini-note somewhere in the beginning tutorial..
> > > 
> > > Yes, I know - write it myself.
> > 
> > Don't forget to mention that Guile is not Skill in your manual in
> > case a cadence composer user happens to drop by.....
> 
> Here is a stab at documentation enhancement:
> 
> At the top of the document geda:gsch2pcb_tutorial,
> just above gschem -> gsch2pcb -> PCB
> 
> *** This document is geda:gsch2pcb_tutorial
> *** http://wiki.geda-project.org/geda:gsch2pcb_tutorial
> 
> The reason is that if this document is saved to a local file, the
> source and name of the file is lost.
> 
> ----
> 
> Just above the code fragment
> (component-library "${HOME}/gaf/gschem-sym")
> in the Setup section
> 
> *** The ${HOME} in the lines below are a little misleading.
> *** The ${HOME} implies that there is something that will
> *** evaluate an expression HOME=/home/user1/gEDA or something
> *** like that. This is NOT the case as the syntax is that of
> *** a Guile (Scheme (lisp)) source script, not bash. In Guile,
> *** there is no implicit evaluation of the phrase ${HOME}.
> ***
> *** To define the ${HOME} for use in the lines below, one way is:
> *** (define "${HOME}" "/home/user1/gEDA")
> *** or similar. If you get strange error messages, the documentation
> *** on the Guile language may be helpful. Guile is not Skill.
> ***
> *** Be also aware that some symbols, such as 'source-library' and
> *** 'build-path' are not native Guile, but gEDA functions with their
> *** own particular argument requirements and syntax.
> 
> Feel free to correct/hack it up.
> 
> Equipped as I am with a virgin pair of eyeballs, I can only write what
> I see..  Hopefully my eyes will improve with experience, but that
> might not be good for the next noobies coming along.

You're looking for the 'expand-env-variables' function.

(expand-env-variables "${HOME}")
--> "/home/peter"

Cheers,

                        Peter

-- 
Peter Brett <peter AT peter-b DOT co DOT uk>
Remote Sensing Research Group
Surrey Space Centre

--nextPart2960481.b3PI6PtKes
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEABECAAYFAlDI3AIACgkQZ7Gbq7g7vpo1YQCfbRxEUYvUruLaOGsuMDq9gA6g
LZsAniddE1VHSWtu99c27E0IW7cVqesb
=BWgO
-----END PGP SIGNATURE-----

--nextPart2960481.b3PI6PtKes--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019