Andy Koppe
Fri Mar 26 09:23:00 GMT 2010

mintty 0.6.1-1 is on its way to the Cygwin mirrors. This is a feature
release with lots of small improvements, for example, dropped files
are now inserted as Cygwin paths and options dialog settings can be
specified on the command line using the new -o switch. The mintty
manual page ('man mintty') was updated to reflect the changes.

The keycodes sent by Ctrl+Shift combinations have changed to control
characters from the so-called C1 range between U+0080 and U+009F. For
example, if Ctrl+Shift+Backspace is configured to delete to the start
of the line in bash (as described in the TIPS section of the manual),
the relevant .inputrc line will need to be changed to one of the
following, depending on character set:

"\xC2\x9F": backward-kill-line # for UTF-8
"\x9F": backward-kill-line    # for ISO-8859-x

Also, please note that due to a security-related change in Cygwin
1.7.2, custom shortcuts and scripts for invoking mintty now need to
state the full path to the command that's to be invoked. For example,
'mintty /bin/zsh --login' rather than 'mintty zsh --login'.

Mintty is a terminal emulator for Cygwin with a native Windows user
interface and minimalist design. Among its features are Unicode
support and a graphical options dialog. Its terminal emulation is
largely compatible with xterm, but it does not require an X server.
Mintty is based on code from PuTTY by Simon Tatham and team.

- Dropping or pasting files into the mintty window now inserts Cygwin
paths rather than Windows paths. Paths with characters that are
special to shells are quoted appropriately.
- Error messages and help output are now displayed in a message box if
writing to stdout or stderr fails, e.g. if mintty is invoked from a
console or a shortcut.
- The 'Duplicate' window command was renamed to 'New', because
'Duplicate' might have raised expectations that the whole session
including the state of all the processes inside it is duplicated,
which isn't really possible. The Alt+F2 keyboard shortcut remains.
- When pasting from the clipboard, convert Unix line endings, i.e.
linefeeds (^J), to carriage returns (^M), because that's what the
Enter key sends. (Sending ^J caused trouble in nano, where that's the
'Justify' command.)

Config-file handling:
- Options can be read from multiple config files by providing multiple
--config switches. If an option is set in multiple files, the last one
- /etc/minttyrc is read before ~/.minttyrc, to allow the administrator
to specify system-wide options.
- Options are stored to the last config file specified, or ~/.minttyrc
otherwise. Only options that have been changed in the dialog are added
to the file.
- Config-file options can now be specified directly on the command
line using the -o/--option switch. For example: -o Font=Consolas

Text display:
- Bold glyphs should no longer get clipped on the left edge, although
depending on the size of the glyphs they might now get clipped on the
- The ColSpacing and RowSpacing allow pixels to be added or removed
between characters. Currently, these don't appear in the options
dialog, i.e. they have to be specified in a config file or on the
command line. ColSpacing=1 can avoid the problem with bold glyphs
being clipped, whereas RowSpacing=-1 works nicely with the Consolas
fonts, which normally leaves a bit too much space between lines.
(Thanks to Paul Martin for the idea.)

- Ctrl+AltGr combinations now work as they do in X11, for example,
+AltGr+Q on a German keyboard yields ^@, because AltGr+Q yields @.
(Thanks to Thomas Wolff for his help with this knotty issue.)
- The AltGr key on non-US keyboards acts as a second Alt key in any
key combinations that the Windows keyboard layout does not have a
keycode for. This can be more convenient than the left Alt key.
- Ctrl+Shift combinations now send control characters in the C1 range
(U+0080..U+009F), encoded in the selected charset. For example Ctrl
+Shift+A will send 0x81 in any of the ISO charsets, and 0x92 followed
by 0x81 in UTF-8. Where C1 control chars aren't supported, Ctrl+Shift
combinations continue to send the same code as Ctrl+Alt combinations
(i.e., ESC followed by ^A in the case of Ctrl+Shift+A).

Locales and charsets:
- The options dialog no longer tries to second-guess the user's locale
and charset field input.
- Support for the Chinese GB18030 charset was added. Cygwin doesn't
(yet) support it though, which is why it doesn't appear in the charset
- The terminal's locale can be changed using urxvt's OSC 701 control
sequence, for example "\e]701;ja_JP.SJIS\a". An empty sequence will
restore the original locale: "\e]701;\a". The previously introduced
mintty-specific sequence for this has been deprecated.

Startup & exit:
- Fall back to /bin/bash rather than /bin/sh if no shell is specified
otherwise. This is for the benefit of Windows domain account users,
for whom Cygwin setup does not create /etc/passwd entries by default.
- Ignore SIGHUP, which means that if mintty is started from a
terminal, closing that terminal won't close mintty. That's what
happened already when mintty was invoked from a console.
- When trying to close the window, follow the xterm approach of only
ever sending SIGHUP rather than escalating to SIGTERM. This leaves it
up to the application running in mintty whether to really close.

- Implemented xterm control sequence for allowing or disallowing
80/132 column mode switching. It's disallowed by default, which cures
an annoying resize when invoking screen with TERM=xterm-256color.
- Fixed crash on Output page of options dialog that occurred when the
Windows printer spooler service was disabled.
- Support for setting different terminal compatibility levels is gone.

The mintty manual is installed as a manpage ('man mintty'), and it's
also available in PDF format at Questions and
comments can be sent to the mintty discussion group at or the Cygwin mailing
list at Please use the issue tracker at to report bugs or suggest


To update your installation, click on the "Install Cygwin now" link
on the web page.  This downloads setup.exe to
your system.  Then, run setup and answer all of the questions.


If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there. It will be in the format:

If you need more information on unsubscribing, start reading here:

More information about the Cygwin-announce mailing list