int raw_mode(struct termios *t) { t->c_lflag &= ~(ICANON | ECHO); t->c_cc[VMIN] = 1; t->c_cc[VTIME] = 0; return (modif_term(t)); }
void ft_fg(int i) { struct termios *term; term = SING->term; modif_term(SING->term); signal(SIGTSTP, ft_z); print_list(SING); (void)i; }
int raw_mode_off(struct termios *t) { t->c_lflag |= (ICANON | ECHO); return (modif_term(t)); }