- increase the buffer size appropriatetely for holding cwd to avoid overflow
- don't core-dump if $HOME is not set
- dynamically allocate command space to avoid overflow
- config does not need a defaults file
- config generated with sed, not patch, compliant with ${PREFIX}
- use ${INSTALL_SCRIPT} in two places instead of ${INSTALL_PROGRAM}