The calling program in Linux calls the wrong Error opening terminal: unknown. Solution: Set the environment variable: Export TERM=xterm before calling the error reporting program