320,322c320,324
< 		goto dialdir;
< 	do {
< 		switch (c = get_bound_char()){
---
> 		c = DIALCHR;
> 	else
> 		c = get_bound_char();
> 	while (c != ENDCHAR) {
> 		switch (c){
365,366d366
< 			signal(SIGCLD, SIG_IGN);
< 			kill(child_pid, SIGTERM);
408,409c408,411
< 	} while (c != ENDCHAR); 
< 
---
> 		c = get_bound_char();
> 	}  
> 	signal(SIGCLD,SIG_IGN);
> 	kill(child_pid,SIGTERM);
