Re: [PATCH] fix n_tty/pty input/output buffer full and other misc char handling

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Cox
Date: Wednesday, October 22, 2008 - 2:32 am

> that ^C, ^Q, etc. can have effect) in non-canonical mode?  This would

I suspect having thought about this a bit more that the proper logic is
in fact

	if (special case a)
	if (special case b)
	if (....)

	/* An ordinary character for the queue */
	if (queue_full) { ....}

and we should process everything that may have a special effect (flow
control, delete line, etc) before worrying about having room to store the
character whatever the tty ldisc state
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] fix n_tty/pty input/output buffer full and oth ..., Alan Cox, (Wed Oct 22, 2:32 am)
[PATCH] n-tty-fix-cont-and-ctrl-output, Joe Peterson, (Wed Oct 22, 6:34 pm)
[PATCH] n-tty-fix-buffer-full-checks, Joe Peterson, (Wed Oct 22, 6:35 pm)
[PATCH] n-tty-output-bells-immediately, Joe Peterson, (Wed Oct 22, 6:35 pm)
[PATCH] n-tty-fix-buffer-full-gridlock, Joe Peterson, (Wed Oct 22, 6:36 pm)
Re: [PATCH] n-tty-fix-buffer-full-gridlock, Andrew Morton, (Wed Oct 22, 6:56 pm)
Re: [PATCH] n-tty-fix-cont-and-ctrl-output, Alan Cox, (Fri Oct 24, 1:57 am)
Re: [PATCH] n-tty-output-bells-immediately, Alan Cox, (Fri Oct 24, 2:10 am)
Re: [PATCH] n-tty-output-bells-immediately, Joe Peterson, (Sat Oct 25, 8:41 am)
Re: [PATCH] n-tty-output-bells-immediately, Alan Cox, (Sat Oct 25, 8:48 am)
Re: [PATCH] n-tty-output-bells-immediately, Joe Peterson, (Sat Oct 25, 8:53 am)
Re: [PATCH] n-tty-output-bells-immediately, Joe Peterson, (Sat Oct 25, 2:13 pm)