SuccessChanges

Summary

  1. completion/lstopo: update the list of output formats (details)
  2. lstopo: if stdout is redirected, use console mode (details)
  3. lstopo: only show interactive help if stdout is a tty (details)
  4. lstopo: add an explicit "window" output format (details)
Commit 3b5d5d875a9d03a5a1ec8874aad116d3d145602a by brice.goglin
completion/lstopo: update the list of output formats

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedcontrib/completion/bash/hwloc (diff)
Commit 2993fba464749d3a17e08fa2e402f41144675f13 by brice.goglin
lstopo: if stdout is redirected, use console mode

Except if tcgetpgrp(STDIN) fails, we're likely launched by a
window manager outside of a terminal in this case.

Closes #503

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedutils/lstopo/lstopo-no-graphics.1in (diff)
The file was modifiedutils/lstopo/lstopo.c (diff)
The file was modifiedconfig/hwloc_internal.m4 (diff)
Commit 1a6426878487b986d1a258c584811b35fc23d549 by brice.goglin
lstopo: only show interactive help if stdout is a tty

Otherwise things like .xsession-errors (depending on the window manager)
might get flooded with those messages.

Ignored on Windows since I have now idea where those messages go
when the app doesn't run from a terminal.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedutils/lstopo/lstopo.c (diff)
Commit cfbb9cf8252f21a03b9645d3339275652679bcdf by brice.goglin
lstopo: add an explicit "window" output format

To force the graphical window output in case we're
using console for some reason.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
The file was modifiedNEWS (diff)
The file was modifiedcontrib/completion/bash/hwloc (diff)
The file was modifiedutils/lstopo/lstopo-no-graphics.1in (diff)
The file was modifiedutils/lstopo/lstopo.c (diff)