Hello, what am I doing wrong, if my application using a TRint object changes my tty settings? I copied the part of hworld.cxx: ------------------------------------------------------------- extern void InitGui(); VoidFuncPtr_t initfuncs[] = { InitGui, 0 }; int Error; // needed by Motif TROOT root("troot","troot title", initfuncs); TRint* theApp; int main( int argc, char *argv[] ) { ... theApp = new TRint("App", &argc, argv); ... theApp->Run(); ... delete theApp; return 0; } ------------------------------------------------------------ this code changes ~/dir $ stty speed 9600 baud; -parity line = 1; intr = ^C; brkint -inpck -istrip icrnl -ixany onlcr -iexten echo echoe echok echoke -echoctl to ~/dir $ stty speed 9600 baud; -parity line = 1; intr = ^C; eof = ^A; ignbrk -inpck -istrip icrnl -ixon onlcr -isig -iexten echo echoe echok echoke -echoctl I call some `KUEXEC's in the lifetime of the TRint. Can that do any harm? Christoph --------------------------------------------------------------------------- Christoph Borgmeier | Mail: DESY -F15-, Notkestr. 85, 22607 Hamburg Humboldt Univ Berlin | Phone: +49 40 8998 2844 Email: borg@ifh.de | ---------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:20 MET