terminal color output

Discussion of Common Lisp
findinglisp
Posts: 447
Joined: Sat Jun 28, 2008 7:49 am
Location: Austin, TX
Contact:

Re: terminal color output

Post by findinglisp » Thu Jul 16, 2009 5:31 pm

Paul wrote:
Jose Brava wrote:Hi,

is there a simple way of getting a colored output with sbcl? I need the same output as from the

Code: Select all

echo -e "\033[34mBlah"
bash command. Any ideas ;)?

Thanks
--
JB
http://users.actrix.co.nz/mycroft/terminfo.lisp

(ti:set-terminal)
(ti:tputs ti:set-a-foreground 4)
Yes, highly recommended.
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/

Post Reply