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

Installing some files into /usr/share/ with cygport (Cygwin packaging utility)

I've been doing some hacking on mintty to get it to support themes. The repo is here https://github.com/PhilipDaniels/mintty My code changes are complete, but I cannot get the packaging using cygport to work. If you look in the repo you can see…
Philip Daniels
  • 994
  • 1
  • 7
  • 25
1
vote
1 answer

completely disable mouse in console vim

I'm using Vim under babun (cygwin). What really annoys me are the problems with mouse. I want to completly disable it. I tried to add to my vimrc everything that I found on net, but nothing works. Take a look at this little presentation. There you…
lkurylo
  • 1,621
  • 33
  • 59
1
vote
1 answer

raw input mode on stdin in Cygwin/Mintty

I want to get my stdin into raw input mode in Cygwin/Mintty. How do I do that? Right now, it is line-buffered. With raw input mode, I mean that read returns on every single entered character. I would prefer to do that without any further…
Albert
  • 65,406
  • 61
  • 242
  • 386
1
vote
1 answer

Files from my home directory not found in cygwin terminal

I'm trying to setup cygwin, but it does not work out of the box. Now I cannot use files from my home directory : $ pwd /cygdrive/c/Users/jb/test $ ls t $ ls t t $ ls ~/test/t ls: File or directory "/cygdrive/c/Users/jb/test/t" is not found $ ls…
Jan
  • 410
  • 1
  • 7
  • 15
1
vote
2 answers

Cygwin terminal window empty

I've just installed cygwin (64bit) terminal on Windows 7 64. When I open cygwin terminal from Start menu, I can only see empty terminal window with blinking cursor. I can issue commands and see output, but prompt is missing (at least $ should be…
Jan
  • 410
  • 1
  • 7
  • 15
1
vote
1 answer

How to fix emacs shift-up key for text selection in mintty on Cygwin

I'm giving emacs a go, and running it in mintty / Cygwin on Windows. I'm running emacs version 24.3.1. I've found that emacs uses ephemeral mode text selection by default these days, with Shift + arrow keys used for selecting text, like most modern…
Barry Kelly
  • 41,404
  • 5
  • 117
  • 189
1
vote
1 answer

AutoHotKey: unexpected mintty behavior

I'm using AutoHotKey to show/hide a mintty terminal window. Here's my AutoHotkey.ahk: ShowHide_(Title, CommandLine) { OutputDebug, ShowHide called DetectHiddenWindows, On ; MatchMode = 2 : The title contains the expression …
gregseth
  • 12,952
  • 15
  • 63
  • 96
1
vote
1 answer

How do I turn echo off under MinTTY?

I have a program that is running under MinTTY (cygwin's shell) and calls to GetConsoleMode/SetConsoleMode fail. _getch echos to the console as well. This is a native win32 app without bindings to the cygwin environment, so any cygwin functions are…
chacham15
  • 13,719
  • 26
  • 104
  • 207
1
vote
0 answers

how to rescue super key in mintty

Lately I intend to use Emacs in Cygwin with mintty, because I found mintty can represent 256 color perfectly. However, the super(win) key seems not to be working in mintty and some other combine-key bindings (like M-p, M-n in minibuffer) do not…
driftcrow
  • 217
  • 1
  • 5
0
votes
1 answer

Converting from rxvt login batch to mintty in cygwin

Here is my cygwin.bat file for starting a cygwin terminal window via rxvt. @echo off C: set PATH=%PATH%;C:\cygwin\bin REM SHELL needed for any screen instances started from bash set SHELL=/bin/bash set HOME=C:\cygwin\home\Dragos set…
user78706
0
votes
1 answer

Can I run a minimised program from task scheduler?

I have a sync program which runs various Git commands to update a repository. So far I have written a functioning .sh script and scheduled it to run periodically from startup. Currently, I will be busy updating things and git bash will appear over…
SKLR
  • 13
  • 6
0
votes
1 answer

he input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'

If you are getting this kind of error then follow these instruction
er.arunkushwaha
  • 138
  • 1
  • 5
0
votes
0 answers

How can a Msys2/ucrt64-console be started with parameters for mintty?

C:\msys64\ucrt64.exe provides console, but does not accept mintty-parameters eg "-p 0,0". C:\msys64\usr\bin\mintty.exe -p 0,0 position is Ok, but the PATH is not correct PATH. How could the correct path be set ? would it make much easier to…
0
votes
2 answers

Git bash in Windows: change the default directory when opening mintty (pwd)

I am loosing a lot of time searching in internet for the following simple setting. I installed git (and git bash) in Windows. What I want is just to open Git Bash and be in the directory I want. I don't want to change my home directory, just be in a…
fresko
  • 1,890
  • 2
  • 24
  • 25
0
votes
0 answers

How can I redirect the output of mingw64.exe to stdout?

I'm using mingw-w64, as provided by MSYS2, to compile an application for Windows with a Makefile. As part of this process, I need to run a configure script within MSYS2. I can execute it in Windows like so: PS C:\Users\Jesse\TheProject> mingw64…
JesseTG
  • 2,025
  • 1
  • 24
  • 48