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

Error in code to put stderr in red in Zsh?

I do have some code to highlight stderr in red, in Zsh; I've copied it from https://github.com/fniessen/shell-leuven#stderr-in-red However, there are strange things happening: the red is sometimes "broken" by stdout, and then continues up to the end…
user3341592
  • 1,419
  • 1
  • 17
  • 36
0
votes
1 answer

display accented characters on mintty (cygwin) console?

in a nutshell, i would like to be able to type and display characters from iso-8859-1 on my cygwin mintty. unfortunately i haven't figured out how to do this. my locale : $…
david furst
  • 329
  • 4
  • 17
0
votes
1 answer

Cygwin gives "No such file or directory" error when running a shell script that executes another shell script

I have created a simple shell script which executes another shell script within the same directory. Both scripts work without issue when executed outside of cygwin, but when I execute the file in mintty, I get a "No such file or directory" error. I…
Blake Simmons
  • 426
  • 1
  • 8
  • 23
0
votes
1 answer

ANSI sequence to change foreground and background color of cygwin mintty/Mac iTerm/Unix xterm

I typically have a lot of windows open on a lot of different computers. I want to have the .bash_profile on each machine set the foreground and background color to a color that is specific for that machine. I use mintty on Cygwin, and iTerm on the…
vy32
  • 28,461
  • 37
  • 122
  • 246
0
votes
1 answer

Git bash, using VIM 8.1 on Windows :Term command. Node REPL not working correctly

I'm working on a corporate network (windows pc) with little access to tools like tmux, cmder etc.. however after recent update to git bash, we have access to Vim v8.1 which has a terminal built in. I can load up vim and the type :term to load up a…
Mantisimo
  • 4,203
  • 5
  • 37
  • 55
0
votes
1 answer

Cannot save git-bash window options

I'm not able to save the mintty windows options due to a not properly set home folder in company's computer. I've edited etc/profile, adding: # Added by myself # set-up home…
Raf
  • 1,628
  • 3
  • 21
  • 40
0
votes
0 answers

Is there a way to get the powerline effect with mintty unders windows 10 bash?

I know I can install zsh under bash, but for various reasons I'm stuck with mingw.
MeeBee
  • 123
  • 1
  • 6
0
votes
1 answer

How to execute Cygwin commands from LabView

Normally, I manually execute some Cygwin commands to run a Makefile. It is just a chain of 2 commands: $ cd 'path\to\my\folder' $ make I would like to automatize this task by running a labview program that does this for me, but i do not know how to…
Jorge S
  • 81
  • 1
  • 9
0
votes
0 answers

Tmux pane current command

i have started using tmux recent past . So far so good . while exploring the option , i found an option as #Enable names for panes set -g pane-border-status top --> I see this as working with no issue. #Automatically assign a name set…
Varja
  • 29
  • 5
0
votes
2 answers

Ncurses,empty screen if I resize the terminal windows in C

this is the code: #include int main() { initscr(); curs_set(2); for(int i=0;i
CHIRAQA
  • 33
  • 5
0
votes
1 answer

Git Issue using Cygwin

I use cygwin with mintty terminal to simulate a linux commandline environment under windows. It's really helpful because I can use e.g. git with aliases via commandline. But I recognized an issue using GIT via cygwin. When I try to use 'git rebase…
Ben
  • 696
  • 9
  • 19
0
votes
1 answer

bash process started from C# returns unexpected characters

I started bash (cygwin) from C# and I for that purpose created a new process from C:\\cygwin64\\bin\\bash.exe with the arguments --login -i. I've also redirected its output. Bash runs, but the output contains unexpected characters like [0m[37;1m…
newpeople
  • 336
  • 2
  • 12
0
votes
2 answers

In a windows shortcut to bash (cygwin/mintty) can you extract the folder part of a parameter?

Sorry if the question title is hard to understand, it was difficult to phrase. Regarding the following question and answer: open-cygwin-at-a-specific-folder In LindseyD's answer it tells you how to setup a windows "sendto" shortcut to open a folder.…
code_fodder
  • 15,263
  • 17
  • 90
  • 167
0
votes
0 answers

How to copy cygwin mintty window settings to another computer?

I'm wondering where does mintty keep its settings (like cursors, window size, font, etc. Basically what you get when right clicking on cygwin window header and selecting "Options..."). I need it to be able to automatically copy all the cygwin window…
NetStranger
  • 69
  • 2
  • 7
0
votes
0 answers

write to stdin of mintty using ruby

I try to start a mintty instance (running ssh) with a ruby script. When ssh asks for the password i would like to enter the password with the script. I've tried the following: f = IO.popen("C:/.../cygwin/bin/mintty.exe /usr/bin/ssh user@host",…
Benedikt Bock
  • 1,007
  • 15
  • 37
1 2 3
9
10