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
1
vote
1 answer

Detecting if stdout is a console with MS Visual compilation, with console provided by mingw64

I maintain a command line utility that generates binary data. Data can be redirected towards stdout when requested. This is valid when stdout is redirected to a pipe or a file, but less so when stdout is a console, as it would garbage the…
Cyan
  • 13,248
  • 8
  • 43
  • 78
1
vote
1 answer

Change mintty keyboard shortcuts

mintty 2.8.5 for MSYS2 uses Shift+Insert for pasting. But on my laptop the Insert btn is unhappily combined with Delete key, i.e., to actually paste in mintty I need to press Shift+Fn+Delete, which is annoying. Is it possible to bind the mintty…
a tired guy
  • 235
  • 1
  • 6
1
vote
2 answers

Running .bat file in mintty

I am provided a .bat file which some script I need to execute. I have the Git bash mintty console for Windows and want to run it from there. From a normal Windows console it works normally but in mintty I get : $ script.bat bash: script.bat: command…
Charles
  • 988
  • 1
  • 11
  • 28
1
vote
1 answer

Git for Windows pastes clipboard on

Installed Git for Windows 2.14.1. Pressing the 'Enter' button in the Git Bash terminal pastes the clipboard. All options are default. I've also tried options in many different configurations. But I can't figure out how to stop the pasting on…
TryThis
  • 354
  • 2
  • 11
1
vote
1 answer

How do I play nice with Cygwin?

I have a C/C++ program, written for Windows, and compiled with Visual Studio. And it's a command-line tool, which means that it could reasonably be run under Cygwin Bash, likely in MinTTY, and some of its users are now doing so. I'd like to change…
Sean Werkema
  • 5,810
  • 2
  • 38
  • 42
1
vote
0 answers

No command prompt within "vagrant ssh" in mintty/cygwin

When I run "vagrant ssh" within my Cygwin terminal, the ssh session has no command prompt, meaning commands and results are all inline which makes it pretty difficult to work with. In addition my tab-autocomplete doesn't work but I think this is…
AGemmell
  • 19
  • 4
1
vote
1 answer

Why isn't git bash transforming the path to *nix notation for my python installation?

Working on Windows 7, I've installed git with the git bash and then installed python and am having trouble running it from the command line. Here's what I've learned so far: *nix uses : as a path separator. Therefore C:/Users/Someone would be seen…
temporary_user_name
  • 35,956
  • 47
  • 141
  • 220
1
vote
1 answer

MinTTY Terminal Customization with .minttyrc

As you know, you can customize the Cygwin terminal by editing .minttyrc. I only use windows and when I first encountered and used Linux I immediately fell in love with the terminal. I have used Ubuntu (bee box for web testing) and Kali Linux (Debian…
1
vote
1 answer

How to set up the apps key in conemu so it doesn't open the mintty menu

I use Conemu and Cygwin at home and at work, and I was trying to get the keyboard and highlighting to behave the same way in both places, so I imported my home Conemu settings file into my work Conemu, and now I've lost my ability to use…
Matt Gregory
  • 8,074
  • 8
  • 33
  • 40
1
vote
1 answer

Shell command to open other shells and run commands

I'm attempting to script a process to open two additional shell windows and send commands to them to run some node modules I have installed. This is my first time doing bash scripting so if I'm screwing something up please feel free to let me…
Ben Black
  • 3,751
  • 2
  • 25
  • 43
1
vote
2 answers

msys not flushing output

I'm using mingw with msys and mintty on windows. I have a problem that msys and mintty are somehow not flushing output until a command is finished. This means I can't really run any interactive programs. For example, if I have in…
mihyar
  • 29
  • 7
1
vote
1 answer

Mobaxterm profile will be reset when I restart the Mobaxterm

I use home edition Mobaxterm,and my /etc/baseprofile will be reset when I restart the Mobaxterm. Not only /etc/baseprofile, but also other files, such as /etc/hosts will meet the same situation. How can figure out this problem?
gdut-zdc
  • 11
  • 1
  • 3
1
vote
1 answer

How can I change font zoom progression in mintty

ctrl+/- change font size on mintty terminal. However, the steps in some place are quite large. Can I change the progression so I can fit to my window better?
ManInMoon
  • 6,795
  • 15
  • 70
  • 133
1
vote
1 answer

Emacs isn't working with this key sequence?

I'm trying to bind backwards-kill-line to Ctrl-Backspace. The following binds work: (global-set-key (kbd "C-\d") 'backward-kill-line) ; emacs-w32 (global-set-key (kbd "\b") 'backward-kill-line) ; xterm However, when I log into ssh from Windows I…
Zhro
  • 2,546
  • 2
  • 29
  • 39
1
vote
0 answers

Cygwin inserting odd carriage returns without line breaks when running Python script

I'm writing a Python script to interpret text files as random tables, and roll on them. The script works great when I run it from within Sublime Text. For example, here's some output from the build window in ST: Getting random from 2500: Gold music…
Asmor
  • 5,043
  • 6
  • 32
  • 42