Re: [ROOT] Output stream after crash...

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Oct 31 2002 - 14:18:26 MET


Hi Thomas,

  the problem is that ROOT sets the terminal in "raw" mode to support
command line editing. Sometimes when you crash this mode is not reset
and your characters are not echoed anymore (not /dev/null). I'll try to
fix this issue in the very near future. In the meanwhile to get your
terminal back type "stty sane" and things should be ok again.

Cheers, Fons.



On Thu, 2002-10-31 at 12:24, Thomas Bretz wrote:
> Hi rooters,
> 
> I saw the following behaviour of root many many times: After a macro 
> using gui stuff (eg displays histograms) crashes, everything I type into 
> the command line is redirected to /dev/nul (means I don't see anything). 
> On Linux I can workaround this by starting an ftp session which I 
> immediatly quit. Seems, that ftp is 'repairing' the left-over 
> redirection from root. On Alpha machines I didn't find a workaround yet.
> However, is it possible to make sure, that the redirection is fixed in 
> any case root crashed (exepcion handler?)?
> This would be very very usefull...
> 
> Thanks,
> Thomas.
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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