Re: [hwloc-devel] Disabling X component

2009-12-08 Thread Samuel Thibault
Hello,

Ashley Pittman, le Fri 04 Dec 2009 12:08:11 +, a écrit :
> On Fri, 2009-12-04 at 13:04 +0100, Samuel Thibault wrote:
> > Ashley Pittman, le Fri 04 Dec 2009 11:06:12 +, 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".

Samuel


Re: [hwloc-devel] Disabling X component

2009-12-04 Thread Ashley Pittman
On Fri, 2009-12-04 at 13:04 +0100, Samuel Thibault wrote:
> Ashley Pittman, le Fri 04 Dec 2009 11:06:12 +, 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.

Ashley,

-- 

Ashley Pittman, Bath, UK.

Padb - A parallel job inspection tool for cluster computing
http://padb.pittman.org.uk




Re: [hwloc-devel] Disabling X component

2009-12-04 Thread Samuel Thibault
Ashley Pittman, le Fri 04 Dec 2009 11:06:12 +, 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?

Samuel


Re: [hwloc-devel] Disabling X component

2009-12-04 Thread Brice Goglin
Ashley Pittman wrote:
> I installed the debian package of hwloc yesterday and discovered that
> the default action of lstopo is to display a window with a picture in.
> I guess I don't have the right development packages installed for this
> to be enabled in my local build.
>
> In my tool I want to ensure the text version is displayed, padb popping
> up a number of windows isn't what people will expect or want.  Obviously
> I can unset DISPLAY before calling lstopo but a --no-x or --text-based
> option would be a nice thing to have as well.
>   

lstopo - tells lstopo to output on /dev/stdout

Brice



[hwloc-devel] Disabling X component

2009-12-04 Thread Ashley Pittman

I installed the debian package of hwloc yesterday and discovered that
the default action of lstopo is to display a window with a picture in.
I guess I don't have the right development packages installed for this
to be enabled in my local build.

In my tool I want to ensure the text version is displayed, padb popping
up a number of windows isn't what people will expect or want.  Obviously
I can unset DISPLAY before calling lstopo but a --no-x or --text-based
option would be a nice thing to have as well.

Ashley, 

-- 

Ashley Pittman, Bath, UK.

Padb - A parallel job inspection tool for cluster computing
http://padb.pittman.org.uk