On Tue, 2009-12-08 at 14:41 +0100, Samuel Thibault wrote: > Hello, > > Ashley Pittman, le Fri 04 Dec 2009 12:08:11 +0000, a écrit : > > On Fri, 2009-12-04 at 13:04 +0100, Samuel Thibault wrote: > > > Ashley Pittman, le Fri 04 Dec 2009 11:06:12 +0000, a écrit : > > > > The debian version of -.txt (lstopo 0.9.3rc1) leaves my terminal with > > > > the colours inverted after I call it, I have to do a reset to get back > > > > to black on grey background. > > > > > > Uh, odd. Which terminal are you using? > > > > gnome-terminal with $TERM set to xterm. I've not done anything special > > with this, it's just a debian unstable install. > > Ok, I was always resetting to white on black :o) > > I have added proper reset support, it just took me some time to realize > that just looking for "color" in terminfo wasn't enough and I had to > look for "pair".
I've updated to HEAD svn and once I'd installed ncurses-dev this worked, Now I have grey, black and green backgrounds in all the right places and the terminal left as it was before I run the command. Ashley, -- Ashley Pittman, Bath, UK. Padb - A parallel job inspection tool for cluster computing http://padb.pittman.org.uk