struct s_cmd { char *text; void (*func)(); };