Hi!

   I'm attempting color text but I'm getting "K[37;1mTextK[31;1m". Any 
idea what is wrong? Also I'm looking to flush the tty. Currently I'm doing

eat_extra_keys() {
        local saved=$(stty -g)
        stty -icanon min 1 time 1
        cat -N > /dev/null      // Modified cat to flush the and not block if no
        stty $saved             // data is present.
}

Do you know of a better way?

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to