3 ms·
"Every time my terminal blows up because I wrote some binary data and I have to run `reset` or `stty sane` I'm amazed that we let things get to this point." Ra
by 1vuio0pswjnm7 3y ago
"Every time my terminal blows up because I wrote some binary data and I have to run `reset` or `stty sane` I'm amazed that we let things get to this point."
Rather than reset or stty sane, I use something like one of the following, based on what software is available, e.g., there is no reset on NetBSD
echo w1b63|ired -n /dev/stdout
echo 1b63|xxd -p -r
echo -e '27\n99\n'|nc-data -g
printf \\33c