commit | ff569830c74290aad1d37230fa203eeaa8025b55 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Jul 24 23:07:15 2019 -0700 |
committer | William A. Kennington III <wak@google.com> | Thu Jul 25 01:52:45 2019 -0700 |
tree | 803beebde20cfc93b0452ff2a1a04b3febf2c3b4 | |
parent | 1cecc5deeae236e9886f624ea7168e075f057047 [diff] |
console-client: Cleanup the escape code This change fixes a bug where multiple tildes were sent if a user typed \r~~ This is unlike ssh, which allows nesting of escape sequences by ensuring that only the second tilde is sent after the command sequence is issued. This patch fixes the behavior so the console-server only ever gets \r~ for an issued \r~~ This also prepares the escape sequence handling code for an upcoming change which allows a user configurable escape sequence in addition to the default ssh like one. Change-Id: Iaff04e62fb57fab88d413df2b347809b98f728bb 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.