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
4
votes
2 answers

MSYS2 does not source .profile

Using MSYS2, if I run msys2_shell.bat, mintty opens a bash login shell, but ~/.profile does not get sourced. Anyway if I run /bin/bash --login inside mintty, ~/.profile get sourced. Why? The same happens if I run path\to\msys64\bin\bash.exe…
antonio
  • 10,629
  • 13
  • 68
  • 136
4
votes
3 answers

Allow clicking in vim in cygwin

I am using vim, which I believe has a click function (you click, it changes the mode from edit, command, etc), however in Cygwin, you can't do that. Then again, I'm not sure if it's clicking is the thing in vim, let alone Cygwin. I am using mintty,…
3
votes
1 answer

Windows10 GitBash hanging for about five minutes on commit: is this normal?

My GitBash's version is 2.36.1My Mintty's version is 3.6.1 (x86_64-pc-msys) [Windows 19044] My GitBash's Mintty terminal hung for about five minutes on commit upon running the following: (master) $ git add . (master) $…
Stefano
  • 85
  • 4
  • 10
3
votes
2 answers

How do configure Windows terminal to launch Cygwin (mintty) bash?

I'm trying to set Windows Terminal to launch mintty.exe with the setting bellow. However, when opening a new bash session, it opens mintty in a new window and not inside a Windows Terminal tab. { "guid":…
Shimon Shrem
  • 125
  • 8
3
votes
1 answer

Opening wsltty in a directory

If in Windows 10 I type wsl, ubuntu or cmd in the address bar of a directory, the relevant console is opened in that directory; is there a way to open the same way mintty/wsltty? I tried putting a shortcut and a symbolic link to wsltty.exe in…
Mauro
  • 135
  • 9
3
votes
2 answers

How to set mintty.exe as the default terminal on Windows?

I am trying to set the https://github.com/mintty/mintty terminal installed by Cygwin as the default Visual Studio Code terminal with: "terminal.integrated.shell.windows": "D:\\Cygwin\\bin\\mintty.exe", But it opens the Mintty.exe terminal on a new…
Evandro Coan
  • 8,560
  • 11
  • 83
  • 144
3
votes
2 answers

Shell: Copy list of files with full folder structure stripping N leading components from file names

Consider a list of files (e.g. files.txt) similar (but not limited) to /root/ /root/lib/ /root/lib/dir1/ /root/lib/dir1/file1 /root/lib/dir1/file2 /root/lib/dir2/ ... How can I copy the specified files (not any other content from the folders which…
Patrick Storz
  • 425
  • 4
  • 14
3
votes
0 answers

Activator/Play commands make Cygwin bash commands invisible

I'm using Cygwin and any time I use an Activator command (e.g., activator run or activator "eclipse with-source=true"), any text thereafter is invisible. It's being typed, because if I hit enter, the command will be executed, but I cannot see…
liltitus27
  • 1,670
  • 5
  • 29
  • 46
3
votes
1 answer

Can't login to heroku with mintty

When I run heroku in mintty (tried both mingw and cygwin) it's do nothing, no e-mail promt. But when I run heroku via bash (mingw or cygwin) it's act as expected (ask my heroku credentials). Whats wrong with mintty. Also tried with clear minttyrc…
remtsoy
  • 465
  • 1
  • 3
  • 15
3
votes
3 answers

Able to push, fetch but not pull

So I just spent ~ 4 hr trying to get an repo working under an SSH URL on windows, I'm almost there, but I run into this weird issue. I am able to use git push origin master git fetch origin master ssh git@github. #tells me authentication is…
XrXr
  • 2,027
  • 1
  • 14
  • 20
3
votes
2 answers

Opening PostgreSQL in Cygwin and MINTTY

I can't seem to open the interactive mode of PSQL using MINTTY or using the default Cygwin terminal, it just stalls under the command psql databasename and does nothing. The only way to get it to respond is to ctrl+C out of it. It works fine in…
TimY
  • 5,256
  • 5
  • 44
  • 57
2
votes
1 answer

Setting up emacs on Cygwin

I'm currently trying out Cygwin. I am trying to get emacs to open in terminal mode. When I run $ emacs -nw through mintty with the Cygwin shell. I get bash: emacs: command not found. I am running Windows Vista SP2 if that helps. I think you need to…
Anish Gupta
  • 2,218
  • 2
  • 23
  • 37
2
votes
2 answers

How to use the terminal tabs feature in mintty/MSYS2?

According to https://github.com/mintty/mintty/issues/944 since mintty 3.5.1 there should be a tab bar where you can open multiple tabs with terminals in parallel. For that reason I performed an installation of MSYS2 which includes mintty 3.5.1, as…
Regis May
  • 3,070
  • 2
  • 30
  • 51
2
votes
1 answer

How do I change the launch position of Git Bash for Windows?

Whenever I launch the Git Bash window, it always starts at the upper left corner of the screen, so I have to drag it to the center to see it clearly. Is there a way to change the default launch position, so that I don't have to drag it every time I…
kohane15
  • 809
  • 12
  • 16
2
votes
1 answer

Incorrect display of 4 byte emojis in vs code integrated terminal

Why is my VSCode integrated terminal not able to show correct emojis: Text file: Emoji which produces with cat file.txt the output: � Emoji I use a proper UTF8 font MesloLGS NF (pk10 powerline font). I use git-bash.exe. Starting git-bash.exe from…
Gabriel
  • 8,990
  • 6
  • 57
  • 101
1 2
3
9 10