All of lore.kernel.org
 help / color / mirror / Atom feed
* xterm loses data (pts regression?)
@ 2009-08-10 11:11 Artur Skawina
  2009-08-13 19:16 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Artur Skawina @ 2009-08-10 11:11 UTC (permalink / raw)
  To: LKML

First noticed it after upgrading to v2.6.31-rc5-246-g90bc1a6, still happens
in rc5-381-g7b2aa03.
If i press ^S in an xterm the output stops as expected, but after a ^Q i see
only the newly written data, everything in between is lost. Like:

> for i in `seq 1 111`; do echo $i; sleep 1; done
1
2
3
4
9
10
11
12
13
^C

[typed ^S after '4', then ^Q after a few seconds]

If the command doing the printing exits before the ^Q is sent, i don't get
any reaction to the ^Q at all, which is why i initially thought it to be an
xserver bug.
Text consoles are unaffected, output resumes as it should.

artur

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: xterm loses data (pts regression?)
  2009-08-10 11:11 xterm loses data (pts regression?) Artur Skawina
@ 2009-08-13 19:16 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2009-08-13 19:16 UTC (permalink / raw)
  To: Artur Skawina; +Cc: LKML

On Mon, Aug 10, 2009 at 01:11:36PM +0200, Artur Skawina wrote:
> First noticed it after upgrading to v2.6.31-rc5-246-g90bc1a6, still happens
> in rc5-381-g7b2aa03.
> If i press ^S in an xterm the output stops as expected, but after a ^Q i see
> only the newly written data, everything in between is lost. Like:
> 
> > for i in `seq 1 111`; do echo $i; sleep 1; done
> 1
> 2
> 3
> 4
> 9
> 10
> 11
> 12
> 13
> ^C
> 
> [typed ^S after '4', then ^Q after a few seconds]
> 
> If the command doing the printing exits before the ^Q is sent, i don't get
> any reaction to the ^Q at all, which is why i initially thought it to be an
> xserver bug.
> Text consoles are unaffected, output resumes as it should.

This should now be fixed in Linus's tree by:
	http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=85dfd81dc57e8183a277ddd7a56aa65c96f3f487

if not, please let us know.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-13 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-10 11:11 xterm loses data (pts regression?) Artur Skawina
2009-08-13 19:16 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.