commit | 15691c8ef350bcaae0f37c522488ce87dbe5ea84 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Jul 24 23:11:18 2019 -0700 |
committer | William A. Kennington III <wak@google.com> | Thu Jul 25 23:11:24 2019 -0700 |
tree | 7580e5198126176f2392064548121d2526e01abe | |
parent | ff569830c74290aad1d37230fa203eeaa8025b55 [diff] |
console-client: Support an alternate string escape mode This mode is intended to avoid the behavior of witholding any characters from the console-server. It sends the entire buffer regardless of matching the escape sequence, however it will immediately terminate after seeing a full escape sequence and sending the remaining buffered content. Tested: Ran obmc-console-client with no arguments and ensured the ssh-like escape sequence still worked. Then ran `obmc-console-client -e esc`, typed a bunch of text into the console followed by esc and watched the console exit as expected. Change-Id: I780719d6e2402f93bba81beb8c09e1c661471e22 Signed-off-by: William A. Kennington III <wak@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.