[ROOT] standalone program and terminal input?

From: sascha.zelzer@gmx.net
Date: Wed Feb 06 2002 - 01:18:40 MET


Hi everyone!

I am writing a small standalone ROOT program and want to be able to read
data from the user after the call to gApplication->Run(). I don't wont to make
exhaustive use of the GUI facilities because of the coding time compared with
a simple input through the terminal via cin (from which the program has been
started). But calling cin from a callback inside the root application just
blocks the whole X-Windows and I have to kill it from another console.

So, what would be the best way to get simple input done through a terminal
window for a GUI program ?

I would appreciate any hints on this.

Thanks,

Sascha

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:41 MET