Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!topaz!ll-xn!nike!ucbcad!ucbvax!PAVEPAWS.BERKELEY.EDU!dillon From: dillon@PAVEPAWS.BERKELEY.EDU (Matt Dillon) Newsgroups: net.micro.amiga Subject: Re: Has Anyone written/seen programs like these? Message-ID: <8606262143.AA06402@pavepaws> Date: Thu, 26-Jun-86 17:43:02 EDT Article-I.D.: pavepaws.8606262143.AA06402 Posted: Thu Jun 26 17:43:02 1986 Date-Received: Sat, 28-Jun-86 01:21:37 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 34 > First and most importantly, has anyone written a program that will >kill a process *and* reclaim the memory that it was using. I have >seen a ps type program and a program to set the priority level of a >process but I have not seen a program to kill one. I was very >disapointed that there was not one on the 1.2Beta release. Impossible. The operating system does not keep resource lists. You can kill the process easily enough, but you cannot reclaim all of its resources. > Second program is a little more difficult. The program I am >thinking of is a Un*x-like alias command. > ... >system. I know that the csh that came over the net (thanks Matt) has >a alias feature; but his program is a task running *over* the normal >CLI and thus recives the input from the keyboard. The program I was >thinking of would set up an alias table in ram and have one task >running that takes the input and checks it on the alias table. If it >was on the table it would pass the alias on to the normal task, >otherwish just let the typed command pass through to the normal task. >The program should accept new a alias at any time and show all set >aliases by typing alias. The program should only have to be run once >because it can catch any mention of the word alias and preform upon >them. An option on this would be to have alias run but have a second >program on disk that had all the additon and extended features in it >to save memory when the alias process is running. I don't quite understand what your talking about here. If I've got this straight, you want a program that intercepts the CLI (or any program's) Input() stream, expanding it via an internal, global alias table? Seems very strange. -Matt