Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 211875
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo non-Linux Team <alt@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Markus Duft <mduft@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bashrc-interix.patch Patch for bashrc in tree to add terminal type interix patch Markus Duft 2008-02-29 09:50 0000 469 bytes Details | Diff
prefix-portage-windowtitle.patch patch for prefix-portage to set windows title on interix terminals patch Markus Duft 2008-02-29 09:51 0000 641 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 211875 depends on: Show dependency tree
Bug 211875 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-29 09:49 0000
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

------- Comment #1 From Markus Duft 2008-02-29 09:50:46 0000 -------
Created an attachment (id=144930) [details]
Patch for bashrc in tree to add terminal type interix

------- Comment #2 From Markus Duft 2008-02-29 09:51:15 0000 -------
Created an attachment (id=144932) [details]
patch for prefix-portage to set windows title on interix terminals

------- Comment #3 From Markus Duft 2008-02-29 11:12:28 0000 -------
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.

------- Comment #4 From Fabian Groffen 2008-02-29 11:38:01 0000 -------
Its partly portage, and partly baselayout iirc.  Both are written in bash if
I'm not mistaken, though.

------- Comment #5 From Fabian Groffen 2008-03-01 17:55:53 0000 -------
portage patch applied in rev 9405, thanks

------- Comment #6 From Fabian Groffen 2008-03-01 21:10:48 0000 -------
I applied the patch to bash in gentoo-x86, so should come through on the next
sync.  Thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug