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

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

Yeah, so my git bash isn't working. It's probably some setting I tampered with and I don't remember what it is, and I don't know why Shift-left and Shift-right arrow don't select text but send D and C ...
0
votes
0answers
15 views

Bash on Windows: find PID of mintty

Is there a way for a third process to discover the correspondence between bash.exe and the terminal emulator in which it is running. In my case the terminal emulator is mintty. I know I can type echo ...
0
votes
1answer
9 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 ...
2
votes
1answer
371 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 ...
0
votes
0answers
36 views

cygwin xterm-256color under mintty issue

I have the set -o vi in my .bashrc file so I use a vi-style interface on the command-line where I can press esc and k and j to flip through the command history or \search term to jump to a prior line. ...
2
votes
1answer
62 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 ...
0
votes
1answer
24 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 ...
0
votes
0answers
23 views

Dragging a file from windows explorer to cygwin does not expand to the file path

I setup a new computer and installed cygwin. In my previous install, if I would take a file from windows explorer and drag it into the cygwin terminal, the prompt would contain the full path to that ...
0
votes
1answer
71 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,...
0
votes
1answer
101 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 ...
0
votes
1answer
194 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 ...
0
votes
1answer
157 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 ...
0
votes
2answers
692 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 ...
2
votes
1answer
211 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 "...
2
votes
1answer
536 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 ...
0
votes
3answers
523 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 ...
1
vote
0answers
821 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 "\...
0
votes
1answer
270 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\ ...
2
votes
2answers
766 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 ...
0
votes
1answer
93 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 ...
2
votes
1answer
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 ...
0
votes
1answer
297 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 ...
0
votes
1answer
188 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 ...
7
votes
2answers
6k 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 /...
1
vote
0answers
795 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 ...
1
vote
1answer
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 ...
1
vote
1answer
186 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.
0
votes
1answer
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 ...
4
votes
0answers
422 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 ...
3
votes
1answer
1k 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 ...
1
vote
1answer
1k 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 ...
0
votes
0answers
250 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 ...
8
votes
2answers
7k 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:...
7
votes
1answer
6k 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 ...
1
vote
1answer
5k 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 ...
3
votes
3answers
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 ...
0
votes
1answer
664 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 ...
2
votes
1answer
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 ...
0
votes
0answers
197 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 ...
2
votes
1answer
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'...
1
vote
1answer
3k 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 ...
4
votes
1answer
970 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 ...
1
vote
1answer
197 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 ...
0
votes
1answer
933 views

How to open multiple Mintty windows in Windows 8? [duplicate]

When I click Mintty's shortcut, it opens, if I click it again, it just returns focus to the window it had opened earlier. This is the shortcut's command I am using (I came to use it because it avoids ...
21
votes
2answers
18k views

Enable 256 colors for cygwin under mintty?

I am using cygwin via mintty, which is the default. I installed ncurses. I then run these commands to see what my color pallet is for this terminal session: $ tput colors 8 I have googled but so far ...
1
vote
2answers
2k views

Running cygwin chere in mintty

Whenever I use chere's "Bash Prompt Here", the bash prompt runs in Window's cmd.exe. Is there a way to have it directly run mintty in the directory, instead of just cmd.exe with bash?
2
votes
1answer
618 views

remove 'Starting /bin/bash.exe' on cygwin chere

Is there a away to remove Starting /bin/bash.exe when right clicking Bash Prompt Here.
4
votes
1answer
2k views

How do I get MinTTY working with UTF8

I am using msys mintty on vista. My font is Deja Vu Sans Mono, which has excellent unicode coverage. The simplest test is to just cat this file: http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-...
3
votes
3answers
2k views

It there any tiled console/command prompt for Windows OS?

I need to monitor 2-4 console windows at the same time. Now I'm using 4 cygwin mintty windows, each takes 1/4 of my whole desktop space. The problem is that they aren't tied together. And if I switch ...
0
votes
1answer
3k views

How to set path for MinTTY under windows/cygwin correctly?

I made windows shortcut with the following target: D:\APPS\cygwin64\bin\mintty.exe /bin/env PATH=/local/bin:/usr/local/bin:$PATH /bin/bash --login -i I was expecting it prepend path with my given ...