[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] Fix printk not handling ANSI escape codes
From: |
Samuel Thibault |
Subject: |
Re: [RFC] Fix printk not handling ANSI escape codes |
Date: |
Sat, 29 Aug 2015 12:20:00 +0200 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
James Clarke, le Sat 29 Aug 2015 11:15:29 +0100, a écrit :
> @@ -1069,33 +1068,12 @@ kdstart(struct tty *tp)
> break;
> if ((tp->t_outq.c_cc <= 0) || (ch = getc(&tp->t_outq)) == -1)
> break;
> - c = ch;
> /*
> * Drop priority for long screen updates. ttstart() calls us at
> * spltty.
> */
> o_pri = splsoftclock(); /* block timeout */
> - if (c == (K_ESC)) {
...
> - }
> + kd_putc(ch);
I don't understand: shouldn't that be kd_putc_esc?
Samuel
Re: [RFC] Fix printk not handling ANSI escape codes, Samuel Thibault, 2015/08/29