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
0 answers
25 views

run mintty(cygwin) remotely from jenkins

I am trying to run "configure" and "make" commands on windows platform (cygwin), from jenkins pipeline, running using this below command : bat "${CYGWIN_EXECTION} /cygdrive/c/...
user avatar
0 votes
0 answers
49 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 ...
user avatar
  • 181
1 vote
1 answer
84 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 (...
user avatar
0 votes
0 answers
74 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 ...
user avatar
0 votes
0 answers
38 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 ...
user avatar
  • 111
0 votes
0 answers
27 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 ...
user avatar
  • 1,223
0 votes
1 answer
73 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 ...
user avatar
  • 21.6k
1 vote
2 answers
251 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/ ...
user avatar
  • 11
0 votes
1 answer
69 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 ...
user avatar
0 votes
1 answer
59 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 ...
user avatar
1 vote
2 answers
287 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. ...
user avatar
  • 11
0 votes
1 answer
197 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 ...
user avatar
2 votes
1 answer
853 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 ...
user avatar
  • 1,261
2 votes
1 answer
96 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 ...
user avatar
  • 291
0 votes
1 answer
32 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 ...
user avatar
  • 101
0 votes
1 answer
156 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,...
user avatar
  • 1,077
0 votes
1 answer
184 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 ...
user avatar
0 votes
1 answer
386 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 ...
user avatar
  • 192
0 votes
1 answer
261 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 ...
user avatar
  • 311
1 vote
2 answers
1k 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 ...
user avatar
2 votes
1 answer
432 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 "...
user avatar
3 votes
1 answer
1k 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 ...
user avatar
0 votes
3 answers
768 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 ...
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 "\...
user avatar
  • 111
0 votes
1 answer
305 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\ ...
user avatar
3 votes
2 answers
1k 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 ...
user avatar
  • 796
0 votes
1 answer
129 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 ...
user avatar
  • 835
2 votes
1 answer
1k 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 ...
user avatar
  • 143
1 vote
1 answer
334 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 ...
user avatar
0 votes
1 answer
196 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 ...
user avatar
  • 101
8 votes
2 answers
10k 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 /...
user avatar
  • 984
1 vote
0 answers
804 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 ...
user avatar
  • 372
1 vote
1 answer
1k 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 ...
user avatar
1 vote
1 answer
213 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.
user avatar
  • 179
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 ...
user avatar
  • 107
4 votes
0 answers
463 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 ...
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 ...
user avatar
  • 3,743
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 ...
user avatar
  • 11.2k
0 votes
0 answers
279 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
9k 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:...
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 ...
user avatar
  • 984
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 ...
user avatar
  • 213
4 votes
3 answers
1k 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 ...
user avatar
  • 373
0 votes
1 answer
707 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 ...
user avatar
  • 179
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 ...
user avatar
  • 23
0 votes
0 answers
200 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 ...
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'...
user avatar
  • 494
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 ...
user avatar
  • 797
4 votes
1 answer
972 views

use `bower init` within MinTTY

I'm trying to use bower init from a MinTTY shell on Windows 8.1 x64 but I get this error: sh-3.1$ bower init bower ENOINT Register requires an interactive shell How can I use this command ...
user avatar
1 vote
1 answer
206 views

mintty with AutoHotKey

I'm using a simple AHK script to move windows around: NumpadEnd:: WinMove,A,, 50,730,1000,314 return This works great on everything, except mintty. It just completely ignores it. I have ...
user avatar