Don't print the prompt if nobody listens (!isattty(1)) or if nobody can enter anything (!isatty(0)).
Don't print the prompt if nobody listens (!isattty(1)) or if nobody can enter anything (!isatty(0)).


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@30249 27541ba8-7e3a-0410-8455-c3a389f83636

mkret2/root,zzxuanyuan/root,zzxuanyuan/root-compressor-dummy,bbockelm/root,evgeny-boger/root,ffurano/root5,olifre/root,gganis/root,gganis/root,0x0all/ROOT,veprbl/root,veprbl/root,agarciamontoro/root,mattkretz/root,pspe/root,sirinath/root,jrtomps/root,Duraznos/root,evgeny-boger/root,kirbyherm/root-r-tools,buuck/root,lgiommi/root,olifre/root,jrtomps/root,strykejern/TTreeReader,thomaskeck/root,gganis/root,agarciamontoro/root,abhinavmoudgil95/root,0x0all/ROOT,beniz/root,omazapa/root,dfunke/root,omazapa/root,root-mirror/root,satyarth934/root,esakellari/my_root_for_test,buuck/root,cxx-hep/root-cern,buuck/root,evgeny-boger/root,Y--/root,buuck/root,alexschlueter/cern-root,tc3t/qoot,bbockelm/root,karies/root,kirbyherm/root-r-tools,sirinath/root,olifre/root,kirbyherm/root-r-tools,buuck/root,gganis/root,mhuwiler/rootauto,simonpf/root,Duraznos/root,agarciamontoro/root,evgeny-boger/root,esakellari/root,arch1tect0r/root,thomaskeck/root,davidlt/root,root-mirror/root,ffurano/root5,bbockelm/root,mhuwiler/rootauto,sirinath/root,CristinaCristescu/root,vukasinmilosevic/root,sirinath/root,olifre/root,thomaskeck/root,karies/root,vukasinmilosevic/root,0x0all/ROOT,nilqed/root,vukasinmilosevic/root,pspe/root,arch1tect0r/root,0x0all/ROOT,beniz/root,pspe/root,BerserkerTroll/root,Y--/root,Dr15Jones/root,karies/root,simonpf/root,zzxuanyuan/root,Dr15Jones/root,sbinet/cxx-root,esakellari/my_root_for_test,esakellari/root,omazapa/root-old,simonpf/root,arch1tect0r/root,sbinet/cxx-root,root-mirror/root,thomaskeck/root,krafczyk/root,agarciamontoro/root,gganis/root,gbitzes/root,vukasinmilosevic/root,jrtomps/root,root-mirror/root,karies/root,sbinet/cxx-root,georgtroska/root,nilqed/root,gganis/root,georgtroska/root,beniz/root,Duraznos/root,nilqed/root,cxx-hep/root-cern,evgeny-boger/root,esakellari/my_root_for_test,Duraznos/root,satyarth934/root,karies/root,mhuwiler/rootauto,Y--/root,krafczyk/root,georgtroska/root,satyarth934/root,esakellari/my_root_for_test,gbitzes/root,veprbl/root,lgiommi/root,karies/root,omazapa/root,zzxuanyuan/root-compressor-dummy,simonpf/root,mattkretz/root,gganis/root,strykejern/TTreeReader,Duraznos/root,gbitzes/root,thomaskeck/root,zzxuanyuan/root-compressor-dummy,CristinaCristescu/root,Y--/root,0x0all/ROOT,zzxuanyuan/root-compressor-dummy,vukasinmilosevic/root,zzxuanyuan/root-compressor-dummy,veprbl/root,beniz/root,CristinaCristescu/root,georgtroska/root,dfunke/root,smarinac/root,sawenzel/root,mhuwiler/rootauto,CristinaCristescu/root,zzxuanyuan/root,mattkretz/root,mattkretz/root,krafczyk/root,BerserkerTroll/root,nilqed/root,omazapa/root,esakellari/my_root_for_test,beniz/root,smarinac/root,beniz/root,lgiommi/root,jrtomps/root,bbockelm/root,gbitzes/root,tc3t/qoot,krafczyk/root,olifre/root,jrtomps/root,sbinet/cxx-root,omazapa/root-old,olifre/root,CristinaCristescu/root,mattkretz/root,alexschlueter/cern-root,abhinavmoudgil95/root,strykejern/TTreeReader,Dr15Jones/root,agarciamontoro/root,BerserkerTroll/root,perovic/root,gbitzes/root,Y--/root,simonpf/root,Dr15Jones/root,buuck/root,root-mirror/root,gganis/root,satyarth934/root,lgiommi/root,georgtroska/root,agarciamontoro/root,perovic/root,zzxuanyuan/root,bbockelm/root,beniz/root,CristinaCristescu/root,buuck/root,satyarth934/root,buuck/root,zzxuanyuan/root-compressor-dummy,root-mirror/root,arch1tect0r/root,smarinac/root,alexschlueter/cern-root,arch1tect0r/root,CristinaCristescu/root,mhuwiler/rootauto,esakellari/root,nilqed/root,arch1tect0r/root,olifre/root,CristinaCristescu/root,mkret2/root,veprbl/root,Y--/root,mattkretz/root,sawenzel/root,cxx-hep/root-cern,pspe/root,arch1tect0r/root,dfunke/root,perovic/root,vukasinmilosevic/root,zzxuanyuan/root,georgtroska/root,zzxuanyuan/root,tc3t/qoot,Duraznos/root,evgeny-boger/root,ffurano/root5,Y--/root,karies/root,tc3t/qoot,mhuwiler/rootauto,perovic/root,beniz/root,jrtomps/root,CristinaCristescu/root,pspe/root,veprbl/root,mhuwiler/rootauto,zzxuanyuan/root-compressor-dummy,zzxuanyuan/root,agarciamontoro/root,beniz/root,smarinac/root,cxx-hep/root-cern,olifre/root,zzxuanyuan/root,abhinavmoudgil95/root,simonpf/root,satyarth934/root,georgtroska/root,sirinath/root,thomaskeck/root,mattkretz/root,vukasinmilosevic/root,perovic/root,dfunke/root,omazapa/root-old,gganis/root,evgeny-boger/root,simonpf/root,esakellari/my_root_for_test,olifre/root,esakellari/root,Duraznos/root,agarciamontoro/root,thomaskeck/root,smarinac/root,davidlt/root,pspe/root,root-mirror/root,sirinath/root,krafczyk/root,simonpf/root,krafczyk/root,davidlt/root,sawenzel/root,simonpf/root,davidlt/root,agarciamontoro/root,jrtomps/root,perovic/root,sirinath/root,veprbl/root,strykejern/TTreeReader,nilqed/root,Y--/root,sawenzel/root,satyarth934/root,vukasinmilosevic/root,zzxuanyuan/root,BerserkerTroll/root,esakellari/root,esakellari/root,agarciamontoro/root,abhinavmoudgil95/root,CristinaCristescu/root,kirbyherm/root-r-tools,dfunke/root,lgiommi/root,sbinet/cxx-root,omazapa/root-old,mkret2/root,abhinavmoudgil95/root,jrtomps/root,sirinath/root,sirinath/root,olifre/root,mhuwiler/rootauto,lgiommi/root,sawenzel/root,arch1tect0r/root,satyarth934/root,dfunke/root,sbinet/cxx-root,krafczyk/root,nilqed/root,CristinaCristescu/root,nilqed/root,davidlt/root,sbinet/cxx-root,jrtomps/root,veprbl/root,sawenzel/root,pspe/root,ffurano/root5,lgiommi/root,sirinath/root,Y--/root,pspe/root,Y--/root,omazapa/root,mkret2/root,smarinac/root,alexschlueter/cern-root,arch1tect0r/root,tc3t/qoot,cxx-hep/root-cern,georgtroska/root,thomaskeck/root,BerserkerTroll/root,cxx-hep/root-cern,bbockelm/root,davidlt/root,zzxuanyuan/root-compressor-dummy,strykejern/TTreeReader,strykejern/TTreeReader,mkret2/root,Y--/root,perovic/root,abhinavmoudgil95/root,krafczyk/root,beniz/root,jrtomps/root,dfunke/root,0x0all/ROOT,mkret2/root,esakellari/my_root_for_test,perovic/root,Duraznos/root,omazapa/root-old,Duraznos/root,sbinet/cxx-root,davidlt/root,sbinet/cxx-root,evgeny-boger/root,sawenzel/root,karies/root,BerserkerTroll/root,evgeny-boger/root,davidlt/root,omazapa/root,tc3t/qoot,davidlt/root,omazapa/root-old,arch1tect0r/root,sbinet/cxx-root,karies/root,sawenzel/root,gganis/root,omazapa/root-old,mhuwiler/rootauto,veprbl/root,arch1tect0r/root,sawenzel/root,omazapa/root,alexschlueter/cern-root,dfunke/root,mkret2/root,omazapa/root-old,mattkretz/root,perovic/root,tc3t/qoot,esakellari/my_root_for_test,smarinac/root,abhinavmoudgil95/root,bbockelm/root,sirinath/root,BerserkerTroll/root,mkret2/root,pspe/root,gbitzes/root,satyarth934/root,mkret2/root,ffurano/root5,omazapa/root,0x0all/ROOT,mhuwiler/rootauto,perovic/root,karies/root,zzxuanyuan/root,esakellari/my_root_for_test,omazapa/root,gbitzes/root,smarinac/root,georgtroska/root,esakellari/root,georgtroska/root,mhuwiler/rootauto,root-mirror/root,cxx-hep/root-cern,root-mirror/root,krafczyk/root,dfunke/root,lgiommi/root,davidlt/root,thomaskeck/root,abhinavmoudgil95/root,Dr15Jones/root,nilqed/root,bbockelm/root,Duraznos/root,gbitzes/root,zzxuanyuan/root-compressor-dummy,zzxuanyuan/root,omazapa/root-old,mattkretz/root,smarinac/root,zzxuanyuan/root-compressor-dummy,thomaskeck/root,root-mirror/root,sawenzel/root,BerserkerTroll/root,karies/root,nilqed/root,gbitzes/root,krafczyk/root,abhinavmoudgil95/root,dfunke/root,bbockelm/root,dfunke/root,strykejern/TTreeReader,ffurano/root5,veprbl/root,satyarth934/root,Dr15Jones/root,0x0all/ROOT,alexschlueter/cern-root,lgiommi/root,georgtroska/root,davidlt/root,bbockelm/root,ffurano/root5,BerserkerTroll/root,omazapa/root,gbitzes/root,omazapa/root-old,root-mirror/root,zzxuanyuan/root,tc3t/qoot,evgeny-boger/root,omazapa/root,kirbyherm/root-r-tools,tc3t/qoot,esakellari/root,vukasinmilosevic/root,pspe/root,tc3t/qoot,gbitzes/root,mattkretz/root,kirbyherm/root-r-tools,esakellari/root,pspe/root,lgiommi/root,mattkretz/root,Duraznos/root,simonpf/root,alexschlueter/cern-root,evgeny-boger/root,buuck/root,sawenzel/root,abhinavmoudgil95/root,sbinet/cxx-root,kirbyherm/root-r-tools,nilqed/root,0x0all/ROOT,buuck/root,BerserkerTroll/root,agarciamontoro/root,smarinac/root,beniz/root,jrtomps/root,esakellari/root,omazapa/root-old,simonpf/root,gganis/root,mkret2/root,vukasinmilosevic/root,abhinavmoudgil95/root,bbockelm/root,krafczyk/root,cxx-hep/root-cern,vukasinmilosevic/root,veprbl/root,zzxuanyuan/root-compressor-dummy,esakellari/root,Dr15Jones/root,esakellari/my_root_for_test,perovic/root,buuck/root,BerserkerTroll/root,mkret2/root,olifre/root,satyarth934/root,lgiommi/root