SCCS-vsn: usr.bin/tset/tset.c 1.8
-static char sccsid[] = "@(#)tset.c 1.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)tset.c 1.8 (Berkeley) %G%";
/* check for dialup or other mapping */
if (Mapped)
/* check for dialup or other mapping */
if (Mapped)
+ {
+ if (!(Alias[0] && isalias(TtyType)))
+ if (tgetent(Capbuf, TtyType) > 0)
+ makealias(Capbuf);
TtyType = mapped(TtyType);
TtyType = mapped(TtyType);
/* TtyType now contains a pointer to the type of the terminal */
/* If the first character is '?', ask the user */
/* TtyType now contains a pointer to the type of the terminal */
/* If the first character is '?', ask the user */