add BUFSIZ and allow large truncations
starting chapter 3
Merge branch 'master' of https://github.com/pto/lsp