close #498 tbg bug (tap replace)

add flag to bash command read to read data in raw mode
Merge pull request #528 from psychocoderHPC/fix-tbgTabBug

close #498 tbg bug (tap replace)