Closed
Bug 418938
Opened 18 years ago
Closed 18 years ago
rxvt is ugly as sin
Categories
(Firefox Build System :: MozillaBuild, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mossop, Assigned: ted)
References
Details
Attachments
(1 file)
|
2.99 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
MozillaBuild currently pawns off to an rxvt process. I can't fathom any reason for not just sticking in the cmd process. rxvt looks awful on windows and the colours and fonts are from what I can see hardcoded.
Now cmd on the other hand, if I create a shortcut to the bat file I can choose whatever fonts/colours/size I like from the shortcut properties.
This change appears to be as simple as replacing the rxvt line with:
%MOZILLABUILD%\msys\bin\bash --login -i
Comment 1•18 years ago
|
||
Not that I agree on the ugly-as-sin, but it would fix the stdin confusion that python and xpcshell are suffering from, and make command history in python work again.
What didn't work for me was closing the window with crtl-d from within bash, that asks if I want to terminate the shell script. Is there a way to fix that?
Comment 2•18 years ago
|
||
Candidate for MozillaBuild 1.3? (Bug 394044)
Comment 3•18 years ago
|
||
(I also have to wonder if this might fix my recursive rxvt launch bug on Vista x64...)
Comment 4•18 years ago
|
||
I personally really think that we need a third option, the lack of a descent copy-and-paste solution is a blocker to me.
| Assignee | ||
Comment 5•18 years ago
|
||
I would be happy to use a third option if such a thing exists. I have not seen anything that we could use. Ideally, someone would port PuttyCYG to work with MSYS:
http://code.google.com/p/puttycyg/
| Assignee | ||
Comment 6•18 years ago
|
||
This makes using Mercurial bad, since the first-run ssh behavior is horked (See bug 402224 comment 8). Gonna go with Mossop's solution.
Assignee: nobody → ted.mielczarek
Blocks: 402224
| Assignee | ||
Comment 7•18 years ago
|
||
Lesser of two evils? I don't know.
Attachment #324033 -
Flags: review?(benjamin)
Please don't do this -- the stock cmd emulator is horrid, rxvt at least is a real terminal emulator. The colors/fonts are not in any way hardcoded; things like -fg, -bg, and -fn work fine (see http://www.rxvt.org/manual.html).
I'm not sure what can be done about the stdin/etc. confusion, but I don't think that this is necessarily rxvt's fault. I've seen plenty of stdin strangeness using cmd.exe as well.
| Reporter | ||
Comment 9•18 years ago
|
||
(In reply to comment #8)
> Please don't do this -- the stock cmd emulator is horrid, rxvt at least is a
> real terminal emulator. The colors/fonts are not in any way hardcoded; things
> like -fg, -bg, and -fn work fine (see http://www.rxvt.org/manual.html).
Command line settings effectively means hardcoded when it comes to MozillaBuild for me. Install a new version of MozillaBuild and you lose your changes.
| Assignee | ||
Comment 10•18 years ago
|
||
vlad: we've had tons of complaints about rxvt. I don't think cmd.exe is great either, but I don't think it's significantly worse than rxvt. The stdin confusion is a dealbreaker for me with hg though, since it completely breaks the first-run experience.
| Assignee | ||
Comment 11•18 years ago
|
||
Also, note that I'm not removing rxvt, I'm just not starting it by default. You're still welcome to run it after the fact, or use your old startup script, or whatever.
Comment 12•18 years ago
|
||
(In reply to comment #7)
> Created an attachment (id=324033) [details]
> goodbye rxvt
FYI, using this patch, on Vista x64, I can launch bash, but whenever I try to run anything (like "make --version"), I get errors like this:
bash-2.04$ make --version
30361134 [main] bash 2184 sync_with_child: child 5176(0x124) died before initial
ization with status code 0x0
30362392 [main] bash 2184 sync_with_child: *** child state waiting for longjmp
bash: fork: Resource temporarily unavailable
bash-2.04$
It's still progress. It just means yet another glitch in the way to doing 64-bit builds.
Updated•18 years ago
|
Attachment #324033 -
Flags: review?(benjamin) → review+
| Assignee | ||
Comment 13•18 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: mozilla.org → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•