[Bug 422008] New: qlvnictools initscript has wrong logic for printing escape sequences
https://bugzilla.novell.com/show_bug.cgi?id=422008 Summary: qlvnictools initscript has wrong logic for printing escape sequences Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pzb@novell.com QAContact: qa@suse.de Blocks: 422003 Found By: --- Some terminals do not support escape sequences. rc.status does a test and sets $esc if the terminal supports them. The following initscripts do not test the terminal and blindly print escape sequences. This causes issues for machines with terminals that do not support escape sequences. /etc/init.d/qlgc_vnic tries to determine if it should use escape sequences, but the tests are not designed for openSUSE/SLE and do not work on openSUSE/SLE. The tests need to be fixed. qlvnictools-0.0.1-57.1.x86_64/etc/init.d/qlgc_vnic: MOVE_TO_COL="echo -en \\033[${RES_COL}G" qlvnictools-0.0.1-57.1.x86_64/etc/init.d/qlgc_vnic: SETCOLOR_SUCCESS="echo -en \\033[1;32m" qlvnictools-0.0.1-57.1.x86_64/etc/init.d/qlgc_vnic: SETCOLOR_FAILURE="echo -en \\033[1;31m" qlvnictools-0.0.1-57.1.x86_64/etc/init.d/qlgc_vnic: SETCOLOR_WARNING="echo -en \\033[1;33m" qlvnictools-0.0.1-57.1.x86_64/etc/init.d/qlgc_vnic: SETCOLOR_NORMAL="echo -en \\033[0;39m" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=422008
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=422008
John Jolly
https://bugzilla.novell.com/show_bug.cgi?id=422008
John Jolly
https://bugzilla.novell.com/show_bug.cgi?id=422008
John Jolly
participants (1)
-
bugzilla_noreply@novell.com