Sync OpenBSD patchset 985:

Log terminal overrides.
pull/1/head
Tiago Cunha 2011-12-06 18:48:45 +00:00
parent 876f46abb9
commit f308663ad4
1 changed files with 2 additions and 0 deletions

View File

@ -266,6 +266,8 @@ tty_term_override(struct tty_term *term, const char *overrides)
} else
val = xstrdup("");
log_debug("%s override: %s %s",
term->name, entstr, removeflag ? "@" : val);
for (i = 0; i < NTTYCODE; i++) {
ent = &tty_term_codes[i];
if (strcmp(entstr, ent->name) != 0)