Revert "deal with BSD stty output"

This reverts commit 3f047523655b49b982b35ad1baf46631ee7bf945.
Modernize code C++ 2014, used LLVM coding standards.

Ref: http://llvm.org/docs/CodingStandards.html
     http://clang.llvm.org/extra/clang-modernize.html
     http://clang.llvm.org/docs/ClangFormatStyleOptions.html