I have implemented direct support for std streams:
http://squeakvm.org/svn/squeak/branches/olpc/platforms/Cross/plugins/FilePlu...
This will catch filenames like "/dev/stderr" and connect the real stderr instead (also preventing to close these).
This file pattern is in usage already, e.g.
http://lists.squeakfoundation.org/pipermail/beginners/2007-April/002268.html
In OLPC we used this to log errors (we added FileStream class>>stderr etc.) because SqueakDebug.log is in an unaccessible place, but using the /dev/stderr symlink is broken by the security architecture, so I need to access the actual stderr.
Any objections to make this go into the trunk Cross platform dir?
- Bert -