[haiku-bugs] Re: [Haiku] #5076: cat /dev/urandom hangs the terminal after a while

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 22 Apr 2010 12:44:44 -0000

#5076: cat /dev/urandom hangs the terminal after a while
-----------------------------------+----------------------------------------
 Reporter:  jackburton             |       Owner:  jackburton    
     Type:  bug                    |      Status:  new           
 Priority:  normal                 |   Milestone:  R1            
Component:  Applications/Terminal  |     Version:  R1/Development
 Keywords:  gcc4 hybrid            |   Blockedby:                
 Platform:  All                    |    Blocking:                
-----------------------------------+----------------------------------------

Comment(by bonefish):

 Replying to [comment:6 jackburton]:
 > We don't have this yet, right ?

 No, but we don't have any devices using the tty layer either. I believe
 this is really only hardware related: If the internal buffer is full, the
 sender has to be notified, so that it doesn't keep sending more data
 (which would have to be dropped). In the pseudo tty case the sender can
 simply be blocked (or in non-blocking mode the write fails).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5076#comment:7>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: