Glenn Fowler <gsf at research.att.com> wrote:
> external builtins are then free to use native stdio on { stdin stdout stderr }
> with the proviso that before returning control to ksh
> the builtin flushes any of { stdin stdout stderr } that were used
> *and* frees all builtin specific memory and resources
Could you pleas explain how this should work with I/O redirection?
> a builtin using native stdio would then be treated the same as the builtin
> using any resource not known to ksh -- all handling of those resources
> is the builtin's responsibility
We did also discuss the problem if handling signals....
A shell builtin (regardless of what shell you use) needs special
treatement of signals and libfind implements a method that should be
compatible to what ksh93 uses in case that is an adaptation layer.
I am in hope that Roland helps with testing this.
J?rg
--
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
js at cs.tu-berlin.de (uni)
schilling at fokus.fraunhofer.de (work) Blog:
http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily