public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jeremy Bopp <jeremy@bopp.net>
To: cygwin@cygwin.com
Subject: Re: Colours used in mintty
Date: Thu, 15 Jul 2010 15:30:00 -0000	[thread overview]
Message-ID: <4C3F28E6.6090607@bopp.net> (raw)
In-Reply-To: <4C3F26B5.5000606@bonhard.uklinux.net>

On 7/15/2010 10:18 AM, Fergus wrote:
>>> Is there a way of changing the default text colours
>>> used by mintty for directories, links, executables, etc?
> 
>>  From man mintty: use
>>  echo $'\e]4;3;255,255,0\a'
>>  and similarly, in a script.
> 
> I am using
> 
> echo $'\e]4;3;255,  0,  0\a' # color3 for devices
> echo $'\e]4;6;139, 69, 19\a' # color6 for links
> 
> in .bashrc with the consequence that each new mintty terminal starts
> with 2 blank lines. Is there a way I can set the colors but suppress the
> newlines?

Have you tried using "echo -n"?

-Jeremy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2010-07-15 15:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-15 15:21 Fergus
2010-07-15 15:30 ` Jeremy Bopp [this message]
2010-07-16  0:16   ` Eric Blake
2010-07-15 15:45 ` Fergus
  -- strict thread matches above, loose matches on Subject: below --
2010-04-09  8:06 Fergus
2010-04-09  8:42 ` Fergus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C3F28E6.6090607@bopp.net \
    --to=jeremy@bopp.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).