1 |
Dale <rdalek1967@×××××.com> writes: |
2 |
|
3 |
> Harry Putnam wrote: |
4 |
>> |
5 |
>> Just so you know... I did try that. [--color n] The resulting log |
6 |
>> looked exactly the same. I posted that fact in an earlier request for |
7 |
>> help a week or so ago in which I remarked how using the no-color |
8 |
>> emerge option didn't seem to make a bit of difference. I don't expect |
9 |
>> anyone would have noticed the comment... but it does seem a bit off |
10 |
>> that I see no differernce here. That is, no difference in the actual |
11 |
>> log emerge creates. I do see the difference in the terminal output. |
12 |
>> |
13 |
>> |
14 |
>> |
15 |
> |
16 |
> I think it may be your PS1 variable that is broken. That is here for me |
17 |
> at least: |
18 |
> |
19 |
> /etc/bash/bashrc |
20 |
> |
21 |
> I think it can be in other places as well. If you recall changing the |
22 |
> setting, it should look something like this: |
23 |
> |
24 |
> PS1+='\[\033[01;31m\]\u@\h \[\033[01;34m\]\w \$ \[\033[00m\]' |
25 |
> |
26 |
> It may be that you are missing the ' on the end or some other character |
27 |
> is missing. If you copy mine, it will look like this: |
28 |
> |
29 |
> root@fireball / # |
30 |
> |
31 |
> Either way, you likely just have something missing or out of place and |
32 |
> it is throwing it off. Maybe this will help you fix it, maybe. |
33 |
> |
34 |
> Dale |
35 |
> |
36 |
|
37 |
I'm a bit lost here. What makes you think something is broken? |
38 |
|
39 |
I mean other than than a failed compile of some pkgs? |
40 |
|
41 |
I guess you mean the fact that there are escapes in the log I |
42 |
posted... as I've said that was the log as emerge created it. The |
43 |
`build.log' from /var/tmp [...] |
44 |
|
45 |
my PS1 looks similar with a few diffeneces from yours but the quoting |
46 |
is intact: See below from the machine where the log was created: |
47 |
|
48 |
|
49 |
,---- |
50 |
| [Intended to pass muster for either USER or ROOT] |
51 |
| |
52 |
| if [ ${UID} -gt 0 ];then |
53 |
| sign='>' |
54 |
| else |
55 |
| sign='#' |
56 |
| fi |
57 |
| PS1='\[\033[01;31m\]HOST:\h \[\033[01;32m\]\w\n\u ${sign} \[\033[00m\]';export PS1 |
58 |
| |
59 |
| PS4='$LINENO: ';export PS4 |
60 |
`---- |