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
0
votes
0 answers

How to handle Ctrl-Enter in tmux, called via mintty

For a long time I used tmux 1.8 in centos via git-bash from windows. And it was capable to handle Ctrl-Enter key sequence (one could easily reproduce this by building tmux 1.8 from source): [tmux-1.8]$ showkey -a Press any keys - Ctrl-D will…
egor7
  • 4,678
  • 7
  • 31
  • 55
0
votes
0 answers

Shift-arrow keys send ABCD in Git Bash in VS Code integrated terminal (Windows 11)

I am using git bash through the VS Code integrated terminal. I want to use shift and the left/right arrow keys to select text. This feature used to be working but broke for me recently, and I can't identify why. Arrow keys work fine for moving the…
0
votes
1 answer

Running Rails commands in ConEmu using {bash::mintty} not working

Every time I run a Rails command such as rails -v in ConEmu using the {bash::mintty} terminal, I get the following error: unknown mingwarch "msys" (RuntimeError). However, ruby -v works perfectly fine. In every other terminal, such as {cmd} and…
Gabriel Guérin
  • 430
  • 2
  • 13
0
votes
1 answer

How do I get exit code of script run with mintty.exe?

In Windows, I'm excecuting a bash script using Cygwin64 and mintty.exe, this way: mintty.exe -e C:\some_path\some_bash_script.sh I need to capture the script's errors but %ERRORLOVEL% is always 0, even when the script fails. How can I get the exit…
stander
  • 45
  • 5
0
votes
0 answers

run mintty(cygwin) remotely from jenkins

I am trying to run "configure" and "make" commands on windows platform (cygwin), from jenkins pipeline, running using this below command : bat "${CYGWIN_EXECTION} /cygdrive/c/JDK_BUILD_64_32/configure_64.sh ${env.BUILD_NUMBER}…
Hare Krshn
  • 41
  • 4
0
votes
0 answers

Launch EXE compiled using MSYS2 with Mintty terminal

I have a GUI application written using GTK that I would like to launch (by double clicking it in Windows File Explorer) with the Mintty terminal used by MSYS2 along with it. This is for debugging purposes with print statements. If I were in Ubuntu I…
Leigh K
  • 561
  • 6
  • 20
0
votes
1 answer

how to change default settings in .minttyrc programmatically

I want to increase the default font Lucida Console from 9pt to 12pt and adjust the blue color quality. Currently the only way I can find to do it is by right-clicking the Cygwin window and selecting Options & Text and Apply as described in this…
Greg
  • 1,750
  • 2
  • 29
  • 56
0
votes
1 answer

tput is very slow on MinTTY (Git Bash)

Git Bash is pretty sluggish overall (compare 1.082s of average runtime under WSL/Ubuntu vs 4.460s in MinTTY). I've narrowed down a whopping 1.479s to the following chunk of code: # Determine if this terminal supports colors if test -t 1; then …
Sean Allred
  • 3,558
  • 3
  • 32
  • 71
0
votes
1 answer

How to install dialog for windows to be available in mintty bash

I want to install dialog package for windows to use it in scripts at mintty bash. The dialog package => https://cygwin.com/packages/summary/dialog-src.html
0
votes
1 answer

How can I enter the copy mode when I scroll the mouse while using Tmux in MinTTY?

Scrolling the mouse while using Tmux in MinTTY, the command history is scrolled. It seems that MinTTY converts mouse scroll event to up/down key. In the past, I tried the following terminal with tmux2.1 or later, the terminal was automatically set…
goa12z
  • 1
0
votes
1 answer

Correct configuration for Windows' default console window to fix limited default scroll-back

am installing Git and I have to choose which terminal emulator to use with my Git bash. I have to choose between Windows' default console window instead of MinTTY(the default terminal of MSYNC) but I prefer the former which has to be configured to…
0
votes
0 answers

"unknown encoding name" when using gem command

On Windows 10 using the Cygwin environment, I get the following error: $ gem list ERROR: Loading command: list (ArgumentError) unknown encoding name - CP20127 ERROR: While executing gem ... (NoMethodError) undefined method…
user1934428
  • 19,864
  • 7
  • 42
  • 87
0
votes
1 answer

MinTTY Unicode Support and Build Error

I'm trying to use MinTTY with MSYS (downloaded from here), and I've noticed that it doesn't seem to have Unicode support. i.e.: I can't paste Unicode text into it (it turns out garbage). If I cat a Unicode file to the terminal (whether UTF-8 or…
user541686
  • 205,094
  • 128
  • 528
  • 886
0
votes
1 answer

What is the difference between vi is hashed to () and vim is ?

Can anybody please explain what is the difference between vi is hashed to () and vim is . I am not much familiar with mintty and I don't wanna guess about what is hashed and what is the is operator in mintty. Please help guys!! The macro I have…
Sahil Rajput
  • 318
  • 4
  • 17
0
votes
2 answers

How to enable blinking on mintty (Cygwin Terminal) on Windows 10

I read that mintty supports blinking text but do not know how to set it up so I can display blinking text. eg echo -e "\e[6mMy blinking text\e[0m" I Googled it but nothing comes up.
mck
  • 23
  • 7