SOURCES: iotop-ncurses.patch (NEW) - from fc

arekm arekm at pld-linux.org
Thu Feb 28 18:49:30 CET 2008


Author: arekm                        Date: Thu Feb 28 17:49:30 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- from fc

---- Files affected:
SOURCES:
   iotop-ncurses.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/iotop-ncurses.patch
diff -u /dev/null SOURCES/iotop-ncurses.patch:1.1
--- /dev/null	Thu Feb 28 18:49:30 2008
+++ SOURCES/iotop-ncurses.patch	Thu Feb 28 18:49:25 2008
@@ -0,0 +1,18 @@
+--- iotop.py.orign	2007-11-03 18:46:19.000000000 +0100
++++ iotop.py	2007-12-28 14:37:05.000000000 +0100
+@@ -440,9 +440,12 @@
+         if not self.options.batch:
+             self.win = win
+             self.resize()
+-            curses.use_default_colors()
+-            curses.start_color()
+-            curses.curs_set(0)
++	    try:
++	            curses.use_default_colors()
++        	    curses.start_color()
++        	    curses.curs_set(0)
++	    except:
++        	    pass		
+ 
+     def resize(self):
+         self.height, self.width = self.win.getmaxyx()
================================================================


More information about the pld-cvs-commit mailing list