jeffg@comspec.uucp (Jeff Goebel) (06/02/91)
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. -- 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.
wright@etsuv2.etsu.edu (BRIAN WRIGHT) (06/03/91)
In article <1991Jun1.213700.11805@comspec.uucp>, 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. Ok, you need to check out the SetEnv command. It allows you to set up environment variables. Check out page 8-73 (that's the page number in MY manual anyway :-) for more complete syntax. Also, even though the template in the manual states this: Template: NAME, LOCAL/S, GLOBAL/S, REMOVE/S, STRING/S the actual template from the command says NAME, STRING/F. Go figure... >-- >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. -------------------------------------------------------------- Brian Wright wright%etsuvax2@ricevm1.rice.edu or wright@etsuvax2.bitnet -------------------------------------------------------------- Standard Disclaimer... not my words and all that jazz.
markg@amix.commodore.com (Mark Gardner) (06/03/91)
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