www.a00.de > tcpgroup > 1991 > msg00109
 

TCP-group 1991


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Current process in NOS??



You Could do

extern sturct proc *Cmdpp;
if (Curproc == Cmdpp)

in cmdparse() but it would probably be a cleaner solution if you move
the call to doexec() to the appropriate place in main.c and leave
cmdparse() unchanged.
The routine in main.c that calls cmdparse() would call doexec() if
cmdparse() returns -1.
But using the '!' character as a shell escape prefix as Milton Miller
suggested is probably even better.

Anders





Document URL : http://www.a00.de/tcpgroup/1991/msg00109.php
Ralf D. Kloth, Ludwigsburg, DE (QRQ.software). < hostmaster at a00.de > [don't send spam]
Created 2004-12-21. Last modified 2004-12-21. Your visit 2020-10-24 22:55.02. Page created in 0.0367 sec.
 
[Go to the top of this page]   [... to the index page]