The Interix Terminal supports the same mechanism for title setting as xterm does. this means, that adding support is quite easy. i have two patches ready: one for app-shells/bash/files/bashrc, and one for prefix-portage. i will attach both. Reproducible: Always Steps to Reproduce: 1. Start an Interix Shell. 2. emerge something 3. Actual Results: windows title is not set. Expected Results: windows title should be set by both bashrc and emerge
Created attachment 144930 [details, diff] Patch for bashrc in tree to add terminal type interix
Created attachment 144932 [details, diff] patch for prefix-portage to set windows title on interix terminals
another thing: it's also just cosmetics, but: the interix term seems to reserve space for the \n in each line. If there is a char at the last position in a line, then the \n is on the next line, and therefore there is an empty line inserted (which is ugly...). This now happens everytime that portage prints [ ok ] or [ !! ] at the end of a line. The solution would be to just print the [ ok ]'s one char earlier. iirc, this would just be changing an int somewhere in portage, where the position is calculated.
Its partly portage, and partly baselayout iirc. Both are written in bash if I'm not mistaken, though.
portage patch applied in rev 9405, thanks
I applied the patch to bash in gentoo-x86, so should come through on the next sync. Thanks!