How does TERM=dumb support work?
Augie Fackler
raf at durin42.com
Tue Sep 25 16:17:35 UTC 2012
On Tue, Sep 25, 2012 at 11:08 AM, Carsten Mattner
<carstenmattner at gmail.com> wrote:
> On Tue, Sep 25, 2012 at 3:07 PM, Augie Fackler <raf at durin42.com> wrote:
>>
>> On Sep 25, 2012, at 6:42 AM, Carsten Mattner <carstenmattner at gmail.com> wrote:
>>
>>
>> What you're seeing actually strikes me as a bug: this makes anything
>> with a progress bar unusable in emacs shell-mode, for example. Is
>
> Made another test and the hg progress bar seems not affected
> by TERM=dumb at all and works the same way with TERM=9term.
> The trick to make hg log behave is either to use a dumb PAGER
> or omit some of the fancy /usr/bin/less options and most certainly
> also disable the color extension.
I'm not sure where log is coming from in this discussion. I thought we
were talking about progress?
>
> Either way hg behaves better because you can configure ~/.hgrc
> to not emit escape sequences in hg log while I failed to configure
> the same for git.
I'm not sure why you're seeing this. Is this pure plan9, or plan9 from
user space on some other environment?
>
> The question is what's different in hg's progress extension that makes
> hg clone not emit 9term-incomprehensible output.
Progress just uses \r judiciously to overprint a line. It should still
be disabled when TERM=dumb, and I've given myself a bug in bugzilla to
track that.
More information about the Mercurial
mailing list