Questions tagged [mintty]

Mintty is a terminal emulator for Cygwin and MSYS, it is based on the code from PuTTY 0.60.

Project page: http://code.google.com/p/mintty/

In Cygwin, Mintty is installed as the default terminal by Cygwin's setup.exe. In MSYS, the mintty package can be installed with the command mingw-get install mintty. Alternatively, binaries for Cygwin 1.7, 1.5 and MSYS can be found on the downloads page.

Features include:

  • Xterm-compatible terminal emulation.
  • Native Windows user interface with a simple options dialog.
  • Easy copy & paste.
  • Drag & drop of text, files and folders.
  • Ability to open files and URLs with Ctrl+click.
  • Comprehensive character encoding support, including UTF-8.
  • Wide character display and Windows IME support.
  • Window transparency, including glass effect on Vista and 7.
  • 256 colours.
  • Fullscreen mode.
  • Options stored in a text file. No registry entries.
  • Small program size and quick scrolling.

Mintty works on all Windows versions from Windows 2000 onwards. Similarly to other Cygwin/MSYS terminals based on pseudo terminal ("pty") devices, however, mintty is not a full replacement for the Windows Command Prompt. While native console programs with simple text output usually work fine, interactive programs often have problems, although sometimes there are workarounds.

The Cygwin package ships with a manual page that can be accessed with man mintty. A PDF version of the manual is available from the downloads page. Invoking mintty with the --help option shows a summary of available command line options. Keycodes, control sequences and some random tips can be found on the wiki.

Please report bugs or suggest enhancements via the issue tracker. Vote for any issues you'd particularly like to see addressed by starring them. The discussion group for all things mintty is mintty-discuss. General Cygwin questions should be sent to the Cygwin mailing list.

Mintty is based on code from PuTTY 0.60 by Simon Tatham and team. The program icon comes from KDE's Konsole. Mintty ties directly into Cygwin/MSYS and leaves out PuTTY's networking functionality, which is provided by packages such as openssh and inetutils instead. A number of PuTTY issues have been addressed.

150 questions
6
votes
1 answer

How to bind Ctrl-Tab and Ctrl-Shift-Tab in tmux for mintty

I would like to bind CTRL+TAB and CTRL+SHIFT+TAB (without prefix) to tmux functions, under minTTY/cygwin. I have tried the following tmux configuration: set-option -gw xterm-keys on bind-key -n C-Tab next-window bind-key -n "^[[1;5I" next-window #…
Julien Couvreur
  • 4,473
  • 1
  • 30
  • 40
6
votes
1 answer

How do I fix the q command prompt under cygwin, using mintty?

I find that when launching q from cygwin underneath mintty, the console generally seems to work, however the q) prompt is not displayed. I am just met with a blank line. I have the latest cygwin, and the latest mintty terminal. Note that when I…
pamphlet
  • 2,054
  • 1
  • 17
  • 27
5
votes
4 answers

ConEmu/cygwin newlines don't perform carriage return functionality

I upgraded Cygwin and now Bash is acting weird. Newlines aren't always returning the cursor to the left side of the screen, but sometimes they do. Here is what I'm experiencing: $ echo hello hello Thu Jan 30 08:31:33…
Matt Gregory
  • 8,074
  • 8
  • 33
  • 40
5
votes
1 answer

zsh prompt configuration for bold colour variants

I have configured my terminal (mintty on Cygwin) to bind colours to certain names, for example # (Excerpt of .minttyrc) Green=103,252,66 BoldGreen=53,228,11 BoldAsColour=yes This configuration works in that I can, for instance, access these…
user1934428
  • 19,864
  • 7
  • 42
  • 87
5
votes
1 answer

How do I change charset / locale in conemu?

I am using gitbash via conemu. I have a charset issue where the chars look wrong in gitbash via conemu and gitbash directly. I fixed it in gitbash by setting the locale in .minttyrc to .. BoldAsFont=-1 Locale=en_US Charset=UTF-8 But this doesn't…
danday74
  • 52,471
  • 49
  • 232
  • 283
5
votes
1 answer

Console2 and ConEmu - weird command prompt

Thank you very much in advance for helping. I'm a happy user of Cygwin and Mintty in Windows 7. But I always like to see what other options are out there. So I downloaded Console2 and ConEmu. First step is, always, is runinng bash. That was easy.…
RafaelGP
  • 1,749
  • 6
  • 20
  • 35
4
votes
2 answers

How can i solve the problem when closing git console that says "Processes are running in session"

I am currently working with the git commands. When I direct into my folder, where the git repository is at everything works. When i then say "git log" it prints all my commits. But then i cant type again any command. It just says: "no next tag…
slaayaah
  • 101
  • 1
  • 2
  • 8
4
votes
0 answers

Git Bash/mintty - How to enable horizontal scrollbar or set screen buffer size or turn off text wrapping?

Does anyone know how to enable horizontal scrollbar in Git Bash/Mintty shell? Or at least is there a way we can turn off text wrapping or set screen buffer size (like we set in windows command prompt)?
Aditya Hajare
  • 1,372
  • 1
  • 15
  • 24
4
votes
3 answers

Can I set an environment variable on Bash's command line?

I am trying to set an environment variable for Bash. However, I need this to be set before any of the shell's startup scripts (including /etc/profile), because /etc/profile acts differently based on the value of this variable. Specifically, I want…
Menachem
  • 911
  • 7
  • 22
4
votes
2 answers

Git-for-Windows Mintty sys.stdout.isatty() returns False

I'm using mintty via Git-for-Windows and CPython35-32. Why does Python think it's not attached to a terminal? $ python -c "import sys; print(sys.stdout.isatty())" False Interestingly, I also have a problem that I can not start an interactive…
Niklas R
  • 16,299
  • 28
  • 108
  • 203
4
votes
1 answer

Git (windows); P4merge as mergetool error

I've tried setting up p4merge as my mergetool, but I can't seem to get it working. Here's my commands: git config --global merge.tool p4merge git config --global mergetool.p4merge.path "C:/Program Files/Perforce/p4merge.exe" git config --global…
Fillip Peyton
  • 3,637
  • 2
  • 32
  • 60
4
votes
1 answer

What is the practical benefit of using Mintty via Cygwin Vs. Command Prompt (on Windows)

I have been using Putty for SSH connections and it works great. Now I need to do more local command line development and I found that Putty doesnt do that. Mintty is basically the local version Putty, from what I found, but it requires Cygwin in…
TetraDev
  • 16,074
  • 6
  • 60
  • 61
4
votes
2 answers

Docker pull no progress bar on windows

on linux machine, or when I connect to boot2docker VM using putty, I can see this nice progress indicator when I'm pulling images: 1491ff176f58: Downloading [===========================> ] 1.481 GB/2.721 GB Unfortunately when…
vehovmar
  • 1,557
  • 1
  • 14
  • 24
4
votes
1 answer

How to set system property jline.terminal (to fix no echo while typing on cygwin's mintty)?

I've started using sbt on cygwin, but had a problem that my typing would not echo in console. Following this advice, sbt now echos, e.g.: $ sbt [info] Loading project definition from…
boardrider
  • 5,882
  • 7
  • 49
  • 86
4
votes
2 answers

How to get Vim on Cygwin to display right colors?

I am using Vim on Cygwin. And I am trying to use desert color scheme. In gVim it looks like this: https://i.stack.imgur.com/FNaVa.png But in my MinTTY terminal it looks like this: https://i.stack.imgur.com/dYPkF.png Is there way to fix it? My TERM…
user3742073
  • 55
  • 1
  • 5
1
2
3
9 10