first demo copyfd-ANSI.c