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.

82 questions
46
votes
9 answers

How to change the title of the mintty window?

MinTTY is the new default Console for Cygwin. What's a shell command (something I can put in .bashrc, or even better, in .zshrc) to change the title of the MinTTY window ? I'd like the title of the window to be the path to the current directory, and…
Leonel
  • 861
25
votes
2 answers

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 nothing. How can I get a nice 256 color palette…
Zombies
  • 3,972
18
votes
3 answers

Function key shortcuts in PuTTY/MinTTY and Tmux/Byobu

As a long-time lurker on Stack Exchange, I've found answers to most of my problems without needing to so much as make an account. But today I'm completely stumped with this issue, so I'm reaching out for help. I've recently discovered Byobu, a…
16
votes
10 answers

Cygwin/Git Bizarre Terminal Issue

Alright, this is weird. First off, this is mintty running on up-to-date cygwin, with git pulled from cygwin's setup.exe. I am running zsh. $ git clone https://@// ~/src/project/dev Initialized empty Git repository in…
emptyset
  • 431
14
votes
3 answers

cygwin + mintty + vim backspace problem

I have installed vim, mintty via cywin on XP. The problem is when I try to hit backspace in VIM edit mode, the cursor move back a character instead of wiping the previous char. How can I tweak this odd behavior?
11
votes
2 answers

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: Are there any other editors available which run…
Johannes Overmann
  • 911
  • 3
  • 9
  • 19
11
votes
3 answers

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//) to /home//, which is causing minor havoc for me. How…
Ben Blank
  • 1,094
10
votes
3 answers

ZSH with mintty on latest cygwin?

Does anyone know how to set mintty to use zsh on the newest cygwin install?
flumpb
  • 495
9
votes
2 answers

Cygwin + zsh: Home and End keys not working

I cannot get Home and End keys to work for zsh under Cygwin. Various sources seem to suggest that bindkey '\e[1~' beginning-of-line bindkey '\e[4~' end-of-line will fix the problem but this does not work for me. Strangely, after I enter bindkey…
mavroprovato
  • 313
  • 2
  • 10
8
votes
1 answer

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 actually use it as such. How can I instruct…
Ben Blank
  • 1,094
8
votes
4 answers

Using SQLite3 with Cygwin

I'm trying to use sqlite3.exe command shell with a mintty terminal in cygwin. I tried the program from a windows command prompt and it works. When I try to use it from the cygwin mintty terminal it seems like the program hangs. I can see the…
jmq
  • 429
5
votes
4 answers

How do I change colors on-the-fly in mintty?

How do I change the colors in a Cygwin mintty session which is already open? Is it possible? Use case: Under environment-imposed time constraints, multiple terminal windows have been opened without forethought. In order to reduce the risk of…
5
votes
2 answers

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 always mintty option[1]. The window does stay open…
ndemou
  • 1,280
  • 1
  • 13
  • 21
4
votes
3 answers

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 background image?
peter7558
  • 383
4
votes
1 answer

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 inside MinTTY?
1
2 3 4 5 6