On Thu, 31 Oct 2002 14:08:56 +0200, [EMAIL PROTECTED] (Haluk Avcioglu) wrote:
>Hi; >When you execute perl script on terminal window (on Linux Redhat), >can we print texts on different colors and be able to set font and its >size? >Thanks. Best regards... You can print colors, but you can't change the font in a text console. ############################################## #!/usr/bin/perl #perldoc -q color use strict; use warnings; print "\e[1;31mHello world\e[0m\n"; print "\e[1;32mHello world\e[0m\n"; print "\e[1;33mHello world\e[0m\n"; print "\e[1;34mHello world\e[0m\n"; print "\e[1;35mHello world\e[0m\n"; print "\e[1;36Hello world\e[0m\n"; print "\e[1;37mHello world\e[0m\n"; ########################################### If you are using X and xterms, you can use perl Tk, which lets you changes fonts and colors. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]