# # # patch "ChangeLog" # from [a118a3656e997997f341b0d394957b8733b845e0] # to [b0ae4b41d3d703bb154becfd5800bcd489ebac3d] # # patch "win32/terminal.cc" # from [3eb6dc1cb604200139e367919e66a7438a986a6c] # to [b392850a401d6d5b28ba21d362399fdca2151835] # ============================================================ --- ChangeLog a118a3656e997997f341b0d394957b8733b845e0 +++ ChangeLog b0ae4b41d3d703bb154becfd5800bcd489ebac3d @@ -1,5 +1,11 @@ 2006-05-01 Matthew Gregan + * win32/terminal.cc (have_smart_terminal): Simplify smart terminal + detection, since it doesn't really work anyway. We'll now default + to smart almost everywhere (except inside environments with + TERM=dumb or TERM=emacs). Users can override this with + --ticker=(dot|none) if need be. + * win32/fs.cc (get_current_working_dir): Strip trailing backslash from path, if present. Fixes bug #16442. ============================================================ --- win32/terminal.cc 3eb6dc1cb604200139e367919e66a7438a986a6c +++ win32/terminal.cc b392850a401d6d5b28ba21d362399fdca2151835 @@ -21,7 +21,8 @@ // Win32 consoles are weird; cmd.exe does not set TERM, but isatty returns // true, Cygwin and MinGW MSYS shells set a TERM but isatty returns false. - if (term == "emacs" || term == "dumb" || !isatty(fileno(stderr))) + // Let's just check for some obvious dumb terminals, and default to smart. + if (term == "emacs" || term == "dumb") return false; else return true;