GNU bug report logs - #20482
Colour of Terminal changes with some files using cat

Previous Next

Package: coreutils;

Reported by: Nikita Yerenkov-Scott <yerenkov.scott <at> gmail.com>

Date: Fri, 1 May 2015 15:27:01 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nikita Yerenkov-Scott <yerenkov.scott <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Colour of Terminal changes with some files using cat
Date: Fri, 1 May 2015 12:37:48 +0100
[Message part 1 (text/plain, inline)]
I have noticed that when running 'cat' to look at certain files that for
some reason the end of the file is in a different embolden colour, which
then makes all of my Terminal text that colour as well as bold.

An example is when I ran: cat /bin/systemd-ask-password

And this is what happened (Bold_Red_Terminal_Cat_Command.bmp):


​
And this is the colour that I should be seeing (Terminal_prompt_normal.bmp):



And the only way to get rid of the strange styling change and to return to
normal appears to be to restart Terminal or to view a file which does not
have this very strange effect.
​
[Message part 2 (text/html, inline)]
[Terminal_prompt_normal.bmp (image/bmp, inline)]
[Bold_Red_Terminal_Cat_Command.bmp (image/bmp, inline)]
[Bold_Red_Terminal_Cat_Command.bmp (image/bmp, attachment)]
[Terminal_prompt_normal.bmp (image/bmp, attachment)]

This bug report was last modified 10 years and 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.