[comp.sys.atari.st] shell variables and LEVEE + wish list

achowe@watmsg.waterloo.edu (CrackerJack) (03/18/88)

>   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,n>m#      	- move lines m - n after line #
	:<m,n>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"