On Wed, May 15, 2002 at 03:28:59PM -0700, daniel wrote: > speaking of colours > you know how some shell scripts have output in colour? > like this: > > Starting reallyneetoservice ...................... [DONE] > > where [DONE] is in green? > how do you do that? > can i use that sort of thing in a perlscript? > or do i have to learn how to script in bash?
It's done by sending control codes to the terminal. You can do it in perl or any language as long as you send the right codes. Look at the boot scripts for examples. Best Regards, Keith -- LPIC-2, MCSE, N+ Will we all fight for the right to be free? Got spam? Get spastic http://spastic.sourceforge.net _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list