increase size of termcap buffer to 2048 bytes