bug-hurd
[Top][All Lists]
Advanced

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

Re: the big term patch


From: Thomas Bushnell, BSG
Subject: Re: the big term patch
Date: 11 Feb 2002 18:37:41 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Roland McGrath <roland@gnu.org> writes:

> This stuff all looks great.  As usual, Marcus, you rule.

I was gonna say he rocks.

> In general, we should check for anything like this in the code.  For
> anything that can have an error, the global state should not be
> tweaked before the bottomhalf call is attempted, and the bottomhalf
> call should have an argument for the new state being put in.  

Yes, this is a bug in my original architecture for the program.  I
agree with this general strategy for fixing it.

> Only in the call succeeds should term's state variables be updated.

I'm inclined to think that it should specifically be the bottom half's
responsibility for updating the state variables.  That way the Right
Thing can be done if some but not all of the changes can be made.

> If you are on random feature patrol, seems like we might as well give term
> the --readonly/--writeonly options (and --writable and all aliases)
> streamio has.  I don't know why you'd want to use them in term, but then I
> don't know off hand why you'd want them in streamio either. :)
> I guess we might as well have --rdev too.

Ditto.



reply via email to

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