New (GNU) kernels--what I think

Matt Crawford matt at oddjob.uchicago.edu
Fri Jun 2 06:45:41 AEST 1989


In article <445 at lexicon.com>, rk at lexicon (Bob Kukura) writes:
) One approach to this would be to replace the argv mechanism with some
) sort of interactive scheme.  A shell would start up an application as
) soon as its command name was successfully completed, and then would
) communicate with the application using some protocol to determine the
) namespace from which completion alternatives for each argument come, ...

Awfully hard to graft this onto unix, though, since you don't know what
to tie the file descriptors to until you get past all the arguments.

Last time this came up, about 2-3 years ago, I suggested sticking a
structure in a well-known place in the object file, with the structure
describing the valid argument list.  The application would then not have
to contain the completion and prompting code; that would be in the shell
(so every shell could do it differently  :-).
________________________________________________________
Matt Crawford	     		matt at oddjob.uchicago.edu



More information about the Comp.unix.wizards mailing list