Control: found -1 3.0pl1-177
Control: retitle -1 cron: crontab color patch is undocumented and buggy but 
cannot be disabled
Control: severity -1 important

(mentioning "crontab" in the bug title and raising the severity
because "crontab -l" modifies the terminal output status, which
can affect the shell and subsequent commands).

On 2023-10-21 22:35:37 +0100, Jonathan H N Chin wrote:
> `crontab -l` has started producing garish yellow output that corrupts
> the prompt.

I also get this incorrect yellow background on empty space, which
occurs when the terminal has to scroll.

I confirm the prompt issue with dash and bash: it seems that crontab
leaves the non-default background in effect, which can affect the
prompt output, but also the subsequent commands run in the terminal.

I don't have this issue with my zsh config, but this is because my
zsh prompt sets the background color (and does a sgr0 at the end).

BTW, even with this fixed, the yellow background is a bad idea.
I have a terminal with a black background, so that the yellow
background is very ugly.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to