[sicsh-develop] sic: redir module
Status: Alpha
Brought to you by:
gvv
From: Ezra P. <epe...@zi...> - 2000-04-05 15:29:17
|
I've started working on file redirection. (module redir.la) Two issues: All output is currently hodgepodge - individual modules use printf right now, errors are through the sic_result_... handler. I will need to control the output... a) Should the modules be using sic_result_set/append for normal messages? b) If not, I need to provide a FILE * for these builtins to use for sending output. Should it be a global or a sicstate? I prefer (a) - because then the I/O can happen at the top. But then there is the issue of stdout vs. stderr. Consider the unknown handler. What if we want the stdout to go one place and stderr another? This would imply (b) would be easier. Ezra |