Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631870 - sys-apps/gentoo-functions-0.12 should use tput for ENDCOL
Summary: sys-apps/gentoo-functions-0.12 should use tput for ENDCOL
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-23 18:37 UTC by Ulrich Müller
Modified: 2017-09-25 07:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
[PATCH] functions.sh: Don't hardcode escape seqences for ENDCOL. (0001-functions.sh-Don-t-hardcode-escape-seqences-for-ENDC.patch,1.07 KB, patch)
2017-09-23 18:40 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2017-09-23 18:37:55 UTC
functions.sh uses tput for handling of color output. However, for ENDCOL the escape sequences are hardcoded, so dumb terminals will see escape sequences that they don't understand.
Comment 1 Ulrich Müller gentoo-dev 2017-09-23 18:40:07 UTC
Created attachment 496186 [details, diff]
[PATCH] functions.sh: Don't hardcode escape seqences for ENDCOL.

Attached patch fixes the problem for me.