Skip to content

Commit

Permalink
2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mintty committed Sep 6, 2016
1 parent 970e1d6 commit 2a4034f
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/appinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#define MAJOR_VERSION 2
#define MINOR_VERSION 5
#define PATCH_NUMBER 0
#define PATCH_NUMBER 1
#define BUILD_NUMBER 0

// needed for res.rc
Expand Down
2 changes: 1 addition & 1 deletion src/winmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ load_dwm_funcs(void)
}
}

#define debug_dpi
#define dont_debug_dpi

bool per_monitor_dpi_aware = false;
uint dpi = 96;
Expand Down
11 changes: 8 additions & 3 deletions wiki/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
* Fix disappearing VT100 graphic characters when font size too small (#578).
### 2.5.1 (6 Sep 2016) ###

* Fixed disappearing VT100 graphic characters when font size too small (#578).
* Fixed font scaling behaviour in Windows 7 and XP (#492).
* Fixed DPI scaling of Options menu (#492).
* Fixed font description formatting in Options menu.

### 2.5.0 (23 Aug 2016) ###

Expand Down Expand Up @@ -635,7 +640,7 @@ Keyboard:

Scrollback:
* Added an option to enable the command line scrollback when on the alternate screen (used by fullscreen apps such as editors). This option is off by default, in which case the mousewheel now sends standard cursor keycodes when on the alternate screen. Hence, mousewheel scrolling in 'less' should now work without special configuration.
* The mintty-0.4 mousewheel keycodes can be enabled and disabled using the new control sequences `\e[?7787h` and `\e[?7787l`. These can be used to distinguish the mousewheel from the cursor keys without enabling full mouse reporting.
* The mintty-0.4 mousewheel keycodes can be enabled and disabled using the new control sequences `\e[?7787h` and `\e[?7787l`. These can be used to distinguish the mousewheel from the cursor keys without enabling full mouse reporting.

Locales and charsets:
* The 'Codepage' option is now called 'Character set', and there's a new 'Locale' option for language and territory.
Expand Down Expand Up @@ -675,7 +680,7 @@ Other:
* Fixed erroneous NumLock detection, which broke numpad support in 'orpie'.
* Fixed a problem with window resizing (again): after restoring from maximized state, part of the bottom line would disappear behind the window border.
* The colour of text under a block cursor now is set to whichever of the foreground and background colours is further away (in colour space) from the cursor colour, to try to ensure legibility.
* Dropped support for C1 control characters (i.e. 0x80 to 0x9F). This is a VT220 feature, whereas MinTTY only claims to be a VT100 via its "primary device attribute" string. Removing support makes Cygwin's /bin/ascii utility work correctly with any 8-bit codepage and decreases the likelihood of accidental binary output messing up the terminal settings. Rxvt doesn't support the C1 control characters either, but xterm does. Please let me know of any applications where this incompatibility causes problems.
* Dropped support for C1 control characters (i.e. 0x80 to 0x9F). This is a VT220 feature, whereas MinTTY only claims to be a VT100 via its "primary device attribute" string. Removing support makes Cygwin's /bin/ascii utility work correctly with any 8-bit codepage and decreases the likelihood of accidental binary output messing up the terminal settings. Rxvt doesn't support the C1 control characters either, but xterm does. Please let me know of any applications where this incompatibility causes problems.
* Added a long version of the -e option ("--exec"), and documented them in the manual page and --help output.
* Changed the man page tip on setting environment variables to use the 'env' command instead of 'sh -c'.
* Added a tip on making bash and readline 8-bit clean, to allow non-ASCII input and output.
Expand Down
4 changes: 2 additions & 2 deletions wiki/CtrlSeqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The respective setting is cleared with a corresponding sequence ending with `l`.

## Scrollbar hiding ##

These sequences can be used to hide or show the scrollbar, whereby the window size remains the same but the number of character columns is changed to account for the width of the scrollbar. If the the scrollbar is disabled in the options, it will always remain hidden.
These sequences can be used to hide or show the scrollbar, whereby the window size remains the same but the number of character columns is changed to account for the width of the scrollbar. If the scrollbar is disabled in the options, it will always remain hidden.

| **sequence** | **scrollbar** |
|:--------------|:--------------|
Expand Down Expand Up @@ -210,7 +210,7 @@ the window title to the Windows clipboard (like menu function "Copy Title"):
## Working directory ##

The following _OSC_ ("operating system command") sequence can be used to
inform mintty about the current working directory (used in the Mac terminal),
inform mintty about the current working directory (as used in the Mac terminal),
in order to spawn a new (cloned) terminal window in that directory
(e.g. Alt+F2):

Expand Down
2 changes: 1 addition & 1 deletion wiki/PuttyIssues.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Semi-bugs:
* [da-response](http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/da-response.html): Mintty sends the same response to a DA (device attribute) request as xterm does: `\e[?1;2c`.
* [dbcs-breakage](http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/dbcs-breakage.html): Double-byte charsets such as GBK or SJIS work fine.
* [scroll-button-hang](http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/scroll-button-hang.html): Mouse click and scrollwheel handling has been redesigned and this issue has not been seen with mintty.
* [sgr21](http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/sgr21.html): The SGR 21 sequence does the same as in the Linux console, i.e. selecting normal text intensity.
* ([sgr21](http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/sgr21.html): The SGR 21 sequence does the same as in the Linux console, i.e. selecting normal text intensity.) – Overridden by new function to set doubly-underlined mode.
* [window-placement](http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/window-placement.html): Initial window placement follows default Windows behaviour (by using AdjustWindowRect and GetWindowDC(0) as suggested).

"Fun" wishes:
Expand Down
16 changes: 16 additions & 0 deletions wiki/Tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,21 @@ shortcut, or follow the advice about avoiding trouble with taskbar grouping
in the manual page.


## Using mintty for Bash on Ubuntu on Windows (UoW) / Windows Subsystem for Linux (WSL) ##

For users of cygwin or msys2:
* From https://github.com/rprichard/wslbridge/releases, download the `wslbridge` archive corresponding to your system (cygwin/msys2 32/64 bit)
* Install `wslbridge.exe` and `wslbridge-backend` into your cygwin or msys2 `/bin` directory
* Make a desktop shortcut (Desktop right-click – New ▸ Shortcut) with
* Target: `X:\cygwin64\bin\mintty.exe /bin/wslbridge.exe -t /bin/bash -l`
* Icon location (Change Icon…): `%LOCALAPPDATA%\lxss\bash.ico`

Replace ```X:\cygwin64``` with your cygwin or msys2 root directory path.
The “Start in:” directory does not normally matter if you include the bash “login” option
```-l``` as shown above and have a typical Linux profile configuration.
You may replace ```/bin/bash``` above with your favourite shell if desired.


## Starting mintty from a batch file ##

In order to start mintty from a batch file it needs to be invoked through the **[start](http://technet.microsoft.com/en-us/library/cc770297.aspx)** command. This avoids the batch file's console window staying open while mintty is running. For example:
Expand Down Expand Up @@ -330,6 +345,7 @@ A number of colour schemes have been published for mintty, e.g.
* https://github.com/oumu/mintty-color-schemes
* https://github.com/mavnn/mintty-colors-solarized
* https://github.com/PhilipDaniels/mintty/tree/master/themes
* https://github.com/iamthad/base16-mintty/tree/master/mintty


## Providing and selecting fonts ##
Expand Down

0 comments on commit 2a4034f

Please sign in to comment.