On Sat, 19 Mar 2005, Charles Lepple wrote: > Dag Wieers said: > > On Fri, 18 Mar 2005, Charles Lepple wrote: > >> Also, I'm not exactly sure about the op.nolimit and op.update options, > >> but it seems like those should be conditional on the "not > >> sys.stdout.isatty()" test, and if stdout is a terminal, then op.color > >> should be set. That way, even if I am on a non-color-capable terminal, > >> the headers will get redisplayed once per screenful of stats. > > > > This was actually for people who were piping the output to a file. In that > > case you don't want colors or any of the ansi/vt100 crap :) But there's a > > lot of potential improvements in this area. > > Understood. I think it's a neat idea, it just looks like it got broken > when the ncurses stuff was removed. > > How's the attached patch for starters?
When I want to save it, I get: Formatting error: Internal base64 decoder error: Error writing attachment to "/home/dag/dstat-color.patch" Duh! -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]