On Sat, Apr 30, 2011 at 01:06:27PM +0200, Sami Kerola wrote: > Happens usually when user specifies garbage as -t argument. > > Signed-off-by: Sami Kerola <kerolasa@xxxxxx> > --- > text-utils/ul.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/text-utils/ul.c b/text-utils/ul.c > index 04da64e..7b93abb 100644 > --- a/text-utils/ul.c > +++ b/text-utils/ul.c > @@ -209,7 +209,8 @@ int main(int argc, char **argv) > /* fall through to ... */ > > case 0: > - /* No such terminal type - assume dumb */ add 'tflag' for -t/-T and if (tflag) warnx(_("terminal `%s' is not ....); > + warnx(_("terminal `%s' is not known, defaulting to `dumb'"), > + termtype); > setupterm("dumb", STDOUT_FILENO, (int *)0); > break; > } 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