Questions tagged [mintty]

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 an X server. Its terminal emulation is aimed to be compatible with xterm.

Filter by
Sorted by
Tagged with
0 votes
1 answer
48 views

How can I temporarily prevent a WSL WSLTTY terminal from automatically closing?

I have a shortcut on my taskbar that opens a WSLTTY terminal. When I click on it, it flickers open and immediately closes. I suspect there is an error message being printed but it closes too fast for ...
Daniel Kaplan's user avatar
0 votes
0 answers
85 views

Cygwin mintty fails to start, requires Cygwin install finalization to run properly

I have a recurring problem using Cygwin (on a Windows 10 machine with a bunch of corporate spyware/malware which I had to live with). Whenever I install or update Cygwin - everything seems to work ...
einpoklum's user avatar
  • 9,423
0 votes
0 answers
13 views

Git-bash on Windows is missing mintty [duplicate]

I have installed and use git-bash for windows, but when I check Options -> Terminal -> Type - I don't have mintty option. Tried reinstalling git-bash - no luck. Tried to install msys2, and it ...
pesho hristov's user avatar
0 votes
0 answers
121 views

Cygwin ctrl-number not working (in cli emacs)

Cygwin ctrl-number is not working in cli emacs. I disabled the mintty options for keyboard shortcuts, so now ^- does work the same as ^u -1. Still, ctrl-number shortcuts do not work in emacs. ^4 ^x o ...
memtha's user avatar
  • 181
2 votes
1 answer
381 views

Cygwin / mintty window size and GNU bash readline do not get along?

