Searched hist:"15691 c8ef350bcaae0f37c522488ce87dbe5ea84" (Results 1 – 1 of 1) sorted by relevance
/openbmc/obmc-console/ |
H A D | console-client.c | diff 5b16dc89f09e30b20890c78976587ffe364d2764 Fri Jul 26 03:18:05 CDT 2019 William A. Kennington III <wak@google.com> console-client: Fix fixed-string escape mode dropping its last byte
This fixes an issue of the server not receiving the final byte of the escape sequence due to an off by one.
Fixes: 15691c8ef350bcaae0f37c522488ce87dbe5ea84 Change-Id: Id6240f858fb4b77e684faeb3405cc631c07c35cb Signed-off-by: William A. Kennington III <wak@google.com> diff 15691c8ef350bcaae0f37c522488ce87dbe5ea84 Thu Jul 25 01:11:18 CDT 2019 William A. Kennington III <wak@google.com> 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>
|