JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fix techo handling of control and multibyte characters.
authornoname <noname@inventati.org>
Tue, 22 Apr 2014 20:26:07 +0000 (00:26 +0400)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Wed, 23 Apr 2014 18:31:45 +0000 (20:31 +0200)
techo compares signed char to '\x20'. Any character with code less then
'\x20' is treated as control character.  This way characters with MSB
set to 1 are considered control characters too.

Also this patch makes techo display DEL character as ^?.

To reprocuce the bug, enable echo mode using printf '\e[12l',
then type DEL character or any non-ASCII character.


No differences found