I have a problem with the Cygwin / mintty window size and the standard GNU bash readline shell. When I have 80 columns or less it works normally. But when I make the window wider then the bash (...
Gunther Schadow's user avatar
0 votes
0 answers
250 views

cygwin / mintty color scheme woes

I heavily rely on Cygwin (that uses mintty) and SSH to work on remote systems on command lines and then using emacs in text mode as editor. I find the default color schemes of the cygwin shell ...
Gunther Schadow's user avatar
2 votes
0 answers
239 views

Why isn't Esc working in vim in tmux in Mintty?

I sometimes use Mintty from Windows to ssh to a server, where I use vim (neovim) inside tmux. I have used this setup for years without issue. However, recently I have had the odd issue that pushing ...
polm23's user avatar
  • 141
0 votes
0 answers
39 views

Cygwin's MinTTY behaving strangely with case sensitive names

Cyginw's MinTTY sorts files incorrectly on: ls -al Example: S@DESKTOP-SCRPN /cygdrive/c/Users/S/Downloads $ ls -al total 153 drwx------+ 1 S None 0 Feb 5 17:11 . drwxrwxr-x+ 1 SYSTEM ...
Shayan's user avatar
  • 1,524
0 votes
1 answer
230 views

In Mintty(terminal people favour for cygwin), can you get ENTER to not send a carriage return when text is highlighted?

In Mintty(terminal people favour for cygwin), can you get ENTER to not send a carriage return when text is highlighted? For example, in cmd, if you go to properties..options..quickedit mode, then you ...
barlop's user avatar
  • 23.8k
1 vote
2 answers
841 views

Mintty terminal emulator: how to use “Image screenshot export”?

I'm programming in Bash (Git BASH) on Windows Server 2012R2. From within my bash scripts, I would like to make a Screenshot of the mintty window, I'm running in. According to https://mintty.github.io/ ...
Irv's user avatar
  • 11
0 votes
1 answer
138 views

While gvim is running, mintty displays Unicode UTF-8 characters as question marks

When I fire up gvim in the background in a Cygwin mintty terminal, Unicode UTF-8 characters start getting displayed as question marks. When I quit gvim, mintty reverts to the correct behaviour. In ...
Diomidis Spinellis's user avatar
0 votes
1 answer
289 views

How to turn on zle?

Having read the zshzle man page, I wanted to try out the zle_highlight parameter, and typed in my interactive zsh zle_highlight=(blue bold) with no visible effect. Digging further, I found that the ...
user1934428's user avatar
1 vote
2 answers
1k views

Shift-arrow keys send ABCD in Git Bash on Windows 10

My git bash isn't working. It's probably some setting I tampered with and I don't remember what it is. I don't know why Shift-left and Shift-right arrow don't select text but send D and C characters. ...
4R1u's user avatar
  • 11
0 votes
1 answer
470 views

mintty support for sixel graphics?

I have mintty 3.06 installed, running Ubuntu 18.04 with WSL1. This should support sixel graphics as far as I know, but no graphics have worked. I try: img2sixel png|jpeg w3m -o ext_image_viewer=0 ...
user318904's user avatar
3 votes
1 answer
1k views

Copy tmux selection to windows clipboard in cygwin/minTTY

I use tmux in my cygwin-minTTY in windows, with mouse-support. When I select a text in the terminal, it gets copied to the tmux buffer. But I want to have it in the Windows clipboard! I can run ...
Bowi's user avatar
  • 1,477
2 votes
1 answer
140 views

Squashed unicode heavy check mark in Consolas Mintty

I use git bash prompt which uses the heavy check mark (U+2714), however using the Consolas font in Mintty the symbol appears squashed. The regular check mark (U+2713) appears normally. I've tried ...
JDN's user avatar
  • 301
0 votes
1 answer
46 views

When I press up-arrow in 'less' in mintty (cygwin), only the top line changes. How do I fix this?

Here is what is happening: How do I fix this? (Just to be clear, the issue occurs when I type less <any filename>. The man less in the gif is just an arbitrary command to demonstrate the ...
Kyle's user avatar
  • 101
1 vote
1 answer
254 views

Regex match failing in GNU grep on Windows Server

Here's the head of my file: id,date,section,identifier,action,level,user_id,week,month,seconds_since_start 9464384,334600,12,,complete,4,1124822691805,1,1,1 9464413,334626,12,,complete,4,...
dumbledad's user avatar
  • 1,116
0 votes
1 answer
289 views

Using nano in Cygwin's Mintty: Shortcuts don't work when editing git commit message

I'm using Cygwin with Mintty and have set the git editor to nano: git config --global core.editor "nano". Now when I just run nano, the UI is black and white and the shortcuts, like ctrl+o and ctrl-x ...
804b18f832fb419fb142's user avatar
0 votes
1 answer
502 views

How to install locale for Cygwin?

I've installed Cygwin on window10. The language installed on window in French Canadian. When I right-click on title bar of Cygwin window and choose Options..., I got this below. On Window7, cygwin ...
Luc M's user avatar
  • 192
0 votes
1 answer
379 views

Issue Embedding Git Bash in RoyalTS

I'm trying to embed Git Bash into Royal TS v5 and I'm having some issues getting it working. The way that I have it set up at the moment is as an embedded external application within Royal TS. I ...
Meow_ly's user avatar
  • 331
1 vote
2 answers
2k views

Cygwin - mintty.exe is stuck when I try to quit

I'm running Windows 10 with Cygwin. When opening Cygwin from the start menu (Pointing to C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico - and then entering "exit", the process gets unresponsive ...
David Kon's user avatar
3 votes
1 answer
1k views

What are the .tmux.conf bindings for Ctrl-Shift keyboard shortcuts with Cygwin/Mintty?

My question is pretty much exactly as the post below, but the answers to the below post do not specify the lines added to .tmux.conf. Specifically I would like to know how to bind ctrl-shift-A to "...
Kevin2342's user avatar
3 votes
1 answer
2k views

Control character 0x96 sneaks in when copying from or pasting to Git Bash terminal window

I'm on Windows 10 and I'm using Git Bash. When I copy from or paste into this window, sometimes are stray character `` (decimal 150, hex 0x96) appears in the beginning of the string. This character ...
lolmaus - Andrey Mikhaylov's user avatar
0 votes
3 answers
936 views

cygwin "Bash Prompt Here" not working with umlauts

Using the windows explorer context menu entry "Bash prompt here" that is installed with the cygwin package chere does not work, when the path contains a German umlaut in any position. E.g.: using it ...
jf1's user avatar
  • 101
1 vote
0 answers
1k views

How to enable colors with Win32-OpenSSH and Putty?

Summary There seems to be a bug in Win32-OpenSSH that prevents colors to be shown in certain terminal emulators such as PuTTY and mintty. Win32-OpenSSH seems to replace the color escape sequence "\...
David's user avatar
  • 111
0 votes
1 answer
339 views

How do I use Hamilton C Shell with mintty?

I'm trying out the Hamilton C Shell but I haven't been able to make it run interactively with mintty. I've tried running it from Cygwin: $ /cygdrive/c/Program\ Files/Hamilton\ C\ shell\ 2012\ x64\ ...
ArthurChamz's user avatar
5 votes
2 answers
2k views

mintty: how to keep my output visible after processes terminate?

I have a desktop shortcut that starts a cygwin bash script and I want the mintty terminal to stay open after my script terminates so that I can look at it's output. For this purpose I'm using the -h ...
ndemou's user avatar
  • 1,110
0 votes
1 answer
209 views

How to detect whether use `.inputrc` or not

I need add "\e[1;5C": forward-word # ctrl + right "\e[1;5D": backward-word # ctrl + left in ~/.inputrc to make tmux works in msys2. But this would corrupt git-bash, how do I make only msys2 ...
Mithril's user avatar
  • 937
2 votes
1 answer
2k views

How do I use Ctrl-Shift keyboard shortcuts for Tmux, with Cygwin/Mintty?

I want to use "1-step" keyboard shortcuts for Tmux, when used from Cygwin/Mintty. I can't get them to work, so for now I have to use the default "2-step" keyboard shortcuts for Tmux, which I don't ...
oblio's user avatar
  • 143
1 vote
1 answer
363 views

VIM showing "m" near white space on Cygwin

I recently upgraded all the packages on my Cygwin (x64) install and since then, my VIM shows "m" at the start of some lines and around whitespace. (My guess is that it might be in places where escape ...
Gert van den Berg's user avatar
0 votes
1 answer
207 views

Periodic input to Windows gitbash terminal

My bash terminal is receiving a space (chr 32) immediately followed by a backspace (chr 8) every 5 seconds (almost exactly). The effects aren't noticeable when typing, as the added space is deleted ...
wutch's user avatar
  • 101
11 votes
3 answers
14k views

How can I change my MinGW/MSYS + mintty home directory?

I use mintty as my console emulator for MinGW/MSYS. Recently (I'm not certain exactly when), the home directory used by this combination changed from my Windows user folder (/c/Users/<me>/) to /...
Ben Blank's user avatar
  • 1,064
1 vote
0 answers
813 views

tmux fails to start in babun

I am trying to get tmux to work in babun. This basically means I am running zsh, oh-my-zsh, mintty and cygwin on Windows (64-bit Windows 7). Babun comes with a package manager, pact, that I used to ...
Octaviour's user avatar
  • 462
1 vote
1 answer
2k views

Windows10: ubuntu bash shell + mintty: tmux copy selection

I'm using tmux under WSL Ubuntu bash shell in Windows 10 with mintty terminal (https://github.com/mintty/wsltty). In tmux: Ctrl+B, then Ctrl + Space I can make a selection (shown on screenshot). But ...
WHITECOLOR's user avatar
1 vote
1 answer
244 views

How to config minttyrc for zoom

How to do this automatically? I have to press Ctrl++ multiple times every time I open mintty to zoom the screen. Thanks and welcome.
facebook's user avatar
  • 209
0 votes
1 answer
1k views

Run C program in mintty from the windows command line

I want to run a C program in mintty and divert the stderr output stream to a file, debug.txt. This may be accomplished using: ./zombie_jump 2>debug.txt However, I am having issues lauching this ...
Dimpl's user avatar
  • 107
4 votes
0 answers
488 views

Change mintty title according active tmux window (cygwin)

How can I change mintty terminal title to show title of active tmux window? For example: I would like in this case title to be active tmux window - ncmpcpp or even better if possible title provided ...
vedar's user avatar
  • 41
4 votes
1 answer
2k views

mintty on Cygwin: how to change line spacing

I have cygwin installed on windows 7. Previously, there was no space between lines. I was able to fit ~90 lines on my screen. For some reason, now there is a small (looks like 2 pt) space between ...
ewok's user avatar
  • 4,191
1 vote
1 answer
2k views

How to make MinTTY close gracefully on Ctrl-C?

I would like some servers, like MongDB, to run inside terminal under Windows. I use the following command to run them: start <PATHTOMONGO>\mongod.exe --dbpath <PATHTODATA> Standard ...
Dims's user avatar
  • 12.7k
0 votes
0 answers
319 views

How to make conemu windows key hotkeys work for mintty admin child windows?

I am using ConEmu on Windows 10v1511 and when I open a new mintty console with -new_console:a (as explained here) then certain hotkeys (win+q, win+1-9) stop behaving as normal - it appears to be ...
user avatar
10 votes
2 answers
10k views

Editor for 'git bash' on Windows (editor for mingw/msys+mintty)?

I am using 'git bash' for Windows (from 'git for Windows') which in turn consists of mingw+msys and a mintty. This mingw installation contains a 'vi' editor which works in the mintty. Good. Question:...
Johannes Overmann's user avatar
8 votes
1 answer
7k views

How can I use mintty as the terminal emulator for MinGW/MSYS?

The default "terminal emulator" in Windows leaves a lot to be desired. I see mintty recommended as a lightweight alternative with specific support for MinGW/MSYS, but not much information on how to ...
Ben Blank's user avatar
  • 1,064
1 vote
1 answer
6k views

Changed cygwin home location, now the terminal can't find my .minttyrc config file

I had to change the HOME location for Cygwin by setting it to pick up the directory I set in /etc/passwd (following the solution from here). It seems to not be a problem for the majority of my ...
Shaun's user avatar
  • 253
4 votes
3 answers
2k views

How to setup background image on Cygwin?

I am looking for a way to setup a background image on Cygwin. In the options of Cygwin shell Mintty there is no settings available to setup background image. Is there any other way to setup ...
peter7558's user avatar
  • 383
0 votes
1 answer
776 views

Cygwin Mintty unicode doesn't display fail despite having dejavu sans mono and everything

Edit the problem is ubuntu machine can't display \u03bb as greek lambda symbol ubuntu is remote: [ubuntu@ubuntu:~]$echo -e "\xce\xbb\x0a" λ [ubuntu@ubuntu:~]$echo -e "\u03bb" \u03BB this is ...
facebook's user avatar
  • 209
2 votes
1 answer
1k views

ConEmu and ASCII characters

I've been using ConEmu for quite a while, and I'm having some problems with ASCII characters in it. This doesn't happen with other terminal emulators, such as urxvt or mintty, here's a shot with the ...
Jumi's user avatar
  • 23
0 votes
0 answers
205 views

mintty problems with Windows 8.1 on-screen keyboard (tablet) and Alt-Gr keys

On a tablet running Windows 8.1 I installed Cygwin 2.0.0 64. Unfortunately I have issues using the on-screen (virtual) keyboard with Alt-Gr keys from within mintty. Example: In Germany to get to the ...
Richard C's user avatar
2 votes
1 answer
4k views

Shortcut to run mintty.exe with ConEmu

I'm trying to create a shortcut to start Cygwin's mintty.exe (logged in with default config) in ConEmu. The only way I was able to start mintty inside ConEmu via shortcut was by defining the shortcut'...
Rotareti's user avatar
  • 504
1 vote
2 answers
4k views

Cygwin's MinTTY takes about a minute to start up

When I open MinTTY from outside an existing MinTTY, the new terminal window takes about a minute to show up. My Windows shortcut is set to run C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -. The ...
Matt's user avatar
  • 857