Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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 2Richard 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 ***
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: