commit | 81408bd0e45b7f97582cd8259fb0f6f93ebc4743 | [log] [tgz] |
---|---|---|
author | Xo Wang <xow@google.com> | Tue Apr 18 16:43:07 2017 -0700 |
committer | Xo Wang <xow@google.com> | Tue Apr 18 16:57:43 2017 -0700 |
tree | f94a2d0619f31101adf913c1fb7d96aabeea7c30 | |
parent | c5ef8eade01aad7647a364d29a1046822bfa3af6 [diff] |
tty-handler: Use raw byte handling for terminal When opening the tty for local UART mirroring, disable various special processing of terminal input and output like flow control, line edit (canonical) mode, character translation, special characters, etc. This forwards all terminal input to the VUART and allow the host OS to perform any necessary processing. Change-Id: I8b2896e7465c8af643f0cbbcaf7ef2f9ee96e2f5 Signed-off-by: Xo Wang <xow@google.com>
Note: In addition to a toolchain and autoconf tools, this requires autotools-archive
to be installed.
To build this project, run the following shell commands:
./bootstrap.sh ./configure ${CONFIGURE_FLAGS} make
To fully clean the repository, run:
./bootstrap.sh clean
Running the server requires a serial port (e.g. /dev/ttyS0):
touch obmc-console.conf ./obmc-console-server --config obmc-console.conf ttyS0
To connect to the server, simply run the client:
./obmc-console-client
To disconnect the client, use the standard ~.
combination.