Author: bugman Date: Tue Jun 24 09:46:45 2014 New Revision: 24264 URL: http://svn.gna.org/viewcvs/relax?rev=24264&view=rev Log: Merged revisions 24263 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk ........ r24263 | bugman | 2014-06-24 09:46:24 +0200 (Tue, 24 Jun 2014) | 6 lines More hacks for permanently eliminating the ^[[?1034h escape code being produced on Linux systems. This is a nasty feature of the GNU readline library. It is now also turned off in the dep_check module, suppressing ^[[?1034h in Python scripts which import only parts of relax. ........ Modified: branches/disp_spin_speed/ (props changed) branches/disp_spin_speed/dep_check.py Propchange: branches/disp_spin_speed/ ------------------------------------------------------------------------------ --- svnmerge-integrated (original) +++ svnmerge-integrated Tue Jun 24 09:46:45 2014 @@ -1 +1 @@ -/trunk:1-24261 +/trunk:1-24263 Modified: branches/disp_spin_speed/dep_check.py URL: http://svn.gna.org/viewcvs/relax/branches/disp_spin_speed/dep_check.py?rev=24264&r1=24263&r2=24264&view=diff ============================================================================== --- branches/disp_spin_speed/dep_check.py (original) +++ branches/disp_spin_speed/dep_check.py Tue Jun 24 09:46:45 2014 @@ -81,8 +81,11 @@ except ImportError: epydoc_module = False -# Readline module. -try: +# Readline module (avoiding the damned ^[[?1034h escape code on Linux systems). +try: + import os + if os.environ['TERM'] == 'xterm': + os.environ['TERM'] = '' import readline readline_module = True except ImportError: