From: Carsten Schoenert <c.schoenert@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] infra: display current task as title of the term window
Date: Wed, 07 Aug 2013 10:15:17 +0200 [thread overview]
Message-ID: <52020215.6030609@googlemail.com> (raw)
In-Reply-To: <CAAXf6LWCBh-W3nHRLtoXVy8PfbS3NpOQ7sMwicp6W+kv-OeAkg@mail.gmail.com>
Hello Thomas,
Am 07.08.2013 08:44, schrieb Thomas De Schampheleire:
> echo -ne "\033]0;something\007"
>
> but it doesn't change a thing.
I think the quoting and controling syntax is wrong. The following string
works here fine in a Gnome terminal.
> echo -ne "\033[2msomething\033[0m other text\n"
Or with a underline and in green.
> echo -ne "\033[4;32msomething\033[0m other text\n"
You need to set up the starting thing with '\033["$foo-color"' and
finally switch at the end to the to the default back '\033[0m'
More info around colors in the Bash can be found on
http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html
But that's only for the Bash!
Hope that helps.
Regards
Carsten
next prev parent reply other threads:[~2013-08-07 8:15 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-06 20:46 [Buildroot] [PATCH] infra: display current task as title of the term window Francois Perrad
2013-08-07 6:44 ` Thomas De Schampheleire
2013-08-07 8:15 ` Carsten Schoenert [this message]
2013-08-07 8:20 ` Thomas De Schampheleire
2013-08-07 10:56 ` Carsten Schoenert
2013-08-07 11:21 ` Thomas De Schampheleire
2013-08-07 8:45 ` François Perrad
2013-08-07 9:11 ` Thomas De Schampheleire
2013-08-07 14:11 ` Danomi Manchego
2013-08-13 5:36 ` Arnout Vandecappelle
2013-08-18 8:21 ` Thomas De Schampheleire
2013-08-19 16:19 ` Arnout Vandecappelle
2013-08-19 18:49 ` Thomas De Schampheleire
2013-08-20 22:32 ` Arnout Vandecappelle
2013-08-21 3:27 ` Thomas De Schampheleire
2014-03-15 18:43 ` Thomas De Schampheleire
2013-08-18 13:15 ` François Perrad
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=52020215.6030609@googlemail.com \
--to=c.schoenert@gmail.com \
--cc=buildroot@busybox.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.