9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] cat /dev/mouse | xd
@ 2014-01-20 17:41 Oleg
  2014-01-20 18:15 ` cinap_lenrek
       [not found] ` <8c0547b29ad63a7d04292036e24519d6@felloff.net>
  0 siblings, 2 replies; 3+ messages in thread
From: Oleg @ 2014-01-20 17:41 UTC (permalink / raw)
  To: 9fans

  Hello all.

Is it normal that i can't see any output of cat /dev/mouse | xd?
I see cat /dev/mouse output, cat anyfile | xd output, but no cat /dev/mouse | xd
output.



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

* Re: [9fans] cat /dev/mouse | xd
  2014-01-20 17:41 [9fans] cat /dev/mouse | xd Oleg
@ 2014-01-20 18:15 ` cinap_lenrek
       [not found] ` <8c0547b29ad63a7d04292036e24519d6@felloff.net>
  1 sibling, 0 replies; 3+ messages in thread
From: cinap_lenrek @ 2014-01-20 18:15 UTC (permalink / raw)
  To: lego12239, 9fans

xd does output buffering. only when the buffer is full or it gets
to the end of the file (never in case of /dev/mouse) it writes to
the output.

you can disable buffering with the -u flag, see xd(1) in the
manual.

--
cinap



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

* Re: [9fans] cat /dev/mouse | xd
       [not found] ` <8c0547b29ad63a7d04292036e24519d6@felloff.net>
@ 2014-01-20 18:31   ` Oleg
  0 siblings, 0 replies; 3+ messages in thread
From: Oleg @ 2014-01-20 18:31 UTC (permalink / raw)
  To: 9fans

On Mon, Jan 20, 2014 at 07:15:45PM +0100, cinap_lenrek@felloff.net wrote:
> xd does output buffering. only when the buffer is full or it gets
> to the end of the file (never in case of /dev/mouse) it writes to
> the output.
>
> you can disable buffering with the -u flag, see xd(1) in the
> manual.

  Thank you! I completely forgot about buffering.



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

end of thread, other threads:[~2014-01-20 18:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-20 17:41 [9fans] cat /dev/mouse | xd Oleg
2014-01-20 18:15 ` cinap_lenrek
     [not found] ` <8c0547b29ad63a7d04292036e24519d6@felloff.net>
2014-01-20 18:31   ` Oleg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).