Console color output on G5/Black Bird
Michael Tuexen <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ppc |
|---|---|
| Message-ID | <[email protected]> |
Dear all, the color output on the console an G5 or Black Bird machines seems to be wrong. When running a shell script with printf "\033[30m%15s\033[0m\n" "BLACK #000000" printf "\033[31m%15s\033[0m\n" "RED #FF0000" printf "\033[32m%15s\033[0m\n" "GREEN #00FF00" printf "\033[33m%15s\033[0m\n" "YELLOW #FFFF00" printf "\033[34m%15s\033[0m\n" "BLUE #0000FF" printf "\033[35m%15s\033[0m\n" "MEGENTA #FF00FF" printf "\033[36m%15s\033[0m\n" "CYAN #00FFFF" printf "\033[37m%15s\033[0m\n" "WHITE #FFFFFF" on the G5 it seems that the red byte and the blue byte are swapped. So RED is written in blue, for example. A similar but different issue is on the console on the Black Bird. Any idea where the problem (I guess it is a byte ordering one) could be located? In head/sys/dev/vt/hw/ofwfb/ofwfb.c for the G5? A different place for the Black bird? Best regards Michael _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ppc To unsubscribe, send any mail to "[email protected]"