spaulaus / paass

Pixie Acquisition and Analysis Software Suite - maintained by Project Science
GNU General Public License v3.0
0 stars 2 forks source link

CTerminal does not handle cerr gracefully #27

Open spaulaus opened 6 years ago

spaulaus commented 6 years ago

Expected Behavior

cerr stream data is printed to the screen in a coherent manner like cout.

Current Behavior

The terminal goes bananas when you have cerr messages. image

Context

This makes it almost impossible to scan files that might have cerr messages. They just get glommed together and impossible to read.

Possible Solution (optional)

Update CTerminal to format cerr just like cout.

Acceptance Criteria

  1. We handle cerr messages identically to cout.
  2. The terminal doesn't get corrupted during cerr output.

Bug Report

Your Environment

Component Value
Operating system ubuntu
Kernel Version 4.4.0-43-Microsoft
CMake Version 3.5.1
GCC Version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.6) 5.4.0 20160609
ROOT Version 6.13/01
GSL Version 2.4

Steps to Reproduce

  1. Output cerr messages to the terminal in a program using CTerminal.
spaulaus commented 6 years ago

This issue was moved to spaulaus/paass#117