mailr10652 - in /1.3: intro.py prompt/interpreter.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 04, 2010 - 18:31:
Author: bugman
Date: Thu Feb  4 18:31:37 2010
New Revision: 10652

URL: http://svn.gna.org/viewcvs/relax?rev=10652&view=rev
Log:
Better UI separation in the Intro_text descriptions.

The 'help' assistance message has been shifted directly into 
prompt.interpreter as it is only part
of the prompt/script interface.  The GPL message has been changed to specify 
that it is at the
prompt that you type GPL.


Modified:
    1.3/intro.py
    1.3/prompt/interpreter.py

Modified: 1.3/intro.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/intro.py?rev=10652&r1=10651&r2=10652&view=diff
==============================================================================
--- 1.3/intro.py (original)
+++ 1.3/intro.py Thu Feb  4 18:31:37 2010
@@ -63,7 +63,7 @@
         self.copyright.append("Copyright (C) 2006-2010 the relax development 
team")
 
         # Program licence and help.
-        self.licence = "This is free software which you are welcome to 
modify and redistribute under the conditions of the GNU General Public 
License (GPL).  This program, including all modules, is licensed under the 
GPL and comes with absolutely no warranty.  For details type 'GPL'.  
Assistance in using this program can be accessed by typing 'help'."
+        self.licence = "This is free software which you are welcome to 
modify and redistribute under the conditions of the GNU General Public 
License (GPL).  This program, including all modules, is licensed under the 
GPL and comes with absolutely no warranty.  For details type 'GPL' within the 
relax prompt."
 
         # ImportErrors, if any.
         self.errors = []

Modified: 1.3/prompt/interpreter.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/prompt/interpreter.py?rev=10652&r1=10651&r2=10652&view=diff
==============================================================================
--- 1.3/prompt/interpreter.py (original)
+++ 1.3/prompt/interpreter.py Thu Feb  4 18:31:37 2010
@@ -168,7 +168,13 @@
         # Program licence and help (wrapped).
         for line in wrap(text.licence, width):
             intro_string = intro_string + line + '\n'
+        intro_string = intro_string + '\n'
  
+        # Help message.
+        help = "Assistance in using the relax prompt and scripting interface 
can be accessed by typing 'help' within the prompt."
+        for line in wrap(help, width):
+            intro_string = intro_string + line + '\n'
+
         # ImportErrors, if any.
         for i in range(len(text.errors)):
             intro_string = intro_string + '\n' + text.errors[i] + '\n'




Related Messages


Powered by MHonArc, Updated Thu Feb 04 18:40:01 2010