Cygwin Windows Is Searching For Mintty Missing
Linux is great for programming compared to Windows. If you miss the experienceyou get on Linux, maybe you should try Cygwin, whichset up a Linux-like environment on Windows platform. In this post, I want totalk about how to configure Cygwin and how to use mintty terminal on Windows 10to get excellent programming experience.
There is no official way to install a new package. Just run the Cygwin setuptool one more time and select the package you want to install. It will notrewrite the package you have installed, only the new package will be insatlled.
If the package download speed is slow, you can choose a local mirror forCygwin. In China, TUNA isgood.
Reference


Jun 14, 2018 Cygwin Windows Is Searching For Mintty Missing Previously, when launching the Cygwin terminal, a console will popup and the line will say: username@PCName then a blinking cursor after $. Now a blank console appears and nothing is on the console screen but a blinking cursor. Mintty is a free and open source terminal emulator for Cygwin, the Unix-like environment for Windows.It features a native Windows user interface and does not require a display server; its terminal emulation is aimed to be compatible with xterm. Mintty is based on the terminal emulation and Windows frontend parts of PuTTY, but improves on them in a number of ways, particularly regarding xterm.
- The Cygwin installer creates a shortcut for mintty in the Windows start menu. In MSYS, mintty can be installed with mingw-get install msys-mintty. Features include: Xterm-compatible terminal emulation. Native Windows user interface with a simple options dialog.
- In Cygwin, it is installed as the default 'Cygwin Terminal'. For MSYS (old), select the msys-mintty package in the installer. (Or from MinGW, install the package with mingw-get install mintty.) For MSYS2, mintty is installed by default, or it can be installed later with the command pacman -S mintty.
- There are several different ways to do it: Specify bash as a command-line argument to mintty, as mentioned by Salton.; Set the Windows SHELL environment variable to /usr/bin/bash.; Make sure you have an /etc/passwd (see mkpasswd(1)) in your Cygwin environment, and set.
On Windows 10, there is a builtin ssh program underC:/Windows/System32/OpenSSH/ssh.exe
. You are probably using this program. Ifthat is the case, you have to install openssh
yourself. Just run the Cygwinsetup program one more time to install the additional package. Then this issueshould disappear.
Reference
Mintty Download Windows 10
Cygwin use the popular mintty terminal as itsterminal emulator. In this part, I document serveral settings related tomintty.

How do I set up the mintty terminal emulator type, i.e., TERM
variable?
Right-click Cygwin window title and choose Options..
, go to Terminal
, andchoose Type to be xterm-256color
. That is all.
Windows Is Searching For Mintty

How to use an external color theme for mintty?
By default, mintty provides a few color themes. The color theme for mintty arejust a list of settings for different colors. There are serveral places whereyou can find mintty themes. A non-exhaustive list is:
- A python tool with several builtin color themes, https://github.com/joakimkarlsson/mintty-colors
Save the color theme file under $CYGWIN_ROOT/usr/share/mintty/themes
. Openmintty options (right click on Cygwin title bar), go to Looks
pane and choosefrom the Theme
pull-down menu a color theme you want to use.
Alternatively, create a .minttyrc
file under your HOME. Paste the content ofcolor theme in this file and save it. The next time you open Cygwin, minttywill automatically use the configurations in .minttyrc
.
References
How do I configure mintty to use the settings from a config file and what are the available options?
As I have said, create a .minttyrc
under your HOME, and put mintty settingsin this file. To see all the options available, visit thispage.
How to open URL in browser

In the iTerm terminal, we can click an URL to open it in the browser, which isconvenient. Actually mintty also supports this feature.
But sometimes, Ctrl+click
won’t work properly. It has something todo with the mouse mode of various programs. When mouse mode is enabled forNeovim and Tmux, to open an URL in browser, I have to useCtrl+Shift+click
. If the mouse mode is turned off, Ican open an URL with just Ctrl+click
.
References
How to update mintty?
Mintty For Windows 10
It is the same as you install or update other packages. Run setup_x86_64.exe
and install the latest version of Mintty. Tvs with miracast built in.