Index: base/inc/TApplication.h =================================================================== RCS file: /user/cvs/root/base/inc/TApplication.h,v retrieving revision 1.13 diff -u -u -r1.13 TApplication.h --- base/inc/TApplication.h 9 Feb 2004 09:50:17 -0000 1.13 +++ base/inc/TApplication.h 13 Apr 2004 11:55:41 -0000 @@ -72,6 +72,8 @@ virtual void GetOptions(Int_t *argc, char **argv); TSignalHandler *GetSignalHandler() const { return fSigHandler; } + virtual void SetNoechoMode(Bool_t mode); + virtual void HandleIdleTimer(); virtual Bool_t HandleTermInput() { return kFALSE; } virtual void Init() { fAppImp->Init(); } Index: base/src/TApplication.cxx =================================================================== RCS file: /user/cvs/root/base/src/TApplication.cxx,v retrieving revision 1.55 diff -u -u -r1.55 TApplication.cxx --- base/src/TApplication.cxx 26 Mar 2004 17:35:38 -0000 1.55 +++ base/src/TApplication.cxx 13 Apr 2004 11:55:41 -0000 @@ -872,6 +872,16 @@ } //______________________________________________________________________________ +void TApplication::SetNoechoMode(Bool_t) +{ + // set console mode: + // + // mode = 0 - echo input symbols + // mode = 1 - noecho input symbols + +} + +//______________________________________________________________________________ void TApplication::CreateApplication() { // Static function used to create a default application environment. Index: clib/src/Getline.c =================================================================== RCS file: /user/cvs/root/clib/src/Getline.c,v retrieving revision 1.26 diff -u -u -r1.26 Getline.c --- clib/src/Getline.c 19 Feb 2004 00:11:18 -0000 1.26 +++ clib/src/Getline.c 13 Apr 2004 11:55:43 -0000 @@ -781,7 +781,7 @@ if (mode < 1) { if (mode == -1) { - Gl_config("noecho", 0); + //Gl_config("noecho", 0); Gl_config("erase", 0); } gl_init(); Index: rint/inc/TRint.h =================================================================== RCS file: /user/cvs/root/rint/inc/TRint.h,v retrieving revision 1.5 diff -u -u -r1.5 TRint.h --- rint/inc/TRint.h 28 Oct 2003 14:09:48 -0000 1.5 +++ rint/inc/TRint.h 13 Apr 2004 11:55:44 -0000 @@ -47,6 +47,7 @@ virtual ~TRint(); virtual char *GetPrompt(); virtual const char *SetPrompt(const char *newPrompt); + virtual void SetNoechoMode(Bool_t mode); virtual Bool_t HandleTermInput(); virtual void PrintLogo(); virtual void Run(Bool_t retrn = kFALSE); Index: rint/src/TRint.cxx =================================================================== RCS file: /user/cvs/root/rint/src/TRint.cxx,v retrieving revision 1.28 diff -u -u -r1.28 TRint.cxx --- rint/src/TRint.cxx 15 Mar 2004 15:01:41 -0000 1.28 +++ rint/src/TRint.cxx 13 Apr 2004 11:55:44 -0000 @@ -441,3 +441,14 @@ gSystem->Exit(status); } } + +//______________________________________________________________________________ +void TRint::SetNoechoMode(Bool_t mode) +{ + // set console mode: + // + // mode = 0 - echo input symbols + // mode = 1 - noecho input symbols + + Gl_config("noecho", mode); +}