Support opening stdin
Allow using embedded memory as input
Give useful error if input is terminal
Add RTEMS notes, even if it doesn't work too well