diff options
author | Bill Fumerola <billf@FreeBSD.org> | 1999-07-04 17:26:16 +0000 |
---|---|---|
committer | Bill Fumerola <billf@FreeBSD.org> | 1999-07-04 17:26:16 +0000 |
commit | 9ef5c48befdfa36ad5ef5e0ae898e7ca9397abcc (patch) | |
tree | b5a6ada1388aeb7553694b736fde6dc7d114dbff /usr.bin/tset | |
parent | adbaeacdd6ef7704c5427e2ed81c4364d91c6e07 (diff) | |
download | src-test2-9ef5c48befdfa36ad5ef5e0ae898e7ca9397abcc.tar.gz src-test2-9ef5c48befdfa36ad5ef5e0ae898e7ca9397abcc.zip |
Notes
Diffstat (limited to 'usr.bin/tset')
-rw-r--r-- | usr.bin/tset/term.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tset/term.c b/usr.bin/tset/term.c index 714ef6515541..f64b86944176 100644 --- a/usr.bin/tset/term.c +++ b/usr.bin/tset/term.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)term.c 8.1 (Berkeley) 6/9/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: term.c,v 1.2 1997/08/18 07:27:56 charnier Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -104,11 +104,12 @@ found: if ((p = getenv("TERMCAP")) != NULL && *p != '/') * ttype now contains a pointer to the type of the terminal. * If the first character is '?', ask the user. */ - if (ttype[0] == '?') + if (ttype[0] == '?') { if (ttype[1] != '\0') ttype = askuser(ttype + 1); else ttype = askuser(NULL); + } /* Find the termcap entry. If it doesn't exist, ask the user. */ while ((rval = tgetent(tbuf, ttype)) == 0) { |