diff --git a/twander.py b/twander.py index 767ef16..fbcc631 100755 --- a/twander.py +++ b/twander.py @@ -6,7 +6,7 @@ # Program Information PROGNAME = "twander" -RCSID = "$Id: twander.py,v 3.231 2009/07/01 07:29:20 tundra Exp $" +RCSID = "$Id: twander.py,v 3.232 2009/08/12 16:57:27 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -28,6 +28,7 @@ from fnmatch import fnmatch import mutex import os +import platform import re import sys import thread @@ -341,11 +342,13 @@ NUMPROGMEM = 12 # Number of program memories POLLINT = 250 # Interval (ms) the poll routine should run PSEP = os.sep # Character separating path components +PYVERSION = sys.version.replace("\n", " ") # Version of Python currently running REFRESHINDI = "*" # Titlebar character used to indicate refresh underway REFRESHAFTER = '+' # Indicate we want a refresh after a command runs SHOWDRIVES = '\\\\' # Logical directory name for Win32 Drive Lists STRICTMATCH = CMDESCAPE # Tells wildcard system to enforce strict matching STRIPNL = '-' # Tells variable execution to replace newlines with spaces +SYSINFO = " ".join(platform.uname()) # Detailed OS information TTLMAXDIR = 60 # Maximum length of current directory path to show in titlebar TTLDIR2LONG = "..." # String to place at front of long dir paths in titlebar @@ -880,7 +883,18 @@ # List of internal program variables to dump during debug sessions -DebugVars = ["RCSID", "OSNAME", "HOSTNAME", "USERNAME", "OPTIONS", "CONF", "HOME", "PSEP", "POLLINT"] +DebugVars = [ "CONF", + "HOME", + "HOSTNAME", + "OPTIONS", + "OSNAME", + "POLLINT", + "PSEP", + "PYVERSION", + "RCSID", + "SYSINFO", + "USERNAME" + ] #####