Path: utzoo!utgpu!water!watmath!watmsg!achowe From: achowe@watmsg.waterloo.edu (CrackerJack) Newsgroups: comp.sys.atari.st Subject: Re: shell variables and LEVEE + wish list Message-ID: <17631@watmath.waterloo.edu> Date: 18 Mar 88 15:13:52 GMT References: <356@stag.UUCP> Sender: daemon@watmath.waterloo.edu Reply-To: achowe@watmsg.waterloo.edu (CrackerJack) Organization: U. of Waterloo, Ontario Lines: 40 > When I ported Levee to the ST (late 1985...), I didn't have access to any >other shells or anything, and there wasn't any getenv() available for the >machine or for alcyon C. How about the AES call SHEL_ENVRN (but then that would require GEM). I know Alcyon has a binding for it. int shel_envrn (char** value, char* env_str_value); shel_envrn - should always return 1 value - the address of a char* to be returned, which will be the byte following the '=' in the environment string. env_str_value - environment value to search for ('=' will be included). Also I've had comment from ljdickey@water.waterloo.edu that cw - removes trailing blanks x - does not move back one. (I like it as is - Ant) Wish list: :m# - move lines m - n after line # :t# - copy lines m - n after line # set number - prefix line with line numbers lvrc.inf - how about a lvrc file for GEM instead of the environment variable. I like to have this program on disks that don't have a shell handy. This program is a gem!! I'm going make my shareware contribution as soon as I start my work term. - Ant -- Anthony C. Howe achowe@watmsg.waterloo.edu "The definition of flying: throwing yourself at the ground and missing." - Douglas Adam's "Life, the Universe and Everything"