Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236326

Re: Font color selection in MATE terminal

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: Font color selection in MATE terminal
Date 2021-06-22 21:30 +0200
Message-ID <CsUfT-52Q-5@gated-at.bofh.it> (permalink)
References (2 earlier) <CsRUJ-3wW-1@gated-at.bofh.it> <CsSH7-421-3@gated-at.bofh.it> <CsTjP-4tO-5@gated-at.bofh.it> <CsTDc-4AE-5@gated-at.bofh.it> <CsU6d-4ZB-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jun 23, 2021 at 03:13:00AM +0800, Bret Busby wrote:
> Funnily enough, given what you contend, before I commented out the colouring
> in stuff, when running ls -lh, directory names were displayed in blue text,
> and, after I commented out the colouring in stuff, running ls -lh, the
> output was all displayed in black text.

OK, I made a slightly oversimplified statement.

MOST of the code in that excerpt goes into setting the shell's prompt.
There are also some aliases at the end, one of those being an alias
for ls, setting it up to use --color=auto.

So, the code that you posted affects two things:

1) Bash's shell prompt, which may or may not include color escape
   sequences.

2) Various aliases that change the default behavior of some commands
   (by adding options to what you type), including ls, which may cause
   ls to emit color escape sequences.

In all cases, the behavior of the terminal in response to these color
escape sequences is defined by the terminal itself, and may or may not
be user-configurable.

Nothing in .bashrc affects the terminal's behavior.  Only the terminal's
configuration affects that.

.bashrc controls the behavior of bash, not of the terminal.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Font color selection in MATE terminal Richard Owlett <rowlett@cloud85.net> - 2021-06-22 15:20 +0200
  Re: Font color selection in MATE terminal Richard Owlett <rowlett@cloud85.net> - 2021-06-22 15:30 +0200
  Re: Font color selection in MATE terminal IL Ka <kazakevichilya@gmail.com> - 2021-06-22 15:30 +0200
    Re: Font color selection in MATE terminal Greg Wooledge <greg@wooledge.org> - 2021-06-22 15:50 +0200
      Re: Font color selection in MATE terminal Curt <curty@free.fr> - 2021-06-22 16:30 +0200
      Re: Font color selection in MATE terminal IL Ka <kazakevichilya@gmail.com> - 2021-06-22 16:30 +0200
  Re: Font color selection in MATE terminal "Andrew M.A. Cater" <amacater@einval.com> - 2021-06-22 15:30 +0200
    Re: Font color selection in MATE terminal Richard Owlett <rowlett@cloud85.net> - 2021-06-22 15:40 +0200
      Re: Font color selection in MATE terminal David Wright <deblis@lionunicorn.co.uk> - 2021-06-22 21:20 +0200
  Re: Font color selection in MATE terminal Richard Owlett <rowlett@cloud85.net> - 2021-06-22 16:00 +0200
    Re: Font color selection in MATE terminal IL Ka <kazakevichilya@gmail.com> - 2021-06-22 16:40 +0200
  Re: Font color selection in MATE terminal Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-22 16:40 +0200
    Re: Font color selection in MATE terminal David Wright <deblis@lionunicorn.co.uk> - 2021-06-22 17:40 +0200
      Re: Font color selection in MATE terminal Bret Busby <bret@busby.net> - 2021-06-22 18:50 +0200
    Re: Font color selection in MATE terminal Siard <shiems@mailbox.org> - 2021-06-22 18:30 +0200
      Re: Font color selection in MATE terminal Richard Owlett <rowlett@cloud85.net> - 2021-06-23 11:40 +0200
        Re: Font color selection in MATE terminal Siard <shiems@mailbox.org> - 2021-06-23 13:40 +0200
        At least a partial solution - was [Re: Font color selection in MATE  terminal] Richard Owlett <rowlett@cloud85.net> - 2021-06-23 14:30 +0200
      Re: Font color selection in MATE terminal Marc Shapiro <marcnshap@gmail.com> - 2021-07-02 07:40 +0200
        Re: Font color selection in MATE terminal Siard <shiems@mailbox.org> - 2021-07-02 13:30 +0200
          Re: Font color selection in MATE terminal Richmond <richmond@criptext.com> - 2021-07-02 18:10 +0200
  Re: Font color selection in MATE terminal Richmond <dnomhcir@gmx.com> - 2021-06-22 18:20 +0200
    Re: Font color selection in MATE terminal Peter Ehlert <pb21a@sdi-baja.com> - 2021-06-22 18:40 +0200
      Re: Font color selection in MATE terminal Richmond <dnomhcir@gmx.com> - 2021-06-22 20:50 +0200
    Re: Font color selection in MATE terminal Bret Busby <bret@busby.net> - 2021-06-22 19:00 +0200
      Re: Font color selection in MATE terminal Greg Wooledge <greg@wooledge.org> - 2021-06-22 19:50 +0200
        Re: Font color selection in MATE terminal Bret Busby <bret@busby.net> - 2021-06-22 20:30 +0200
          Re: Font color selection in MATE terminal Greg Wooledge <greg@wooledge.org> - 2021-06-22 20:50 +0200
            Re: Font color selection in MATE terminal Bret Busby <bret@busby.net> - 2021-06-22 21:20 +0200
              Re: Font color selection in MATE terminal David Wright <deblis@lionunicorn.co.uk> - 2021-06-22 21:30 +0200
              Re: Font color selection in MATE terminal Greg Wooledge <greg@wooledge.org> - 2021-06-22 21:30 +0200
  RESOLVED: Font color selection in MATE terminal Richard Owlett <rowlett@cloud85.net> - 2021-06-24 13:10 +0200

csiph-web