This is doprog(8).  It allows you to run a program on another tty,
much like doshell(8).  It differs from doshell(8), in that the program
is *not* run as a login shell, and arguments can be specified.

The syntax is:

doprog <tty> <program> [<arguments>...] &

though I always run it in a subshell by using the following line:

(doprog <tty> <program> [<arguments>...] &)

so that it dies not show up in the jobs listing for the shell I run it
from.


This version is NOT based on the doshell(8) found in util-etc-2.1, as
that version of doshell(8) would not work for me--nother ran on the
specified terminal.  That version of doshell(8) has the desireable
feature that it does not need to be run in the background; doprog(8)
will follow suit, once I can get it to work at all.

The benefit of this is that you do not need to run getty(8) and a
shell on each virtual terminal you want to use.  I find that emacs(1),
kermit(1) and trsh(1), especially, are best run via doprog(8).


Please feel free to mail any bug reports, suggestions, etc to me at
`James.Cloos@Rahul.NET'.


-JimC
-- 
James H. Cloos, Jr.	include <std/qotd>
James.Cloos@Rahul.NET	include <std/disclaimers.h>
(cloos@io.com)		Snail:	POBox 1111, Amherst, NY 14226-1111
			Phone:	+1 716 673-1250 (voice only, for now)
