Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!rutgers!cbmvax!amix!undrground!markg From: undrground!markg@amix.commodore.com (Mark Gardner) Newsgroups: comp.sys.amiga.introduction Subject: Re: Environment Variables Keywords: EDITOR= Message-ID: Date: 3 Jun 91 00:51:08 GMT References: <1991Jun1.213700.11805@comspec.uucp> Organization: The Underground - Pennsylvania Lines: 51 jeffg@comspec.uucp (Jeff Goebel) writes: > Hello again. You were all so helpful with my last problem, I thought I'd let > you tackle another. I want you to know, I HAVE looked elsewhere first! > > However, I can not seem to find ANY documentation on how to define the > environment variables for AmigaDOS. I am just recently learning the UNIX > way, and discovered that ENV: is a part of 1.3 > > Within the Amiga MORE, I need to define the EDITOR variable, and I can not > for the life of me figure it out, or find ANY docs anywhere that help. > > Help me... Either answer it, oir tell me where to look - please. Oh boy. You're going to hate me for this, but this is just another case of RTFM. 1.3 Enhancer manual, page 1-14: . . . (For more information on using environment variables, see the RAM-Handler section of this chapter and the GETENV and SETENV commands in Chapter 2.) Turning to page 1-17, in the RAM-Handler section: . . . You use SETENV to assign a "value" to a variable. This is not necessarily a mathematical or numerical variable, rather it is a variable string. For instance, if you wanted to use the Editor option of the MORE program, and you want to use MEMACS as the editing tool, type: SETENV EDITOR "Extras 1.3:Tools/MEMACS" etc.. Owell. Anyway, lots of other programs now use the environment variables. LhArc v1.30 and most of the ARP commands come to mind.... > > -- > Jeff Goebel. > > Comspec Staff. I am obligated to point out that my messages are the views > and opinions of myself, and not those of Comspec, or my bosses in particular. -MG "I don't work for anybody yet. But then again, who wants a 17-year-old Amiga hacker?" ---------- Mark Gardner UUCP: uunet!cbmvax!amix!undrground!markg Internet: undrground!markg@amix.commodore.com