Re: RfC: Hurd console by default
At Wed, 9 Mar 2005 18:29:41 +0100,
Michael Banck wrote:
> On Wed, Mar 09, 2005 at 05:06:22PM +0100, Samuel Thibault wrote:
> > Michael Banck, le mer 09 mar 2005 17:58:05 +0100, a dit :
> > > 3. Running the Hurd console in a tight endless loop results in mayhem if
> > > the user introduces errors the console-client choks on in
> > > /etc/default/hurd-console, one would have to reboot into single-user
> > > mode to fix it.
> > Some DMs like GDM do detect such tight-loop error, and stop retrying,
> > which makes the console usable again after a few tries. The Hurd console
> > may probably use such way.
> Patches welcome :)
Assuming you are only interested in avoiding resource consumption due
to the high restart rate, you could just sleep for 5 seconds or so
before restarting the console. Something like: