Re: [Solved] Re: Problem with colors in terminal

2017-07-12 Thread steve
Le 12-07-2017, à 16:27:16 +0200, Sven Joachim a écrit : No, not really (all of this is far from being crystal clear to me). But changing to TERM=xterm-256color doesn't show colors. I wonder if you have an old version of dircolors somewhere which does not support xterm-256color. What do the fo

Re: [Solved] Re: Problem with colors in terminal

2017-07-12 Thread Sven Joachim
On 2017-07-12 16:15 +0200, steve wrote: > Le 12-07-2017, à 13:00:22 +0200, Sven Joachim a écrit : > >>> I also had to change my TERM variable to xterm-color in order to work. >> >>That's something you definitely don't want to do, xterm-color is for >>_very_ ancient terminals. Be prepared for misb

Re: [Solved] Re: Problem with colors in terminal

2017-07-12 Thread steve
Le 12-07-2017, à 13:00:22 +0200, Sven Joachim a écrit : I also had to change my TERM variable to xterm-color in order to work. That's something you definitely don't want to do, xterm-color is for _very_ ancient terminals. Be prepared for misbehavior in curses programs. Is there a reason why

Re: [Solved] Re: Problem with colors in terminal

2017-07-12 Thread Greg Wooledge
On Wed, Jul 12, 2017 at 01:00:22PM +0200, Sven Joachim wrote: > It's the other way around, .bashrc is only read if bash is _not_ a login > shell. Which is why many people source ~/.bashrc from ~/.bash_profile > (or ~/.bash_login, or ~/.profile) to get the same behavior, no matter if > the are runn

Re: [Solved] Re: Problem with colors in terminal

2017-07-12 Thread Sven Joachim
On 2017-07-12 11:29 +0200, steve wrote: > Le 12-07-2017, à 11:05:22 +0200, deloptes a écrit : > >>steve wrote: >> >>> We see that LS_COLORS is set in xterm but not in xfce4-terminal. I don't >>> understand why since both should read ~/.bashrc when executed. >>> >>> Any ideas? >> >>I think .bashrc

[Solved] Re: Problem with colors in terminal

2017-07-12 Thread steve
Le 12-07-2017, à 11:05:22 +0200, deloptes a écrit : steve wrote: We see that LS_COLORS is set in xterm but not in xfce4-terminal. I don't understand why since both should read ~/.bashrc when executed. Any ideas? I think .bashrc is read only if you use bash as login shell. You can try bash -

Re: Problem with colors in terminal

2017-07-12 Thread deloptes
steve wrote: > We see that LS_COLORS is set in xterm but not in xfce4-terminal. I don't > understand why since both should read ~/.bashrc when executed. > > Any ideas? I think .bashrc is read only if you use bash as login shell. You can try bash --login and see if color works, or check if it is

Problem with colors in terminal

2017-07-12 Thread steve
Hi there, Since the upgrade to Stretch, I don't have colors anymore in xfce4-terminal (except for directories which are in blue). But strange thing, I have them in xterm. All the logic is in ~/.bashrc. In xfce4-terminal: env | grep -i color LS_COLORS= COLORTERM=truecolor TERM=gnome-256color L