Newsgroups: comp.lang.lisp
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!fdn.fr!uunet!in1.uu.net!franz.com!franz!smh
From: smh@Franz.COM (Steve Haflich)
Subject: Re: Environment variables? (Unix)
In-Reply-To: Clint Hyde's message of 1 May 1995 17:38:30 GMT
Message-ID: <SMH.95May4083352@vapor.Franz.COM>
Sender: news@franz.com
Nntp-Posting-Host: vapor
Organization: Franz Inc., Berkeley, CA
References: <3o36am$nte@info-server.bbn.com>
Date: Thu, 4 May 1995 15:33:52 GMT
Lines: 19

In article <3o36am$nte@info-server.bbn.com> Clint Hyde <chyde@bbn.com> writes:

   From: Clint Hyde <chyde@bbn.com>

   in Allegro 4.2:

   (sys:getenv "PATH")

   and this will show your path variable...

   replace PATH with others as appropriate.

   I think (sys:setenv "PATH" value) is also good.

Yes, but it would be more idiomatic in modern lisp to express it as

     (setf (sys:getenv ...) ...)

This is implemented in the forthcoming Allegro 4.3.
