Description of problem:
When a zsh shell is started on a dumb terminal, error diagnostics appear stating
that stty is missing an argument to "erase".
Version-Release number of selected component (if applicable):
zsh-4.0.6-5
How reproducible:
Consistently.
Steps to Reproduce:
1. Run "TERM=dumb zsh". That is, launch zsh with $TERM set to "dumb".
Actual results:
Diagnostic messages appear:
stty: missing argument to `erase'
Try `stty --help' for more information.
Expected results:
Silent startup with no error messages.
Additional info:
The problem is on the last line of "/etc/zshrc", which reads:
stty erase `tput kbs`
On a dumb terminal, the tput command exits with an error and produces no output,
effectively reducing this to "stty erase" with no second argument.
This can be fixed quite easily by putting double quotes around the backtick clause:
stty erase "`tput kbs`"