## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
Ryan L McIntyre
@ryanoasis
@DanielGGordon Hey I am actually in here too :smile: . @mintty The left side overlap seems to be due to the LBearing being off in Nerd Fonts. The right side overlap seems to be due to the whole ambiguous width char as mentioned
Daniel Gordon
@DanielGGordon

So the ambiguous width I could fix with forcing Mintty to great them as double-width. I found it mentioned here but not really sure what to do with it.

I need to set a different locale?

mintty
@mintty
1. The prompt is likely created with the "$PS1" variable. Send me its contents (uninterpreted, e.g. by attaching the respective line from your profile script that sets it); or: create a mintty log file with the prompt included. 1. The identified character is neither double-width nor ambiguous-width so the mechanism you refer to will not work. Daniel Gordon @DanielGGordon So I have that for you - but I also noticed that the '%' symbol actually will cut off the glyph. Example: And the prompt value i found was PROMPT='%f%b%k%K{yellow} %F{black%}%f %F{blac k}7.37G %k%F{yellow}<b0>%f '. This comes from Powerlevel9k. @mintty In the prompt value above, the box in front of %f is /uF0E4 mintty @mintty You must be using some non-standard shell, I'm not familiar with those %f shortcuts. Please make a terminal log. Daniel Gordon @DanielGGordon It's oh-my-zsh. PS is: %f%b%k%K{yellow} %F{black%}%f %F{black}7.12G %K{green}%F{yellow} %F{black%} %f %F{black}0.52 %K{blue}%F{green} %F{black%}%f %F{black}~/.aws %k%F{blue}%f Christo Kotze @onaforeignshore the shell is zsh and the codes are shortcuts for \e48;5;<K>m and \e38;5;<F>m mintty @mintty Apparently the issue is that overhanging or overlapping rendering only works within one "run", i.e. sequence of characters being output in the same chunk. This only applies to a sequence of characters with the same character attributes. You set black foreground directly before the glyph and reset it directly afterwards, so that cannot work. If you include the surrounding spaces in the black foreground section, it will work. Compare these: echo -e "\e[44m \e[31m\e[39m \e[m" echo -e "\e[31m\e[44m  \e[m" mintty @mintty For the records: the week after my previous comment, I implemented advanced italic overhang handling. Released in 2.7.6. Adam @alacrity26 hi, when I was trying to install gnupg (after installing cygwin), this error popped up: PS C:\Windows\system32> cyg-get gnupg Attempting to install cygwin packages: gnupg C:\ProgramData\chocolatey\lib\cyg-get\tools\cyg-get.ps1 : Please ensure you have Cygwin installed. To install please call ‘choco install cygwin’ (optionally add -y to autoconfirm). ERROR: This command cannot be executed due to the error: The system cannot find the file specified. At line:1 char:2 • & <<<< 'C:\ProgramData\chocolatey\lib\cyg-get\tools\cyg-get.ps1' gnupg • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,cyg-get.ps1 Referred and tried suggestions on: chocolatey/chocolatey-coreteampackages#176 , and some other suggested links in it, however hasn't worked. I referred and tries suggestions on this page: Referred and tried suggestions on: chocolatey/chocolatey-coreteampackages#176 , and some other suggested links in it, however hasn't worked. Any suggestions how to understand what could be wrong here ? mintty @mintty What would that have to do with mintty? Biswapriyo Nath @Biswa96 Let's talk about the mintty for Windows Store . mintty @mintty OK. Biswapriyo Nath @Biswa96 Do you solve that pvk2pfx.exe problem? I think why not you just publish the appx and then write all the readme and build procedure. mintty @mintty 1. No. 1. Have you checked whether it's actually possible to publish an appx with a test certificate? I'm not sure, and I was assuming we're going to publish instruction how to build an appx package with the user's own test certificate... 1. I feel you're eager to get forward but I'm busy with work and other stuff too, so if you want my feedback, please have some patience :/ (4) Once we're done, maybe we can arrange some sponsored certificate; and I'll gladly leave it to you to publish the package then and earn the reputation... Biswapriyo Nath @Biswa96 I thought you will going to publish in Windows store. Ok, as you wish, I shall concentrate on writing the instructions. I don't want to earn reputation. I just love coding.... Biswapriyo Nath @Biswa96 As I said I'm making a batch script that make that appx automatically. But the msbuild from Windows\FrameWork shows some error. So one has to install visual studio. I'm now depending on Appveyor CI. See this ://stackoverflow.com/q/43065264/8928481 nalostta @nalostta hi, how can export multiple paths in msys? I am working on a 64-bit windows 10 machine, i was trying to build libopencm3 but for it i needed both python and gcc cross compiler but whenever i try to 'export path' for one, i loose the other ... mintty @mintty This is absolutely not a mintty question. Brian Peiris @brianpeiris Hello. When I run the mintty.exe that comes with Git Bash, I see this window: https://i.imgur.com/FRZYZ2k.png Where is that defined in the mintty source code, and how do I get mintty to choose a specific shell by default? David Macek @elieux @brianpeiris, this is a downstream patch. Upstream developers don't know about it. The patch lives in a msys2-packages repo either in the Git for Windows org. or under Alexpux. And if you want a specific "shell", you should use the appropriate launcher, not just start the terminal. David Macek @elieux I'm not sure if Git for Windows even comes with a notion of different "shells". Brian Peiris @brianpeiris Ah, interesting. Thanks for the info! Ruslán González @ruslanguns Hello I need some help regarding drag n drop directories in mintty or cygwin using Mintty the issue is that when I drag it the prompt recognize the path but with single back slash "\" is it a way to permit single back slash or when I drag the route ... drag with double slashes ?  Ruslan Gonzalez@RUSO ~$ cd C://wamp2

Ruslan Gonzalez@RUSO /cygdrive/c/wamp2
$cd C:\\wamp2 Ruslan Gonzalez@RUSO /cygdrive/c/wamp2$ cd C:\\wamp2\www
bash: cd: C:\wamp2www: No such file or directory

Ruslan Gonzalez@RUSO /cygdrive/c/wamp2
$cd C:\\wamp2\\www Ruslan Gonzalez@RUSO /cygdrive/c/wamp2/www$
mintty
@mintty
If you drag a file system item (e.g. from an Explorer window), the path will be converted to POSIX syntax (no backslash).
If it wasn't converted, you've pasted text format (the clipboard is tagged with content types...) which will not be converted.
Backslash on the command line needs either escaping or enclosing in single quotes: cd 'C:\wamp2\www'.
Ruslán González
@ruslanguns
Thanks for explanation
sigmap
@sigmap
Mintty supports 24 bit color, what does a cygwin user need to do to make that work. I know there is mention of *-direct but the information said something else needed to be installed to make that work.