http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6914
Bug #: 6914
Summary: koha_perl_deps.pl color option changes user's shell
prompt
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Installation and upgrade (command-line installer)
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
This is a repeatable bug on a stock Debian squeeze fresh install with default
Terminal settings (black text on white background). Simply run
perl koha_perl_deps.pl -a -c
The script's assertion of 'bold white' affects the Terminal shell prompt, which
on default Terminal settings makes it white on white, a.k.a. suboptimal.
A correction is proposed in two parts. First, use blue not white for the header
and footer, as this should render fine for both default Terminal settings and
for those workers who prefer light text on a dark background. Second, at the
end of the utility we should return the shell to the condition we found it in
regardless of report color settings. This seems to do it:
print color 'reset' if $color;
I will submit a patch shortly.
--
Configure bugmail:
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/