lkml.org 
[lkml]   [1996]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PTY feature? or bug?

On 24 Apr 1996 inr-linux-kernel@ms2.inr.ac.ru wrote:

> I'd like to repeat my question.
> Are you sure, that it should wait for master open?

> I'd propose return EIO (EAGAIN,....) on the attempt to
> open orphaned pty slave. If BSD does not make it, it is
> BSD's bug, I believe.
BAD idea, it's occasionally useful to have init put a getty on the slave
side of one of the higher pty numbers, some other non-aware program can
then be told to open the master side. An example is to provide DOSEMU
with a simulated serial line to the linux machine.

If the open returned EIO the getty would die then be respawned repeatedly,
init gives up PDQ.

--
Rob. (Robert de Bath <robert@mayday.compulink.co.uk>)


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.054 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site