Remove the terminal option from config.

The welcome message is displayed using xmessage(1), not using your
terminal. Thus, it makes no sense to have this option anymore. Also,
the new lex/yacc parser cannot correctly handle the situation:
normal variables are expanded before parsing the file. As a replacement,
you can use:
  set $terminal /usr/bin/urxvt
This commit is contained in:
Michael Stapelberg
2009-11-13 20:36:59 +01:00
parent aa2e0d7d14
commit d266474f97
4 changed files with 2 additions and 12 deletions

View File

@ -486,8 +486,8 @@ exec:
terminal:
TOKTERMINAL WHITESPACE STR
{
config.terminal = sstrdup($<string>3);
printf("terminal %s\n", config.terminal);
LOG("The terminal option is DEPRECATED and has no effect. "
"Please remove it from your configuration file.");
}
;