On Mon, Jun 18, 2007 at 10:19:50AM -0700, Andrew Pollock <[EMAIL PROTECTED]> 
wrote:
> tags 309953 + moreinfo
> thanks

Let me investigate the bugs I have found in the earlier version:

I installed dstat from unstable:

   Setting up dstat (0.6.6-1) ...
   INFO: using old version '/usr/bin/python2.3'

and then tried the SIGINT trick while dstat was starting up (by simply
pressing ^C which is easy on a busy system).

out of the 8 times I did this:

6 times my ^C was completeley ignored by dstat (I had to press twice)
   1 times out of this it didn't use colour
1 times it worked (yay!)
1 times I got a backtrace:

   cerebro ~# ds
   Traceback (most recent call last):
     File "/usr/bin/dstat", line 17, in ?
       from __future__ import generators
   KeyboardInterrupt

The backtrace is just an annoyance, ignoring sigint is evil, however.

The "dstat crashes with backtrace" bug, when I press ctrl-s/ctrl-q for a
second is also still there:

     3   4  47  45   0   1|   0     0 |7544B   10k|   0     0 | 971  1775 
     4   3  48  43   0   1|   0    40k|7854B   11k|   0     0 | 967  1784   
File "/usr/bin/dstat", line 1969, in ?
       main()
     File "/usr/bin/dstat", line 1948, in main
       sys.stdout.write('\n' + ansi['reset'] + ansi['clearline'] + ansi['save'])
   IOError: [Errno 4] Interrupted system call
   [Exit 1] 
   cerebro ~# 

BTW:

> I may have finally fixed this problem, but since I haven't seen it myself     
>                                
> it would be nice if someone who experienced it earlier can tell me if it     

the xon/xoff problem should be really trivial to reproduce. unfortunately
it will be unrelated to the other problems above.

It seems none of the problems I have experienced in the older versions
have gone, but instead I got a new one: the new dstat corrupts my terminal
title without restoring it, so I'll go back to the old version until this
is fixed.

-- 
                The choice of a
      -----==-     _GNU_
      ----==-- _       generation     Marc Lehmann
      ---==---(_)__  __ ____  __      [EMAIL PROTECTED]
      --==---/ / _ \/ // /\ \/ /      http://schmorp.de/
      -=====/_/_//_/\_,_/ /_/\_\      XX11-RIPE


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to