commit | 8a154357c7aa2c1b7aace56dd954770236919cf0 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Wed Jul 24 23:01:47 2019 -0700 |
committer | Jeremy Kerr <jk@ozlabs.org> | Fri Jul 26 08:00:46 2019 +0000 |
tree | 2b50ae18e7b941a9466f705c1ffea1dbed90c496 | |
parent | 15691c8ef350bcaae0f37c522488ce87dbe5ea84 [diff] |
console-client: Produce unique exit code when escaped This allows programs which supervise obmc-console-client to know the difference between a clean exit and one where the shell had a deliberate escape. Tested: Ran on a machine and checked that issuing an escape generated a return code of 2. Change-Id: Ica698134f60ba17b445c12b9c95faed43f90f309 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.