From: ChenQi <Qi.Chen@windriver.com>
To: "Moore, Thomas (FtWorth)" <Thomas.Moore2@ATK.COM>,
"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Shell not processing color escape codes
Date: Thu, 29 Jan 2015 10:30:41 +0800 [thread overview]
Message-ID: <54C99B51.2050600@windriver.com> (raw)
In-Reply-To: <7B6FE55CD594D7478CED8A39DF3BFC0A5E7416E7@UT40SVCWEM001.atk.com>
[-- Attachment #1: Type: text/plain, Size: 711 bytes --]
On 01/29/2015 05:56 AM, Moore, Thomas (FtWorth) wrote:
>
> Hello,
>
> In my image, I’ve included systemd. I’ve noticed that when running the
> systemctl command, the shell (/bin/sh) is not processing the color
> escape codes. Here’s an example of what it looks like:
>
> [[1;39m82 loaded units listed.[[0m Pass –all to see loaded but
> inactive units, too.
>
> Any suggestions on how I can either get the shell to process the
> escape codes or prevent systemctl from generating them?
>
> Thanks,
>
> *Thomas*
>
>
>
1. Install 'less'
2. append '--no-pager' to commands
There's related a bug on bugzilla.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5723
Regards,
Chen Qi
[-- Attachment #2: Type: text/html, Size: 3152 bytes --]
next prev parent reply other threads:[~2015-01-29 2:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-28 21:56 Shell not processing color escape codes Moore, Thomas (FtWorth)
2015-01-29 2:30 ` ChenQi [this message]
2015-01-29 3:01 ` Moore, Thomas (FtWorth)
2015-01-29 3:21 ` ChenQi
2015-01-29 3:32 ` Moore, Thomas (FtWorth)
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=54C99B51.2050600@windriver.com \
--to=qi.chen@windriver.com \
--cc=Thomas.Moore2@ATK.COM \
--cc=yocto@yoctoproject.org \
/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.