Mark J. Nelson writes:
> On Mon, 4 Aug 2008, James Carlson wrote:
> > Perhaps a dumb question, but what brings the c_lflag settings back
> > afterwards?  If it's your shell setting ISIG when prompting, can we
> > trust all shells to do the same?
> 
> The fix as pushed registers an atexit cleanup to restore isig for just 
> this reason; tcsh restores it, bash doesn't.

Ah, ok.  That's better.

> > I guess this is part of the "!= 'elegant'" factor, but what happens if
> > the client doesn't take ^C at the tty, but instead burns to the ground
> > after starting but not completing a push?
> 
> If "burns to the ground" does not include "returns," then we won't hit the 
> aforementioned restoration.
> 
> That will leave little option beyond killing either the hg process or the 
> shell in which it's running.

That'd be the hg process on the gate side, right?

> Indeed, it is << elegant.

Yes; just checking that I understood the limits of the fix.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to