On Sat, Jan 19, 2013 at 12:08:58AM +0000, Sami Kerola wrote: > - no_tty = tcgetattr(fileno(stdout), &otty); > + if (non_interactive == 0) > + no_tty = tcgetattr(fileno(stdout), &otty); I have added #ifdef TEST_PROGRAM to enable non-interactive mode, and in the tests we use "test_more" binary. It seems less invasive than to add the -n option. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html