int
main()
{
  int skips = 0;
  while (1) {
    char ch;
    int nr = read(0, &ch, sizeof(ch));
    if (nr == -2) {
      skips++;
      continue;
    }
    if (nr <= 0)
      break;
    write(1, &ch, sizeof(ch));
  }

  if (of_find_integer_property("/openprom/options", "use-stdio?"))
    exit (!(skips == 0));
  else
    exit (!(skips != 0));
}
