Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!agate!jym From: jym@eris.berkeley.edu (& Dyer) Newsgroups: gnu.emacs.vms Subject: Re: GOTCHA in VMS GNU EMACS 18.55 (maybe earlier versions also) Message-ID: Date: 23 Jan 90 01:59:12 GMT References: <9001192118.AA26093@ucbvax.Berkeley.EDU> <4358@orion.cf.uci.edu> <4878@ur-cc.UUCP> Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Followup-To: gnu.emacs.vms Organization: Berserkeley Lines: 12 In-reply-to: rbr4@uhura.cc.rochester.edu's message of 22 Jan 90 22:45:27 GMT It is mondo bogus for getenv() to get both symbols and logical names (and don't get me started about aliases and DEC/Shell). This also munches programs that use their own names as environment variables. So what if you want to create a command symbol with the same name as the program? My solution has been to make a vms_getlnm() function that will work like getenv(), but only on logical names. :::.-----.::: <_Jym_> ::::::::::::::::::::::::::::::::::.-----.::: ::/ | \:::::::::::::::::::::::::::::::: Jym Dyer ::/ o o \:: ::\ /|\ /::::::::::::::::::: jym@mica.berkeley.edu ::\ \___/ /:: :::`-----':::::::::::::::::: Berserkeley, California :::`-----':::