Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!ames!ucbcad!ucbvax!hplabs!sdcrdcf!ism780c!mikep From: mikep@ism780c.UUCP (Michael A. Petonic) Newsgroups: comp.unix.wizards Subject: Re: Using argv to show process status Message-ID: <7164@ism780c.UUCP> Date: Sat, 22-Aug-87 00:31:32 EDT Article-I.D.: ism780c.7164 Posted: Sat Aug 22 00:31:32 1987 Date-Received: Sun, 23-Aug-87 10:40:55 EDT References: <1217@mhres.mh.nl> <6303@brl-smoke.ARPA> <1224@mhres.mh.nl> Reply-To: mikep@ism780c.UUCP (Michael A. Petonic) Organization: Interactive Systems Corp., Santa Monica CA Lines: 13 Keywords: argv ps In article <1224@mhres.mh.nl> jv@mh.nl (Johan Vromans) writes: }We are running a kind of interpreter for a programming language in which }lots of applications have been written. One of the features of the }language is that a program can chain to a successor program. Chains are }handled internally by the interpreter, no new process is started. } }When a user starts an application with "RUN menu", and menu chains to different }application programs which all chain back to menu for the next choice, }the "ps" will always show the "RUN menu" command. Well, how about making links to small C programs that would "RUN Menu" (or a shell script) and then arv[0] would be the name of the link.