Skip to content
Snippets Groups Projects
Commit f5ff2030 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: jtagconsole: disable output processing


Avoid extra carriage returns in the output by disabling output processing.
Otherwise, whenever the remote sends a \r\n, we end up with \r\r\n.

Reported-by: default avatarVivi Li <vivi.li@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent beb60e77
No related branches found
No related tags found
No related merge requests found
......@@ -31,9 +31,9 @@ if [ -z "${ip}" ] || [ -n "$3" ] ; then
usage "Invalid number of arguments"
fi
trap "stty icanon echo intr ^C" 0 2 3 5 10 13 15
trap "stty icanon echo opost intr ^C" 0 2 3 5 10 13 15
echo "NOTE: the interrupt signal (normally ^C) has been remapped to ^T"
stty -icanon -echo intr ^T
stty -icanon -echo -opost intr ^T
nc ${ip} ${port}
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment