monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] --ticker count vs dot and smart terminals


From: Stephen Leake
Subject: Re: [Monotone-devel] --ticker count vs dot and smart terminals
Date: Thu, 14 Feb 2008 03:55:50 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.1 (windows-nt)

Derek Scherger <address@hidden> writes:

> I've recently noticed that emacs shell-mode (in emacs 22.1.1 at least)
> seems to handle --ticker=count style tickers properly and I'm thinking
> that we could/should remove "emacs" from the following in
> unix/terminal.cc (have_smart_terminal):
>
>    if (term == "" || term == "emacs" || term == "dumb"
>        || !isatty(2))
>      return false;
>
> This little snippet is responsible for choosing dot style tickers in
> the case where your terminal is not likely to support the nicer count
> style tickers.

Maybe it should be a lua hook? 

However, I almost always use a shell script when syncing, to specify
the remote database. So it's easy to add --ticker=count (or some other
style) to it.

> I don't know how many people use emacs shell mode to run mtn
> push/pull/sync commands but for anyone who does, could you try with
> --ticker=count and see what it looks like.

Works for me with Emacs 22 and 21 on Win32, and Emacs 22 on Cygwin; +1
for your change.

-- 
-- Stephe




reply via email to

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