#!/usr/bin/nesla
# ANSI sample prog by Dan Cahill
global ANSI = { cls="\e[2J", home="\e[H" };
print(ANSI.cls, ANSI.home);
print("\e[00;30;40m", lamemsg, " dark black");
print("\e[01;30;40m", lamemsg, " light black");
print("\e[00;31;40m", lamemsg, " dark red");
print("\e[01;31;40m", lamemsg, " light red");
print("\e[00;32;40m", lamemsg, " dark green");
print("\e[01;32;40m", lamemsg, " light green");
print("\e[00;33;40m", lamemsg, " dark yellow");
print("\e[01;33;40m", lamemsg, " light yellow");
print("\e[00;34;40m", lamemsg, " dark blue");
print("\e[01;34;40m", lamemsg, " light blue");
print("\e[00;35;40m", lamemsg, " dark violet");
print("\e[01;35;40m", lamemsg, " light violet");
print("\e[00;36;40m", lamemsg, " dark cyan");
print("\e[01;36;40m", lamemsg, " light cyan");
print("\e[00;37;40m", lamemsg, " dark white");
print("\e[01;37;40m", lamemsg, " light white");
print("\e[00;34;46m", lamemsg);
print("\e[00m\n\n");