RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1144198 - It is inconvenient to read the output in guestfish when run guestfish on a terminal which have a black background colour
Summary: It is inconvenient to read the output in guestfish when run guestfish on a te...
Keywords:
Status: CLOSED DUPLICATE of bug 1144201
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-19 01:03 UTC by Lingfei Kong
Modified: 2014-09-19 12:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-19 12:53:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
guestfish_1.png (322.65 KB, application/octet-stream)
2014-09-19 01:30 UTC, Lingfei Kong
no flags Details

Description Lingfei Kong 2014-09-19 01:03:12 UTC
Description of problem:
When run guestfish in a terminal which have a black background colour, it is very inconvenient to read the output, see attachment: guestfish_1.png. When login a host in text mode directly, then i must change the guestfish output colour via 'export GUESTFISH_OUTPUT='. Maybe the default output colour is black and can set the colour by export GUESTFISH_OUTPUT='\e[0;33m', but if guestfish can adjust its default output colour according the terminal's background colour, it will be a very nice thing.


Version-Release number of selected component (if applicable):
libguestfs-1.27.48-1.1.el7


How reproducible:
100%


Steps to Reproduce:
1. Set your terminal's background to black
2. #guestfish

Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.

Type: 'help' for help on commands
          'man' to read the manual
          'quit' to quit the shell

><fs> help ls


Actual results:
The output of ls help message is in black font which is the same colour with its backgroud colour. This make it inconvenient to read.


Expected results:
The output should be convenient to read


Additional info:

Comment 1 Lingfei Kong 2014-09-19 01:30:22 UTC
Created attachment 939071 [details]
guestfish_1.png

Comment 2 Richard W.M. Jones 2014-09-19 12:53:30 UTC
The fix to this is the same one as bug 1144201 and therefore
for my convenience I'm marking it as a duplicate.

*** This bug has been marked as a duplicate of bug 1144201 ***


Note You need to log in before you can comment on or make changes to this bug.