[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: std location for system console

From: Roland McGrath
Subject: Re: std location for system console
Date: Fri, 30 Aug 2002 23:35:50 -0400 (EDT)

> Oh, you want to put it in the scrollback buffer.  I was assuming that it was
> stuffed in as regular data, not as scrollback, and move the cursor so that
> you have a seamless transition from hardware state to virtual console with
> client state.

All I meant was stuffed behind the data written by the first user (getty),
and with the screen-start adjusted so that it does appear seamless.

> No, I don't think it is feasible to allow anybody write to the console while
> you are diddling it from the console client's side.

I think it is fine for this to be a special case operation that makes the
console server block other requests while it is working.  You only get into
these race issues if you are trying to shoehorn it into the normal client
interactions.  Just make it a special RPC, or io_write to the right place
or something.  Then the console server just stops the world handling that
the same way it would while doing scrolling or screen erasure or whatever.

> With the above race, both are equally hard.

I am a bit lost.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]